Make the prototypes match those defined in the .idl files

svn path=/trunk/; revision=27959
This commit is contained in:
Thomas Bluemel 2007-07-28 18:06:51 +00:00
parent eb673ff506
commit b837ae3d3c

View file

@ -881,7 +881,7 @@ PNP_GetClassName(handle_t BindingHandle,
WCHAR szKeyName[MAX_PATH]; WCHAR szKeyName[MAX_PATH];
CONFIGRET ret = CR_SUCCESS; CONFIGRET ret = CR_SUCCESS;
HKEY hKey = NULL; HKEY hKey = NULL;
ULONG ulSize; DWORD dwSize;
UNREFERENCED_PARAMETER(BindingHandle); UNREFERENCED_PARAMETER(BindingHandle);
UNREFERENCED_PARAMETER(Flags); UNREFERENCED_PARAMETER(Flags);
@ -901,20 +901,20 @@ PNP_GetClassName(handle_t BindingHandle,
&hKey)) &hKey))
return CR_REGISTRY_ERROR; return CR_REGISTRY_ERROR;
ulSize = *Length * sizeof(WCHAR); dwSize = *Length * sizeof(WCHAR);
if (RegQueryValueExW(hKey, if (RegQueryValueExW(hKey,
L"Class", L"Class",
NULL, NULL,
NULL, NULL,
(LPBYTE)Buffer, (LPBYTE)Buffer,
&ulSize)) &dwSize))
{ {
*Length = 0; *Length = 0;
ret = CR_REGISTRY_ERROR; ret = CR_REGISTRY_ERROR;
} }
else else
{ {
*Length = ulSize / sizeof(WCHAR); *Length = dwSize / sizeof(WCHAR);
} }
RegCloseKey(hKey); RegCloseKey(hKey);
@ -1345,9 +1345,9 @@ PNP_HwProfFlags(handle_t BindingHandle,
CONFIGRET CONFIGRET
PNP_AddEmptyLogConf(handle_t BindingHandle, PNP_AddEmptyLogConf(handle_t BindingHandle,
wchar_t *DeviceInstance, wchar_t *DeviceInstance,
ULONG ulPriority, unsigned long ulPriority,
ULONG *pulLogConfTag, unsigned long *pulLogConfTag,
ULONG ulFlags) unsigned long ulFlags)
{ {
CONFIGRET ret = CR_SUCCESS; CONFIGRET ret = CR_SUCCESS;
@ -1370,9 +1370,9 @@ PNP_AddEmptyLogConf(handle_t BindingHandle,
CONFIGRET CONFIGRET
PNP_FreeLogConf(handle_t BindingHandle, PNP_FreeLogConf(handle_t BindingHandle,
wchar_t *DeviceInstance, wchar_t *DeviceInstance,
ULONG ulType, unsigned long ulType,
ULONG ulLogConfTag, unsigned long ulLogConfTag,
ULONG ulFlags) unsigned long ulFlags)
{ {
CONFIGRET ret = CR_SUCCESS; CONFIGRET ret = CR_SUCCESS;
@ -1395,9 +1395,9 @@ PNP_FreeLogConf(handle_t BindingHandle,
CONFIGRET CONFIGRET
PNP_GetFirstLogConf(handle_t BindingHandle, PNP_GetFirstLogConf(handle_t BindingHandle,
wchar_t *DeviceInstance, wchar_t *DeviceInstance,
ULONG ulPriority, unsigned long ulPriority,
ULONG *pulLogConfTag, unsigned long *pulLogConfTag,
ULONG ulFlags) unsigned long ulFlags)
{ {
CONFIGRET ret = CR_SUCCESS; CONFIGRET ret = CR_SUCCESS;
@ -1420,10 +1420,10 @@ PNP_GetFirstLogConf(handle_t BindingHandle,
CONFIGRET CONFIGRET
PNP_GetNextLogConf(handle_t BindingHandle, PNP_GetNextLogConf(handle_t BindingHandle,
wchar_t *DeviceInstance, wchar_t *DeviceInstance,
ULONG ulLogConfType, unsigned long ulLogConfType,
ULONG ulCurrentTag, unsigned long ulCurrentTag,
ULONG *pulNextTag, unsigned long *pulNextTag,
ULONG ulFlags) unsigned long ulFlags)
{ {
CONFIGRET ret = CR_SUCCESS; CONFIGRET ret = CR_SUCCESS;
@ -1447,10 +1447,10 @@ PNP_GetNextLogConf(handle_t BindingHandle,
CONFIGRET CONFIGRET
PNP_GetLogConfPriority(handle_t BindingHandle, PNP_GetLogConfPriority(handle_t BindingHandle,
wchar_t *DeviceInstance, wchar_t *DeviceInstance,
ULONG ulLogConfType, unsigned long ulLogConfType,
ULONG ulCurrentTag, unsigned long ulCurrentTag,
ULONG *pPriority, unsigned long *pPriority,
ULONG ulFlags) unsigned long ulFlags)
{ {
CONFIGRET ret = CR_SUCCESS; CONFIGRET ret = CR_SUCCESS;