DirectSoundDeviceFinder: Add CALLBACK to EnumerateCallback

This commit is contained in:
Jonas Kvinge 2022-08-14 01:02:09 +02:00
parent dd87268197
commit 9c04ce665f
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ QList<DeviceFinder::Device> DirectSoundDeviceFinder::ListDevices() {
return state.devices;
}
BOOL DirectSoundDeviceFinder::EnumerateCallback(LPGUID guid, LPCSTR description, LPCSTR module, LPVOID state_voidptr) {
BOOL CALLBACK DirectSoundDeviceFinder::EnumerateCallback(LPGUID guid, LPCSTR description, LPCSTR module, LPVOID state_voidptr) {
Q_UNUSED(module);

View File

@ -40,7 +40,7 @@ class DirectSoundDeviceFinder : public DeviceFinder {
QList<Device> devices;
};
static BOOL EnumerateCallback(LPGUID guid, LPCSTR description, LPCSTR module, LPVOID state_voidptr)
static BOOL CALLBACK EnumerateCallback(LPGUID guid, LPCSTR description, LPCSTR module, LPVOID state_voidptr)
#ifdef _MSC_VER
;
#else