https://github.com/python/cpython
Raw File
Tip revision: 6de2ca5339a83edb957e5a657ee6d6183cb3914c authored by Ɓukasz Langa on 17 May 2022, 11:12:56 UTC
Python 3.9.13
Tip revision: 6de2ca5
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