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.

117 lines
3.6 KiB

  1. ;---------------------------Module-Header------------------------------;
  2. ; Module Name: stucts.inc
  3. ;
  4. ; Defines common structures.
  5. ;
  6. ; Copyright (c) 1992 Microsoft Corporation
  7. ;-----------------------------------------------------------------------;
  8. ;-----------------------------------------------------------------------;
  9. ; POINTB is used for points with a range of -128..+127.
  10. ;-----------------------------------------------------------------------;
  11. POINTB STRUC
  12. ptb_x DB 0
  13. ptb_y DB 0
  14. POINTB ENDS
  15. ;-----------------------------------------------------------------------;
  16. ; POINTL is used for points with a range of +/- 2G.
  17. ;-----------------------------------------------------------------------;
  18. POINTL STRUC
  19. ptl_x DD 0
  20. ptl_y DD 0
  21. POINTL ENDS
  22. ;-----------------------------------------------------------------------;
  23. ; SIZEB is used for extents with a range of -128..+127.
  24. ;-----------------------------------------------------------------------;
  25. SIZEB STRUC
  26. sizb_cx DB 0
  27. sizb_cy DB 0
  28. SIZEB ENDS
  29. ;-----------------------------------------------------------------------;
  30. ; SIZEL is used for extents with a range of +/- 2G
  31. ;-----------------------------------------------------------------------;
  32. SIZEL STRUC
  33. sizl_cx DD 0
  34. sizl_cy DD 0
  35. SIZEL ENDS
  36. ;-----------------------------------------------------------------------;
  37. ; Definition of a rectangle
  38. ;-----------------------------------------------------------------------;
  39. RECTL struc ; /* rcl */
  40. xLeft dd ?
  41. yTop dd ?
  42. xRight dd ?
  43. yBottom dd ?
  44. RECTL ends
  45. ;-----------------------------------------------------------------------;
  46. ; Definitions for dsurf_iFormat
  47. ;-----------------------------------------------------------------------;
  48. BMF_DEVICE equ 0
  49. BMF_1BPP equ 1
  50. BMF_4BPP equ 2
  51. BMF_8BPP equ 3
  52. BMF_16BPP equ 4
  53. BMF_24BPP equ 5
  54. BMF_32BPP equ 6
  55. BMF_4RLE equ 8
  56. BMF_8RLE equ 9
  57. BMF_PHYSDEVICE equ 0FFh
  58. ;-----------------------------------------------------------------------;
  59. ; Definitions for text output
  60. ;-----------------------------------------------------------------------;
  61. GLYPHPOS struc ; /* gp */
  62. gp_hg dd ? ; hglyph (unused by vga)
  63. gp_pgdf dd ? ; glyphdef
  64. gp_x dd ? ; glyph x position
  65. gp_y dd ? ; glyph y position
  66. GLYPHPOS ends
  67. GLYPHDEF struc ; /* gdf */
  68. gdf_pgb dd ? ; points to GLYPHBITS
  69. GLYPHDEF ends
  70. GLYPHBITS struc ; /* gb */
  71. gb_x dd ? ; glyph x offset
  72. gb_y dd ? ; glyph y offset
  73. gb_cx dd ? ; glyph width in pels
  74. gb_cy dd ? ; glyph height in pels
  75. gb_aj db ? ; glyph bit mask
  76. GLYPHBITS ends
  77. ;-----------------------------------------------------------------------;
  78. ; Information block for RLE blts
  79. ;-----------------------------------------------------------------------;
  80. RLEINFO struc
  81. RLE_pjTrg dd ?
  82. RLE_pjSrcBits dd ?
  83. RLE_pjSrcBitsMax dd ?
  84. RLE_prctlClip dd ?
  85. RLE_pulTranslate dd ?
  86. RLE_xBegin dd ?
  87. RLE_lNextScan dd ?
  88. RLE_lNextPlane dd ?
  89. RLE_prctlTrg dd ?
  90. RLE_dwFormat dd ?
  91. Rle_pdsurfTrg dd ?
  92. RLEINFO ends