https://github.com/python/cpython
Raw File
Tip revision: 9da28d2b3429d1bb30e082e4c9cb544d81fdae20 authored by Ned Deily on 28 June 2021, 16:51:36 UTC
3.7.11
Tip revision: 9da28d2
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