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.

31 lines
741 B

  1. //+----------------------------------------------------------------------------
  2. //
  3. // File: main.cpp
  4. //
  5. // Module: CMPROXY.DLL (TOOL)
  6. //
  7. // Synopsis: Main entry point for cmproxy.dll
  8. //
  9. // Copyright (c) 1999 Microsoft Corporation
  10. //
  11. // Author: quintinb Created 10/27/99
  12. //
  13. //+----------------------------------------------------------------------------
  14. #include "pch.h"
  15. extern "C" BOOL WINAPI DllMain(
  16. HINSTANCE hinstDLL, // handle to DLL module
  17. DWORD fdwReason, // reason for calling function
  18. LPVOID lpvReserved // reserved
  19. )
  20. {
  21. if (fdwReason == DLL_PROCESS_ATTACH)
  22. {
  23. MYVERIFY(DisableThreadLibraryCalls(hinstDLL));
  24. }
  25. return TRUE;
  26. }