Created
August 14, 2016 01:25
-
-
Save anonymous/3985839dbad5aac84b5b507c6ae7baee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
BOOL APIENTRY DllMain(HMODULE hModule, DWORD call, LPVOID lpReserved) | |
{ | |
switch (call) | |
{ | |
case DLL_PROCESS_ATTACH: | |
MessageBox(NULL, L"Test", L"Test", MB_OK); | |
break; | |
case DLL_THREAD_ATTACH: | |
break; | |
case DLL_THREAD_DETACH: | |
break; | |
case DLL_PROCESS_DETACH: | |
break; | |
} | |
return TRUE; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment