https://github.com/python/cpython
Raw File
Tip revision: 0f56adb8d74e703974811620559d96c999334547 authored by Ned Deily on 28 June 2023, 01:12:07 UTC
Move 3.7 to end-of-life status
Tip revision: 0f56adb
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