From: Jacek Caban Subject: [PATCH 1/5] winbase.h: Add wWinMain declaration. Message-Id: Date: Tue, 21 Jan 2020 19:50:28 +0100 Signed-off-by: Jacek Caban --- include/winbase.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/winbase.h b/include/winbase.h index 655eb48f0f..3062d3b6ad 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -3136,6 +3136,7 @@ static FORCEINLINE HANDLE WINAPI GetCurrentThreadEffectiveToken(void) /* WinMain(entry point) must be declared in winbase.h. */ /* If this is not declared, we cannot compile many sources written with C++. */ int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int); +int WINAPI wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int); #ifdef __WINESRC__ /* shouldn't be here, but is nice for type checking */