test: globals.h Source File

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

# globals.h

Go to the documentation of this file.

    00001 /****************************** Module Header ******************************\
    00002 * Module Name: globals.h
    00003 *
    00004 * Copyright (c) 1985 - 1999, Microsoft Corporation
    00005 *
    00006 * This module contains all the server's global variables
    00007 * One must be executing on the server's context to manipulate
    00008 * any of these variables or call any of these functions.  Serializing access
    00009 * to them is also a good idea.
    00010 *
    00011 * History:
    00012 * 10-15-90 DarrinM      Created.
    00013 \***************************************************************************/
    00014
    00015 #ifndef _GLOBALS_
    00016 #define _GLOBALS_
    00017
    00018 extern CRITICAL_SECTION gcsUserSrv;
    00019 extern BOOL gfAutoEndTask;
    00020
    00021 extern DWORD gdwRIPFlags;
    00022
    00023 /*
    00024  * logon process id
    00025  */
    00026 extern DWORD gIdLogon;
    00027
    00028
    00029 /*
    00030  * Hard error globals
    00031  */
    00032 extern DWORD gdwHardErrorThreadId;
    00033 extern HANDLE gNtDllHandle;
    00034 extern HANDLE gEventSource;
    00035 extern PHARDERRORINFO gphiList;
    00036 /*
    00037  * EndTask / Shutdown stuff
    00038  */
    00039 extern DWORD gdwThreadEndSession;
    00040 extern HANDLE gheventCancel;
    00041 extern HANDLE gheventCancelled;
    00042 extern PWSTR gpwszaSUCCESS;
    00043 extern PWSTR gpwszaSYSTEM_INFORMATION;
    00044 extern PWSTR gpwszaSYSTEM_WARNING;
    00045 extern PWSTR gpwszaSYSTEM_ERROR;
    00046
    00047 /*
    00048  * EndTask globals
    00049  */
    00050 extern DWORD   gpidWOW;
    00051
    00052 extern ULONG gSessionId;
    00053
    00054
    00055 #endif // _GLOBALS_