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.

79 lines
1.3 KiB

  1. ;*++
  2. ;Copyright (c) 1991 Microsoft Corporation
  3. ;
  4. ;Module Name:
  5. ;
  6. ; Hostdata.inc
  7. ;
  8. ;Abstract:
  9. ;
  10. ; This module contains definitions associated with the host private data
  11. ; for the NT vdm dpmi host
  12. ;
  13. ;Author:
  14. ;
  15. ; Dave Hastings (daveh) 18-Mar-1992
  16. ;
  17. ;
  18. ;Revision History:
  19. ;*++
  20. ;
  21. ; Note: the following structure should match the pmUser portion of the
  22. ; INTRSTACK structure.
  23. ;
  24. AppState struc
  25. IFDEF DPMI32
  26. AsES dd ?
  27. AsDS dd ?
  28. AsDI dd ?
  29. AsSI dd ?
  30. AsBP dd ?
  31. AsSPx dd ?
  32. AsBX dd ?
  33. AsDX dd ?
  34. AsCX dd ?
  35. AsAX dd ?
  36. AsFL dd ?
  37. AsSS dd ?
  38. AsSP dd ?
  39. ELSE
  40. AsES dw ?
  41. AsDS dw ?
  42. AsDI dw ?
  43. AsSI dw ?
  44. AsBP dw ?
  45. AsSPx dw ?
  46. AsBX dw ?
  47. AsDX dw ?
  48. AsCX dw ?
  49. AsAX dw ?
  50. AsFL dw ?
  51. AsSS dw ?
  52. AsSP dw ?
  53. ENDIF
  54. AppState ends
  55. IFDEF DPMI32
  56. APPSTATE_SIZE equ 52
  57. ELSE
  58. APPSTATE_SIZE equ 26
  59. ENDIF
  60. HostData struc
  61. Hdflags dw 0
  62. HdSelParent dw 0
  63. HdSegParent dw 0
  64. HdSelPSP dw 0
  65. HdPSPParent dw 0
  66. HdPspTerminate dd 0
  67. HdState db APPSTATE_SIZE dup (0)
  68. HostData ends
  69. IFDEF DPMI32
  70. HOST_DATA_SIZE equ 58
  71. ELSE
  72. HOST_DATA_SIZE equ 36
  73. ENDIF
  74. HD_32BITAPP equ 1