Guido van Rossum | 639ccae | 1998-08-08 20:00:49 +0000 | [diff] [blame] | 1 | /* Minimal main program -- everything is loaded from the library. */ |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 2 | |
Guido van Rossum | e7ba495 | 2007-06-06 23:52:48 +0000 | [diff] [blame] | 3 | #include "Python.h" |
| 4 | |
Tim Peters | d29abb9 | 2001-04-24 05:16:29 +0000 | [diff] [blame] | 5 | #define WIN32_LEAN_AND_MEAN |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 6 | #include <windows.h> |
Fredrik Lundh | ddbc118 | 2000-07-08 18:06:41 +0000 | [diff] [blame] | 7 | |
Martin v. Löwis | 66834fd | 2008-05-09 17:06:49 +0000 | [diff] [blame] | 8 | int WINAPI wWinMain( |
Fredrik Lundh | ddbc118 | 2000-07-08 18:06:41 +0000 | [diff] [blame] | 9 | HINSTANCE hInstance, /* handle to current instance */ |
| 10 | HINSTANCE hPrevInstance, /* handle to previous instance */ |
Martin v. Löwis | 66834fd | 2008-05-09 17:06:49 +0000 | [diff] [blame] | 11 | LPWSTR lpCmdLine, /* pointer to command line */ |
Fredrik Lundh | ddbc118 | 2000-07-08 18:06:41 +0000 | [diff] [blame] | 12 | int nCmdShow /* show state of window */ |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 13 | ) |
| 14 | { |
Martin v. Löwis | 790465f | 2008-04-05 20:41:37 +0000 | [diff] [blame] | 15 | return Py_Main(__argc, __wargv); |
Guido van Rossum | d666eae | 1997-12-10 05:50:18 +0000 | [diff] [blame] | 16 | } |