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.

80 lines
1.8 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: rxhw.c
  3. *
  4. * This module contains all the implementation-dependent capabilities
  5. * required by 'rxddi.c' that haven't been implemented in 'rxhw.h'.
  6. *
  7. * Copyright (c) 1994-1995 Microsoft Corporation
  8. *
  9. \**************************************************************************/
  10. #include "precomp.h"
  11. ULONG DrvEscape(SURFOBJ *pso, ULONG iEsc,
  12. ULONG cjIn, VOID *pvIn,
  13. ULONG cjOut, VOID *pvOut)
  14. {
  15. PDEV* ppdev;
  16. ppdev = (PDEV*) pso->dhpdev;
  17. if (ppdev->iBitmapFormat != BMF_8BPP)
  18. {
  19. // We support the RX escapes only at 8bpp, because that's the
  20. // only QVision mode we've accelerated for lines:
  21. return(0);
  22. }
  23. return(0);
  24. }
  25. BOOL DrvStretchBlt(
  26. SURFOBJ* psoDst,
  27. SURFOBJ* psoSrc,
  28. SURFOBJ* psoMsk,
  29. CLIPOBJ* pco,
  30. XLATEOBJ* pxlo,
  31. COLORADJUSTMENT* pca,
  32. POINTL* pptlHTOrg,
  33. RECTL* prclDst,
  34. RECTL* prclSrc,
  35. POINTL* pptlMsk,
  36. ULONG iMode)
  37. {
  38. return(0);
  39. }
  40. /******************************Public*Routine******************************\
  41. * BOOL bEnableRx
  42. *
  43. \**************************************************************************/
  44. BOOL bEnableRx(
  45. PDEV* ppdev)
  46. {
  47. return(TRUE);
  48. }
  49. /******************************Public*Routine******************************\
  50. * VOID vDisableRx
  51. *
  52. \**************************************************************************/
  53. VOID vDisableRx(
  54. PDEV* ppdev)
  55. {
  56. }
  57. /******************************Public*Routine******************************\
  58. * VOID vAssertModeRx
  59. *
  60. \**************************************************************************/
  61. VOID vAssertModeRx(
  62. PDEV* ppdev,
  63. BOOL bEnable)
  64. {
  65. }