diff --git a/mingw-w64-headers/include/setupapi.h b/mingw-w64-headers/include/setupapi.h index c8d1f32ba..416d15efd 100644 --- a/mingw-w64-headers/include/setupapi.h +++ b/mingw-w64-headers/include/setupapi.h @@ -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