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.
 
 
 
 
 
 

47 lines
1.2 KiB

/****************************** Module Header ******************************\
* Module Name: globals.h
*
* 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 or call any of these functions. Serializing access
* to them is also a good idea.
*
* History:
* 10-15-90 DarrinM Created.
\***************************************************************************/
#ifndef _GLOBALS_
#define _GLOBALS_
extern CRITICAL_SECTION gcsUserSrv;
extern BOOL gfAutoEndTask;
extern BOOL gbExitInProgress;
/*
* Logon process id.
*/
extern DWORD gIdLogon;
/*
* Hard error globals.
*/
extern DWORD gdwHardErrorThreadId;
extern HANDLE gNtDllHandle;
extern HANDLE gEventSource;
extern PHARDERRORINFO gphiList;
/*
* EndTask / Shutdown stuff.
*/
extern DWORD gdwThreadEndSession;
extern HANDLE gheventCancel;
extern HANDLE gheventCancelled;
extern PWSTR gpwszaSUCCESS;
extern PWSTR gpwszaSYSTEM_INFORMATION;
extern PWSTR gpwszaSYSTEM_WARNING;
extern PWSTR gpwszaSYSTEM_ERROR;
extern ULONG gSessionId;
#endif