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.

106 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. xlvminit.cpp
  5. Abstract:
  6. PCLXL module initializer
  7. Environment:
  8. Windows Whistler
  9. Revision History:
  10. 08/23/99
  11. Created it.
  12. --*/
  13. #include "vectorc.h"
  14. #include "xlvminit.h"
  15. static VMPROCS PCLXLProcs =
  16. {
  17. PCLXLDriverDMS, // PCLXLDriverDMS
  18. NULL, // PCLXLCommandCallback
  19. NULL, // PCLXLImageProcessing
  20. NULL, // PCLXLFilterGraphics
  21. NULL, // PCLXLCompression
  22. NULL, // PCLXLHalftonePattern
  23. NULL, // PCLXLMemoryUsage
  24. NULL, // PCLXLTTYGetInfo
  25. PCLXLDownloadFontHeader, // PCLXLDownloadFontHeader
  26. PCLXLDownloadCharGlyph, // PCLXLDownloadCharGlyph
  27. PCLXLTTDownloadMethod, // PCLXLTTDownloadMethod
  28. PCLXLOutputCharStr, // PCLXLOutputCharStr
  29. PCLXLSendFontCmd, // PCLXLSendFontCmd
  30. PCLXLTextOutAsBitmap,
  31. PCLXLEnablePDEV,
  32. PCLXLResetPDEV,
  33. NULL, // PCLXLCompletePDEV,
  34. PCLXLDisablePDEV,
  35. NULL, // PCLXLEnableSurface,
  36. NULL, // PCLXLDisableSurface,
  37. PCLXLDisableDriver,
  38. PCLXLStartDoc,
  39. PCLXLStartPage,
  40. PCLXLSendPage,
  41. PCLXLEndDoc,
  42. NULL,
  43. NULL,
  44. NULL,
  45. PCLXLBitBlt,
  46. PCLXLStretchBlt,
  47. PCLXLStretchBltROP,
  48. PCLXLPlgBlt,
  49. PCLXLCopyBits,
  50. NULL,
  51. PCLXLRealizeBrush,
  52. PCLXLLineTo,
  53. PCLXLStrokePath,
  54. PCLXLFillPath,
  55. PCLXLStrokeAndFillPath,
  56. PCLXLGradientFill,
  57. PCLXLAlphaBlend,
  58. PCLXLTransparentBlt,
  59. PCLXLTextOut,
  60. PCLXLEscape,
  61. NULL,
  62. NULL,
  63. NULL,
  64. NULL,
  65. NULL,
  66. NULL,
  67. };
  68. PVMPROCS PCLXLInitVectorProcTable (
  69. PDEV *pPDev,
  70. DEVINFO *pDevInfo,
  71. GDIINFO *pGDIInfo )
  72. /*++
  73. Routine Description:
  74. Arguments:
  75. Return Value:
  76. Note:
  77. --*/
  78. {
  79. if (pPDev->pdmPrivate->dwFlags & DXF_TEXTASGRAPHICS)
  80. return NULL;
  81. else
  82. return &PCLXLProcs;
  83. }