Note in the intro to Extending... that ctypes can be a simpler, more portable solutio...
[python.git] / PC / WinMain.c
blob2cdd0cb695d4f46add384e3f13042e4c929808b4
1 /* Minimal main program -- everything is loaded from the library. */
3 #include "Python.h"
5 #define WIN32_LEAN_AND_MEAN
6 #include <windows.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);