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.

18 lines
736 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file contains the output color buffer reading routine headers.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. //-----------------------------------------------------------------------------
  8. // Names are read LSB to MSB, so B5G6R5 means five bits of blue starting
  9. // at the LSB, then six bits of green, then five bits of red.
  10. D3DCOLOR C_BufRead_B8G8R8(PUINT8 pBits);
  11. D3DCOLOR C_BufRead_B8G8R8X8(PUINT8 pBits);
  12. D3DCOLOR C_BufRead_B8G8R8A8(PUINT8 pBits);
  13. D3DCOLOR C_BufRead_B5G6R5(PUINT8 pBits);
  14. D3DCOLOR C_BufRead_B5G5R5(PUINT8 pBits);
  15. D3DCOLOR C_BufRead_B5G5R5A1(PUINT8 pBits);
  16. D3DCOLOR C_BufRead_Palette8(PUINT8 pBits);