windows-nt/Source/XPSP1/NT/sdktools/debuggers/ntsd64/vdm.h
2020-09-26 16:20:57 +08:00

40 lines
932 B
C

//----------------------------------------------------------------------------
//
// 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_