blob: e439bed9ed113794118d34b80d8ad5068ed16aa8 [file] [log] [blame]
Guido van Rossum639ccae1998-08-08 20:00:49 +00001/* Minimal main program -- everything is loaded from the library. */
Guido van Rossumd666eae1997-12-10 05:50:18 +00002
Guido van Rossume7ba4952007-06-06 23:52:48 +00003#include "Python.h"
4
Tim Petersd29abb92001-04-24 05:16:29 +00005#define WIN32_LEAN_AND_MEAN
Guido van Rossumd666eae1997-12-10 05:50:18 +00006#include <windows.h>
Fredrik Lundhddbc1182000-07-08 18:06:41 +00007
Martin v. Löwis66834fd2008-05-09 17:06:49 +00008int WINAPI wWinMain(
Fredrik Lundhddbc1182000-07-08 18:06:41 +00009 HINSTANCE hInstance, /* handle to current instance */
10 HINSTANCE hPrevInstance, /* handle to previous instance */
Martin v. Löwis66834fd2008-05-09 17:06:49 +000011 LPWSTR lpCmdLine, /* pointer to command line */
Fredrik Lundhddbc1182000-07-08 18:06:41 +000012 int nCmdShow /* show state of window */
Guido van Rossumd666eae1997-12-10 05:50:18 +000013)
14{
Martin v. Löwis790465f2008-04-05 20:41:37 +000015 return Py_Main(__argc, __wargv);
Guido van Rossumd666eae1997-12-10 05:50:18 +000016}