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.

39 lines
971 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // vdm.h
  4. //
  5. // VDM debugging support.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. #ifndef _VDM_H_
  11. #define _VDM_H_
  12. #if 0
  13. BOOL fVDMInitDone;
  14. BOOL fVDMActive;
  15. VDMPROCESSEXCEPTIONPROC pfnVDMProcessException;
  16. VDMGETTHREADSELECTORENTRYPROC pfnVDMGetThreadSelectorEntry;
  17. VDMGETPOINTERPROC pfnVDMGetPointer;
  18. VDMGETCONTEXTPROC pfnVDMGetContext;
  19. VDMSETCONTEXTPROC pfnVDMSetContext;
  20. VDMGETSELECTORMODULEPROC pfnVDMGetSelectorModule;
  21. #endif
  22. typedef struct _segentry {
  23. int type;
  24. LPSTR path_name;
  25. WORD selector;
  26. WORD segment;
  27. DWORD ImgLen; // MODLOAD only
  28. } SEGENTRY;
  29. extern SEGENTRY segtable[];
  30. ULONG VDMEvent(DEBUG_EVENT64* Event);
  31. #define VDMEVENT_HANDLED STATUS_VDM_EVENT
  32. #define VDMEVENT_NOT_HANDLED 0
  33. #endif // #ifndef _VDM_H_