https://github.com/python/cpython
Raw File
Tip revision: b494f5935c92951e75597bfe1c8b1f3112fec270 authored by Pablo Galindo on 04 October 2021, 17:27:07 UTC
Python 3.10.0
Tip revision: b494f59
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