mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[SETUPAPI/FORMATTING]
- Try to fix some indentation nightmares. No code changes svn path=/trunk/; revision=53897
This commit is contained in:
parent
761d041617
commit
a20f6e3513
5 changed files with 489 additions and 495 deletions
|
@ -3249,8 +3249,7 @@ BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
|
|||
}
|
||||
}
|
||||
|
||||
ret = SetupDiGetDeviceRegistryPropertyW(
|
||||
DeviceInfoSet,
|
||||
ret = SetupDiGetDeviceRegistryPropertyW(DeviceInfoSet,
|
||||
DeviceInfoData,
|
||||
Property,
|
||||
&RegType,
|
||||
|
@ -3594,7 +3593,6 @@ HKEY SETUP_CreateClassKey(HINF hInf)
|
|||
{
|
||||
return INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (RegSetValueExW(hClassKey,
|
||||
|
@ -4669,8 +4667,7 @@ OpenHardwareProfileKey(
|
|||
}
|
||||
if (HwProfile == 0)
|
||||
{
|
||||
rc = RegOpenKeyExW(
|
||||
hHWProfilesKey,
|
||||
rc = RegOpenKeyExW(hHWProfilesKey,
|
||||
REGSTR_KEY_CURRENT,
|
||||
0,
|
||||
KEY_CREATE_SUB_KEY,
|
||||
|
@ -4681,8 +4678,7 @@ OpenHardwareProfileKey(
|
|||
WCHAR subKey[5];
|
||||
snprintfW(subKey, 4, InstanceKeyFormat, HwProfile);
|
||||
subKey[4] = '\0';
|
||||
rc = RegOpenKeyExW(
|
||||
hHWProfilesKey,
|
||||
rc = RegOpenKeyExW(hHWProfilesKey,
|
||||
subKey,
|
||||
0,
|
||||
KEY_CREATE_SUB_KEY,
|
||||
|
@ -4996,8 +4992,7 @@ SETUPAPI_GetCurrentHwProfile(
|
|||
LONG rc;
|
||||
DWORD ret = (DWORD)-1;
|
||||
|
||||
rc = RegOpenKeyExW(
|
||||
((struct DeviceInfoSet *)DeviceInfoSet)->HKLM,
|
||||
rc = RegOpenKeyExW(((struct DeviceInfoSet *)DeviceInfoSet)->HKLM,
|
||||
REGSTR_PATH_IDCONFIGDB,
|
||||
0, /* Options */
|
||||
KEY_QUERY_VALUE,
|
||||
|
@ -5009,8 +5004,7 @@ SETUPAPI_GetCurrentHwProfile(
|
|||
}
|
||||
|
||||
dwLength = sizeof(DWORD);
|
||||
rc = RegQueryValueExW(
|
||||
hKey,
|
||||
rc = RegQueryValueExW(hKey,
|
||||
REGSTR_VAL_CURRENTCONFIG,
|
||||
NULL,
|
||||
&dwRegType,
|
||||
|
|
Loading…
Reference in a new issue