Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
800 B

  1. #include <pch.h>
  2. #include "billbrd.h"
  3. //DLLInit(
  4. DllMain(
  5. IN HANDLE DLLHandle,
  6. IN DWORD Reason,
  7. IN LPVOID ReservedAndUnused
  8. )
  9. {
  10. #ifdef UNICODE
  11. INITCOMMONCONTROLSEX ControlInit;
  12. #endif
  13. ReservedAndUnused;
  14. switch(Reason) {
  15. case DLL_PROCESS_ATTACH:
  16. g_hInstance = (HINSTANCE)DLLHandle;
  17. #ifdef UNICODE
  18. // Need to initialize common controls in the comctl32 v6 case
  19. // in GUI mode setup.
  20. ControlInit.dwSize = sizeof(INITCOMMONCONTROLSEX);
  21. ControlInit.dwICC = ICC_PROGRESS_CLASS;
  22. InitCommonControlsEx( &ControlInit );
  23. #endif
  24. break;
  25. case DLL_PROCESS_DETACH:
  26. break ;
  27. case DLL_THREAD_ATTACH:
  28. case DLL_THREAD_DETACH:
  29. break;
  30. }
  31. return(TRUE);
  32. }