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.

119 lines
4.0 KiB

  1. ;---------------------------- Include File Header ---------------------------;
  2. ; Module Name: strucs.inc
  3. ;
  4. ; Copyright (c) 1993-1994 Microsoft Corporation
  5. ;----------------------------------------------------------------------------;
  6. ;-----------------------------------------------------------------------;
  7. ; POINTL is used for points with a range of +/- 2G.
  8. ;-----------------------------------------------------------------------;
  9. POINTL STRUC
  10. ptl_x DD 0
  11. ptl_y DD 0
  12. POINTL ENDS
  13. ;-----------------------------------------------------------------------;
  14. ; SIZEL is used for extents with a range of +/- 2G
  15. ;-----------------------------------------------------------------------;
  16. SIZEL STRUC
  17. sizl_cx DD 0
  18. sizl_cy DD 0
  19. SIZEL ENDS
  20. ;-----------------------------------------------------------------------;
  21. ; Definition of a rectangle
  22. ;-----------------------------------------------------------------------;
  23. RECTL struc ; /* rcl */
  24. xLeft dd ?
  25. yTop dd ?
  26. xRight dd ?
  27. yBottom dd ?
  28. RECTL ends
  29. ;-----------------------------------------------------------------------;
  30. ; Definition of the physical device data structure
  31. ;
  32. ; NOTE: Changes to this structure must be reflected in driver.h!
  33. ;-----------------------------------------------------------------------;
  34. PDEV struc ; /* pdev */
  35. pdev_xOffset dd ?
  36. pdev_yOffset dd ?
  37. pdev_iBitmapFormat dd ?
  38. pdev_ioCur_y dd ?
  39. pdev_ioCur_x dd ?
  40. pdev_ioDesty_axstp dd ?
  41. pdev_ioDestx_diastp dd ?
  42. pdev_ioErr_term dd ?
  43. pdev_ioMaj_axis_pcnt dd ?
  44. pdev_ioGp_stat_cmd dd ?
  45. pdev_ioShort_stroke dd ?
  46. pdev_ioBkgd_color dd ?
  47. pdev_ioFrgd_color dd ?
  48. pdev_ioWrt_mask dd ?
  49. pdev_ioRd_mask dd ?
  50. pdev_ioColor_cmp dd ?
  51. pdev_ioBkgd_mix dd ?
  52. pdev_ioFrgd_mix dd ?
  53. pdev_ioMulti_function dd ?
  54. pdev_ioPix_trans dd ?
  55. PDEV ends
  56. ;-----------------------------------------------------------------------;
  57. ; Definition of our realized brush structures.
  58. ;
  59. ; NOTE: Changes to these structure must be reflected in driver.h!
  60. ;-----------------------------------------------------------------------;
  61. RBRUSH struc ; /* rb, prb */
  62. rb_fl dd ?
  63. rb_bTransparent dd ?
  64. rb_pbe dd ?
  65. rb_ulForeColor dd ?
  66. rb_ulBackColor dd ?
  67. rb_ptlBrushOrg db (size POINTL) dup(?)
  68. rb_aulPattern dd ?
  69. RBRUSH ends
  70. BRUSHENTRY struc ; /* be, pbe */
  71. be_prbVerify dd ?
  72. be_x dd ?
  73. be_y dd ?
  74. BRUSHENTRY ends
  75. ;-----------------------------------------------------------------------;
  76. ; Definitions for text output
  77. ;-----------------------------------------------------------------------;
  78. GLYPHPOS struc ; /* gp */
  79. gp_hg dd ? ; hglyph (unused by vga)
  80. gp_pgdf dd ? ; glyphdef
  81. gp_x dd ? ; glyph x position
  82. gp_y dd ? ; glyph y position
  83. GLYPHPOS ends
  84. GLYPHDEF struc ; /* gdf */
  85. gdf_pgb dd ? ; points to GLYPHBITS
  86. GLYPHDEF ends
  87. GLYPHBITS struc ; /* gb */
  88. gb_x dd ? ; glyph x offset
  89. gb_y dd ? ; glyph y offset
  90. gb_cx dd ? ; glyph width in pels
  91. gb_cy dd ? ; glyph height in pels
  92. gb_aj db ? ; glyph bit mask
  93. GLYPHBITS ends
  94. ;-----------------------------------------------------------------------;
  95. ; Macro to do a simple RET, with no stack stuff, in a proc.
  96. ;-----------------------------------------------------------------------;
  97. PLAIN_RET macro
  98. db 0c3h
  99. endm