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.

31 lines
895 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // cmap.h
  4. //
  5. // Declares RLDDIColormap structures and procedures.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. #ifndef _RAMPCMAP_H_
  11. #define _RAMPCMAP_H_
  12. struct _RLDDIColormap;
  13. typedef struct _RLDDIColormap RLDDIColormap;
  14. typedef void (*RLDDIColormapDestroy)(RLDDIColormap*);
  15. typedef void (*RLDDIColormapSetColor)(RLDDIColormap*,
  16. int index,
  17. int red, int green, int blue);
  18. struct _RLDDIColormap {
  19. int size; /* maximum color index */
  20. void* priv; /* implementation dependant */
  21. RLDDIColormapDestroy destroy;
  22. RLDDIColormapSetColor set_color;
  23. };
  24. void RLDDIDestroyColormap(RLDDIColormap* cmap);
  25. #endif // _RAMPCMAP_H_