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.

181 lines
4.6 KiB

  1. /*******************************************************************
  2. *
  3. * MPOVRLAY.C
  4. *
  5. * Copyright (C) 1995 SGS-THOMSON Microelectronics.
  6. *
  7. *
  8. * PORT/MINIPORT Interface Overlay Routines
  9. *
  10. *******************************************************************/
  11. #include "common.h"
  12. #include "mpst.h"
  13. #include "mpinit.h"
  14. #include "mpovrlay.h"
  15. #include "debug.h"
  16. ULONG miniPortOverlayGetAllignment(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  17. {
  18. ULONG dwErrCode = NO_ERROR;
  19. // STB
  20. pHwDevExt = pHwDevExt; // Remove Warning
  21. pMrb = pMrb; // Remove Warning
  22. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlayGetAlnmnt"));
  23. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  24. return dwErrCode;
  25. }
  26. ULONG miniPortOverlayGetAttribute(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  27. {
  28. ULONG dwErrCode = NO_ERROR;
  29. // STB
  30. pHwDevExt = pHwDevExt; // Remove Warning
  31. pMrb = pMrb; // Remove Warning
  32. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlayGetAttr"));
  33. pMrb->Status = MrbStatusUnsupportedComand;
  34. return dwErrCode;
  35. }
  36. ULONG miniPortOverlayGetAlignment (PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  37. {
  38. ULONG dwErrCode = NO_ERROR;
  39. // STB
  40. pHwDevExt = pHwDevExt; // Remove Warning
  41. pMrb = pMrb; // Remove Warning
  42. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlayGetAlignment"));
  43. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  44. return dwErrCode;
  45. }
  46. ULONG miniPortOverlayGetDestination(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  47. {
  48. ULONG dwErrCode = NO_ERROR;
  49. // STB
  50. pHwDevExt = pHwDevExt; // Remove Warning
  51. pMrb = pMrb; // Remove Warning
  52. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlayGetDest"));
  53. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  54. return dwErrCode;
  55. }
  56. ULONG miniPortOverlayGetMode(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  57. {
  58. ULONG dwErrCode = NO_ERROR;
  59. // STB
  60. pMrb = pMrb; // Remove Warning
  61. pHwDevExt = pHwDevExt; // Remove Warning
  62. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlayGetMode"));
  63. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  64. return dwErrCode;
  65. }
  66. ULONG miniPortOverlayGetVgaKey(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  67. {
  68. ULONG dwErrCode = NO_ERROR;
  69. // STB
  70. pHwDevExt = pHwDevExt; // Remove Warning
  71. pMrb = pMrb; // Remove Warning
  72. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlayGetVgaKey"));
  73. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  74. return dwErrCode;
  75. }
  76. ULONG miniPortOverlaySetAlignment(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  77. {
  78. ULONG dwErrCode = NO_ERROR;
  79. // STB
  80. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlaySetAlignment"));
  81. pHwDevExt = pHwDevExt; // Remove Warning
  82. pMrb = pMrb; // Remove Warning
  83. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  84. return dwErrCode;
  85. }
  86. ULONG miniPortOverlaySetAttribute(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  87. {
  88. ULONG dwErrCode = NO_ERROR;
  89. // STB
  90. pHwDevExt = pHwDevExt; // Remove Warning
  91. pMrb = pMrb; // Remove Warning
  92. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlaySetAttr"));
  93. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  94. return dwErrCode;
  95. }
  96. ULONG miniPortOverlaySetBitMask(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  97. {
  98. ULONG dwErrCode = NO_ERROR;
  99. // STB
  100. pHwDevExt = pHwDevExt; // Remove Warning
  101. pMrb = pMrb; // Remove Warning
  102. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlaySetBitMask"));
  103. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  104. return dwErrCode;
  105. }
  106. ULONG miniPortOverlaySetDestination(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  107. {
  108. ULONG dwErrCode = NO_ERROR;
  109. // STB
  110. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlaySetDestination"));
  111. pHwDevExt = pHwDevExt; // Remove Warning
  112. pMrb = pMrb; // Remove Warning
  113. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  114. return dwErrCode;
  115. }
  116. ULONG miniPortOverlaySetMode(PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  117. {
  118. ULONG dwErrCode = NO_ERROR;
  119. pHwDevExt = pHwDevExt; // Remove Warning
  120. pMrb = pMrb; // Remove Warning
  121. // STB
  122. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlaySetMode"));
  123. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  124. return dwErrCode;
  125. }
  126. ULONG miniPortOverlaySetVgaKey (PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  127. {
  128. ULONG dwErrCode = NO_ERROR;
  129. // STB
  130. pHwDevExt = pHwDevExt; // Remove Warning
  131. pMrb = pMrb; // Remove Warning
  132. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlaySetVgaKey"));
  133. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  134. return dwErrCode;
  135. }
  136. ULONG miniPortOverlayUpdateClut (PMPEG_REQUEST_BLOCK pMrb, PHW_DEVICE_EXTENSION pHwDevExt)
  137. {
  138. ULONG dwErrCode = NO_ERROR;
  139. // STB
  140. DEBUG_PRINT((DebugLevelVerbose,"mrbOverlayUpdateClut"));
  141. pHwDevExt = pHwDevExt; // Remove Warning
  142. pMrb = pMrb; // Remove Warning
  143. dwErrCode = ERROR_COMMAND_NOT_IMPLEMENTED;
  144. return dwErrCode;
  145. }
  146.