19,11 → 19,11 |
|
#include <windows.h> |
|
HANDLE hDllInstance = NULL; /* DLL instance handle */ |
HINSTANCE hDllInstance = NULL; /* DLL instance handle */ |
|
BOOL APIENTRY DllMain(HANDLE hInstance, DWORD fdwReason, LPVOID lpReserved); |
BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpReserved); |
|
BOOL APIENTRY DllMain(HANDLE hInstance, DWORD fdwReason, LPVOID lpReserved){ |
BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpReserved){ |
|
if (fdwReason == DLL_PROCESS_ATTACH) |
hDllInstance = hInstance; |