Don't mask a no memory error with a less meaningful one as discussed on python-checkins
[python.git] / PC / WinMain.c
blob00dc18d484b9962263a1a750304f7d47f716876f
1 /* Minimal main program -- everything is loaded from the library. */
3 #define WIN32_LEAN_AND_MEAN
4 #include <windows.h>
6 #include "Python.h"
8 int WINAPI WinMain(
9 HINSTANCE hInstance, /* handle to current instance */
10 HINSTANCE hPrevInstance, /* handle to previous instance */
11 LPSTR lpCmdLine, /* pointer to command line */
12 int nCmdShow /* show state of window */
15 return Py_Main(__argc, __argv);