mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:15:41 +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
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ EnumDeviceClasses(INT ClassIndex,
|
||||||
if (KeyClass != INVALID_HANDLE_VALUE)
|
if (KeyClass != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
|
|
||||||
LONG dwSize = MAX_CLASS_NAME_LEN;
|
LONG dwSize = MAX_DEV_LEN;
|
||||||
|
|
||||||
if (RegQueryValue(KeyClass,
|
if (RegQueryValue(KeyClass,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue