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.

39 lines
879 B

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dllmain.c
  6. * Content: DPLAY.DLL initialization
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. *
  11. ***************************************************************************/
  12. #include "windows.h"
  13. /*
  14. * DllMain
  15. */
  16. extern VOID InternalCleanUp();
  17. BOOL WINAPI DllMain(HINSTANCE hmod, DWORD dwReason, LPVOID lpvReserved)
  18. {
  19. switch( dwReason )
  20. {
  21. case DLL_PROCESS_ATTACH:
  22. #ifdef DEBUG
  23. OutputDebugString(TEXT("DPWSOCK Attaching\r\n"));
  24. #endif
  25. break;
  26. case DLL_PROCESS_DETACH:
  27. #ifdef DEBUG
  28. OutputDebugString(TEXT("DPWSOCK Dettaching\r\n"));
  29. #endif
  30. InternalCleanUp();
  31. break;
  32. }
  33. return TRUE;
  34. } /* DllMain */
  35.