mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
Use UNICODE wWinMain, to make CRT initialize __wargv.
This commit is contained in:
parent
b134227737
commit
66834fd078
|
@ -5,10 +5,10 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
int WINAPI WinMain(
|
||||
int WINAPI wWinMain(
|
||||
HINSTANCE hInstance, /* handle to current instance */
|
||||
HINSTANCE hPrevInstance, /* handle to previous instance */
|
||||
LPSTR lpCmdLine, /* pointer to command line */
|
||||
LPWSTR lpCmdLine, /* pointer to command line */
|
||||
int nCmdShow /* show state of window */
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue