ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

color.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef CLR_INVALID
00004 #define CLR_INVALID         0xffffffff
00005 #endif
00006 #define PC_SYS_USED     0x80        /* Palentry is used (both system and logical) */
00007 #define PC_SYS_RESERVED 0x40        /* System palentry is not to be mapped to */
00008 #define PC_SYS_MAPPED   0x10        /* Logical palentry is a direct alias for system palentry */
00009 
00010 #define NB_RESERVED_COLORS              20 /* Number of fixed colors in system palette */
00011 
00012 typedef struct _COLORSPACE
00013 {
00014   BASEOBJECT  BaseObject;
00015   LOGCOLORSPACEW lcsColorSpace;
00016   DWORD dwFlags;
00017 } COLORSPACE, *PCOLORSPACE;
00018 
00019 
00020 #define  COLORSPACEOBJ_AllocCS() ((PCOLORSPACE) GDIOBJ_AllocObj(GDIObjType_ICMLCS_TYPE))
00021 #define  COLORSPACEOBJ_AllocCSWithHandle() ((PCOLORSPACE) GDIOBJ_AllocObjWithHandle(GDI_OBJECT_TYPE_COLORSPACE, sizeof(COLORSPACE)))
00022 #define  COLORSPACEOBJ_FreeCS(pCS) GDIOBJ_FreeObj((POBJ)pCS, GDIObjType_ICMLCS_TYPE)
00023 #define  COLORSPACEOBJ_FreeCSByHandle(hCS) GDIOBJ_FreeObjByHandle((HGDIOBJ)hCS, GDI_OBJECT_TYPE_COLORSPACE)
00024 #define  COLORSPACEOBJ_LockCS(hCS) ((PCOLORSPACE)GDIOBJ_LockObject((HGDIOBJ)hCS, GDIObjType_ICMLCS_TYPE))
00025 #define  COLORSPACEOBJ_UnlockCS(pCS) GDIOBJ_vUnlockObject((POBJ)pCS)
00026 
00027 typedef struct _COLORTRANSFORMOBJ
00028 {
00029   BASEOBJECT BaseObject;
00030   HANDLE     hColorTransform;
00031 } GDICLRXFORM, COLORTRANSFORMOBJ, *PCOLORTRANSFORMOBJ;
00032 
00033 extern HCOLORSPACE hStockColorSpace;
00034 
00035 UINT FASTCALL IntGdiRealizePalette (HDC);

Generated on Sun May 27 2012 04:38:24 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.