headers: add SetupDiGetDeviceProperty in setupapi.h

Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
Oleg Tolmatcev 2023-08-13 13:21:53 +02:00 committed by LIU Hao
parent fd5748efc5
commit 6e945baffc

View File

@ -1891,6 +1891,10 @@ extern "C" {
#if _WIN32_WINNT >= 0x0600
WINSETUPAPI WINBOOL WINAPI SetupDiGetDevicePropertyW(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, const DEVPROPKEY *PropertyKey, DEVPROPTYPE *PropertyType, PBYTE PropertyBuffer, DWORD PropertyBufferSize, PDWORD RequiredSize, DWORD Flags);
WINSETUPAPI WINBOOL WINAPI SetupDiGetDevicePropertyKeys(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DEVPROPKEY *PropertyKeyArray, DWORD PropertyKeyCount, PDWORD RequiredPropertyKeyCount, DWORD Flags);
#ifdef UNICODE
#define SetupDiGetDeviceProperty SetupDiGetDevicePropertyW
#endif
#endif
#ifdef __cplusplus