/*12Entry point for the Windows NT DLL.34About the only reason for having this, is so initall() can automatically5be called, removing that burden (and possible source of frustration if6forgotten) from the programmer.78*/910#include "Python.h"11#include "windows.h"1213#ifdef Py_ENABLE_SHARED1415// Python Globals16HMODULE PyWin_DLLhModule = NULL;17const char *PyWin_DLLVersionString = MS_DLL_ID;1819BOOL WINAPI DllMain (HANDLE hInst,20ULONG ul_reason_for_call,21LPVOID lpReserved)22{23switch (ul_reason_for_call)24{25case DLL_PROCESS_ATTACH:26PyWin_DLLhModule = hInst;27break;2829case DLL_PROCESS_DETACH:30break;31}32return TRUE;33}3435#endif /* Py_ENABLE_SHARED */363738