Staging
v0.5.1
https://github.com/python/cpython
Revision df511798e463195e2b97bfa8cea4cc487d690e50 authored by Martin v. Löwis on 28 March 2006, 07:51:51 UTC, committed by Martin v. Löwis on 28 March 2006, 07:51:51 UTC
1 parent b82cb8d
Raw File
Tip revision: df511798e463195e2b97bfa8cea4cc487d690e50 authored by Martin v. Löwis on 28 March 2006, 07:51:51 UTC
Correct case in test for Windows 9X.
Tip revision: df51179
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

#include "Python.h"

int WINAPI WinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPSTR lpCmdLine,          /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __argv);
}
back to top