Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

globals.c

Go to the documentation of this file.
00001 /****************************** Module Header ******************************\ 00002 * Module Name: globals.c 00003 * 00004 * Copyright (c) 1985 - 1999, Microsoft Corporation 00005 * 00006 * This module contains all the server's global variables. One must be 00007 * executing on the server's context to manipulate any of these variables. 00008 * Serializing access to them is also a good idea. 00009 * 00010 * History: 00011 * 10-15-90 DarrinM Created. 00012 \***************************************************************************/ 00013 00014 #include "precomp.h" 00015 #pragma hdrstop 00016 00017 HANDLE ghModuleWin; 00018 CRITICAL_SECTION gcsUserSrv; 00019 00020 DWORD gCmsHungAppTimeout = CMSHUNGAPPTIMEOUT; 00021 DWORD gCmsWaitToKillTimeout = CMSWAITTOKILLTIMEOUT; 00022 DWORD gdwHungToKillCount = CMSHUNGTOKILLCOUNT; 00023 BOOL gfAutoEndTask; 00024 00025 DWORD gdwRIPFlags; 00026 00027 /* 00028 * These globals are used when shutting down the services 00029 * process. 00030 */ 00031 DWORD gdwServicesProcessId; 00032 DWORD gdwServicesWaitToKillTimeout; 00033 DWORD gdwProcessTerminateTimeout = 0; 00034 00035 /* 00036 * logon process id 00037 */ 00038 DWORD gIdLogon; 00039 00040 /* 00041 * Hard error stuff 00042 */ 00043 PHARDERRORINFO gphiList; 00044 DWORD gdwHardErrorThreadId; 00045 HANDLE gNtDllHandle; 00046 HANDLE gEventSource; 00047 PWSTR gpwszaSUCCESS; 00048 PWSTR gpwszaSYSTEM_INFORMATION; 00049 PWSTR gpwszaSYSTEM_WARNING; 00050 PWSTR gpwszaSYSTEM_ERROR; 00051 00052 /* 00053 * EndTask / Shutdown stuff 00054 */ 00055 DWORD gdwThreadEndSession; 00056 HANDLE gheventCancel; 00057 HANDLE gheventCancelled; 00058 00059 ULONG gSessionId = 0; 00060 00061

Generated on Sat May 15 19:40:13 2004 for test by doxygen 1.3.7