admin
base
com
developer
drivers
ds
enduser
inetcore
inetsrv
loc
mergedcomponents
multimedia
danim
ddk
directx
dshow
embedded
inc
lib
media
audiosrv
avi
cdplayer
deluxe2
deluxecd
doc
dplay
dplay
dpwsock
commcode.h
dllmain.c
dpipx.reg
dpspimp.cpp
dpspimp.h
dptcp.reg
dpwsock.def
dpwsock.rc
globals.h
makefile
resource.h
socket.cpp
socket.h
sources
wsnetbs.h
misc
serial
dirs
dplayx
drivers
inc
mcicda
mcihwnd
mciole
mciseq
mcivisca
mciwave
media
midimap
mixerapp
mmcaps2k
mmdrv
mplayer2
msacm
samples
setup
sndrec32
sndvol
sounds
test
tools
verinfo
winmm
dirs
read.me
netshow
opengl
private
published
reality
resmgr
dirs
multimedia.mk
project.mk
net
printscan
public
published
sdktools
shell
termsrv
tools
windows
dirs
makefil0
40 lines
918 B
C
40 lines
918 B
C
/*==========================================================================
|
||
*
|
||
* 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 */
|
||
|