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.
|
|
//----------------------------------------------------------------------------
//
// colall.h
//
// Structures and prototypes for color allocation code.
//
// Copyright (C) Microsoft Corporation, 1997.
//
//----------------------------------------------------------------------------
#ifndef _RAMPCOLALL_H_
#define _RAMPCOLALL_H_
struct _RLDDIColorAllocator; typedef struct _RLDDIColorAllocator RLDDIColorAllocator;
typedef unsigned long (*RLDDIColorAllocatorAllocateColor)(void*, int red, int green, int blue);
typedef void (*RLDDIColorAllocatorFreeColor)(void*, unsigned long pixel);
struct _RLDDIColorAllocator { void* priv; /* implementation dependant */ RLDDIColorAllocatorAllocateColor allocate_color; RLDDIColorAllocatorFreeColor free_color; };
#endif // _RAMPCOLALL_H_
|