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.

83 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1996 - 1999 Microsoft Corporation
  3. Module Name:
  4. common.h
  5. Abstract:
  6. This file contain XL raster mode prorotypes.
  7. Environment:
  8. Windows NT Unidrv driver
  9. Revision History:
  10. 10/25/00 -eigos-
  11. Created
  12. dd-mm-yy -author-
  13. description
  14. --*/
  15. #ifndef _XLRASTER_H_
  16. #ifndef _PCLXLE_H_
  17. typedef enum
  18. {
  19. eDirectPixel = 0,
  20. eIndexedPixel = 1
  21. } ColorMapping;
  22. typedef enum
  23. {
  24. eNoCompression = 0,
  25. eRLECompression = 1,
  26. eJPEGCompression = 2
  27. } CompressMode;
  28. #endif
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32. HRESULT
  33. PCLXLSendBitmap(
  34. PDEVOBJ pdevobj,
  35. ULONG ulInputBPP,
  36. LONG lHeight,
  37. LONG lScanlineWidth,
  38. INT iLeft,
  39. INT iRight,
  40. PBYTE pbData,
  41. PDWORD pdwcbOut);
  42. HRESULT
  43. PCLXLReadImage(
  44. PDEVOBJ pdevobj,
  45. DWORD dwBlockHeight,
  46. CompressMode CMode);
  47. HRESULT
  48. PCLXLSetCursor(
  49. PDEVOBJ pdevobj,
  50. ULONG ulX,
  51. ULONG ulY);
  52. HRESULT
  53. PCLXLFreeRaster(
  54. PDEVOBJ pdevobj);
  55. HRESULT
  56. PCLXLResetPalette(
  57. PDEVOBJ pdevobj);
  58. #ifdef __cplusplus
  59. }
  60. #endif
  61. #endif