https://github.com/python/cpython
Raw File
Tip revision: cce6ba91b3a0111110d7e1db828bd6311d58a0a7 authored by Pablo Galindo on 24 August 2023, 12:05:22 UTC
Python 3.11.5
Tip revision: cce6ba9
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