Leaked source code of windows server 2003
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.

20 lines
388 B

  1. #include <windows.h>
  2. #include <shlwapi.h>
  3. #include <shlwapip.h>
  4. #include "globals.h"
  5. BOOL DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID /*fProcessUnload*/)
  6. {
  7. if (DLL_PROCESS_ATTACH == dwReason)
  8. {
  9. DisableThreadLibraryCalls(hinstDll);
  10. g_hinst = hinstDll;
  11. }
  12. else if (DLL_PROCESS_DETACH == dwReason)
  13. {
  14. }
  15. return TRUE;
  16. }