dllmain.cpp 552 B

12345678910111213141516171819202122
  1. // dllmain.cpp : Defines the entry point for the DLL application.
  2. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  3. // Windows Header Files:
  4. #include <windows.h>
  5. #include "targetver.h"
  6. BOOL APIENTRY DllMain( HMODULE hModule,
  7. DWORD ul_reason_for_call,
  8. LPVOID lpReserved
  9. )
  10. {
  11. switch (ul_reason_for_call)
  12. {
  13. case DLL_PROCESS_ATTACH:
  14. case DLL_THREAD_ATTACH:
  15. case DLL_THREAD_DETACH:
  16. case DLL_PROCESS_DETACH:
  17. break;
  18. }
  19. return TRUE;
  20. }