diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index 8631827cd5d..06b448f17d0 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c @@ -48,7 +48,7 @@ struct callback_info }; /* Enumeration callback for converting DirectDrawEnumerateA to DirectDrawEnumerateExA */ -static HRESULT CALLBACK enum_callback(GUID *guid, char *description, char *driver_name, +static BOOL CALLBACK enum_callback(GUID *guid, char *description, char *driver_name, void *context, HMONITOR monitor) { const struct callback_info *info = context;