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

//----------------------------------------------------------------------------
//
// cmap.h
//
// Declares RLDDIColormap structures and procedures.
//
// Copyright (C) Microsoft Corporation, 1997.
//
//----------------------------------------------------------------------------
#ifndef _RAMPCMAP_H_
#define _RAMPCMAP_H_
struct _RLDDIColormap;
typedef struct _RLDDIColormap RLDDIColormap;
typedef void (*RLDDIColormapDestroy)(RLDDIColormap*);
typedef void (*RLDDIColormapSetColor)(RLDDIColormap*,
int index,
int red, int green, int blue);
struct _RLDDIColormap {
int size; /* maximum color index */
void* priv; /* implementation dependant */
RLDDIColormapDestroy destroy;
RLDDIColormapSetColor set_color;
};
void RLDDIDestroyColormap(RLDDIColormap* cmap);
#endif // _RAMPCMAP_H_