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.
 
 
 
 
 
 

57 lines
1.3 KiB

/****************************** Module Header ******************************\
* Module Name: globals.c
*
* Copyright (c) 1985 - 1999, Microsoft Corporation
*
* This module contains all the server's global variables. One must be
* executing on the server's context to manipulate any of these variables.
* Serializing access to them is also a good idea.
*
* History:
* 10-15-90 DarrinM Created.
\***************************************************************************/
#include "precomp.h"
#pragma hdrstop
HANDLE ghModuleWin;
CRITICAL_SECTION gcsUserSrv;
DWORD gCmsHungAppTimeout;
DWORD gCmsWaitToKillTimeout;
DWORD gdwHungToKillCount;
BOOL gfAutoEndTask;
BOOL gbExitInProgress;
/*
* These globals are used when shutting down the services process.
*/
DWORD gdwServicesProcessId;
DWORD gdwServicesWaitToKillTimeout;
DWORD gdwProcessTerminateTimeout;
/*
* logon process id
*/
DWORD gIdLogon;
/*
* Hard error stuff
*/
PHARDERRORINFO gphiList;
DWORD gdwHardErrorThreadId;
HANDLE gNtDllHandle;
HANDLE gEventSource;
PWSTR gpwszaSUCCESS;
PWSTR gpwszaSYSTEM_INFORMATION;
PWSTR gpwszaSYSTEM_WARNING;
PWSTR gpwszaSYSTEM_ERROR;
/*
* EndTask / Shutdown stuff
*/
DWORD gdwThreadEndSession;
HANDLE gheventCancel;
HANDLE gheventCancelled;
ULONG gSessionId;