headers: add SetupDiGetDeviceProperty in setupapi.h Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/setupapi.h b/mingw-w64-headers/include/setupapi.h index c8d1f32..416d15e 100644 --- a/mingw-w64-headers/include/setupapi.h +++ b/mingw-w64-headers/include/setupapi.h
@@ -1891,6 +1891,10 @@ #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