https://github.com/python/cpython
Raw File
Tip revision: 7d4cc5aa854fdea4d01a5b9c59e37c6e62f1103d authored by Pablo Galindo on 04 April 2023, 21:56:31 UTC
Python 3.10.11
Tip revision: 7d4cc5a
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