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.

96 lines
3.2 KiB

  1. /****************************************************************************/
  2. /* abcafn.h */
  3. /* */
  4. /* Function prototypes for BC API functions */
  5. /* */
  6. /* COPYRIGHT (c) Microsoft 1996-1999 */
  7. /****************************************************************************/
  8. #ifdef DC_HICOLOR
  9. BOOL RDPCALL SHCLASS BC_CompressBitmap(
  10. PBYTE pSrcBitmap,
  11. PBYTE pDstBuffer,
  12. PBYTE pBCWorkingBuffer,
  13. unsigned dstBufferSize,
  14. unsigned *pCompressedDataSize,
  15. unsigned bitmapWidth,
  16. unsigned bitmapHeight,
  17. unsigned bpp);
  18. #else
  19. BOOL RDPCALL BC_CompressBitmap(
  20. PBYTE pSrcBitmap,
  21. PBYTE pDstBuffer,
  22. unsigned dstBufferSize,
  23. unsigned *pCompressedDataSize,
  24. unsigned bitmapWidth,
  25. unsigned bitmapHeight);
  26. #endif
  27. #ifdef DC_HICOLOR
  28. unsigned RDPCALL CompressV2Int(
  29. PBYTE pSrc,
  30. PBYTE pDst,
  31. unsigned numBytes,
  32. unsigned rowDelta,
  33. unsigned dstBufferSize,
  34. BYTE * xorbuf);
  35. unsigned RDPCALL CompressV2Int15(
  36. PBYTE pSrc,
  37. PBYTE pDst,
  38. unsigned numBytes,
  39. unsigned rowDelta,
  40. unsigned dstBufferSize,
  41. BYTE * xorbuf,
  42. MATCH * match);
  43. unsigned RDPCALL CompressV2Int16(
  44. PBYTE pSrc,
  45. PBYTE pDst,
  46. unsigned numBytes,
  47. unsigned rowDelta,
  48. unsigned dstBufferSize,
  49. BYTE * xorbuf,
  50. MATCH * match);
  51. unsigned RDPCALL CompressV2Int24(
  52. PBYTE pSrc,
  53. PBYTE pDst,
  54. unsigned numPels,
  55. unsigned rowDelta,
  56. unsigned dstBufferSize,
  57. BYTE * xorbuf,
  58. MATCH * match);
  59. unsigned RDPCALL CompressV2Int32(
  60. PBYTE pSrc,
  61. PBYTE pDst,
  62. unsigned numPels,
  63. unsigned rowDelta,
  64. unsigned dstBufferSize,
  65. BYTE * xorbuf,
  66. MATCH * match);
  67. #else
  68. unsigned RDPCALL CompressV2Int(PBYTE, PBYTE, unsigned,
  69. unsigned, unsigned, BYTE *);
  70. #endif
  71. /****************************************************************************/
  72. /* API FUNCTION: BC_Init */
  73. /* */
  74. /* Initializes the Bitmap Compressor. */
  75. /****************************************************************************/
  76. //void RDPCALL BC_Init(void)
  77. #define BC_Init()
  78. /****************************************************************************/
  79. /* API FUNCTION: BC_Term */
  80. /* */
  81. /* Terminates the Bitmap Compressor. */
  82. /****************************************************************************/
  83. //void RDPCALL BC_Term(void)
  84. #define BC_Term()