Commit e488a246 authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32/tests: Use WINAPIV calling convention for variadic functions.

parent a5b67f3f
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#define ULL(a,b) (((ULONG64)(a) << 32) | (b)) #define ULL(a,b) (((ULONG64)(a) << 32) | (b))
static DWORD __cdecl doit(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id, static DWORD WINAPIV doit(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
LPSTR out, DWORD outsize, ... ) LPSTR out, DWORD outsize, ... )
{ {
__ms_va_list list; __ms_va_list list;
...@@ -39,7 +39,7 @@ static DWORD __cdecl doit(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id, ...@@ -39,7 +39,7 @@ static DWORD __cdecl doit(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
return r; return r;
} }
static DWORD __cdecl doitW(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id, static DWORD WINAPIV doitW(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
LPWSTR out, DWORD outsize, ... ) LPWSTR out, DWORD outsize, ... )
{ {
__ms_va_list list; __ms_va_list list;
......
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