Staging
v0.5.1
https://github.com/python/cpython
Revision 0a8ff1bbd7a90baf989e10d0baeb887c80f09100 authored by Ned Deily on 04 October 2017, 03:29:07 UTC, committed by GitHub on 04 October 2017, 03:29:07 UTC
1 parent 0fcc033
Raw File
Tip revision: 0a8ff1bbd7a90baf989e10d0baeb887c80f09100 authored by Ned Deily on 04 October 2017, 03:29:07 UTC
Remove retired and security branches from active docs (#3882)
Tip revision: 0a8ff1b
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