Rev 268 | Rev 489 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 268 | Rev 433 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | 21 | ||
22 | HINSTANCE hDllInstance = NULL; /* DLL instance handle */ |
22 | HINSTANCE hDllInstance = NULL; /* DLL instance handle */ |
23 | 23 | ||
24 | BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpReserved); |
24 | BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpReserved); |
25 | 25 | ||
26 | BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpReserved){ |
26 | BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpReserved) |
- | 27 | { |
|
- | 28 | UNREFERENCED_PARAMETER(lpReserved); |
|
27 | 29 | ||
28 | if (fdwReason == DLL_PROCESS_ATTACH) |
30 | if (fdwReason == DLL_PROCESS_ATTACH) |
29 | hDllInstance = hInstance; |
31 | hDllInstance = hInstance; |
30 | 32 | ||
31 | return TRUE; // Indicate that the DLL was initialized successfully. |
33 | return TRUE; // Indicate that the DLL was initialized successfully. |