https://github.com/python/cpython
Raw File
Tip revision: e723086bc33c19c6c52046d515eb3c2aab1b8f97 authored by Ɓukasz Langa on 02 April 2021, 09:51:53 UTC
Python 3.9.3
Tip revision: e723086
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