Fix "Devices Parameters" subkey creation in a call to IoOpenDeviceRegistryKey()

svn path=/trunk/; revision=19258
This commit is contained in:
Aleksey Bragin 2005-11-15 23:07:04 +00:00
parent 3edc7dd1e7
commit b4454dfd76

View file

@ -437,7 +437,7 @@ IoOpenDeviceRegistryKey(
L"Hardware Profiles\\Current\\System\\CurrentControlSet\\";
static WCHAR ClassKeyName[] = L"Control\\Class\\";
static WCHAR EnumKeyName[] = L"Enum\\";
static WCHAR DeviceParametersKeyName[] = L"Device Parameters\\";
static WCHAR DeviceParametersKeyName[] = L"Device Parameters";
ULONG KeyNameLength;
LPWSTR KeyNameBuffer;
UNICODE_STRING KeyName;