Fix three PyChecker-detected gotchas.
[python/dscho.git] / PC / WinMain.c
blob4249567fa689c19b1d8b8f9f338db7a823edbf62
1 /* Minimal main program -- everything is loaded from the library. */
3 #define WINDOWS_LEAN_AND_MEAN
4 #include <windows.h>
6 #include "Python.h"
8 extern int Py_Main(int, char **);
10 int WINAPI WinMain(
11 HINSTANCE hInstance, /* handle to current instance */
12 HINSTANCE hPrevInstance, /* handle to previous instance */
13 LPSTR lpCmdLine, /* pointer to command line */
14 int nCmdShow /* show state of window */
17 return Py_Main(__argc, __argv);