https://github.com/python/cpython
Raw File
Tip revision: 3d8993a744813c5144851da5347d7b4b1885f234 authored by Ɓukasz Langa on 03 May 2021, 09:47:56 UTC
Python 3.8.10
Tip revision: 3d8993a
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