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.

42 lines
829 B

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. main.cpp
  5. Abstract:
  6. This file contains the DllMain for SRRSTR.DLL.
  7. Revision History:
  8. Seong Kook Khang (SKKhang) 06/20/00
  9. created
  10. ******************************************************************************/
  11. #include "stdwin.h"
  12. #include "rstrcore.h"
  13. #include "resource.h"
  14. HINSTANCE g_hInst = NULL;
  15. BOOL WINAPI
  16. DllMain( HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/ )
  17. {
  18. if (dwReason == DLL_PROCESS_ATTACH)
  19. {
  20. g_hInst = hInstance;
  21. ::DisableThreadLibraryCalls( hInstance );
  22. }
  23. else if (dwReason == DLL_PROCESS_DETACH)
  24. {
  25. //
  26. }
  27. return TRUE;
  28. }
  29. // end of file