WinMain.c 492 B

1234567891011121314151617
  1. /* Minimal main program -- everything is loaded from the library. */
  2. #include "Python.h"
  3. #define WIN32_LEAN_AND_MEAN
  4. #include <windows.h>
  5. #include <stdlib.h> /* __argc, __wargv */
  6. int WINAPI wWinMain(
  7. HINSTANCE hInstance, /* handle to current instance */
  8. HINSTANCE hPrevInstance, /* handle to previous instance */
  9. LPWSTR lpCmdLine, /* pointer to command line */
  10. int nCmdShow /* show state of window */
  11. )
  12. {
  13. return Py_Main(__argc, __wargv);
  14. }