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.

52 lines
892 B

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996-1996
  5. //
  6. // File:
  7. //
  8. // Contents:
  9. //
  10. // History:
  11. //
  12. //---------------------------------------------------------------------------
  13. #include <windows.h>
  14. #include "license.h"
  15. #include "tlsapi.h"
  16. extern void InitPolicyModule(HMODULE hModule);
  17. BOOL WINAPI
  18. DllMain(
  19. IN HINSTANCE hInstance,
  20. IN DWORD reason,
  21. IN LPVOID reserved
  22. )
  23. /*++
  24. ++*/
  25. {
  26. BOOL b;
  27. UNREFERENCED_PARAMETER(reserved);
  28. b = TRUE;
  29. switch(reason)
  30. {
  31. case DLL_PROCESS_ATTACH:
  32. InitPolicyModule( hInstance );
  33. break;
  34. case DLL_THREAD_ATTACH:
  35. break;
  36. case DLL_PROCESS_DETACH:
  37. break;
  38. case DLL_THREAD_DETACH:
  39. break;
  40. }
  41. return(b);
  42. }