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.
 
 
 
 
 
 

56 lines
805 B

/*++
Copyright (C) Microsoft Corporation, 1990 - 2000
All rights reserved.
Module Name:
dbginit.c
Abstract:
This module initialization
Author:
Dave Snipp (DaveSn) 15-Mar-1991
Steve Kiraly (SteveKi) 28-Nov-2000
Revision History:
--*/
#include "precomp.h"
#pragma hdrstop
#include "dbglocal.h"
#include "dbgsec.h"
HANDLE hInst;
BOOL
DllMain(
IN HANDLE hModule,
IN DWORD dwReason,
IN LPVOID lpRes
)
{
BOOL bRetval = TRUE;
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
hInst = hModule;
DisableThreadLibraryCalls(hInst);
QuerySystemInformation();
break;
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return bRetval;
}