https://github.com/python/cpython
Raw File
Tip revision: 2cd268a3a9340346dd86b66db2e9b428b3f878fc authored by Pablo Galindo on 06 December 2021, 17:56:39 UTC
Python 3.10.1
Tip revision: 2cd268a
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