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
963 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // colall.h
  4. //
  5. // Structures and prototypes for color allocation code.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. #ifndef _RAMPCOLALL_H_
  11. #define _RAMPCOLALL_H_
  12. struct _RLDDIColorAllocator;
  13. typedef struct _RLDDIColorAllocator RLDDIColorAllocator;
  14. typedef unsigned long (*RLDDIColorAllocatorAllocateColor)(void*,
  15. int red,
  16. int green,
  17. int blue);
  18. typedef void (*RLDDIColorAllocatorFreeColor)(void*,
  19. unsigned long pixel);
  20. struct _RLDDIColorAllocator {
  21. void* priv; /* implementation dependant */
  22. RLDDIColorAllocatorAllocateColor allocate_color;
  23. RLDDIColorAllocatorFreeColor free_color;
  24. };
  25. #endif // _RAMPCOLALL_H_