mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +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(
|
ret = SetupDiGetDeviceRegistryPropertyW(DeviceInfoSet,
|
||||||
DeviceInfoSet,
|
|
||||||
DeviceInfoData,
|
DeviceInfoData,
|
||||||
Property,
|
Property,
|
||||||
&RegType,
|
&RegType,
|
||||||
|
@ -3594,7 +3593,6 @@ HKEY SETUP_CreateClassKey(HINF hInf)
|
||||||
{
|
{
|
||||||
return INVALID_HANDLE_VALUE;
|
return INVALID_HANDLE_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (RegSetValueExW(hClassKey,
|
if (RegSetValueExW(hClassKey,
|
||||||
|
@ -3978,7 +3976,7 @@ BOOL WINAPI SetupDiOpenDeviceInterfaceW(
|
||||||
|
|
||||||
RegCloseKey(hDevKey);
|
RegCloseKey(hDevKey);
|
||||||
dwIndex++;
|
dwIndex++;
|
||||||
}while(TRUE);
|
} while(TRUE);
|
||||||
|
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -4669,8 +4667,7 @@ OpenHardwareProfileKey(
|
||||||
}
|
}
|
||||||
if (HwProfile == 0)
|
if (HwProfile == 0)
|
||||||
{
|
{
|
||||||
rc = RegOpenKeyExW(
|
rc = RegOpenKeyExW(hHWProfilesKey,
|
||||||
hHWProfilesKey,
|
|
||||||
REGSTR_KEY_CURRENT,
|
REGSTR_KEY_CURRENT,
|
||||||
0,
|
0,
|
||||||
KEY_CREATE_SUB_KEY,
|
KEY_CREATE_SUB_KEY,
|
||||||
|
@ -4681,8 +4678,7 @@ OpenHardwareProfileKey(
|
||||||
WCHAR subKey[5];
|
WCHAR subKey[5];
|
||||||
snprintfW(subKey, 4, InstanceKeyFormat, HwProfile);
|
snprintfW(subKey, 4, InstanceKeyFormat, HwProfile);
|
||||||
subKey[4] = '\0';
|
subKey[4] = '\0';
|
||||||
rc = RegOpenKeyExW(
|
rc = RegOpenKeyExW(hHWProfilesKey,
|
||||||
hHWProfilesKey,
|
|
||||||
subKey,
|
subKey,
|
||||||
0,
|
0,
|
||||||
KEY_CREATE_SUB_KEY,
|
KEY_CREATE_SUB_KEY,
|
||||||
|
@ -4996,8 +4992,7 @@ SETUPAPI_GetCurrentHwProfile(
|
||||||
LONG rc;
|
LONG rc;
|
||||||
DWORD ret = (DWORD)-1;
|
DWORD ret = (DWORD)-1;
|
||||||
|
|
||||||
rc = RegOpenKeyExW(
|
rc = RegOpenKeyExW(((struct DeviceInfoSet *)DeviceInfoSet)->HKLM,
|
||||||
((struct DeviceInfoSet *)DeviceInfoSet)->HKLM,
|
|
||||||
REGSTR_PATH_IDCONFIGDB,
|
REGSTR_PATH_IDCONFIGDB,
|
||||||
0, /* Options */
|
0, /* Options */
|
||||||
KEY_QUERY_VALUE,
|
KEY_QUERY_VALUE,
|
||||||
|
@ -5009,8 +5004,7 @@ SETUPAPI_GetCurrentHwProfile(
|
||||||
}
|
}
|
||||||
|
|
||||||
dwLength = sizeof(DWORD);
|
dwLength = sizeof(DWORD);
|
||||||
rc = RegQueryValueExW(
|
rc = RegQueryValueExW(hKey,
|
||||||
hKey,
|
|
||||||
REGSTR_VAL_CURRENTCONFIG,
|
REGSTR_VAL_CURRENTCONFIG,
|
||||||
NULL,
|
NULL,
|
||||||
&dwRegType,
|
&dwRegType,
|
||||||
|
|
Loading…
Reference in a new issue