https://github.com/python/cpython
Raw File
Tip revision: 9c7b4bd1646f2170247f88cf59936740d9c4c004 authored by Pablo Galindo on 01 August 2022, 20:23:10 UTC
Python 3.10.6
Tip revision: 9c7b4bd
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