2 #define WIN32_LEAN_AND_MEAN
4 #undef WIN32_LEAN_AND_MEAN
8 BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
11 #include <cygwin/cygwin_dll.h>
12 DECLARE_CYGWIN_DLL( DllMain );
13 HINSTANCE __hDllInstance_base;
16 DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
18 __hDllInstance_base = hInst;