mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 20:41:59 +00:00
Whitespace fixes only.
svn path=/trunk/; revision=66563
This commit is contained in:
parent
327531bfd4
commit
6e0183f1c0
1 changed files with 17 additions and 16 deletions
|
@ -1133,7 +1133,8 @@ PNP_GetClassName(
|
||||||
lstrcpyW(szKeyName, L"System\\CurrentControlSet\\Control\\Class\\");
|
lstrcpyW(szKeyName, L"System\\CurrentControlSet\\Control\\Class\\");
|
||||||
if (lstrlenW(pszClassGuid) + 1 < sizeof(szKeyName)/sizeof(WCHAR)-(lstrlenW(szKeyName) * sizeof(WCHAR)))
|
if (lstrlenW(pszClassGuid) + 1 < sizeof(szKeyName)/sizeof(WCHAR)-(lstrlenW(szKeyName) * sizeof(WCHAR)))
|
||||||
lstrcatW(szKeyName, pszClassGuid);
|
lstrcatW(szKeyName, pszClassGuid);
|
||||||
else return CR_INVALID_DATA;
|
else
|
||||||
|
return CR_INVALID_DATA;
|
||||||
|
|
||||||
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE,
|
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE,
|
||||||
szKeyName,
|
szKeyName,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue