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
829 B

/*++
Copyright (C) 1996-1999 Microsoft Corporation
Module Name:
globals.h
Abstract:
<abstract>
--*/
#ifndef _GLOBALS_H_
#define _GLOBALS_H_
#ifdef DEFINE_GLOBALS
#define GLOBAL
#else
#define GLOBAL extern
#endif
GLOBAL CRITICAL_SECTION g_CriticalSection;
#define BEGIN_CRITICAL_SECTION EnterCriticalSection(&g_CriticalSection);
#define END_CRITICAL_SECTION LeaveCriticalSection(&g_CriticalSection);
GLOBAL HINSTANCE g_hInstance;
GLOBAL LONG g_cObj;
GLOBAL LONG g_cLock;
GLOBAL HWND g_hWndFoster ;
enum {
FOSTER_WNDCLASS = 0,
HATCH_WNDCLASS,
SYSMONCTRL_WNDCLASS,
LEGEND_WNDCLASS,
REPORT_WNDCLASS,
INTRVBAR_WNDCLASS,
TIMERANGE_WNDCLASS
};
#define MAX_WINDOW_CLASSES 7
GLOBAL LPWSTR pstrRegisteredClasses[MAX_WINDOW_CLASSES];
#endif