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