Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

dllentry.c File Reference

#include "mscms.h"

Go to the source code of this file.

Functions

BOOL WINAPI DllEntryPoint (HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved)


Function Documentation

BOOL WINAPI DllEntryPoint (  HINSTANCE  hInstance,
DWORD  fdwReason,
LPVOID  lpvReserved
) 
 

Definition at line 22 of file dllentry.c.

References critsec, and TRUE.

00027 { 00028 switch (fdwReason) 00029 { 00030 case DLL_PROCESS_ATTACH: 00031 // 00032 // Not nessesary to call me for DLL_THREAD_ATTACH and DLL_THREAD_DETACH 00033 // 00034 DisableThreadLibraryCalls(hInstance); 00035 InitializeCriticalSection(&critsec); 00036 break; 00037 00038 case DLL_PROCESS_DETACH: 00039 DeleteCriticalSection(&critsec); 00040 break; 00041 00042 default: 00043 break; 00044 } 00045 00046 return(TRUE); 00047 }


Generated on Sat May 15 19:43:28 2004 for test by doxygen 1.3.7