Commit e4ccfa9b authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

mmdevice: fix the WINAPI callback type

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 80d3a7a9
......@@ -44,10 +44,10 @@ DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd,
#include "audio_output/mmdevice.h"
#if (_WIN32_WINNT < 0x600)
static VOID WINAPI (*InitializeConditionVariable)(PCONDITION_VARIABLE);
static BOOL WINAPI (*SleepConditionVariableCS)(PCONDITION_VARIABLE,
static VOID (WINAPI *InitializeConditionVariable) (PCONDITION_VARIABLE);
static BOOL (WINAPI *SleepConditionVariableCS) (PCONDITION_VARIABLE,
PCRITICAL_SECTION, DWORD);
static VOID WINAPI (*WakeConditionVariable)(PCONDITION_VARIABLE);
static VOID (WINAPI *WakeConditionVariable)(PCONDITION_VARIABLE);
#define LOOKUP(s) \
if (((s) = (void *)GetProcAddress(h, #s)) == NULL) return FALSE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment