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.

154 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. displayp.h
  5. Abstract:
  6. Private header file for display routines.
  7. Author:
  8. Ted Miller (tedm) 7-July-1995
  9. Revision History:
  10. --*/
  11. //
  12. // NOTICE
  13. //
  14. // Under no circumstances is anyone besides display.c to call these routines
  15. // directly. This would break DBCS display for Far Eastern locales.
  16. //
  17. //
  18. // Globals
  19. //
  20. extern USHORT TextColumn;
  21. extern USHORT TextRow;
  22. extern UCHAR TextCurrentAttribute;
  23. //
  24. // Vga text mode stuff
  25. //
  26. VOID
  27. TextTmScrollDisplay(
  28. VOID
  29. );
  30. VOID
  31. TextTmClearDisplay(
  32. VOID
  33. );
  34. VOID
  35. TextTmClearToEndOfDisplay(
  36. VOID
  37. );
  38. VOID
  39. TextTmClearFromStartOfLine(
  40. VOID
  41. );
  42. VOID
  43. TextTmClearToEndOfLine(
  44. VOID
  45. );
  46. VOID
  47. TextTmFillAttribute(
  48. IN UCHAR Attribute,
  49. IN ULONG Length
  50. );
  51. PUCHAR
  52. TextTmCharOut(
  53. PUCHAR pc
  54. );
  55. VOID
  56. TextTmStringOut(
  57. IN PUCHAR String
  58. );
  59. VOID
  60. TextTmPositionCursor(
  61. USHORT Row,
  62. USHORT Column
  63. );
  64. VOID
  65. TextTmSetCurrentAttribute(
  66. IN UCHAR Attribute
  67. );
  68. UCHAR
  69. TextTmGetGraphicsChar(
  70. IN GraphicsChar WhichOne
  71. );
  72. //
  73. // Vga graphics mode stuff
  74. //
  75. VOID
  76. TextGrScrollDisplay(
  77. VOID
  78. );
  79. VOID
  80. TextGrClearDisplay(
  81. VOID
  82. );
  83. VOID
  84. TextGrClearToEndOfDisplay(
  85. VOID
  86. );
  87. VOID
  88. TextGrClearFromStartOfLine(
  89. VOID
  90. );
  91. VOID
  92. TextGrClearToEndOfLine(
  93. VOID
  94. );
  95. VOID
  96. TextGrFillAttribute(
  97. IN UCHAR Attribute,
  98. IN ULONG Length
  99. );
  100. PUCHAR
  101. TextGrCharOut(
  102. PUCHAR pc
  103. );
  104. VOID
  105. TextGrStringOut(
  106. IN PUCHAR String
  107. );
  108. VOID
  109. TextGrPositionCursor(
  110. USHORT Row,
  111. USHORT Column
  112. );
  113. VOID
  114. TextGrSetCurrentAttribute(
  115. IN UCHAR Attribute
  116. );
  117. UCHAR
  118. TextGrGetGraphicsChar(
  119. IN GraphicsChar WhichOne
  120. );
  121.