Module: wine Branch: master Commit: 855bb76b734b5324c3e84f8d7ee04f3350af9670 URL: https://gitlab.winehq.org/wine/wine/-/commit/855bb76b734b5324c3e84f8d7ee04f3...
Author: Zebediah Figura zfigura@codeweavers.com Date: Wed Jan 18 12:41:07 2023 -0600
include: Fix the definition of DIFXAPILOGCALLBACK_* functions.
These have cdecl convention, not stdcall.
---
include/difxapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/difxapi.h b/include/difxapi.h index 21d43c90de6..ad57b0f5bce 100644 --- a/include/difxapi.h +++ b/include/difxapi.h @@ -49,8 +49,8 @@ typedef enum _DIFXAPI_LOG DIFXAPI_ERROR, } DIFXAPI_LOG;
-typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID); -typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID); +typedef void (__cdecl *DIFXAPILOGCALLBACK_A)(DIFXAPI_LOG, DWORD, const char *, void *); +typedef void (__cdecl *DIFXAPILOGCALLBACK_W)(DIFXAPI_LOG, DWORD, const WCHAR *, void *); typedef VOID (CALLBACK *DIFXLOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID); typedef VOID (CALLBACK *DIFXLOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID);