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.
39 lines
932 B
39 lines
932 B
//----------------------------------------------------------------------------
|
|
//
|
|
// vdm.h
|
|
//
|
|
// VDM debugging support.
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1997.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef _VDM_H_
|
|
#define _VDM_H_
|
|
|
|
#if 0
|
|
BOOL fVDMInitDone;
|
|
BOOL fVDMActive;
|
|
VDMPROCESSEXCEPTIONPROC pfnVDMProcessException;
|
|
VDMGETTHREADSELECTORENTRYPROC pfnVDMGetThreadSelectorEntry;
|
|
VDMGETPOINTERPROC pfnVDMGetPointer;
|
|
VDMGETCONTEXTPROC pfnVDMGetContext;
|
|
VDMSETCONTEXTPROC pfnVDMSetContext;
|
|
VDMGETSELECTORMODULEPROC pfnVDMGetSelectorModule;
|
|
#endif
|
|
|
|
typedef struct _segentry {
|
|
int type;
|
|
LPSTR path_name;
|
|
WORD selector;
|
|
WORD segment;
|
|
DWORD ImgLen; // MODLOAD only
|
|
} SEGENTRY;
|
|
|
|
extern SEGENTRY segtable[];
|
|
|
|
ULONG VDMEvent(DEBUG_EVENT64* Event);
|
|
#define VDMEVENT_HANDLED STATUS_VDM_EVENT
|
|
#define VDMEVENT_NOT_HANDLED 0
|
|
|
|
#endif // #ifndef _VDM_H_
|