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

ntgdihdl.h File Reference
#include <winddi.h>

Go to the source code of this file.

Data Structures

struct  PGDI_TABLE_ENTRY
struct  PENTRY
union  PENTRY::_EINFO
union  PENTRY::_OBJECTOWNER
struct  PENTRY::_OBJECTOWNER::_OBJECTOWNER_S
struct  PGDI_SHARED_HANDLE_TABLE
struct  PRGN_ATTR
struct  PLDC
struct  PDC_ATTR
struct  PBRUSH_ATTR
struct  PFONT_ATTR

Defines

#define GDI_HANDLE_TABLE_BASE_ADDRESS   (0x400000)
#define GDI_HANDLE_COUNT   0x10000
#define GDI_GLOBAL_PROCESS   (0x0)
#define GDI_CFONT_MAX   16
#define GDI_HANDLE_INDEX_MASK   (GDI_HANDLE_COUNT - 1)
#define GDI_HANDLE_TYPE_MASK   0x007f0000
#define GDI_HANDLE_BASETYPE_MASK   0x001f0000
#define GDI_HANDLE_STOCK_MASK   0x00800000
#define GDI_HANDLE_REUSE_MASK   0xff000000
#define GDI_HANDLE_UPPER_MASK   (GDI_HANDLE_TYPE_MASK|GDI_HANDLE_STOCK_MASK|GDI_HANDLE_REUSE_MASK)
#define GDI_HANDLE_REUSECNT_SHIFT   24
#define GDI_HANDLE_BASETYPE_SHIFT   16
#define GDI_ENTRY_STOCK_MASK   0x00000080
#define GDI_ENTRY_REUSE_MASK   0x0000ff00
#define GDI_ENTRY_REUSE_INC   0x00000100
#define GDI_ENTRY_BASETYPE_MASK   0x001f0000
#define GDI_ENTRY_FLAGS_MASK   0xff000000
#define GDI_ENTRY_REUSECNT_SHIFT   8
#define GDI_ENTRY_UPPER_SHIFT   16
#define GDI_ENTRY_UNDELETABLE   1 /* Mark Object as nonremovable */
#define GDI_ENTRY_DELETING   2 /* Used when deleting Font Objects */
#define GDI_ENTRY_VALIDATE_VIS   4 /* Validating Visible region data */
#define GDI_ENTRY_ALLOCATE_LAL   0x80 /* Object Allocated with Look aside List */
#define GDI_OBJECT_TYPE_DC   0x00010000
#define GDI_OBJECT_TYPE_DD_SURFACE   0x00030000 /* Should be moved away from gdi objects */
#define GDI_OBJECT_TYPE_REGION   0x00040000
#define GDI_OBJECT_TYPE_BITMAP   0x00050000
#define GDI_OBJECT_TYPE_CLIOBJ   0x00060000
#define GDI_OBJECT_TYPE_PATH   0x00070000
#define GDI_OBJECT_TYPE_PALETTE   0x00080000
#define GDI_OBJECT_TYPE_COLORSPACE   0x00090000
#define GDI_OBJECT_TYPE_FONT   0x000a0000
#define GDI_OBJECT_TYPE_BRUSH   0x00100000
#define GDI_OBJECT_TYPE_DD_VIDEOPORT   0x00120000 /* Should be moved away from gdi objects */
#define GDI_OBJECT_TYPE_DD_MOTIONCOMP   0x00140000 /* Should be moved away from gdi objects */
#define GDI_OBJECT_TYPE_ENUMFONT   0x00160000
#define GDI_OBJECT_TYPE_DRIVEROBJ   0x001C0000
#define GDI_OBJECT_TYPE_DIRECTDRAW   0x00200000
#define GDI_OBJECT_TYPE_EMF   0x00210000
#define GDI_OBJECT_TYPE_METAFILE   0x00260000
#define GDI_OBJECT_TYPE_ENHMETAFILE   0x00460000
#define GDI_OBJECT_TYPE_PEN   0x00300000
#define GDI_OBJECT_TYPE_EXTPEN   0x00500000
#define GDI_OBJECT_TYPE_METADC   0x00660000
#define GDI_OBJECT_TYPE_DONTCARE   0x007f0000
#define GDI_OBJECT_TYPE_SILENT   0x80000000
#define GDI_HANDLE_CREATE(i, t)   ((HANDLE)(((i) & GDI_HANDLE_INDEX_MASK) | ((t) & GDI_HANDLE_TYPE_MASK)))
#define GDI_HANDLE_GET_INDEX(h)   (((ULONG_PTR)(h)) & GDI_HANDLE_INDEX_MASK)
#define GDI_HANDLE_GET_TYPE(h)   (((ULONG_PTR)(h)) & GDI_HANDLE_TYPE_MASK)
#define GDI_HANDLE_IS_TYPE(h, t)   ((t) == (((ULONG_PTR)(h)) & GDI_HANDLE_TYPE_MASK))
#define GDI_HANDLE_IS_STOCKOBJ(h)   (0 != (((ULONG_PTR)(h)) & GDI_HANDLE_STOCK_MASK))
#define GDI_HANDLE_SET_STOCKOBJ(h)   ((h) = (HANDLE)(((ULONG_PTR)(h)) | GDI_HANDLE_STOCK_MASK))
#define GDI_HANDLE_GET_UPPER(h)   (((ULONG_PTR)(h)) & GDI_HANDLE_UPPER_MASK)
#define GDI_HANDLE_GET_REUSECNT(h)   (((ULONG_PTR)(h)) >> GDI_HANDLE_REUSECNT_SHIFT)
#define GDI_ENTRY_GET_REUSECNT(e)   ((((ULONG_PTR)(e)) & GDI_ENTRY_REUSE_MASK) >> GDI_ENTRY_REUSECNT_SHIFT)
#define GDI_OBJECT_GET_TYPE_INDEX(t)   ((t & GDI_HANDLE_BASETYPE_MASK) >> GDI_HANDLE_BASETYPE_SHIFT)
#define GDI_OBJ_HMGR_PUBLIC   0 /* Public owner, Open access? */
#define GDI_OBJ_HMGR_POWNED   0x80000002 /* Set to current owner. */
#define GDI_OBJ_HMGR_NONE   0x80000012 /* No owner, Open access? */
#define GDI_OBJ_HMGR_RESTRICTED   0x80000022 /* Restricted? */
#define DC_TYPE_DIRECT   0 /* normal device context */
#define DC_TYPE_MEMORY   1 /* memory device context */
#define DC_TYPE_INFO   2 /* information context */
#define DC_FLAG_DISPLAY   0x0001
#define DC_FLAG_DIRECT   0x0002
#define DC_FLAG_CANCELLED   0x0004
#define DC_FLAG_PERMANENT   0x0008
#define DC_FLAG_DIRTY_RAO   0x0010
#define DC_FLAG_ACCUM_WMGR   0x0020
#define DC_FLAG_ACCUM_APP   0x0040
#define DC_FLAG_RESET   0x0080
#define DC_FLAG_SYNCHRONIZEACCESS   0x0100
#define DC_FLAG_EPSPRINTINGESCAPE   0x0200
#define DC_FLAG_TEMPINFODC   0x0400
#define DC_FLAG_FULLSCREEN   0x0800
#define DC_FLAG_IN_CLONEPDEV   0x1000
#define DC_FLAG_REDIRECTION   0x2000
#define DC_FLAG_SHAREACCESS   0x4000
#define DIRTY_FILL   0x00000001
#define DIRTY_LINE   0x00000002
#define DIRTY_TEXT   0x00000004
#define DIRTY_BACKGROUND   0x00000008
#define DIRTY_CHARSET   0x00000010
#define SLOW_WIDTHS   0x00000020
#define DC_CACHED_TM_VALID   0x00000040
#define DISPLAY_DC   0x00000080
#define DIRTY_PTLCURRENT   0x00000100
#define DIRTY_PTFXCURRENT   0x00000200
#define DIRTY_STYLESTATE   0x00000400
#define DC_PLAYMETAFILE   0x00000800
#define DC_BRUSH_DIRTY   0x00001000
#define DC_PEN_DIRTY   0x00002000
#define DC_DIBSECTION   0x00004000
#define DC_LAST_CLIPRGN_VALID   0x00008000
#define DC_PRIMARY_DISPLAY   0x00010000
#define DC_ICM_NOT_CALIBRATED   0x00020000
#define DC_ICM_BRUSH_DIRTY   0x00040000
#define DC_ICM_PEN_DIRTY   0x00080000
#define DC_ICM_NOT_SET   0x00100000
#define DC_MODE_DIRTY   0x00200000
#define DC_FONTTEXT_DIRTY   0x00400000
#define LDC_LDC   0x00000001 /* (init) local DC other than a normal DC */
#define LDC_EMFLDC   0x00000002 /* Enhance Meta File local DC */
#define LDC_SAPCALLBACK   0x00000020
#define LDC_INIT_DOCUMENT   0x00000040
#define LDC_INIT_PAGE   0x00000080
#define LDC_STARTPAGE   0x00000100
#define LDC_PLAY_MFDC   0x00000800
#define LDC_CLOCKWISE   0x00002000
#define LDC_KILL_DOCUMENT   0x00010000
#define LDC_META_PRINT   0x00020000
#define LDC_INFODC   0x01000000 /* If CreateIC was passed. */
#define LDC_DEVCAPS   0x02000000
#define LDC_ATENDPAGE   0x10000000
#define METAFILE_TO_WORLD_IDENTITY   0x00000001
#define WORLD_TO_PAGE_IDENTITY   0x00000002
#define DEVICE_TO_PAGE_INVALID   0x00000008
#define DEVICE_TO_WORLD_INVALID   0x00000010
#define WORLD_TRANSFORM_SET   0x00000020
#define POSITIVE_Y_IS_UP   0x00000040
#define INVALIDATE_ATTRIBUTES   0x00000080
#define PTOD_EFM11_NEGATIVE   0x00000100
#define PTOD_EFM22_NEGATIVE   0x00000200
#define ISO_OR_ANISO_MAP_MODE   0x00000400
#define PAGE_TO_DEVICE_IDENTITY   0x00000800
#define PAGE_TO_DEVICE_SCALE_IDENTITY   0x00001000
#define PAGE_XLATE_CHANGED   0x00002000
#define PAGE_EXTENTS_CHANGED   0x00004000
#define WORLD_XFORM_CHANGED   0x00008000
#define ATTR_CACHED   0x00000001
#define ATTR_TO_BE_DELETED   0x00000002
#define ATTR_NEW_COLOR   0x00000004
#define ATTR_CANT_SELECT   0x00000008
#define ATTR_RGN_VALID   0x00000010
#define ATTR_RGN_DIRTY   0x00000020

Generated on Mon May 28 2012 06:11:13 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.