Staging
v0.5.1
https://github.com/python/cpython
Revision bf9d70a1a5255080b7a5e55f319dfffd5f20fdcd authored by Christian Heimes on 19 November 2020, 09:54:03 UTC, committed by GitHub on 19 November 2020, 09:54:03 UTC
Signed-off-by: Christian Heimes <christian@python.org>
1 parent 3094dd5
Raw File
Tip revision: bf9d70a1a5255080b7a5e55f319dfffd5f20fdcd authored by Christian Heimes on 19 November 2020, 09:54:03 UTC
bpo-1635741: Port spwd to multiphase initialization (GH-23390)
Tip revision: bf9d70a
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top