Leaked source code of windows server 2003
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.
|
|
#include "precomp.h"
// global variables
HINSTANCE hInstance;
EXTERN_C BOOL DllInitialize(IN PVOID hmod, IN ULONG ulReason, IN PCONTEXT pctx OPTIONAL) { UNREFERENCED_PARAMETER(pctx); if (ulReason == DLL_PROCESS_ATTACH) { hInstance = (HINSTANCE) hmod; DisableThreadLibraryCalls(hInstance); SHFusionInitializeFromModuleID(hInstance, 124); #ifdef DEBUG
CcshellGetDebugFlags(); #endif
} else if (ulReason == DLL_PROCESS_DETACH) { #ifdef DEBUG
DeskCheckForLeaks(); #endif
SHFusionUninitialize(); }
return TRUE; }
|