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.
 
 
 
 
 
 

40 lines
879 B

/*==========================================================================
*
* Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
*
* File: dllmain.c
* Content: DPLAY.DLL initialization
* History:
* Date By Reason
* ==== == ======
*
***************************************************************************/
#include "windows.h"
/*
* DllMain
*/
extern VOID InternalCleanUp();
BOOL WINAPI DllMain(HINSTANCE hmod, DWORD dwReason, LPVOID lpvReserved)
{
switch( dwReason )
{
case DLL_PROCESS_ATTACH:
#ifdef DEBUG
OutputDebugString(TEXT("DPWSOCK Attaching\r\n"));
#endif
break;
case DLL_PROCESS_DETACH:
#ifdef DEBUG
OutputDebugString(TEXT("DPWSOCK Dettaching\r\n"));
#endif
InternalCleanUp();
break;
}
return TRUE;
} /* DllMain */