util/setupapi.c: Fix calling convention syntax

This commit is contained in:
Tau 2018-11-23 18:23:21 -05:00
parent 829ca160be
commit 42a79933f1

View File

@ -46,20 +46,20 @@ static BOOL WINAPI my_SetupDiDestroyDeviceInfoList(HDEVINFO DeviceInfoSet);
/* Links */ /* Links */
static HDEVINFO WINAPI (*next_SetupDiGetClassDevsW)( static HDEVINFO (WINAPI *next_SetupDiGetClassDevsW)(
const GUID *ClassGuid, const GUID *ClassGuid,
wchar_t *Enumerator, wchar_t *Enumerator,
HWND hwndParent, HWND hwndParent,
DWORD Flags); DWORD Flags);
static BOOL WINAPI (*next_SetupDiEnumDeviceInterfaces)( static BOOL (WINAPI *next_SetupDiEnumDeviceInterfaces)(
HDEVINFO DeviceInfoSet, HDEVINFO DeviceInfoSet,
SP_DEVINFO_DATA *DeviceInfoData, SP_DEVINFO_DATA *DeviceInfoData,
const GUID *InterfaceClassGuid, const GUID *InterfaceClassGuid,
DWORD MemberIndex, DWORD MemberIndex,
SP_DEVICE_INTERFACE_DATA *DeviceInterfaceData); SP_DEVICE_INTERFACE_DATA *DeviceInterfaceData);
static BOOL WINAPI (*next_SetupDiGetDeviceInterfaceDetailW)( static BOOL (WINAPI *next_SetupDiGetDeviceInterfaceDetailW)(
HDEVINFO DeviceInfoSet, HDEVINFO DeviceInfoSet,
SP_DEVICE_INTERFACE_DATA *DeviceInterfaceData, SP_DEVICE_INTERFACE_DATA *DeviceInterfaceData,
SP_DEVICE_INTERFACE_DETAIL_DATA_W *DeviceInterfaceDetailData, SP_DEVICE_INTERFACE_DETAIL_DATA_W *DeviceInterfaceDetailData,
@ -67,7 +67,7 @@ static BOOL WINAPI (*next_SetupDiGetDeviceInterfaceDetailW)(
DWORD *RequiredSize, DWORD *RequiredSize,
SP_DEVINFO_DATA *DeviceInfoData); SP_DEVINFO_DATA *DeviceInfoData);
static BOOL WINAPI (*next_SetupDiDestroyDeviceInfoList)(HDEVINFO DeviceInfoSet); static BOOL (WINAPI *next_SetupDiDestroyDeviceInfoList)(HDEVINFO DeviceInfoSet);
/* Hook tbl */ /* Hook tbl */