https://github.com/python/cpython
Raw File
Tip revision: aad5f6a89125ad4529ab6ed5add693064351df1a authored by Pablo Galindo on 07 February 2023, 12:03:42 UTC
Python 3.10.10
Tip revision: aad5f6a
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