windows-nt/Source/XPSP1/NT/multimedia/media/dplay/dpwsock/dllmain.c
2020-09-26 16:20:57 +08:00

40 lines
879 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*==========================================================================
*
* 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 */