mirror of https://github.com/tongzx/nt5src
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.
61 lines
1.6 KiB
61 lines
1.6 KiB
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1999 - 2000
|
|
//
|
|
// File: Globals.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
#if !defined(GLOBALS_H__D0C1E0B9_9F50_11D2_83A2_000000000000__INCLUDED_)
|
|
#define GLOBALS_H__D0C1E0B9_9F50_11D2_83A2_000000000000__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#ifndef NO_STRICT
|
|
#ifndef STRICT
|
|
#define STRICT 1
|
|
#endif
|
|
#endif /* NO_STRICT */
|
|
|
|
//
|
|
// Speculating as to what the _VC_VER value should be... should this be _MSC_VER
|
|
//
|
|
#ifndef _VC_VER_INC
|
|
#define _VC_VER_INC
|
|
#ifndef _VC_VER
|
|
#define _VC_VER 620
|
|
#endif
|
|
#endif
|
|
|
|
#pragma warning (push)
|
|
#pragma warning ( disable : 4100 4201 4710)
|
|
#include <dbgeng.h>
|
|
#pragma warning (pop)
|
|
|
|
// Implement a few objects as globals to greatly simplify access to the objects...
|
|
// When we multi-thread ourselves with different user-contexts... we'll likely
|
|
// need to use _cdecl (thread) to provide per-user/thread global contexts...
|
|
|
|
#include "DelayLoad.h"
|
|
#include "ProgramOptions.h"
|
|
|
|
enum CollectionTypes { Processes, Process, Modules, KernelModeDrivers };
|
|
|
|
struct CollectionStruct
|
|
{
|
|
LPTSTR tszLocalContext; // When collected locally, what should we say...
|
|
LPTSTR tszCSVContext; // When collected from a CSV file, what should we say...
|
|
LPTSTR tszCSVLabel; // CSV file label, what should we look for...
|
|
LPTSTR tszCSVColumnHeaders; // CSV file headers...
|
|
};
|
|
|
|
extern CDelayLoad * g_lpDelayLoad;
|
|
extern CProgramOptions * g_lpProgramOptions;
|
|
|
|
// Global String Structure
|
|
extern CollectionStruct g_tszCollectionArray[];
|
|
|
|
#endif
|