mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
Give enough space to retrieve full device class description
svn path=/trunk/; revision=24326
This commit is contained in:
parent
ae3c3041f4
commit
fbe45c7180
|
@ -105,7 +105,7 @@ EnumDeviceClasses(INT ClassIndex,
|
|||
if (KeyClass != INVALID_HANDLE_VALUE)
|
||||
{
|
||||
|
||||
LONG dwSize = MAX_CLASS_NAME_LEN;
|
||||
LONG dwSize = MAX_DEV_LEN;
|
||||
|
||||
if (RegQueryValue(KeyClass,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in a new issue