Source code of Windows XP (NT5)
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.

48 lines
1.2 KiB

  1. typedef struct _vdminternalinfo {
  2. DWORD dwLdtBase;
  3. DWORD dwLdtLimit;
  4. DWORD dwIntelBase;
  5. DWORD dwReserved;
  6. WORD wKernelSeg;
  7. DWORD dwOffsetTHHOOK;
  8. LPVOID vdmContext;
  9. LPVOID lpRemoteAddress;
  10. DWORD lpRemoteBlock;
  11. BOOL f386;
  12. LPVOID lpNtvdmState;
  13. LPVOID lpVdmDbgFlags;
  14. LPVOID lpNtCpuInfo;
  15. LPVOID lpVdmBreakPoints;
  16. } VDMINTERNALINFO;
  17. typedef VDMINTERNALINFO *LPVDMINTERNALINFO;
  18. #define MAX_VDM_BREAKPOINTS 16
  19. #define VDM_TEMPBP 0
  20. typedef struct _VDM_BREAKPOINT { /* VDMBP */
  21. BYTE Flags;
  22. BYTE Opcode;
  23. WORD Count;
  24. WORD Seg;
  25. DWORD Offset;
  26. } VDM_BREAKPOINT;
  27. //
  28. // Bits defined in Flags
  29. //
  30. #define VDMBP_SET 0x01
  31. #define VDMBP_ENABLED 0x02
  32. #define VDMBP_FLUSH 0x04
  33. #define VDMBP_PENDING 0x08
  34. #define VDMBP_V86 0x10
  35. typedef struct _com_header {
  36. DWORD dwBlockAddress;
  37. DWORD dwReturnValue;
  38. WORD wArgsPassed;
  39. WORD wArgsSize;
  40. WORD wBlockLength;
  41. WORD wSuccess;
  42. } COM_HEADER;
  43. typedef COM_HEADER FAR *LPCOM_HEADER;