#include "mscms.h"
Go to the source code of this file.
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 }