mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-01 01:56:44 +01:00
DirectSoundDeviceFinder: Add CALLBACK to EnumerateCallback
This commit is contained in:
parent
dd87268197
commit
9c04ce665f
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user