https://github.com/python/cpython
Raw File
Tip revision: d2340ef25721b6a72d45d4508c672c4be38c67d3 authored by Pablo Galindo on 06 June 2023, 21:58:02 UTC
Python 3.11.4
Tip revision: d2340ef
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>  /* __argc, __wargv */

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