Staging
v0.5.1
https://github.com/python/cpython
Revision 100db0b5841e2e593bcdbf4a31c21c4075268cb5 authored by Miss Islington (bot) on 28 May 2018, 22:38:30 UTC, committed by GitHub on 28 May 2018, 22:38:30 UTC
(cherry picked from commit f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
1 parent 7e8819a
Raw File
Tip revision: 100db0b5841e2e593bcdbf4a31c21c4075268cb5 authored by Miss Islington (bot) on 28 May 2018, 22:38:30 UTC
bro-33614: Override exit code in find_msbuild.bat (GH-7169)
Tip revision: 100db0b
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