ReactOS 0.4.16-dev-292-gbbdcc14
wingdi.h File Reference
#include "pshpack1.h"
#include "poppack.h"
#include "pshpack2.h"
#include "pshpack4.h"
Include dependency graph for wingdi.h:

Go to the source code of this file.

Classes

struct  _ABC
 
struct  _ABCFLOAT
 
struct  tagBITMAP
 
struct  tagBITMAPCOREHEADER
 
struct  tagRGBTRIPLE
 
struct  tagBITMAPFILEHEADER
 
struct  _BITMAPCOREINFO
 
struct  tagBITMAPINFOHEADER
 
struct  tagRGBQUAD
 
struct  tagBITMAPINFO
 
struct  tagCIEXYZ
 
struct  tagCIEXYZTRIPLE
 
struct  BITMAPV4HEADER
 
struct  tagFONTSIGNATURE
 
struct  tagCHARSETINFO
 
struct  tagCOLORADJUSTMENT
 
struct  _devicemodeA
 
struct  _devicemodeW
 
struct  tagDIBSECTION
 
struct  _DOCINFOA
 
struct  _DOCINFOW
 
struct  tagEMR
 
struct  tagEMRANGLEARC
 
struct  tagEMRARC
 
struct  _XFORM
 
struct  tagEMRBITBLT
 
struct  tagLOGBRUSH
 
struct  tagLOGBRUSH32
 
struct  tagEMRCREATEBRUSHINDIRECT
 
struct  tagLOGCOLORSPACEA
 
struct  tagLOGCOLORSPACEW
 
struct  tagEMRCREATECOLORSPACEW
 
struct  tagEMRCREATECOLORSPACE
 
struct  tagEMRCREATEDIBPATTERNBRUSHPT
 
struct  tagEMRCREATEMONOBRUSH
 
struct  tagPALETTEENTRY
 
struct  tagLOGPALETTE
 
struct  tagEMRCREATEPALETTE
 
struct  tagLOGPEN
 
struct  tagEMRCREATEPEN
 
struct  tagEMRELLIPSE
 
struct  tagEMREOF
 
struct  tagEMREXCLUDECLIPRECT
 
struct  tagPANOSE
 
struct  tagLOGFONTA
 
struct  tagLOGFONTW
 
struct  tagEXTLOGFONTA
 
struct  tagEXTLOGFONTW
 
struct  tagEMREXTCREATEFONTINDIRECTW
 
struct  tagEXTLOGPEN
 
struct  tagEMREXTCREATEPEN
 
struct  tagEMREXTFLOODFILL
 
struct  tagEMREXTSELECTCLIPRGN
 
struct  tagEMRTEXT
 
struct  tagEMREXTTEXTOUTA
 
struct  tagEMRFILLPATH
 
struct  tagEMRFILLRGN
 
struct  tagEMRFORMAT
 
struct  tagEMRSETCOLORSPACE
 
struct  tagEMRFRAMERGN
 
struct  tagEMRGDICOMMENT
 
struct  tagEMRINVERTRGN
 
struct  tagEMRLINETO
 
struct  tagEMRMASKBLT
 
struct  tagEMRMODIFYWORLDTRANSFORM
 
struct  tagEMROFFSETCLIPRGN
 
struct  tagEMRPLGBLT
 
struct  tagEMRPOLYDRAW
 
struct  tagEMRPOLYDRAW16
 
struct  tagEMRPOLYLINE
 
struct  tagEMRPOLYLINE16
 
struct  tagEMRPOLYPOLYLINE
 
struct  tagEMRPOLYPOLYLINE16
 
struct  tagEMRPOLYTEXTOUTA
 
struct  tagEMRRESIZEPALETTE
 
struct  tagEMRRESTOREDC
 
struct  tagEMRROUNDRECT
 
struct  tagEMRSCALEVIEWPORTEXTEX
 
struct  tagEMRSELECTOBJECT
 
struct  tagEMRSELECTPALETTE
 
struct  tagEMRSETARCDIRECTION
 
struct  tagEMRSETTEXTCOLOR
 
struct  tagEMRSETCOLORADJUSTMENT
 
struct  tagEMRSETDIBITSTODEVICE
 
struct  tagEMRSETMAPPERFLAGS
 
struct  tagEMRSETMITERLIMIT
 
struct  tagEMRSETPALETTEENTRIES
 
struct  tagEMRSETPIXELV
 
struct  tagEMRSETVIEWPORTEXTEX
 
struct  tagEMRSETVIEWPORTORGEX
 
struct  tagEMRSETWORLDTRANSFORM
 
struct  tagEMRSTRETCHBLT
 
struct  tagEMRALPHABLEND
 
struct  tagEMRSTRETCHDIBITS
 
struct  tagABORTPATH
 
struct  tagEMRSELECTCLIPPATH
 
struct  tagMETAHEADER
 
struct  tagENHMETAHEADER
 
struct  tagMETARECORD
 
struct  tagENHMETARECORD
 
struct  tagHANDLETABLE
 
struct  tagTEXTMETRICA
 
struct  tagTEXTMETRICW
 
struct  _RGNDATAHEADER
 
struct  _RGNDATA
 
struct  tagGCP_RESULTSA
 
struct  tagGCP_RESULTSW
 
struct  _GLYPHMETRICS
 
struct  tagKERNINGPAIR
 
struct  _FIXED
 
struct  _MAT2
 
struct  _OUTLINETEXTMETRICA
 
struct  _OUTLINETEXTMETRICW
 
struct  _RASTERIZER_STATUS
 
struct  _POLYTEXTA
 
struct  _POLYTEXTW
 
struct  tagPIXELFORMATDESCRIPTOR
 
struct  tagEMRPIXELFORMAT
 
struct  tagMETAFILEPICT
 
struct  tagLOCALESIGNATURE
 
struct  tagNEWTEXTMETRICA
 
struct  tagNEWTEXTMETRICW
 
struct  tagNEWTEXTMETRICEXA
 
struct  tagNEWTEXTMETRICEXW
 
struct  tagPELARRAY
 
struct  tagENUMLOGFONTA
 
struct  tagENUMLOGFONTW
 
struct  tagENUMLOGFONTEXA
 
struct  tagENUMLOGFONTEXW
 
struct  tagPOINTFX
 
struct  tagTTPOLYCURVE
 
struct  tagTTPOLYGONHEADER
 
struct  _POINTFLOAT
 
struct  _GLYPHMETRICSFLOAT
 
struct  tagLAYERPLANEDESCRIPTOR
 
struct  _BLENDFUNCTION
 
struct  _DESIGNVECTOR
 
struct  tagENUMLOGFONTEXDVA
 
struct  tagENUMLOGFONTEXDVW
 
struct  _TRIVERTEX
 
struct  tagEMRGRADIENTFILL
 
struct  _GRADIENT_TRIANGLE
 
struct  _GRADIENT_RECT
 
struct  _DISPLAY_DEVICEA
 
struct  _DISPLAY_DEVICEW
 
struct  _AXISINFOA
 
struct  _AXISINFOW
 
struct  _AXESLISTA
 
struct  _AXESLISTW
 
struct  _ENUMTEXTMETRICA
 
struct  _ENUMTEXTMETRICW
 

Macros

#define _WINGDI_
 
#define SYSPAL_ERROR   0
 
#define SYSPAL_STATIC   1
 
#define SYSPAL_NOSTATIC   2
 
#define SYSPAL_NOSTATIC256   3
 
#define WINGDIAPI
 
#define NTM_NONNEGATIVE_AC   0x00010000
 
#define NTM_PS_OPENTYPE   0x00020000
 
#define NTM_TT_OPENTYPE   0x00040000
 
#define NTM_MULTIPLEMASTER   0x00080000
 
#define NTM_TYPE1   0x00100000
 
#define NTM_DSIG   0x00200000
 
#define AC_SRC_OVER   0
 
#define AC_SRC_ALPHA   1
 
#define BI_RGB   0
 
#define BI_RLE8   1
 
#define BI_RLE4   2
 
#define BI_BITFIELDS   3
 
#define BI_JPEG   4
 
#define BI_PNG   5
 
#define LF_FACESIZE   32
 
#define LF_FULLFACESIZE   64
 
#define CA_NEGATIVE   1
 
#define CA_LOG_FILTER   2
 
#define ILLUMINANT_DEVICE_DEFAULT   0
 
#define ILLUMINANT_A   1
 
#define ILLUMINANT_B   2
 
#define ILLUMINANT_C   3
 
#define ILLUMINANT_D50   4
 
#define ILLUMINANT_D55   5
 
#define ILLUMINANT_D65   6
 
#define ILLUMINANT_D75   7
 
#define ILLUMINANT_F2   8
 
#define ILLUMINANT_MAX_INDEX   ILLUMINANT_F2
 
#define ILLUMINANT_TUNGSTEN   ILLUMINANT_A
 
#define ILLUMINANT_DAYLIGHT   ILLUMINANT_C
 
#define ILLUMINANT_FLUORESCENT   ILLUMINANT_F2
 
#define ILLUMINANT_NTSC   ILLUMINANT_C
 
#define RGB_GAMMA_MIN   2500
 
#define RGB_GAMMA_MAX   65000
 
#define REFERENCE_WHITE_MIN   6000
 
#define REFERENCE_WHITE_MAX   10000
 
#define REFERENCE_BLACK_MIN   0
 
#define REFERENCE_BLACK_MAX   4000
 
#define COLOR_ADJ_MIN   (-100)
 
#define COLOR_ADJ_MAX   100
 
#define CCHDEVICENAME   32
 
#define CCHFORMNAME   32
 
#define DI_COMPAT   4
 
#define DI_DEFAULTSIZE   8
 
#define DI_IMAGE   2
 
#define DI_MASK   1
 
#define DI_NORMAL   3
 
#define DI_APPBANDING   1
 
#define DI_NOMIRROR   16
 
#define EMR_HEADER   1
 
#define EMR_POLYBEZIER   2
 
#define EMR_POLYGON   3
 
#define EMR_POLYLINE   4
 
#define EMR_POLYBEZIERTO   5
 
#define EMR_POLYLINETO   6
 
#define EMR_POLYPOLYLINE   7
 
#define EMR_POLYPOLYGON   8
 
#define EMR_SETWINDOWEXTEX   9
 
#define EMR_SETWINDOWORGEX   10
 
#define EMR_SETVIEWPORTEXTEX   11
 
#define EMR_SETVIEWPORTORGEX   12
 
#define EMR_SETBRUSHORGEX   13
 
#define EMR_EOF   14
 
#define EMR_SETPIXELV   15
 
#define EMR_SETMAPPERFLAGS   16
 
#define EMR_SETMAPMODE   17
 
#define EMR_SETBKMODE   18
 
#define EMR_SETPOLYFILLMODE   19
 
#define EMR_SETROP2   20
 
#define EMR_SETSTRETCHBLTMODE   21
 
#define EMR_SETTEXTALIGN   22
 
#define EMR_SETCOLORADJUSTMENT   23
 
#define EMR_SETTEXTCOLOR   24
 
#define EMR_SETBKCOLOR   25
 
#define EMR_OFFSETCLIPRGN   26
 
#define EMR_MOVETOEX   27
 
#define EMR_SETMETARGN   28
 
#define EMR_EXCLUDECLIPRECT   29
 
#define EMR_INTERSECTCLIPRECT   30
 
#define EMR_SCALEVIEWPORTEXTEX   31
 
#define EMR_SCALEWINDOWEXTEX   32
 
#define EMR_SAVEDC   33
 
#define EMR_RESTOREDC   34
 
#define EMR_SETWORLDTRANSFORM   35
 
#define EMR_MODIFYWORLDTRANSFORM   36
 
#define EMR_SELECTOBJECT   37
 
#define EMR_CREATEPEN   38
 
#define EMR_CREATEBRUSHINDIRECT   39
 
#define EMR_DELETEOBJECT   40
 
#define EMR_ANGLEARC   41
 
#define EMR_ELLIPSE   42
 
#define EMR_RECTANGLE   43
 
#define EMR_ROUNDRECT   44
 
#define EMR_ARC   45
 
#define EMR_CHORD   46
 
#define EMR_PIE   47
 
#define EMR_SELECTPALETTE   48
 
#define EMR_CREATEPALETTE   49
 
#define EMR_SETPALETTEENTRIES   50
 
#define EMR_RESIZEPALETTE   51
 
#define EMR_REALIZEPALETTE   52
 
#define EMR_EXTFLOODFILL   53
 
#define EMR_LINETO   54
 
#define EMR_ARCTO   55
 
#define EMR_POLYDRAW   56
 
#define EMR_SETARCDIRECTION   57
 
#define EMR_SETMITERLIMIT   58
 
#define EMR_BEGINPATH   59
 
#define EMR_ENDPATH   60
 
#define EMR_CLOSEFIGURE   61
 
#define EMR_FILLPATH   62
 
#define EMR_STROKEANDFILLPATH   63
 
#define EMR_STROKEPATH   64
 
#define EMR_FLATTENPATH   65
 
#define EMR_WIDENPATH   66
 
#define EMR_SELECTCLIPPATH   67
 
#define EMR_ABORTPATH   68
 
#define EMR_GDICOMMENT   70
 
#define EMR_FILLRGN   71
 
#define EMR_FRAMERGN   72
 
#define EMR_INVERTRGN   73
 
#define EMR_PAINTRGN   74
 
#define EMR_EXTSELECTCLIPRGN   75
 
#define EMR_BITBLT   76
 
#define EMR_STRETCHBLT   77
 
#define EMR_MASKBLT   78
 
#define EMR_PLGBLT   79
 
#define EMR_SETDIBITSTODEVICE   80
 
#define EMR_STRETCHDIBITS   81
 
#define EMR_EXTCREATEFONTINDIRECTW   82
 
#define EMR_EXTTEXTOUTA   83
 
#define EMR_EXTTEXTOUTW   84
 
#define EMR_POLYBEZIER16   85
 
#define EMR_POLYGON16   86
 
#define EMR_POLYLINE16   87
 
#define EMR_POLYBEZIERTO16   88
 
#define EMR_POLYLINETO16   89
 
#define EMR_POLYPOLYLINE16   90
 
#define EMR_POLYPOLYGON16   91
 
#define EMR_POLYDRAW16   92
 
#define EMR_CREATEMONOBRUSH   93
 
#define EMR_CREATEDIBPATTERNBRUSHPT   94
 
#define EMR_EXTCREATEPEN   95
 
#define EMR_POLYTEXTOUTA   96
 
#define EMR_POLYTEXTOUTW   97
 
#define EMR_SETICMMODE   98
 
#define EMR_CREATECOLORSPACE   99
 
#define EMR_SETCOLORSPACE   100
 
#define EMR_DELETECOLORSPACE   101
 
#define EMR_GLSRECORD   102
 
#define EMR_GLSBOUNDEDRECORD   103
 
#define EMR_PIXELFORMAT   104
 
#define ENHMETA_SIGNATURE   1179469088
 
#define EPS_SIGNATURE   0x46535045
 
#define META_SETBKCOLOR   0x201
 
#define META_SETBKMODE   0x102
 
#define META_SETMAPMODE   0x103
 
#define META_SETROP2   0x104
 
#define META_SETRELABS   0x105
 
#define META_SETPOLYFILLMODE   0x106
 
#define META_SETSTRETCHBLTMODE   0x107
 
#define META_SETTEXTCHAREXTRA   0x108
 
#define META_SETLAYOUT   0x149
 
#define META_SETTEXTCOLOR   0x209
 
#define META_SETTEXTJUSTIFICATION   0x20A
 
#define META_SETWINDOWORG   0x20B
 
#define META_SETWINDOWEXT   0x20C
 
#define META_SETVIEWPORTORG   0x20D
 
#define META_SETVIEWPORTEXT   0x20E
 
#define META_OFFSETWINDOWORG   0x20F
 
#define META_SCALEWINDOWEXT   0x410
 
#define META_OFFSETVIEWPORTORG   0x211
 
#define META_SCALEVIEWPORTEXT   0x412
 
#define META_LINETO   0x213
 
#define META_MOVETO   0x214
 
#define META_EXCLUDECLIPRECT   0x415
 
#define META_INTERSECTCLIPRECT   0x416
 
#define META_ARC   0x817
 
#define META_ELLIPSE   0x418
 
#define META_FLOODFILL   0x419
 
#define META_PIE   0x81A
 
#define META_RECTANGLE   0x41B
 
#define META_ROUNDRECT   0x61C
 
#define META_PATBLT   0x61D
 
#define META_SAVEDC   0x1E
 
#define META_SETPIXEL   0x41F
 
#define META_OFFSETCLIPRGN   0x220
 
#define META_TEXTOUT   0x521
 
#define META_BITBLT   0x922
 
#define META_STRETCHBLT   0xB23
 
#define META_POLYGON   0x324
 
#define META_POLYLINE   0x325
 
#define META_ESCAPE   0x626
 
#define META_RESTOREDC   0x127
 
#define META_FILLREGION   0x228
 
#define META_FRAMEREGION   0x429
 
#define META_INVERTREGION   0x12A
 
#define META_PAINTREGION   0x12B
 
#define META_SELECTCLIPREGION   0x12C
 
#define META_SELECTOBJECT   0x12D
 
#define META_SETTEXTALIGN   0x12E
 
#define META_CHORD   0x830
 
#define META_SETMAPPERFLAGS   0x231
 
#define META_EXTTEXTOUT   0xa32
 
#define META_SETDIBTODEV   0xd33
 
#define META_SELECTPALETTE   0x234
 
#define META_REALIZEPALETTE   0x35
 
#define META_ANIMATEPALETTE   0x436
 
#define META_SETPALENTRIES   0x37
 
#define META_POLYPOLYGON   0x538
 
#define META_RESIZEPALETTE   0x139
 
#define META_DIBBITBLT   0x940
 
#define META_DIBSTRETCHBLT   0xb41
 
#define META_DIBCREATEPATTERNBRUSH   0x142
 
#define META_STRETCHDIB   0xf43
 
#define META_EXTFLOODFILL   0x548
 
#define META_DELETEOBJECT   0x1f0
 
#define META_CREATEPALETTE   0xf7
 
#define META_CREATEPATTERNBRUSH   0x1F9
 
#define META_CREATEPENINDIRECT   0x2FA
 
#define META_CREATEFONTINDIRECT   0x2FB
 
#define META_CREATEBRUSHINDIRECT   0x2FC
 
#define META_CREATEREGION   0x6FF
 
#define META_DRAWTEXT   0x062F
 
#define META_RESETDC   0x014C
 
#define META_STARTDOC   0x014D
 
#define META_STARTPAGE   0x004F
 
#define META_ENDPAGE   0x0050
 
#define META_ABORTDOC   0x0052
 
#define META_ENDDOC   0x005E
 
#define META_CREATEBRUSH   0x00F8
 
#define META_CREATEBITMAPINDIRECT   0x02FD
 
#define META_CREATEBITMAP   0x06FE
 
#define PT_MOVETO   6
 
#define PT_LINETO   2
 
#define PT_BEZIERTO   4
 
#define PT_CLOSEFIGURE   1
 
#define ELF_VENDOR_SIZE   4
 
#define ELF_VERSION   0
 
#define ELF_CULTURE_LATIN   0
 
#define PFD_TYPE_RGBA   0
 
#define PFD_TYPE_COLORINDEX   1
 
#define PFD_MAIN_PLANE   0
 
#define PFD_OVERLAY_PLANE   1
 
#define PFD_UNDERLAY_PLANE   (-1)
 
#define PFD_DOUBLEBUFFER   1
 
#define PFD_STEREO   2
 
#define PFD_DRAW_TO_WINDOW   4
 
#define PFD_DRAW_TO_BITMAP   8
 
#define PFD_SUPPORT_GDI   16
 
#define PFD_SUPPORT_OPENGL   32
 
#define PFD_GENERIC_FORMAT   64
 
#define PFD_NEED_PALETTE   128
 
#define PFD_NEED_SYSTEM_PALETTE   0x00000100
 
#define PFD_SWAP_EXCHANGE   0x00000200
 
#define PFD_SWAP_COPY   0x00000400
 
#define PFD_SWAP_LAYER_BUFFERS   0x00000800
 
#define PFD_GENERIC_ACCELERATED   0x00001000
 
#define PFD_SUPPORT_COMPOSITION   0x00008000
 
#define PFD_DEPTH_DONTCARE   0x20000000
 
#define PFD_DOUBLEBUFFER_DONTCARE   0x40000000
 
#define PFD_STEREO_DONTCARE   0x80000000
 
#define SP_ERROR   (-1)
 
#define SP_OUTOFDISK   (-4)
 
#define SP_OUTOFMEMORY   (-5)
 
#define SP_USERABORT   (-3)
 
#define SP_APPABORT   (-2)
 
#define BLACKNESS   0x42
 
#define NOTSRCERASE   0x1100A6
 
#define NOTSRCCOPY   0x330008
 
#define SRCERASE   0x440328
 
#define DSTINVERT   0x550009
 
#define PATINVERT   0x5A0049
 
#define SRCINVERT   0x660046
 
#define SRCAND   0x8800C6
 
#define MERGEPAINT   0xBB0226
 
#define MERGECOPY   0xC000CA
 
#define SRCCOPY   0xCC0020
 
#define SRCPAINT   0xEE0086
 
#define PATCOPY   0xF00021
 
#define PATPAINT   0xFB0A09
 
#define WHITENESS   0xFF0062
 
#define R2_BLACK   1
 
#define R2_COPYPEN   13
 
#define R2_MASKNOTPEN   3
 
#define R2_MASKPEN   9
 
#define R2_MASKPENNOT   5
 
#define R2_MERGENOTPEN   12
 
#define R2_MERGEPEN   15
 
#define R2_MERGEPENNOT   14
 
#define R2_NOP   11
 
#define R2_NOT   6
 
#define R2_NOTCOPYPEN   4
 
#define R2_NOTMASKPEN   8
 
#define R2_NOTMERGEPEN   2
 
#define R2_NOTXORPEN   10
 
#define R2_WHITE   16
 
#define R2_XORPEN   7
 
#define CM_OUT_OF_GAMUT   255
 
#define CM_IN_GAMUT   0
 
#define RGN_AND   1
 
#define RGN_COPY   5
 
#define RGN_DIFF   4
 
#define RGN_OR   2
 
#define RGN_XOR   3
 
#define NULLREGION   1
 
#define SIMPLEREGION   2
 
#define COMPLEXREGION   3
 
#define ERROR   0
 
#define CBM_INIT   4
 
#define DIB_PAL_COLORS   1
 
#define DIB_RGB_COLORS   0
 
#define FW_DONTCARE   0
 
#define FW_THIN   100
 
#define FW_EXTRALIGHT   200
 
#define FW_ULTRALIGHT   FW_EXTRALIGHT
 
#define FW_LIGHT   300
 
#define FW_NORMAL   400
 
#define FW_REGULAR   400
 
#define FW_MEDIUM   500
 
#define FW_SEMIBOLD   600
 
#define FW_DEMIBOLD   FW_SEMIBOLD
 
#define FW_BOLD   700
 
#define FW_EXTRABOLD   800
 
#define FW_ULTRABOLD   FW_EXTRABOLD
 
#define FW_HEAVY   900
 
#define FW_BLACK   FW_HEAVY
 
#define ANSI_CHARSET   0
 
#define DEFAULT_CHARSET   1
 
#define SYMBOL_CHARSET   2
 
#define SHIFTJIS_CHARSET   128
 
#define HANGEUL_CHARSET   129
 
#define HANGUL_CHARSET   129
 
#define GB2312_CHARSET   134
 
#define CHINESEBIG5_CHARSET   136
 
#define GREEK_CHARSET   161
 
#define TURKISH_CHARSET   162
 
#define HEBREW_CHARSET   177
 
#define ARABIC_CHARSET   178
 
#define BALTIC_CHARSET   186
 
#define RUSSIAN_CHARSET   204
 
#define THAI_CHARSET   222
 
#define EE_CHARSET   238
 
#define EASTEUROPE_CHARSET   238
 
#define OEM_CHARSET   255
 
#define JOHAB_CHARSET   130
 
#define VIETNAMESE_CHARSET   163
 
#define MAC_CHARSET   77
 
#define VISCII_CHARSET   (BYTE)240 /* viscii1.1-1 */
 
#define TCVN_CHARSET   (BYTE)241 /* tcvn-0 */
 
#define KOI8_CHARSET   (BYTE)242 /* koi8-{r,u,ru} */
 
#define ISO3_CHARSET   (BYTE)243 /* iso8859-3 */
 
#define ISO4_CHARSET   (BYTE)244 /* iso8859-4 */
 
#define ISO10_CHARSET   (BYTE)245 /* iso8859-10 */
 
#define CELTIC_CHARSET   (BYTE)246 /* iso8859-14 */
 
#define OUT_DEFAULT_PRECIS   0
 
#define OUT_STRING_PRECIS   1
 
#define OUT_CHARACTER_PRECIS   2
 
#define OUT_STROKE_PRECIS   3
 
#define OUT_TT_PRECIS   4
 
#define OUT_DEVICE_PRECIS   5
 
#define OUT_RASTER_PRECIS   6
 
#define OUT_TT_ONLY_PRECIS   7
 
#define OUT_OUTLINE_PRECIS   8
 
#define OUT_SCREEN_OUTLINE_PRECIS   9
 
#define OUT_PS_ONLY_PRECIS   10
 
#define CLIP_DEFAULT_PRECIS   0
 
#define CLIP_CHARACTER_PRECIS   1
 
#define CLIP_STROKE_PRECIS   2
 
#define CLIP_MASK   15
 
#define CLIP_LH_ANGLES   16
 
#define CLIP_TT_ALWAYS   32
 
#define CLIP_DFA_DISABLE   64
 
#define CLIP_EMBEDDED   128
 
#define DEFAULT_QUALITY   0
 
#define DRAFT_QUALITY   1
 
#define PROOF_QUALITY   2
 
#define NONANTIALIASED_QUALITY   3
 
#define ANTIALIASED_QUALITY   4
 
#define CLEARTYPE_QUALITY   5
 
#define CLEARTYPE_NATURAL_QUALITY   6
 
#define DEFAULT_PITCH   0
 
#define FIXED_PITCH   1
 
#define VARIABLE_PITCH   2
 
#define MONO_FONT   8
 
#define FF_DECORATIVE   80
 
#define FF_DONTCARE   0
 
#define FF_MODERN   48
 
#define FF_ROMAN   16
 
#define FF_SCRIPT   64
 
#define FF_SWISS   32
 
#define PANOSE_COUNT   10
 
#define PAN_FAMILYTYPE_INDEX   0
 
#define PAN_SERIFSTYLE_INDEX   1
 
#define PAN_WEIGHT_INDEX   2
 
#define PAN_PROPORTION_INDEX   3
 
#define PAN_CONTRAST_INDEX   4
 
#define PAN_STROKEVARIATION_INDEX   5
 
#define PAN_ARMSTYLE_INDEX   6
 
#define PAN_LETTERFORM_INDEX   7
 
#define PAN_MIDLINE_INDEX   8
 
#define PAN_XHEIGHT_INDEX   9
 
#define PAN_CULTURE_LATIN   0
 
#define PAN_ANY   0
 
#define PAN_NO_FIT   1
 
#define PAN_FAMILY_TEXT_DISPLAY   2
 
#define PAN_FAMILY_SCRIPT   3
 
#define PAN_FAMILY_DECORATIVE   4
 
#define PAN_FAMILY_PICTORIAL   5
 
#define PAN_SERIF_COVE   2
 
#define PAN_SERIF_OBTUSE_COVE   3
 
#define PAN_SERIF_SQUARE_COVE   4
 
#define PAN_SERIF_OBTUSE_SQUARE_COVE   5
 
#define PAN_SERIF_SQUARE   6
 
#define PAN_SERIF_THIN   7
 
#define PAN_SERIF_BONE   8
 
#define PAN_SERIF_EXAGGERATED   9
 
#define PAN_SERIF_TRIANGLE   10
 
#define PAN_SERIF_NORMAL_SANS   11
 
#define PAN_SERIF_OBTUSE_SANS   12
 
#define PAN_SERIF_PERP_SANS   13
 
#define PAN_SERIF_FLARED   14
 
#define PAN_SERIF_ROUNDED   15
 
#define PAN_WEIGHT_VERY_LIGHT   2
 
#define PAN_WEIGHT_LIGHT   3
 
#define PAN_WEIGHT_THIN   4
 
#define PAN_WEIGHT_BOOK   5
 
#define PAN_WEIGHT_MEDIUM   6
 
#define PAN_WEIGHT_DEMI   7
 
#define PAN_WEIGHT_BOLD   8
 
#define PAN_WEIGHT_HEAVY   9
 
#define PAN_WEIGHT_BLACK   10
 
#define PAN_WEIGHT_NORD   11
 
#define PAN_PROP_OLD_STYLE   2
 
#define PAN_PROP_MODERN   3
 
#define PAN_PROP_EVEN_WIDTH   4
 
#define PAN_PROP_EXPANDED   5
 
#define PAN_PROP_CONDENSED   6
 
#define PAN_PROP_VERY_EXPANDED   7
 
#define PAN_PROP_VERY_CONDENSED   8
 
#define PAN_PROP_MONOSPACED   9
 
#define PAN_CONTRAST_NONE   2
 
#define PAN_CONTRAST_VERY_LOW   3
 
#define PAN_CONTRAST_LOW   4
 
#define PAN_CONTRAST_MEDIUM_LOW   5
 
#define PAN_CONTRAST_MEDIUM   6
 
#define PAN_CONTRAST_MEDIUM_HIGH   7
 
#define PAN_CONTRAST_HIGH   8
 
#define PAN_CONTRAST_VERY_HIGH   9
 
#define PAN_STROKE_GRADUAL_DIAG   2
 
#define PAN_STROKE_GRADUAL_TRAN   3
 
#define PAN_STROKE_GRADUAL_VERT   4
 
#define PAN_STROKE_GRADUAL_HORZ   5
 
#define PAN_STROKE_RAPID_VERT   6
 
#define PAN_STROKE_RAPID_HORZ   7
 
#define PAN_STROKE_INSTANT_VERT   8
 
#define PAN_STRAIGHT_ARMS_HORZ   2
 
#define PAN_STRAIGHT_ARMS_WEDGE   3
 
#define PAN_STRAIGHT_ARMS_VERT   4
 
#define PAN_STRAIGHT_ARMS_SINGLE_SERIF   5
 
#define PAN_STRAIGHT_ARMS_DOUBLE_SERIF   6
 
#define PAN_BENT_ARMS_HORZ   7
 
#define PAN_BENT_ARMS_WEDGE   8
 
#define PAN_BENT_ARMS_VERT   9
 
#define PAN_BENT_ARMS_SINGLE_SERIF   10
 
#define PAN_BENT_ARMS_DOUBLE_SERIF   11
 
#define PAN_LETT_NORMAL_CONTACT   2
 
#define PAN_LETT_NORMAL_WEIGHTED   3
 
#define PAN_LETT_NORMAL_BOXED   4
 
#define PAN_LETT_NORMAL_FLATTENED   5
 
#define PAN_LETT_NORMAL_ROUNDED   6
 
#define PAN_LETT_NORMAL_OFF_CENTER   7
 
#define PAN_LETT_NORMAL_SQUARE   8
 
#define PAN_LETT_OBLIQUE_CONTACT   9
 
#define PAN_LETT_OBLIQUE_WEIGHTED   10
 
#define PAN_LETT_OBLIQUE_BOXED   11
 
#define PAN_LETT_OBLIQUE_FLATTENED   12
 
#define PAN_LETT_OBLIQUE_ROUNDED   13
 
#define PAN_LETT_OBLIQUE_OFF_CENTER   14
 
#define PAN_LETT_OBLIQUE_SQUARE   15
 
#define PAN_MIDLINE_STANDARD_TRIMMED   2
 
#define PAN_MIDLINE_STANDARD_POINTED   3
 
#define PAN_MIDLINE_STANDARD_SERIFED   4
 
#define PAN_MIDLINE_HIGH_TRIMMED   5
 
#define PAN_MIDLINE_HIGH_POINTED   6
 
#define PAN_MIDLINE_HIGH_SERIFED   7
 
#define PAN_MIDLINE_CONSTANT_TRIMMED   8
 
#define PAN_MIDLINE_CONSTANT_POINTED   9
 
#define PAN_MIDLINE_CONSTANT_SERIFED   10
 
#define PAN_MIDLINE_LOW_TRIMMED   11
 
#define PAN_MIDLINE_LOW_POINTED   12
 
#define PAN_MIDLINE_LOW_SERIFED   13
 
#define PAN_XHEIGHT_CONSTANT_SMALL   2
 
#define PAN_XHEIGHT_CONSTANT_STD   3
 
#define PAN_XHEIGHT_CONSTANT_LARGE   4
 
#define PAN_XHEIGHT_DUCKING_SMALL   5
 
#define PAN_XHEIGHT_DUCKING_STD   6
 
#define PAN_XHEIGHT_DUCKING_LARGE   7
 
#define FS_LATIN1   1
 
#define FS_LATIN2   2
 
#define FS_CYRILLIC   4
 
#define FS_GREEK   8
 
#define FS_TURKISH   16
 
#define FS_HEBREW   32
 
#define FS_ARABIC   64
 
#define FS_BALTIC   128
 
#define FS_VIETNAMESE   256
 
#define FS_THAI   0x10000
 
#define FS_JISJAPAN   0x20000
 
#define FS_CHINESESIMP   0x40000
 
#define FS_WANSUNG   0x80000
 
#define FS_CHINESETRAD   0x100000
 
#define FS_JOHAB   0x200000
 
#define FS_SYMBOL   0x80000000
 
#define HS_BDIAGONAL   3
 
#define HS_CROSS   4
 
#define HS_DIAGCROSS   5
 
#define HS_FDIAGONAL   2
 
#define HS_HORIZONTAL   0
 
#define HS_VERTICAL   1
 
#define HS_API_MAX   12
 
#define PS_GEOMETRIC   65536
 
#define PS_COSMETIC   0
 
#define PS_ALTERNATE   8
 
#define PS_SOLID   0
 
#define PS_DASH   1
 
#define PS_DOT   2
 
#define PS_DASHDOT   3
 
#define PS_DASHDOTDOT   4
 
#define PS_NULL   5
 
#define PS_USERSTYLE   7
 
#define PS_INSIDEFRAME   6
 
#define PS_ENDCAP_ROUND   0
 
#define PS_ENDCAP_SQUARE   256
 
#define PS_ENDCAP_FLAT   512
 
#define PS_JOIN_BEVEL   4096
 
#define PS_JOIN_MITER   8192
 
#define PS_JOIN_ROUND   0
 
#define PS_JOIN_MASK   0x0000F000
 
#define PS_STYLE_MASK   15
 
#define PS_ENDCAP_MASK   3840
 
#define PS_TYPE_MASK   983040
 
#define ALTERNATE   1
 
#define WINDING   2
 
#define POLYFILL_LAST   2
 
#define DC_BINNAMES   12
 
#define DC_BINS   6
 
#define DC_COPIES   18
 
#define DC_DRIVER   11
 
#define DC_DATATYPE_PRODUCED   21
 
#define DC_DUPLEX   7
 
#define DC_EMF_COMPLIANT   20
 
#define DC_ENUMRESOLUTIONS   13
 
#define DC_EXTRA   9
 
#define DC_FIELDS   1
 
#define DC_FILEDEPENDENCIES   14
 
#define DC_MAXEXTENT   5
 
#define DC_MINEXTENT   4
 
#define DC_ORIENTATION   17
 
#define DC_PAPERNAMES   16
 
#define DC_PAPERS   2
 
#define DC_PAPERSIZE   3
 
#define DC_SIZE   8
 
#define DC_TRUETYPE   15
 
#define DCTT_BITMAP   1
 
#define DCTT_DOWNLOAD   2
 
#define DCTT_SUBDEV   4
 
#define DCTT_DOWNLOAD_OUTLINE   8
 
#define DC_VERSION   10
 
#define DC_BINADJUST   19
 
#define DC_EMF_COMPLIANT   20
 
#define DC_DATATYPE_PRODUCED   21
 
#define DC_MANUFACTURER   23
 
#define DC_MODEL   24
 
#define DCBA_FACEUPNONE   0
 
#define DCBA_FACEUPCENTER   1
 
#define DCBA_FACEUPLEFT   2
 
#define DCBA_FACEUPRIGHT   3
 
#define DCBA_FACEDOWNNONE   256
 
#define DCBA_FACEDOWNCENTER   257
 
#define DCBA_FACEDOWNLEFT   258
 
#define DCBA_FACEDOWNRIGHT   259
 
#define FLOODFILLBORDER   0
 
#define FLOODFILLSURFACE   1
 
#define ETO_GRAYED   0x00001
 
#define ETO_OPAQUE   0x00002
 
#define ETO_CLIPPED   0x00004
 
#define ETO_PDY   0x02000
 
#define ETO_REVERSE_INDEX_MAP   0x10000
 
#define GDICOMMENT_WINDOWS_METAFILE   (-2147483647)
 
#define GDICOMMENT_BEGINGROUP   2
 
#define GDICOMMENT_ENDGROUP   3
 
#define GDICOMMENT_MULTIFORMATS   1073741828
 
#define GDICOMMENT_IDENTIFIER   1128875079
 
#define AD_COUNTERCLOCKWISE   1
 
#define AD_CLOCKWISE   2
 
#define RDH_RECTANGLES   1
 
#define GCPCLASS_LATIN   1
 
#define GCPCLASS_HEBREW   2
 
#define GCPCLASS_ARABIC   2
 
#define GCPCLASS_NEUTRAL   3
 
#define GCPCLASS_LOCALNUMBER   4
 
#define GCPCLASS_LATINNUMBER   5
 
#define GCPCLASS_LATINNUMERICTERMINATOR   6
 
#define GCPCLASS_LATINNUMERICSEPARATOR   7
 
#define GCPCLASS_NUMERICSEPARATOR   8
 
#define GCPCLASS_PREBOUNDLTR   128
 
#define GCPCLASS_PREBOUNDRTL   64
 
#define GCPCLASS_POSTBOUNDLTR   32
 
#define GCPCLASS_POSTBOUNDRTL   16
 
#define GCPGLYPH_LINKBEFORE   0x8000
 
#define GCPGLYPH_LINKAFTER   0x4000
 
#define DCB_DISABLE   8
 
#define DCB_ENABLE   4
 
#define DCB_RESET   1
 
#define DCB_SET   3
 
#define DCB_ACCUMULATE   2
 
#define DCB_DIRTY   2
 
#define OBJ_BRUSH   2
 
#define OBJ_PEN   1
 
#define OBJ_PAL   5
 
#define OBJ_FONT   6
 
#define OBJ_BITMAP   7
 
#define OBJ_EXTPEN   11
 
#define OBJ_REGION   8
 
#define OBJ_DC   3
 
#define OBJ_MEMDC   10
 
#define OBJ_METAFILE   9
 
#define OBJ_METADC   4
 
#define OBJ_ENHMETAFILE   13
 
#define OBJ_ENHMETADC   12
 
#define OBJ_COLORSPACE   14
 
#define DRIVERVERSION   0
 
#define TECHNOLOGY   2
 
#define DT_PLOTTER   0
 
#define DT_RASDISPLAY   1
 
#define DT_RASPRINTER   2
 
#define DT_RASCAMERA   3
 
#define DT_CHARSTREAM   4
 
#define DT_METAFILE   5
 
#define DT_DISPFILE   6
 
#define HORZSIZE   4
 
#define VERTSIZE   6
 
#define HORZRES   8
 
#define VERTRES   10
 
#define LOGPIXELSX   88
 
#define LOGPIXELSY   90
 
#define BITSPIXEL   12
 
#define PLANES   14
 
#define NUMBRUSHES   16
 
#define NUMPENS   18
 
#define NUMFONTS   22
 
#define NUMCOLORS   24
 
#define NUMMARKERS   20
 
#define ASPECTX   40
 
#define ASPECTY   42
 
#define ASPECTXY   44
 
#define PDEVICESIZE   26
 
#define CLIPCAPS   36
 
#define SIZEPALETTE   104
 
#define NUMRESERVED   106
 
#define COLORRES   108
 
#define PHYSICALWIDTH   110
 
#define PHYSICALHEIGHT   111
 
#define PHYSICALOFFSETX   112
 
#define PHYSICALOFFSETY   113
 
#define SCALINGFACTORX   114
 
#define SCALINGFACTORY   115
 
#define VREFRESH   116
 
#define DESKTOPHORZRES   118
 
#define DESKTOPVERTRES   117
 
#define BLTALIGNMENT   119
 
#define RASTERCAPS   38
 
#define RC_BANDING   2
 
#define RC_BITBLT   1
 
#define RC_BITMAP64   8
 
#define RC_DI_BITMAP   128
 
#define RC_DIBTODEV   512
 
#define RC_FLOODFILL   4096
 
#define RC_GDI20_OUTPUT   16
 
#define RC_PALETTE   256
 
#define RC_SCALING   4
 
#define RC_STRETCHBLT   2048
 
#define RC_STRETCHDIB   8192
 
#define RC_DEVBITS   0x8000
 
#define RC_OP_DX_OUTPUT   0x4000
 
#define CURVECAPS   28
 
#define CC_NONE   0
 
#define CC_CIRCLES   1
 
#define CC_PIE   2
 
#define CC_CHORD   4
 
#define CC_ELLIPSES   8
 
#define CC_WIDE   16
 
#define CC_STYLED   32
 
#define CC_WIDESTYLED   64
 
#define CC_INTERIORS   128
 
#define CC_ROUNDRECT   256
 
#define LINECAPS   30
 
#define LC_NONE   0
 
#define LC_POLYLINE   2
 
#define LC_MARKER   4
 
#define LC_POLYMARKER   8
 
#define LC_WIDE   16
 
#define LC_STYLED   32
 
#define LC_WIDESTYLED   64
 
#define LC_INTERIORS   128
 
#define POLYGONALCAPS   32
 
#define RC_BANDING   2
 
#define RC_BIGFONT   1024
 
#define RC_BITBLT   1
 
#define RC_BITMAP64   8
 
#define RC_DEVBITS   0x8000
 
#define RC_DI_BITMAP   128
 
#define RC_GDI20_OUTPUT   16
 
#define RC_GDI20_STATE   32
 
#define RC_NONE   0
 
#define RC_OP_DX_OUTPUT   0x4000
 
#define RC_PALETTE   256
 
#define RC_SAVEBITMAP   64
 
#define RC_SCALING   4
 
#define PC_NONE   0
 
#define PC_POLYGON   1
 
#define PC_POLYPOLYGON   256
 
#define PC_PATHS   512
 
#define PC_RECTANGLE   2
 
#define PC_WINDPOLYGON   4
 
#define PC_SCANLINE   8
 
#define PC_TRAPEZOID   4
 
#define PC_WIDE   16
 
#define PC_STYLED   32
 
#define PC_WIDESTYLED   64
 
#define PC_INTERIORS   128
 
#define PC_PATHS   512
 
#define TEXTCAPS   34
 
#define TC_OP_CHARACTER   1
 
#define TC_OP_STROKE   2
 
#define TC_CP_STROKE   4
 
#define TC_CR_90   8
 
#define TC_CR_ANY   16
 
#define TC_SF_X_YINDEP   32
 
#define TC_SA_DOUBLE   64
 
#define TC_SA_INTEGER   128
 
#define TC_SA_CONTIN   256
 
#define TC_EA_DOUBLE   512
 
#define TC_IA_ABLE   1024
 
#define TC_UA_ABLE   2048
 
#define TC_SO_ABLE   4096
 
#define TC_RA_ABLE   8192
 
#define TC_VA_ABLE   16384
 
#define TC_RESERVED   32768
 
#define TC_SCROLLBLT   65536
 
#define CP_NONE   0
 
#define CP_RECTANGLE   1
 
#define CP_REGION   2
 
#define GCP_DBCS   1
 
#define GCP_ERROR   0x8000
 
#define GCP_CLASSIN   0x80000
 
#define GCP_DIACRITIC   256
 
#define GCP_DISPLAYZWG   0x400000
 
#define GCP_GLYPHSHAPE   16
 
#define GCP_JUSTIFY   0x10000
 
#define GCP_JUSTIFYIN   0x200000
 
#define GCP_KASHIDA   1024
 
#define GCP_LIGATE   32
 
#define GCP_MAXEXTENT   0x100000
 
#define GCP_NEUTRALOVERRIDE   0x2000000
 
#define GCP_NUMERICOVERRIDE   0x1000000
 
#define GCP_NUMERICSLATIN   0x4000000
 
#define GCP_NUMERICSLOCAL   0x8000000
 
#define GCP_REORDER   2
 
#define GCP_SYMSWAPOFF   0x800000
 
#define GCP_USEKERNING   8
 
#define FLI_GLYPHS   0x40000
 
#define FLI_MASK   0x103b
 
#define GGO_METRICS   0
 
#define GGO_BITMAP   1
 
#define GGO_NATIVE   2
 
#define GGO_BEZIER   3
 
#define GGO_GRAY2_BITMAP   4
 
#define GGO_GRAY4_BITMAP   5
 
#define GGO_GRAY8_BITMAP   6
 
#define GGO_GLYPH_INDEX   128
 
#define GGO_UNHINTED   256
 
#define GM_COMPATIBLE   1
 
#define GM_ADVANCED   2
 
#define GM_LAST   2
 
#define MM_ANISOTROPIC   8
 
#define MM_HIENGLISH   5
 
#define MM_HIMETRIC   3
 
#define MM_ISOTROPIC   7
 
#define MM_LOENGLISH   4
 
#define MM_LOMETRIC   2
 
#define MM_TEXT   1
 
#define MM_TWIPS   6
 
#define MM_MAX_FIXEDSCALE   MM_TWIPS
 
#define MM_MIN   MM_TEXT
 
#define MM_MAX   MM_ANISOTROPIC
 
#define ABSOLUTE   1
 
#define RELATIVE   2
 
#define PC_EXPLICIT   2
 
#define PC_NOCOLLAPSE   4
 
#define PC_RESERVED   1
 
#define CLR_INVALID   0xFFFFFFFF
 
#define PT_MOVETO   6
 
#define PT_LINETO   2
 
#define PT_BEZIERTO   4
 
#define PT_CLOSEFIGURE   1
 
#define TT_AVAILABLE   1
 
#define TT_ENABLED   2
 
#define BLACK_BRUSH   4
 
#define DKGRAY_BRUSH   3
 
#define GRAY_BRUSH   2
 
#define HOLLOW_BRUSH   5
 
#define LTGRAY_BRUSH   1
 
#define NULL_BRUSH   5
 
#define WHITE_BRUSH   0
 
#define BLACK_PEN   7
 
#define NULL_PEN   8
 
#define WHITE_PEN   6
 
#define ANSI_FIXED_FONT   11
 
#define ANSI_VAR_FONT   12
 
#define DEVICE_DEFAULT_FONT   14
 
#define DEFAULT_GUI_FONT   17
 
#define OEM_FIXED_FONT   10
 
#define SYSTEM_FONT   13
 
#define SYSTEM_FIXED_FONT   16
 
#define DEFAULT_PALETTE   15
 
#define STOCK_LAST   16
 
#define SYSPAL_NOSTATIC   2
 
#define SYSPAL_STATIC   1
 
#define SYSPAL_ERROR   0
 
#define TA_BASELINE   24
 
#define TA_BOTTOM   8
 
#define TA_TOP   0
 
#define TA_CENTER   6
 
#define TA_LEFT   0
 
#define TA_RIGHT   2
 
#define TA_RTLREADING   256
 
#define TA_NOUPDATECP   0
 
#define TA_UPDATECP   1
 
#define TA_MASK   (TA_BASELINE+TA_CENTER+TA_UPDATECP+TA_RTLREADING)
 
#define VTA_BASELINE   24
 
#define VTA_CENTER   6
 
#define VTA_LEFT   TA_BOTTOM
 
#define VTA_RIGHT   TA_TOP
 
#define VTA_BOTTOM   TA_RIGHT
 
#define VTA_TOP   TA_LEFT
 
#define MWT_IDENTITY   1
 
#define MWT_LEFTMULTIPLY   2
 
#define MWT_RIGHTMULTIPLY   3
 
#define MWT_MIN   MWT_IDENTITY
 
#define MWT_MAX   MWT_RIGHTMULTIPLY
 
#define OPAQUE   2
 
#define TRANSPARENT   1
 
#define BKMODE_LAST   2
 
#define BLACKONWHITE   1
 
#define WHITEONBLACK   2
 
#define COLORONCOLOR   3
 
#define HALFTONE   4
 
#define MAXSTRETCHBLTMODE   4
 
#define STRETCH_ANDSCANS   1
 
#define STRETCH_DELETESCANS   3
 
#define STRETCH_HALFTONE   4
 
#define STRETCH_ORSCANS   2
 
#define TCI_SRCCHARSET   1
 
#define TCI_SRCCODEPAGE   2
 
#define TCI_SRCFONTSIG   3
 
#define TCI_SRCLOCALE   4096
 
#define ICM_ON   2
 
#define ICM_OFF   1
 
#define ICM_QUERY   3
 
#define NEWFRAME   1
 
#define ABORTDOC   2
 
#define NEXTBAND   3
 
#define SETCOLORTABLE   4
 
#define GETCOLORTABLE   5
 
#define FLUSHOUTPUT   6
 
#define DRAFTMODE   7
 
#define QUERYESCSUPPORT   8
 
#define SETABORTPROC   9
 
#define STARTDOC   10
 
#define ENDDOC   11
 
#define GETPHYSPAGESIZE   12
 
#define GETPRINTINGOFFSET   13
 
#define GETSCALINGFACTOR   14
 
#define MFCOMMENT   15
 
#define GETPENWIDTH   16
 
#define SETCOPYCOUNT   17
 
#define SELECTPAPERSOURCE   18
 
#define DEVICEDATA   19
 
#define PASSTHROUGH   19
 
#define GETTECHNOLGY   20
 
#define GETTECHNOLOGY   20
 
#define SETLINECAP   21
 
#define SETLINEJOIN   22
 
#define SETMITERLIMIT   23
 
#define BANDINFO   24
 
#define DRAWPATTERNRECT   25
 
#define GETVECTORPENSIZE   26
 
#define GETVECTORBRUSHSIZE   27
 
#define ENABLEDUPLEX   28
 
#define GETSETPAPERBINS   29
 
#define GETSETPRINTORIENT   30
 
#define ENUMPAPERBINS   31
 
#define SETDIBSCALING   32
 
#define EPSPRINTING   33
 
#define ENUMPAPERMETRICS   34
 
#define GETSETPAPERMETRICS   35
 
#define POSTSCRIPT_DATA   37
 
#define POSTSCRIPT_IGNORE   38
 
#define MOUSETRAILS   39
 
#define GETDEVICEUNITS   42
 
#define GETEXTENDEDTEXTMETRICS   256
 
#define GETEXTENTTABLE   257
 
#define GETPAIRKERNTABLE   258
 
#define GETTRACKKERNTABLE   259
 
#define EXTTEXTOUT   512
 
#define GETFACENAME   513
 
#define DOWNLOADFACE   514
 
#define ENABLERELATIVEWIDTHS   768
 
#define ENABLEPAIRKERNING   769
 
#define SETKERNTRACK   770
 
#define SETALLJUSTVALUES   771
 
#define SETCHARSET   772
 
#define STRETCHBLT   2048
 
#define METAFILE_DRIVER   2049
 
#define GETSETSCREENPARAMS   3072
 
#define QUERYDIBSUPPORT   3073
 
#define BEGIN_PATH   4096
 
#define CLIP_TO_PATH   4097
 
#define END_PATH   4098
 
#define EXT_DEVICE_CAPS   4099
 
#define RESTORE_CTM   4100
 
#define SAVE_CTM   4101
 
#define SET_ARC_DIRECTION   4102
 
#define SET_BACKGROUND_COLOR   4103
 
#define SET_POLY_MODE   4104
 
#define SET_SCREEN_ANGLE   4105
 
#define SET_SPREAD   4106
 
#define TRANSFORM_CTM   4107
 
#define SET_CLIP_BOX   4108
 
#define SET_BOUNDS   4109
 
#define SET_MIRROR_MODE   4110
 
#define OPENCHANNEL   4110
 
#define DOWNLOADHEADER   4111
 
#define CLOSECHANNEL   4112
 
#define POSTSCRIPT_PASSTHROUGH   4115
 
#define ENCAPSULATED_POSTSCRIPT   4116
 
#define POSTSCRIPT_IDENTIFY   4117
 
#define POSTSCRIPT_INJECTION   4118
 
#define CHECKJPEGFORMAT   4119
 
#define CHECKPNGFORMAT   4120
 
#define GET_PS_FEATURESETTING   4121
 
#define SPCLPASSTHROUGH2   4568
 
#define QDI_SETDIBITS   1
 
#define QDI_GETDIBITS   2
 
#define QDI_DIBTOSCREEN   4
 
#define QDI_STRETCHDIB   8
 
#define SP_NOTREPORTED   0x4000
 
#define PR_JOBSTATUS   0
 
#define ASPECT_FILTERING   1
 
#define GS_8BIT_INDICES   0x00000001
 
#define GGI_MARK_NONEXISTING_GLYPHS   0X0001
 
#define BS_SOLID   0
 
#define BS_NULL   1
 
#define BS_HOLLOW   1
 
#define BS_HATCHED   2
 
#define BS_PATTERN   3
 
#define BS_INDEXED   4
 
#define BS_DIBPATTERN   5
 
#define BS_DIBPATTERNPT   6
 
#define BS_PATTERN8X8   7
 
#define BS_DIBPATTERN8X8   8
 
#define BS_MONOPATTERN   9
 
#define LCS_CALIBRATED_RGB   0
 
#define LCS_DEVICE_RGB   1
 
#define LCS_DEVICE_CMYK   2
 
#define LCS_GM_BUSINESS   1
 
#define LCS_GM_GRAPHICS   2
 
#define LCS_GM_IMAGES   4
 
#define LCS_GM_ABS_COLORIMETRIC   8
 
#define LCS_SIGNATURE   0x50534F43
 
#define LCS_sRGB   'sRGB'
 
#define LCS_WINDOWS_COLOR_SPACE   'Win '
 
#define RASTER_FONTTYPE   1
 
#define DEVICE_FONTTYPE   2
 
#define TRUETYPE_FONTTYPE   4
 
#define DMORIENT_PORTRAIT   1
 
#define DMORIENT_LANDSCAPE   2
 
#define DMPAPER_FIRST   1
 
#define DMPAPER_LETTER   1
 
#define DMPAPER_LETTERSMALL   2
 
#define DMPAPER_TABLOID   3
 
#define DMPAPER_LEDGER   4
 
#define DMPAPER_LEGAL   5
 
#define DMPAPER_STATEMENT   6
 
#define DMPAPER_EXECUTIVE   7
 
#define DMPAPER_A3   8
 
#define DMPAPER_A4   9
 
#define DMPAPER_A4SMALL   10
 
#define DMPAPER_A5   11
 
#define DMPAPER_B4   12
 
#define DMPAPER_B5   13
 
#define DMPAPER_FOLIO   14
 
#define DMPAPER_QUARTO   15
 
#define DMPAPER_10X14   16
 
#define DMPAPER_11X17   17
 
#define DMPAPER_NOTE   18
 
#define DMPAPER_ENV_9   19
 
#define DMPAPER_ENV_10   20
 
#define DMPAPER_ENV_11   21
 
#define DMPAPER_ENV_12   22
 
#define DMPAPER_ENV_14   23
 
#define DMPAPER_CSHEET   24
 
#define DMPAPER_DSHEET   25
 
#define DMPAPER_ESHEET   26
 
#define DMPAPER_ENV_DL   27
 
#define DMPAPER_ENV_C5   28
 
#define DMPAPER_ENV_C3   29
 
#define DMPAPER_ENV_C4   30
 
#define DMPAPER_ENV_C6   31
 
#define DMPAPER_ENV_C65   32
 
#define DMPAPER_ENV_B4   33
 
#define DMPAPER_ENV_B5   34
 
#define DMPAPER_ENV_B6   35
 
#define DMPAPER_ENV_ITALY   36
 
#define DMPAPER_ENV_MONARCH   37
 
#define DMPAPER_ENV_PERSONAL   38
 
#define DMPAPER_FANFOLD_US   39
 
#define DMPAPER_FANFOLD_STD_GERMAN   40
 
#define DMPAPER_FANFOLD_LGL_GERMAN   41
 
#define DMPAPER_ISO_B4   42
 
#define DMPAPER_JAPANESE_POSTCARD   43
 
#define DMPAPER_9X11   44
 
#define DMPAPER_10X11   45
 
#define DMPAPER_15X11   46
 
#define DMPAPER_ENV_INVITE   47
 
#define DMPAPER_RESERVED_48   48
 
#define DMPAPER_RESERVED_49   49
 
#define DMPAPER_LETTER_EXTRA   50
 
#define DMPAPER_LEGAL_EXTRA   51
 
#define DMPAPER_TABLOID_EXTRA   52
 
#define DMPAPER_A4_EXTRA   53
 
#define DMPAPER_LETTER_TRANSVERSE   54
 
#define DMPAPER_A4_TRANSVERSE   55
 
#define DMPAPER_LETTER_EXTRA_TRANSVERSE   56
 
#define DMPAPER_A_PLUS   57
 
#define DMPAPER_B_PLUS   58
 
#define DMPAPER_LETTER_PLUS   59
 
#define DMPAPER_A4_PLUS   60
 
#define DMPAPER_A5_TRANSVERSE   61
 
#define DMPAPER_B5_TRANSVERSE   62
 
#define DMPAPER_A3_EXTRA   63
 
#define DMPAPER_A5_EXTRA   64
 
#define DMPAPER_B5_EXTRA   65
 
#define DMPAPER_A2   66
 
#define DMPAPER_A3_TRANSVERSE   67
 
#define DMPAPER_A3_EXTRA_TRANSVERSE   68
 
#define DMPAPER_LAST   68
 
#define DMPAPER_USER   256
 
#define DMBIN_FIRST   1
 
#define DMBIN_UPPER   1
 
#define DMBIN_ONLYONE   1
 
#define DMBIN_LOWER   2
 
#define DMBIN_MIDDLE   3
 
#define DMBIN_MANUAL   4
 
#define DMBIN_ENVELOPE   5
 
#define DMBIN_ENVMANUAL   6
 
#define DMBIN_AUTO   7
 
#define DMBIN_TRACTOR   8
 
#define DMBIN_SMALLFMT   9
 
#define DMBIN_LARGEFMT   10
 
#define DMBIN_LARGECAPACITY   11
 
#define DMBIN_CASSETTE   14
 
#define DMBIN_FORMSOURCE   15
 
#define DMBIN_LAST   15
 
#define DMBIN_USER   256
 
#define DMRES_DRAFT   (-1)
 
#define DMRES_LOW   (-2)
 
#define DMRES_MEDIUM   (-3)
 
#define DMRES_HIGH   (-4)
 
#define DMCOLOR_MONOCHROME   1
 
#define DMCOLOR_COLOR   2
 
#define DMDUP_SIMPLEX   1
 
#define DMDUP_VERTICAL   2
 
#define DMDUP_HORIZONTAL   3
 
#define DMTT_BITMAP   1
 
#define DMTT_DOWNLOAD   2
 
#define DMTT_SUBDEV   3
 
#define DMTT_DOWNLOAD_OUTLINE   4
 
#define DMCOLLATE_FALSE   0
 
#define DMCOLLATE_TRUE   1
 
#define DMDO_DEFAULT   0
 
#define DMDO_90   1
 
#define DMDO_180   2
 
#define DMDO_270   3
 
#define DMDFO_DEFAULT   0
 
#define DMDFO_STRETCH   1
 
#define DMDFO_CENTER   2
 
#define DM_GRAYSCALE   0x00000001
 
#define DM_INTERLACED   0x00000002
 
#define DMDISPLAYFLAGS_TEXTMODE   0x00000004
 
#define DM_UPDATE   1
 
#define DM_COPY   2
 
#define DM_PROMPT   4
 
#define DM_MODIFY   8
 
#define DM_IN_BUFFER   DM_MODIFY
 
#define DM_IN_PROMPT   DM_PROMPT
 
#define DM_OUT_BUFFER   DM_COPY
 
#define DM_OUT_DEFAULT   DM_UPDATE
 
#define DM_SPECVERSION   0x0401
 
#define DM_ORIENTATION   0x00000001
 
#define DM_PAPERSIZE   0x00000002
 
#define DM_PAPERLENGTH   0x00000004
 
#define DM_PAPERWIDTH   0x00000008
 
#define DM_SCALE   0x00000010
 
#define DM_POSITION   0x00000020
 
#define DM_NUP   0x00000040
 
#define DM_DISPLAYORIENTATION   0x00000080
 
#define DM_COPIES   0x00000100
 
#define DM_DEFAULTSOURCE   0x00000200
 
#define DM_PRINTQUALITY   0x00000400
 
#define DM_COLOR   0x00000800
 
#define DM_DUPLEX   0x00001000
 
#define DM_YRESOLUTION   0x00002000
 
#define DM_TTOPTION   0x00004000
 
#define DM_COLLATE   0x00008000
 
#define DM_FORMNAME   0x00010000
 
#define DM_LOGPIXELS   0x00020000
 
#define DM_BITSPERPEL   0x00040000
 
#define DM_PELSWIDTH   0x00080000
 
#define DM_PELSHEIGHT   0x00100000
 
#define DM_DISPLAYFLAGS   0x00200000
 
#define DM_DISPLAYFREQUENCY   0x00400000
 
#define DM_ICMMETHOD   0x00800000
 
#define DM_ICMINTENT   0x01000000
 
#define DM_MEDIATYPE   0x02000000
 
#define DM_DITHERTYPE   0x04000000
 
#define DM_PANNINGWIDTH   0x08000000
 
#define DM_PANNINGHEIGHT   0x10000000
 
#define QDC_ALL_PATHS   0x00000001
 
#define DMICMMETHOD_NONE   1
 
#define DMICMMETHOD_SYSTEM   2
 
#define DMICMMETHOD_DRIVER   3
 
#define DMICMMETHOD_DEVICE   4
 
#define DMICMMETHOD_USER   256
 
#define DMICM_SATURATE   1
 
#define DMICM_CONTRAST   2
 
#define DMICM_COLORMETRIC   3
 
#define DMICM_USER   256
 
#define DMMEDIA_STANDARD   1
 
#define DMMEDIA_TRANSPARENCY   2
 
#define DMMEDIA_GLOSSY   3
 
#define DMMEDIA_USER   256
 
#define DMDITHER_NONE   1
 
#define DMDITHER_COARSE   2
 
#define DMDITHER_FINE   3
 
#define DMDITHER_LINEART   4
 
#define DMDITHER_ERRORDIFFUSION   5
 
#define DMDITHER_RESERVED6   6
 
#define DMDITHER_RESERVED7   7
 
#define DMDITHER_RESERVED8   8
 
#define DMDITHER_RESERVED9   9
 
#define DMDITHER_GRAYSCALE   10
 
#define DMDITHER_USER   256
 
#define GDI_ERROR   0xFFFFFFFF
 
#define HGDI_ERROR   ((HANDLE)GDI_ERROR)
 
#define TMPF_FIXED_PITCH   1
 
#define TMPF_VECTOR   2
 
#define TMPF_TRUETYPE   4
 
#define TMPF_DEVICE   8
 
#define NTM_ITALIC   1
 
#define NTM_BOLD   32
 
#define NTM_REGULAR   64
 
#define TT_POLYGON_TYPE   24
 
#define TT_PRIM_LINE   1
 
#define TT_PRIM_QSPLINE   2
 
#define TT_PRIM_CSPLINE   3
 
#define FONTMAPPER_MAX   10
 
#define ENHMETA_STOCK_OBJECT   0x80000000
 
#define WGL_FONT_LINES   0
 
#define WGL_FONT_POLYGONS   1
 
#define LPD_DOUBLEBUFFER   1
 
#define LPD_STEREO   2
 
#define LPD_SUPPORT_GDI   16
 
#define LPD_SUPPORT_OPENGL   32
 
#define LPD_SHARE_DEPTH   64
 
#define LPD_SHARE_STENCIL   128
 
#define LPD_SHARE_ACCUM   256
 
#define LPD_SWAP_EXCHANGE   512
 
#define LPD_SWAP_COPY   1024
 
#define LPD_TRANSPARENT   4096
 
#define LPD_TYPE_RGBA   0
 
#define LPD_TYPE_COLORINDEX   1
 
#define WGL_SWAP_MAIN_PLANE   1
 
#define WGL_SWAP_OVERLAY1   2
 
#define WGL_SWAP_OVERLAY2   4
 
#define WGL_SWAP_OVERLAY3   8
 
#define WGL_SWAP_OVERLAY4   16
 
#define WGL_SWAP_OVERLAY5   32
 
#define WGL_SWAP_OVERLAY6   64
 
#define WGL_SWAP_OVERLAY7   128
 
#define WGL_SWAP_OVERLAY8   256
 
#define WGL_SWAP_OVERLAY9   512
 
#define WGL_SWAP_OVERLAY10   1024
 
#define WGL_SWAP_OVERLAY11   2048
 
#define WGL_SWAP_OVERLAY12   4096
 
#define WGL_SWAP_OVERLAY13   8192
 
#define WGL_SWAP_OVERLAY14   16384
 
#define WGL_SWAP_OVERLAY15   32768
 
#define WGL_SWAP_UNDERLAY1   65536
 
#define WGL_SWAP_UNDERLAY2   0x20000
 
#define WGL_SWAP_UNDERLAY3   0x40000
 
#define WGL_SWAP_UNDERLAY4   0x80000
 
#define WGL_SWAP_UNDERLAY5   0x100000
 
#define WGL_SWAP_UNDERLAY6   0x200000
 
#define WGL_SWAP_UNDERLAY7   0x400000
 
#define WGL_SWAP_UNDERLAY8   0x800000
 
#define WGL_SWAP_UNDERLAY9   0x1000000
 
#define WGL_SWAP_UNDERLAY10   0x2000000
 
#define WGL_SWAP_UNDERLAY11   0x4000000
 
#define WGL_SWAP_UNDERLAY12   0x8000000
 
#define WGL_SWAP_UNDERLAY13   0x10000000
 
#define WGL_SWAP_UNDERLAY14   0x20000000
 
#define WGL_SWAP_UNDERLAY15   0x40000000
 
#define AC_SRC_OVER   0
 
#define LAYOUT_LTR   0
 
#define LAYOUT_RTL   1
 
#define LAYOUT_BTT   2
 
#define LAYOUT_VBH   4
 
#define LAYOUT_ORIENTATIONMASK   (LAYOUT_RTL | LAYOUT_BTT | LAYOUT_VBH)
 
#define LAYOUT_BITMAPORIENTATIONPRESERVED   8
 
#define CAPTUREBLT   0x40000000
 
#define NOMIRRORBITMAP   0x80000000
 
#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP   0x00000001
 
#define DISPLAY_DEVICE_MULTI_DRIVER   0x00000002
 
#define DISPLAY_DEVICE_PRIMARY_DEVICE   0x00000004
 
#define DISPLAY_DEVICE_MIRRORING_DRIVER   0x00000008
 
#define DISPLAY_DEVICE_VGA_COMPATIBLE   0x00000010
 
#define DISPLAY_DEVICE_REMOVABLE   0x00000020
 
#define DISPLAY_DEVICE_DISCONNECT   0x02000000
 
#define DISPLAY_DEVICE_REMOTE   0x04000000
 
#define DISPLAY_DEVICE_MODESPRUNED   0x08000000
 
#define DISPLAY_DEVICE_ACTIVE   0x00000001
 
#define DISPLAY_DEVICE_ATTACHED   0x00000002
 
#define _PALETTEENTRY_DEFINED
 
#define _LOGPALETTE_DEFINED
 
#define _TEXTMETRIC_DEFINED
 
#define SYSRGN   4
 
#define STAMP_DESIGNVECTOR   (0x8000000 + 'd' + ('v' << 8))
 
#define STAMP_AXESLIST   (0x8000000 + 'a' + ('l' << 8))
 
#define MM_MAX_NUMAXES   16
 
#define MM_MAX_AXES_NAMELEN   16
 
#define GetRValue(rgb)   ((BYTE)(rgb))
 
#define GetGValue(rgb)   ((BYTE)(((WORD)(rgb)) >> 8))
 
#define GetBValue(rgb)   ((BYTE)((rgb)>>16))
 
#define GetAValue(rgb)   ((BYTE)((rgb)>>24))
 
#define RGB(r, g, b)   ((COLORREF)(((BYTE)(r)|((WORD)((BYTE)(g))<<8))|(((DWORD)(BYTE)(b))<<16)))
 
#define RGBA(r, g, b, a)   ((COLORREF)((((DWORD)(BYTE)(a))<<24) | RGB(r,g,b)))
 
#define PALETTERGB(r, g, b)   (0x02000000 | RGB(r,g,b))
 
#define PALETTEINDEX(i)   ((COLORREF)(0x01000000 | (DWORD)(WORD)(i)))
 
#define MAKEPOINTS(l)   (*((POINTS*)&(l)))
 
#define MAKEROP4(f, b)   (DWORD)((((b)<<8)&0xFF000000)|(f))
 
#define GDI_WIDTHBYTES(bits)   ((DWORD)(((bits) + 31) & (~31)) / 8)
 
#define GDI_DIBWIDTHBYTES(bi)   (DWORD)GDI_WIDTHBYTES((DWORD)(bi).biWidth * (DWORD)(bi).biBitCount)
 
#define GDI__DIBSIZE(bi)   (GDI_DIBWIDTHBYTES(bi) * (DWORD)(bi).biHeight)
 
#define GDI_DIBSIZE(bi)   ((bi).biHeight < 0 ? (-1) * (GDI__DIBSIZE(bi)) : GDI__DIBSIZE(bi))
 
#define GetKValue(cmyk)   ((BYTE)(cmyk))
 
#define GetYValue(cmyk)   ((BYTE)((cmyk)>> 8))
 
#define GetMValue(cmyk)   ((BYTE)((cmyk)>>16))
 
#define GetCValue(cmyk)   ((BYTE)((cmyk)>>24))
 
#define CMYK(c, m, y, k)   ((COLORREF)((((BYTE)(k)|((WORD)((BYTE)(y))<<8))|(((DWORD)(BYTE)(m))<<16))|(((DWORD)(BYTE)(c))<<24)))
 
#define ICMENUMPROC   ICMENUMPROCA
 
#define AddFontResource   AddFontResourceA
 
#define CopyEnhMetaFile   CopyEnhMetaFileA
 
#define CopyMetaFile   CopyMetaFileA
 
#define CreateDC   CreateDCA
 
#define CreateEnhMetaFile   CreateEnhMetaFileA
 
#define CreateFont   CreateFontA
 
#define CreateFontIndirect   CreateFontIndirectA
 
#define CreateFontIndirectEx   CreateFontIndirectExA
 
#define CreateIC   CreateICA
 
#define CreateMetaFile   CreateMetaFileA
 
#define CreateScalableFontResource   CreateScalableFontResourceA
 
#define DeviceCapabilities   DeviceCapabilitiesA
 
#define EnumFontFamilies   EnumFontFamiliesA
 
#define EnumFontFamiliesEx   EnumFontFamiliesExA
 
#define EnumFonts   EnumFontsA
 
#define EnumICMProfiles   EnumICMProfilesA
 
#define ExtTextOut   ExtTextOutA
 
#define GetCharWidthFloat   GetCharWidthFloatA
 
#define GetCharWidth   GetCharWidthA
 
#define GetCharacterPlacement   GetCharacterPlacementA
 
#define GetCharABCWidths   GetCharABCWidthsA
 
#define GetCharABCWidthsFloat   GetCharABCWidthsFloatA
 
#define GetCharWidth32   GetCharWidth32A
 
#define GetEnhMetaFile   GetEnhMetaFileA
 
#define GetEnhMetaFileDescription   GetEnhMetaFileDescriptionA
 
#define GetGlyphOutline   GetGlyphOutlineA
 
#define GetICMProfile   GetICMProfileA
 
#define GetKerningPairs   GetKerningPairsA
 
#define GetLogColorSpace   GetLogColorSpaceA
 
#define GetMetaFile   GetMetaFileA
 
#define GetObject   GetObjectA
 
#define GetOutlineTextMetrics   GetOutlineTextMetricsA
 
#define GetTextExtentPoint   GetTextExtentPointA
 
#define GetTextExtentExPoint   GetTextExtentExPointA
 
#define GetTextExtentPoint32   GetTextExtentPoint32A
 
#define GetTextFace   GetTextFaceA
 
#define GetTextMetrics   GetTextMetricsA
 
#define PolyTextOut   PolyTextOutA
 
#define RemoveFontResource   RemoveFontResourceA
 
#define ResetDC   ResetDCA
 
#define SetICMProfile   SetICMProfileA
 
#define StartDoc   StartDocA
 
#define TextOut   TextOutA
 
#define UpdateICMRegKey   UpdateICMRegKeyA
 
#define wglUseFontBitmaps   wglUseFontBitmapsA
 
#define wglUseFontOutlines   wglUseFontOutlinesA
 

Typedefs

typedef struct _ABC ABC
 
typedef struct _ABCPABC
 
typedef struct _ABCLPABC
 
typedef struct _ABCFLOAT ABCFLOAT
 
typedef struct _ABCFLOATPABCFLOAT
 
typedef struct _ABCFLOATLPABCFLOAT
 
typedef struct tagBITMAP BITMAP
 
typedef struct tagBITMAPPBITMAP
 
typedef struct tagBITMAPLPBITMAP
 
typedef struct tagBITMAPCOREHEADER BITMAPCOREHEADER
 
typedef struct tagBITMAPCOREHEADERLPBITMAPCOREHEADER
 
typedef struct tagBITMAPCOREHEADERPBITMAPCOREHEADER
 
typedef struct tagRGBTRIPLE RGBTRIPLE
 
typedef struct tagRGBTRIPLELPRGBTRIPLE
 
typedef struct tagBITMAPFILEHEADER BITMAPFILEHEADER
 
typedef struct tagBITMAPFILEHEADERLPBITMAPFILEHEADER
 
typedef struct tagBITMAPFILEHEADERPBITMAPFILEHEADER
 
typedef struct _BITMAPCOREINFO BITMAPCOREINFO
 
typedef struct _BITMAPCOREINFOLPBITMAPCOREINFO
 
typedef struct _BITMAPCOREINFOPBITMAPCOREINFO
 
typedef struct tagBITMAPINFOHEADER BITMAPINFOHEADER
 
typedef struct tagBITMAPINFOHEADERLPBITMAPINFOHEADER
 
typedef struct tagBITMAPINFOHEADERPBITMAPINFOHEADER
 
typedef struct tagRGBQUAD RGBQUAD
 
typedef struct tagRGBQUADLPRGBQUAD
 
typedef struct tagBITMAPINFO BITMAPINFO
 
typedef struct tagBITMAPINFOLPBITMAPINFO
 
typedef struct tagBITMAPINFOPBITMAPINFO
 
typedef long FXPT16DOT16
 
typedef longLPFXPT16DOT16
 
typedef long FXPT2DOT30
 
typedef longLPFXPT2DOT30
 
typedef struct tagCIEXYZ CIEXYZ
 
typedef struct tagCIEXYZLPCIEXYZ
 
typedef struct tagCIEXYZTRIPLE CIEXYZTRIPLE
 
typedef struct tagCIEXYZTRIPLELPCIEXYZTRIPLE
 
typedef struct BITMAPV4HEADERLPBITMAPV4HEADER
 
typedef struct BITMAPV4HEADERPBITMAPV4HEADER
 
typedef struct tagFONTSIGNATURE FONTSIGNATURE
 
typedef struct tagFONTSIGNATUREPFONTSIGNATURE
 
typedef struct tagFONTSIGNATURELPFONTSIGNATURE
 
typedef struct tagCHARSETINFO CHARSETINFO
 
typedef struct tagCHARSETINFOPCHARSETINFO
 
typedef struct tagCHARSETINFOLPCHARSETINFO
 
typedef struct tagCOLORADJUSTMENT COLORADJUSTMENT
 
typedef struct tagCOLORADJUSTMENTPCOLORADJUSTMENT
 
typedef struct tagCOLORADJUSTMENTLPCOLORADJUSTMENT
 
typedef struct _devicemodeA DEVMODEA
 
typedef struct _devicemodeALPDEVMODEA
 
typedef struct _devicemodeAPDEVMODEA
 
typedef struct _devicemodeW DEVMODEW
 
typedef struct _devicemodeWLPDEVMODEW
 
typedef struct _devicemodeWPDEVMODEW
 
typedef struct _devicemodeWNPDEVMODEW
 
typedef struct tagDIBSECTION DIBSECTION
 
typedef struct tagDIBSECTIONPDIBSECTION
 
typedef struct tagDIBSECTIONLPDIBSECTION
 
typedef struct _DOCINFOA DOCINFOA
 
typedef struct _DOCINFOALPDOCINFOA
 
typedef struct _DOCINFOW DOCINFOW
 
typedef struct _DOCINFOWLPDOCINFOW
 
typedef struct tagEMR EMR
 
typedef struct tagEMRPEMR
 
typedef struct tagEMRANGLEARC EMRANGLEARC
 
typedef struct tagEMRANGLEARCPEMRANGLEARC
 
typedef struct tagEMRARC EMRARC
 
typedef struct tagEMRARCPEMRARC
 
typedef struct tagEMRARC EMRARCTO
 
typedef struct tagEMRARCPEMRARCTO
 
typedef struct tagEMRARC EMRCHORD
 
typedef struct tagEMRARCPEMRCHORD
 
typedef struct tagEMRARC EMRPIE
 
typedef struct tagEMRARCPEMRPIE
 
typedef struct _XFORM XFORM
 
typedef struct _XFORMPXFORM
 
typedef struct _XFORMLPXFORM
 
typedef struct tagEMRBITBLT EMRBITBLT
 
typedef struct tagEMRBITBLTPEMRBITBLT
 
typedef struct tagLOGBRUSH LOGBRUSH
 
typedef struct tagLOGBRUSHPLOGBRUSH
 
typedef struct tagLOGBRUSHLPLOGBRUSH
 
typedef LOGBRUSH PATTERN
 
typedef LOGBRUSHPPATTERN
 
typedef LOGBRUSHLPPATTERN
 
typedef struct tagLOGBRUSH32 LOGBRUSH32
 
typedef struct tagLOGBRUSH32PLOGBRUSH32
 
typedef struct tagEMRCREATEBRUSHINDIRECT EMRCREATEBRUSHINDIRECT
 
typedef struct tagEMRCREATEBRUSHINDIRECTPEMRCREATEBRUSHINDIRECT
 
typedef LONG LCSCSTYPE
 
typedef LONG LCSGAMUTMATCH
 
typedef struct tagLOGCOLORSPACEA LOGCOLORSPACEA
 
typedef struct tagLOGCOLORSPACEALPLOGCOLORSPACEA
 
typedef struct tagLOGCOLORSPACEW LOGCOLORSPACEW
 
typedef struct tagLOGCOLORSPACEWLPLOGCOLORSPACEW
 
typedef struct tagEMRCREATECOLORSPACEW EMRCREATECOLORSPACEW
 
typedef struct tagEMRCREATECOLORSPACEWPEMRCREATECOLORSPACEW
 
typedef struct tagEMRCREATECOLORSPACE EMRCREATECOLORSPACE
 
typedef struct tagEMRCREATECOLORSPACEPEMRCREATECOLORSPACE
 
typedef struct tagEMRCREATEDIBPATTERNBRUSHPT EMRCREATEDIBPATTERNBRUSHPT
 
typedef struct tagEMRCREATEDIBPATTERNBRUSHPTPEMRCREATEDIBPATTERNBRUSHPT
 
typedef struct tagEMRCREATEMONOBRUSH EMRCREATEMONOBRUSH
 
typedef struct tagEMRCREATEMONOBRUSHPEMRCREATEMONOBRUSH
 
typedef struct tagPALETTEENTRY PALETTEENTRY
 
typedef struct tagPALETTEENTRYLPPALETTEENTRY
 
typedef struct tagPALETTEENTRYPPALETTEENTRY
 
typedef struct tagLOGPALETTE LOGPALETTE
 
typedef struct tagLOGPALETTENPLOGPALETTE
 
typedef struct tagLOGPALETTEPLOGPALETTE
 
typedef struct tagLOGPALETTELPLOGPALETTE
 
typedef struct tagEMRCREATEPALETTE EMRCREATEPALETTE
 
typedef struct tagEMRCREATEPALETTEPEMRCREATEPALETTE
 
typedef struct tagLOGPEN LOGPEN
 
typedef struct tagLOGPENPLOGPEN
 
typedef struct tagLOGPENLPLOGPEN
 
typedef struct tagEMRCREATEPEN EMRCREATEPEN
 
typedef struct tagEMRCREATEPENPEMRCREATEPEN
 
typedef struct tagEMRELLIPSE EMRELLIPSE
 
typedef struct tagEMRELLIPSEPEMRELLIPSE
 
typedef struct tagEMRELLIPSE EMRRECTANGLE
 
typedef struct tagEMRELLIPSEPEMRRECTANGLE
 
typedef struct tagEMREOF EMREOF
 
typedef struct tagEMREOFPEMREOF
 
typedef struct tagEMREXCLUDECLIPRECT EMREXCLUDECLIPRECT
 
typedef struct tagEMREXCLUDECLIPRECTPEMREXCLUDECLIPRECT
 
typedef struct tagEMREXCLUDECLIPRECT EMRINTERSECTCLIPRECT
 
typedef struct tagEMREXCLUDECLIPRECTPEMRINTERSECTCLIPRECT
 
typedef struct tagPANOSE PANOSE
 
typedef struct tagPANOSELPPANOSE
 
typedef struct tagLOGFONTA LOGFONTA
 
typedef struct tagLOGFONTAPLOGFONTA
 
typedef struct tagLOGFONTALPLOGFONTA
 
typedef struct tagLOGFONTW LOGFONTW
 
typedef struct tagLOGFONTWPLOGFONTW
 
typedef struct tagLOGFONTWLPLOGFONTW
 
typedef struct tagEXTLOGFONTA EXTLOGFONTA
 
typedef struct tagEXTLOGFONTAPEXTLOGFONTA
 
typedef struct tagEXTLOGFONTALPEXTLOGFONTA
 
typedef struct tagEXTLOGFONTW EXTLOGFONTW
 
typedef struct tagEXTLOGFONTWPEXTLOGFONTW
 
typedef struct tagEXTLOGFONTWLPEXTLOGFONTW
 
typedef struct tagEMREXTCREATEFONTINDIRECTW EMREXTCREATEFONTINDIRECTW
 
typedef struct tagEMREXTCREATEFONTINDIRECTWPEMREXTCREATEFONTINDIRECTW
 
typedef struct tagEXTLOGPEN EXTLOGPEN
 
typedef struct tagEXTLOGPENPEXTLOGPEN
 
typedef struct tagEXTLOGPENLPEXTLOGPEN
 
typedef struct tagEXTLOGPENNPEXTLOGPEN
 
typedef struct tagEMREXTCREATEPEN EMREXTCREATEPEN
 
typedef struct tagEMREXTCREATEPENPEMREXTCREATEPEN
 
typedef struct tagEMREXTFLOODFILL EMREXTFLOODFILL
 
typedef struct tagEMREXTFLOODFILLPEMREXTFLOODFILL
 
typedef struct tagEMREXTSELECTCLIPRGN EMREXTSELECTCLIPRGN
 
typedef struct tagEMREXTSELECTCLIPRGNPEMREXTSELECTCLIPRGN
 
typedef struct tagEMRTEXT EMRTEXT
 
typedef struct tagEMRTEXTPEMRTEXT
 
typedef struct tagEMREXTTEXTOUTA EMREXTTEXTOUTA
 
typedef struct tagEMREXTTEXTOUTAPEMREXTTEXTOUTA
 
typedef struct tagEMREXTTEXTOUTA EMREXTTEXTOUTW
 
typedef struct tagEMREXTTEXTOUTAPEMREXTTEXTOUTW
 
typedef struct tagEMRFILLPATH EMRFILLPATH
 
typedef struct tagEMRFILLPATHPEMRFILLPATH
 
typedef struct tagEMRFILLPATH EMRSTROKEANDFILLPATH
 
typedef struct tagEMRFILLPATHPEMRSTROKEANDFILLPATH
 
typedef struct tagEMRFILLPATH EMRSTROKEPATH
 
typedef struct tagEMRFILLPATHPEMRSTROKEPATH
 
typedef struct tagEMRFILLRGN EMRFILLRGN
 
typedef struct tagEMRFILLRGNPEMRFILLRGN
 
typedef struct tagEMRFORMAT EMRFORMAT
 
typedef struct tagEMRFORMATPEMRFORMAT
 
typedef struct tagEMRSETCOLORSPACE EMRSETCOLORSPACE
 
typedef struct tagEMRSETCOLORSPACEPEMRSETCOLORSPACE
 
typedef struct tagEMRSETCOLORSPACE EMRSELECTCOLORSPACE
 
typedef struct tagEMRSETCOLORSPACEPEMRSELECTCOLORSPACE
 
typedef struct tagEMRSETCOLORSPACE EMRDELETECOLORSPACE
 
typedef struct tagEMRSETCOLORSPACEPEMRDELETECOLORSPACE
 
typedef struct tagEMRFRAMERGN EMRFRAMERGN
 
typedef struct tagEMRFRAMERGNPEMRFRAMERGN
 
typedef struct tagEMRGDICOMMENT EMRGDICOMMENT
 
typedef struct tagEMRGDICOMMENTPEMRGDICOMMENT
 
typedef struct tagEMRINVERTRGN EMRINVERTRGN
 
typedef struct tagEMRINVERTRGNPEMRINVERTRGN
 
typedef struct tagEMRINVERTRGN EMRPAINTRGN
 
typedef struct tagEMRINVERTRGNPEMRPAINTRGN
 
typedef struct tagEMRLINETO EMRLINETO
 
typedef struct tagEMRLINETOPEMRLINETO
 
typedef struct tagEMRLINETO EMRMOVETOEX
 
typedef struct tagEMRLINETOPEMRMOVETOEX
 
typedef struct tagEMRMASKBLT EMRMASKBLT
 
typedef struct tagEMRMASKBLTPEMRMASKBLT
 
typedef struct tagEMRMODIFYWORLDTRANSFORM EMRMODIFYWORLDTRANSFORM
 
typedef struct tagEMRMODIFYWORLDTRANSFORMPEMRMODIFYWORLDTRANSFORM
 
typedef struct tagEMROFFSETCLIPRGN EMROFFSETCLIPRGN
 
typedef struct tagEMROFFSETCLIPRGNPEMROFFSETCLIPRGN
 
typedef struct tagEMRPLGBLT EMRPLGBLT
 
typedef struct tagEMRPLGBLTPEMRPLGBLT
 
typedef struct tagEMRPOLYDRAW EMRPOLYDRAW
 
typedef struct tagEMRPOLYDRAWPEMRPOLYDRAW
 
typedef struct tagEMRPOLYDRAW16 EMRPOLYDRAW16
 
typedef struct tagEMRPOLYDRAW16PEMRPOLYDRAW16
 
typedef struct tagEMRPOLYLINE EMRPOLYLINE
 
typedef struct tagEMRPOLYLINEPEMRPOLYLINE
 
typedef struct tagEMRPOLYLINE EMRPOLYBEZIER
 
typedef struct tagEMRPOLYLINEPEMRPOLYBEZIER
 
typedef struct tagEMRPOLYLINE EMRPOLYGON
 
typedef struct tagEMRPOLYLINEPEMRPOLYGON
 
typedef struct tagEMRPOLYLINE EMRPOLYBEZIERTO
 
typedef struct tagEMRPOLYLINEPEMRPOLYBEZIERTO
 
typedef struct tagEMRPOLYLINE EMRPOLYLINETO
 
typedef struct tagEMRPOLYLINEPEMRPOLYLINETO
 
typedef struct tagEMRPOLYLINE16 EMRPOLYLINE16
 
typedef struct tagEMRPOLYLINE16PEMRPOLYLINE16
 
typedef struct tagEMRPOLYLINE16 EMRPOLYBEZIER16
 
typedef struct tagEMRPOLYLINE16PEMRPOLYBEZIER16
 
typedef struct tagEMRPOLYLINE16 EMRPOLYGON16
 
typedef struct tagEMRPOLYLINE16PEMRPOLYGON16
 
typedef struct tagEMRPOLYLINE16 EMRPOLYBEZIERTO16
 
typedef struct tagEMRPOLYLINE16PEMRPOLYBEZIERTO16
 
typedef struct tagEMRPOLYLINE16 EMRPOLYLINETO16
 
typedef struct tagEMRPOLYLINE16PEMRPOLYLINETO16
 
typedef struct tagEMRPOLYPOLYLINE EMRPOLYPOLYLINE
 
typedef struct tagEMRPOLYPOLYLINEPEMRPOLYPOLYLINE
 
typedef struct tagEMRPOLYPOLYLINE EMRPOLYPOLYGON
 
typedef struct tagEMRPOLYPOLYLINEPEMRPOLYPOLYGON
 
typedef struct tagEMRPOLYPOLYLINE16 EMRPOLYPOLYLINE16
 
typedef struct tagEMRPOLYPOLYLINE16PEMRPOLYPOLYLINE16
 
typedef struct tagEMRPOLYPOLYLINE16 EMRPOLYPOLYGON16
 
typedef struct tagEMRPOLYPOLYLINE16PEMRPOLYPOLYGON16
 
typedef struct tagEMRPOLYTEXTOUTA EMRPOLYTEXTOUTA
 
typedef struct tagEMRPOLYTEXTOUTAPEMRPOLYTEXTOUTA
 
typedef struct tagEMRPOLYTEXTOUTA EMRPOLYTEXTOUTW
 
typedef struct tagEMRPOLYTEXTOUTAPEMRPOLYTEXTOUTW
 
typedef struct tagEMRRESIZEPALETTE EMRRESIZEPALETTE
 
typedef struct tagEMRRESIZEPALETTEPEMRRESIZEPALETTE
 
typedef struct tagEMRRESTOREDC EMRRESTOREDC
 
typedef struct tagEMRRESTOREDCPEMRRESTOREDC
 
typedef struct tagEMRROUNDRECT EMRROUNDRECT
 
typedef struct tagEMRROUNDRECTPEMRROUNDRECT
 
typedef struct tagEMRSCALEVIEWPORTEXTEX EMRSCALEVIEWPORTEXTEX
 
typedef struct tagEMRSCALEVIEWPORTEXTEXPEMRSCALEVIEWPORTEXTEX
 
typedef struct tagEMRSCALEVIEWPORTEXTEX EMRSCALEWINDOWEXTEX
 
typedef struct tagEMRSCALEVIEWPORTEXTEXPEMRSCALEWINDOWEXTEX
 
typedef struct tagEMRSELECTOBJECT EMRSELECTOBJECT
 
typedef struct tagEMRSELECTOBJECTPEMRSELECTOBJECT
 
typedef struct tagEMRSELECTOBJECT EMRDELETEOBJECT
 
typedef struct tagEMRSELECTOBJECTPEMRDELETEOBJECT
 
typedef struct tagEMRSELECTPALETTE EMRSELECTPALETTE
 
typedef struct tagEMRSELECTPALETTEPEMRSELECTPALETTE
 
typedef struct tagEMRSETARCDIRECTION EMRSETARCDIRECTION
 
typedef struct tagEMRSETARCDIRECTIONPEMRSETARCDIRECTION
 
typedef struct tagEMRSETTEXTCOLOR EMRSETBKCOLOR
 
typedef struct tagEMRSETTEXTCOLORPEMRSETBKCOLOR
 
typedef struct tagEMRSETTEXTCOLOR EMRSETTEXTCOLOR
 
typedef struct tagEMRSETTEXTCOLORPEMRSETTEXTCOLOR
 
typedef struct tagEMRSETCOLORADJUSTMENT EMRSETCOLORADJUSTMENT
 
typedef struct tagEMRSETCOLORADJUSTMENTPEMRSETCOLORADJUSTMENT
 
typedef struct tagEMRSETDIBITSTODEVICE EMRSETDIBITSTODEVICE
 
typedef struct tagEMRSETDIBITSTODEVICEPEMRSETDIBITSTODEVICE
 
typedef struct tagEMRSETMAPPERFLAGS EMRSETMAPPERFLAGS
 
typedef struct tagEMRSETMAPPERFLAGSPEMRSETMAPPERFLAGS
 
typedef struct tagEMRSETMITERLIMIT EMRSETMITERLIMIT
 
typedef struct tagEMRSETMITERLIMITPEMRSETMITERLIMIT
 
typedef struct tagEMRSETPALETTEENTRIES EMRSETPALETTEENTRIES
 
typedef struct tagEMRSETPALETTEENTRIESPEMRSETPALETTEENTRIES
 
typedef struct tagEMRSETPIXELV EMRSETPIXELV
 
typedef struct tagEMRSETPIXELVPEMRSETPIXELV
 
typedef struct tagEMRSETVIEWPORTEXTEX EMRSETVIEWPORTEXTEX
 
typedef struct tagEMRSETVIEWPORTEXTEXPEMRSETVIEWPORTEXTEX
 
typedef struct tagEMRSETVIEWPORTEXTEX EMRSETWINDOWEXTEX
 
typedef struct tagEMRSETVIEWPORTEXTEXPEMRSETWINDOWEXTEX
 
typedef struct tagEMRSETVIEWPORTORGEX EMRSETVIEWPORTORGEX
 
typedef struct tagEMRSETVIEWPORTORGEXPEMRSETVIEWPORTORGEX
 
typedef struct tagEMRSETVIEWPORTORGEX EMRSETWINDOWORGEX
 
typedef struct tagEMRSETVIEWPORTORGEXPEMRSETWINDOWORGEX
 
typedef struct tagEMRSETVIEWPORTORGEX EMRSETBRUSHORGEX
 
typedef struct tagEMRSETVIEWPORTORGEXPEMRSETBRUSHORGEX
 
typedef struct tagEMRSETWORLDTRANSFORM EMRSETWORLDTRANSFORM
 
typedef struct tagEMRSETWORLDTRANSFORMPEMRSETWORLDTRANSFORM
 
typedef struct tagEMRSTRETCHBLT EMRSTRETCHBLT
 
typedef struct tagEMRSTRETCHBLTPEMRSTRETCHBLT
 
typedef struct tagEMRALPHABLEND EMRALPHABLEND
 
typedef struct tagEMRALPHABLENDPEMRALPHABLEND
 
typedef struct tagEMRSTRETCHDIBITS EMRSTRETCHDIBITS
 
typedef struct tagEMRSTRETCHDIBITSPEMRSTRETCHDIBITS
 
typedef struct tagABORTPATH EMRABORTPATH
 
typedef struct tagABORTPATHPEMRABORTPATH
 
typedef struct tagABORTPATH EMRBEGINPATH
 
typedef struct tagABORTPATHPEMRBEGINPATH
 
typedef struct tagABORTPATH EMRENDPATH
 
typedef struct tagABORTPATHPEMRENDPATH
 
typedef struct tagABORTPATH EMRCLOSEFIGURE
 
typedef struct tagABORTPATHPEMRCLOSEFIGURE
 
typedef struct tagABORTPATH EMRFLATTENPATH
 
typedef struct tagABORTPATHPEMRFLATTENPATH
 
typedef struct tagABORTPATH EMRWIDENPATH
 
typedef struct tagABORTPATHPEMRWIDENPATH
 
typedef struct tagABORTPATH EMRSETMETARGN
 
typedef struct tagABORTPATHPEMRSETMETARGN
 
typedef struct tagABORTPATH EMRSAVEDC
 
typedef struct tagABORTPATHPEMRSAVEDC
 
typedef struct tagABORTPATH EMRREALIZEPALETTE
 
typedef struct tagABORTPATHPEMRREALIZEPALETTE
 
typedef struct tagEMRSELECTCLIPPATH EMRSELECTCLIPPATH
 
typedef struct tagEMRSELECTCLIPPATHPEMRSELECTCLIPPATH
 
typedef struct tagEMRSELECTCLIPPATH EMRSETBKMODE
 
typedef struct tagEMRSELECTCLIPPATHPEMRSETBKMODE
 
typedef struct tagEMRSELECTCLIPPATH EMRSETMAPMODE
 
typedef struct tagEMRSELECTCLIPPATHPEMRSETMAPMODE
 
typedef struct tagEMRSELECTCLIPPATH EMRSETPOLYFILLMODE
 
typedef struct tagEMRSELECTCLIPPATHPEMRSETPOLYFILLMODE
 
typedef struct tagEMRSELECTCLIPPATH EMRSETROP2
 
typedef struct tagEMRSELECTCLIPPATHPEMRSETROP2
 
typedef struct tagEMRSELECTCLIPPATH EMRSETSTRETCHBLTMODE
 
typedef struct tagEMRSELECTCLIPPATHPEMRSETSTRETCHBLTMODE
 
typedef struct tagEMRSELECTCLIPPATH EMRSETICMMODE
 
typedef struct tagEMRSELECTCLIPPATHPEMRSETICMMODE
 
typedef struct tagEMRSELECTCLIPPATH EMRSETTEXTALIGN
 
typedef struct tagEMRSELECTCLIPPATHPEMRSETTEXTALIGN
 
typedef struct tagMETAHEADER METAHEADER
 
typedef struct tagMETAHEADERPMETAHEADER
 
typedef struct tagMETAHEADERLPMETAHEADER
 
typedef struct tagENHMETAHEADER ENHMETAHEADER
 
typedef struct tagENHMETAHEADERPENHMETAHEADER
 
typedef struct tagENHMETAHEADERLPENHMETAHEADER
 
typedef struct tagMETARECORD METARECORD
 
typedef struct tagMETARECORDPMETARECORD
 
typedef struct tagMETARECORDLPMETARECORD
 
typedef struct tagENHMETARECORD ENHMETARECORD
 
typedef struct tagENHMETARECORDLPENHMETARECORD
 
typedef struct tagHANDLETABLE HANDLETABLE
 
typedef struct tagHANDLETABLEPHANDLETABLE
 
typedef struct tagHANDLETABLELPHANDLETABLE
 
typedef struct tagTEXTMETRICA TEXTMETRICA
 
typedef struct tagTEXTMETRICAPTEXTMETRICA
 
typedef struct tagTEXTMETRICALPTEXTMETRICA
 
typedef struct tagTEXTMETRICW TEXTMETRICW
 
typedef struct tagTEXTMETRICWPTEXTMETRICW
 
typedef struct tagTEXTMETRICWLPTEXTMETRICW
 
typedef struct _RGNDATAHEADER RGNDATAHEADER
 
typedef struct _RGNDATAHEADERPRGNDATAHEADER
 
typedef struct _RGNDATA RGNDATA
 
typedef struct _RGNDATAPRGNDATA
 
typedef struct _RGNDATALPRGNDATA
 
typedef struct tagGCP_RESULTSA GCP_RESULTSA
 
typedef struct tagGCP_RESULTSALPGCP_RESULTSA
 
typedef struct tagGCP_RESULTSW GCP_RESULTSW
 
typedef struct tagGCP_RESULTSWLPGCP_RESULTSW
 
typedef struct _GLYPHMETRICS GLYPHMETRICS
 
typedef struct _GLYPHMETRICSLPGLYPHMETRICS
 
typedef struct tagKERNINGPAIR KERNINGPAIR
 
typedef struct tagKERNINGPAIRLPKERNINGPAIR
 
typedef struct _FIXED FIXED
 
typedef struct _MAT2 MAT2
 
typedef struct _MAT2LPMAT2
 
typedef struct _OUTLINETEXTMETRICA OUTLINETEXTMETRICA
 
typedef struct _OUTLINETEXTMETRICAPOUTLINETEXTMETRICA
 
typedef struct _OUTLINETEXTMETRICALPOUTLINETEXTMETRICA
 
typedef struct _OUTLINETEXTMETRICW OUTLINETEXTMETRICW
 
typedef struct _OUTLINETEXTMETRICWPOUTLINETEXTMETRICW
 
typedef struct _OUTLINETEXTMETRICWLPOUTLINETEXTMETRICW
 
typedef struct _RASTERIZER_STATUS RASTERIZER_STATUS
 
typedef struct _RASTERIZER_STATUSLPRASTERIZER_STATUS
 
typedef struct _POLYTEXTA POLYTEXTA
 
typedef struct _POLYTEXTAPPOLYTEXTA
 
typedef struct _POLYTEXTALPPOLYTEXTA
 
typedef struct _POLYTEXTW POLYTEXTW
 
typedef struct _POLYTEXTWPPOLYTEXTW
 
typedef struct _POLYTEXTWLPPOLYTEXTW
 
typedef struct tagPIXELFORMATDESCRIPTOR PIXELFORMATDESCRIPTOR
 
typedef struct tagPIXELFORMATDESCRIPTORPPIXELFORMATDESCRIPTOR
 
typedef struct tagPIXELFORMATDESCRIPTORLPPIXELFORMATDESCRIPTOR
 
typedef struct tagEMRPIXELFORMAT EMRPIXELFORMAT
 
typedef struct tagEMRPIXELFORMATPEMRPIXELFORMAT
 
typedef struct tagMETAFILEPICT METAFILEPICT
 
typedef struct tagMETAFILEPICTLPMETAFILEPICT
 
typedef struct tagLOCALESIGNATURE LOCALESIGNATURE
 
typedef struct tagLOCALESIGNATUREPLOCALESIGNATURE
 
typedef struct tagLOCALESIGNATURELPLOCALESIGNATURE
 
typedef LONG LCSTYPE
 
typedef struct tagNEWTEXTMETRICA NEWTEXTMETRICA
 
typedef struct tagNEWTEXTMETRICAPNEWTEXTMETRICA
 
typedef struct tagNEWTEXTMETRICALPNEWTEXTMETRICA
 
typedef struct tagNEWTEXTMETRICW NEWTEXTMETRICW
 
typedef struct tagNEWTEXTMETRICWPNEWTEXTMETRICW
 
typedef struct tagNEWTEXTMETRICWLPNEWTEXTMETRICW
 
typedef struct tagNEWTEXTMETRICEXA NEWTEXTMETRICEXA
 
typedef struct tagNEWTEXTMETRICEXW NEWTEXTMETRICEXW
 
typedef struct tagPELARRAY PELARRAY
 
typedef struct tagPELARRAYPPELARRAY
 
typedef struct tagPELARRAYLPPELARRAY
 
typedef struct tagENUMLOGFONTA ENUMLOGFONTA
 
typedef struct tagENUMLOGFONTALPENUMLOGFONTA
 
typedef struct tagENUMLOGFONTW ENUMLOGFONTW
 
typedef struct tagENUMLOGFONTWLPENUMLOGFONTW
 
typedef struct tagENUMLOGFONTEXA ENUMLOGFONTEXA
 
typedef struct tagENUMLOGFONTEXALPENUMLOGFONTEXA
 
typedef struct tagENUMLOGFONTEXW ENUMLOGFONTEXW
 
typedef struct tagENUMLOGFONTEXWLPENUMLOGFONTEXW
 
typedef struct tagPOINTFX POINTFX
 
typedef struct tagPOINTFXLPPOINTFX
 
typedef struct tagTTPOLYCURVE TTPOLYCURVE
 
typedef struct tagTTPOLYCURVELPTTPOLYCURVE
 
typedef struct tagTTPOLYGONHEADER TTPOLYGONHEADER
 
typedef struct tagTTPOLYGONHEADERLPTTPOLYGONHEADER
 
typedef struct _POINTFLOAT POINTFLOAT
 
typedef struct _POINTFLOATPPOINTFLOAT
 
typedef struct _GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT
 
typedef struct _GLYPHMETRICSFLOATPGLYPHMETRICSFLOAT
 
typedef struct _GLYPHMETRICSFLOATLPGLYPHMETRICSFLOAT
 
typedef struct tagLAYERPLANEDESCRIPTOR LAYERPLANEDESCRIPTOR
 
typedef struct tagLAYERPLANEDESCRIPTORPLAYERPLANEDESCRIPTOR
 
typedef struct tagLAYERPLANEDESCRIPTORLPLAYERPLANEDESCRIPTOR
 
typedef struct _BLENDFUNCTION BLENDFUNCTION
 
typedef struct _BLENDFUNCTIONPBLENDFUNCTION
 
typedef struct _BLENDFUNCTIONLPBLENDFUNCTION
 
typedef struct _DESIGNVECTOR DESIGNVECTOR
 
typedef struct _DESIGNVECTORPDESIGNVECTOR
 
typedef struct _DESIGNVECTORLPDESIGNVECTOR
 
typedef struct tagENUMLOGFONTEXDVA ENUMLOGFONTEXDVA
 
typedef struct tagENUMLOGFONTEXDVAPENUMLOGFONTEXDVA
 
typedef struct tagENUMLOGFONTEXDVALPENUMLOGFONTEXDVA
 
typedef struct tagENUMLOGFONTEXDVW ENUMLOGFONTEXDVW
 
typedef struct tagENUMLOGFONTEXDVWPENUMLOGFONTEXDVW
 
typedef struct tagENUMLOGFONTEXDVWLPENUMLOGFONTEXDVW
 
typedef USHORT COLOR16
 
typedef struct _TRIVERTEX TRIVERTEX
 
typedef struct _TRIVERTEXPTRIVERTEX
 
typedef struct _TRIVERTEXLPTRIVERTEX
 
typedef struct tagEMRGRADIENTFILL EMRGRADIENTFILL
 
typedef struct tagEMRGRADIENTFILLPEMRGRADIENTFILL
 
typedef struct _GRADIENT_TRIANGLE GRADIENT_TRIANGLE
 
typedef struct _GRADIENT_TRIANGLEPGRADIENT_TRIANGLE
 
typedef struct _GRADIENT_TRIANGLELPGRADIENT_TRIANGLE
 
typedef struct _GRADIENT_RECT GRADIENT_RECT
 
typedef struct _GRADIENT_RECTPGRADIENT_RECT
 
typedef struct _GRADIENT_RECTLPGRADIENT_RECT
 
typedef struct _DISPLAY_DEVICEA DISPLAY_DEVICEA
 
typedef struct _DISPLAY_DEVICEAPDISPLAY_DEVICEA
 
typedef struct _DISPLAY_DEVICEALPDISPLAY_DEVICEA
 
typedef struct _DISPLAY_DEVICEW DISPLAY_DEVICEW
 
typedef struct _DISPLAY_DEVICEWPDISPLAY_DEVICEW
 
typedef struct _DISPLAY_DEVICEWLPDISPLAY_DEVICEW
 
typedef struct _AXISINFOA AXISINFOA
 
typedef struct _AXISINFOAPAXISINFOA
 
typedef struct _AXISINFOALPAXISINFOA
 
typedef struct _AXISINFOW AXISINFOW
 
typedef struct _AXISINFOWPAXISINFOW
 
typedef struct _AXISINFOWLPAXISINFOW
 
typedef struct _AXESLISTA AXESLISTA
 
typedef struct _AXESLISTAPAXESLISTA
 
typedef struct _AXESLISTALPAXESLISTA
 
typedef struct _AXESLISTW AXESLISTW
 
typedef struct _AXESLISTWPAXESLISTW
 
typedef struct _AXESLISTWLPAXESLISTW
 
typedef struct _ENUMTEXTMETRICA ENUMTEXTMETRICA
 
typedef struct _ENUMTEXTMETRICAPENUMTEXTMETRICA
 
typedef struct _ENUMTEXTMETRICALPENUMTEXTMETRICA
 
typedef struct _ENUMTEXTMETRICW ENUMTEXTMETRICW
 
typedef struct _ENUMTEXTMETRICWPENUMTEXTMETRICW
 
typedef struct _ENUMTEXTMETRICWLPENUMTEXTMETRICW
 
typedef FARPROC OLDFONTENUMPROC
 
typedef FARPROC FONTENUMPROCA
 
typedef FARPROC FONTENUMPROCW
 
typedef FONTENUMPROCA FONTENUMPROC
 
typedef FARPROC GOBJENUMPROC
 
typedef FARPROC LINEDDAPROC
 
typedef BOOL(CALLBACKABORTPROC) (HDC, int)
 
typedef int(CALLBACKMFENUMPROC) (_In_ HDC hdc, _In_reads_(nObj) HANDLETABLE FAR *lpht, _In_ METARECORD FAR *lpMR, _In_ int nObj, _In_opt_ LPARAM param)
 
typedef int(CALLBACKENHMFENUMPROC) (_In_ HDC hdc, _In_reads_(nHandles) HANDLETABLE FAR *lpht, _In_ CONST ENHMETARECORD *lpmr, _In_ int nHandles, _In_opt_ LPARAM data)
 
typedef int(CALLBACKICMENUMPROCA) (LPSTR, LPARAM)
 
typedef int(CALLBACKICMENUMPROCW) (LPWSTR, LPARAM)
 
typedef UINT(CALLBACKLPFNDEVMODE) (HWND, HMODULE, LPDEVMODEA, LPSTR, LPSTR, LPDEVMODEA, LPSTR, UINT)
 
typedef DWORD(CALLBACKLPFNDEVCAPS) (LPSTR, LPSTR, UINT, LPSTR, LPDEVMODEA)
 
typedef AXESLISTA AXESLIST
 
typedef PAXESLISTA PAXESLIST
 
typedef LPAXESLISTA LPAXESLIST
 
typedef AXISINFOA AXISINFO
 
typedef PAXISINFOA PAXISINFO
 
typedef LPAXISINFOA LPAXISINFO
 
typedef BYTE BCHAR
 
typedef DOCINFOA DOCINFO
 
typedef DOCINFOALPDOCINFO
 
typedef LOGFONTA LOGFONT
 
typedef LOGFONTAPLOGFONT
 
typedef LOGFONTALPLOGFONT
 
typedef TEXTMETRICA TEXTMETRIC
 
typedef TEXTMETRICAPTEXTMETRIC
 
typedef TEXTMETRICALPTEXTMETRIC
 
typedef DEVMODEA DEVMODE
 
typedef DEVMODEAPDEVMODE
 
typedef DEVMODEALPDEVMODE
 
typedef ENUMLOGFONTEXDVA ENUMLOGFONTEXDV
 
typedef PENUMLOGFONTEXDVA PENUMLOGFONTEXDV
 
typedef LPENUMLOGFONTEXDVA LPENUMLOGFONTEXDV
 
typedef ENUMTEXTMETRICA ENUMTEXTMETRIC
 
typedef PENUMTEXTMETRICA PENUMTEXTMETRIC
 
typedef LPENUMTEXTMETRICA LPENUMTEXTMETRIC
 
typedef EXTLOGFONTA EXTLOGFONT
 
typedef EXTLOGFONTAPEXTLOGFONT
 
typedef EXTLOGFONTALPEXTLOGFONT
 
typedef GCP_RESULTSA GCP_RESULTS
 
typedef GCP_RESULTSALPGCP_RESULTS
 
typedef OUTLINETEXTMETRICA OUTLINETEXTMETRIC
 
typedef OUTLINETEXTMETRICAPOUTLINETEXTMETRIC
 
typedef OUTLINETEXTMETRICALPOUTLINETEXTMETRIC
 
typedef POLYTEXTA POLYTEXT
 
typedef POLYTEXTAPPOLYTEXT
 
typedef POLYTEXTALPPOLYTEXT
 
typedef LOGCOLORSPACEA LOGCOLORSPACE
 
typedef LOGCOLORSPACEALPLOGCOLORSPACE
 
typedef NEWTEXTMETRICA NEWTEXTMETRIC
 
typedef NEWTEXTMETRICAPNEWTEXTMETRIC
 
typedef NEWTEXTMETRICALPNEWTEXTMETRIC
 
typedef NEWTEXTMETRICEXA NEWTEXTMETRICEX
 
typedef ENUMLOGFONTA ENUMLOGFONT
 
typedef ENUMLOGFONTALPENUMLOGFONT
 
typedef ENUMLOGFONTEXA ENUMLOGFONTEX
 
typedef ENUMLOGFONTEXALPENUMLOGFONTEX
 
typedef DISPLAY_DEVICEA DISPLAY_DEVICE
 
typedef DISPLAY_DEVICEAPDISPLAY_DEVICE
 
typedef DISPLAY_DEVICEALPDISPLAY_DEVICE
 

Functions

INT WINAPI AbortDoc (_In_ HDC hdc)
 
BOOL WINAPI AbortPath (_In_ HDC hdc)
 
int WINAPI AddFontResourceA (_In_ LPCSTR pszFilename)
 
int WINAPI AddFontResourceW (_In_ LPCWSTR pszFilename)
 
HANDLE WINAPI AddFontMemResourceEx (_In_reads_bytes_(cjSize) PVOID pvFileView, _In_ DWORD cjSize, _Reserved_ PVOID pvResrved, _In_ DWORD *pNumFonts)
 
INT WINAPI AddFontResourceExA (_In_ LPCSTR pszFilename, _In_ DWORD fl, _Reserved_ PVOID pvReserved)
 
INT WINAPI AddFontResourceExW (_In_ LPCWSTR pszFilename, _In_ DWORD fl, _Reserved_ PVOID pvReserved)
 
BOOL WINAPI AngleArc (_In_ HDC hdc, _In_ INT x, _In_ INT y, _In_ DWORD dwRadius, _In_ FLOAT eStartAngle, _In_ FLOAT eSweepAngle)
 
BOOL WINAPI AnimatePalette (_In_ HPALETTE hPal, _In_ UINT iStartIndex, _In_ UINT cEntries, _In_reads_(cEntries) CONST PALETTEENTRY *ppe)
 
BOOL WINAPI Arc (_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom, _In_ INT xStartArc, _In_ INT yStartArc, _In_ INT xEndArc, _In_ INT yEndArc)
 
BOOL WINAPI ArcTo (_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom, _In_ INT xRadial1, _In_ INT yRadial1, _In_ INT xRadial2, _In_ INT yRadial2)
 
BOOL WINAPI BeginPath (_In_ HDC hdc)
 
BOOL WINAPI BitBlt (_In_ HDC hdcDest, _In_ INT xDest, _In_ INT yDest, _In_ INT cxDest, _In_ INT cyDest, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD dwRop)
 
BOOL WINAPI CancelDC (_In_ HDC hdc)
 
BOOL WINAPI CheckColorsInGamut (_In_ HDC hdc, _In_reads_(nCount) LPVOID pRGBTriple, _Out_writes_bytes_(nCount) LPVOID pvBuffer, _In_ DWORD nCount)
 
BOOL WINAPI Chord (_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom, _In_ INT xRadial1, _In_ INT yRadial1, _In_ INT xRadial2, _In_ INT yRadial2)
 
int WINAPI ChoosePixelFormat (_In_ HDC hdc, _In_ const PIXELFORMATDESCRIPTOR *ppfd)
 
HENHMETAFILE WINAPI CloseEnhMetaFile (_In_ HDC hdc)
 
BOOL WINAPI CloseFigure (_In_ HDC hdc)
 
HMETAFILE WINAPI CloseMetaFile (_In_ HDC hdc)
 
BOOL WINAPI ColorMatchToTarget (_In_ HDC hdc, _In_ HDC hdcTarget, _In_ DWORD uAction)
 
int WINAPI CombineRgn (_In_opt_ HRGN hrgnDest, _In_opt_ HRGN hrgnSrc1, _In_opt_ HRGN hrgnSrc2, _In_ int fnCombineMode)
 
BOOL WINAPI CombineTransform (_Out_ LPXFORM pxformResult, _In_ const XFORM *pxform1, _In_ const XFORM *pxform2)
 
HENHMETAFILE WINAPI CopyEnhMetaFileA (_In_ HENHMETAFILE hemfSrc, _In_opt_ LPCSTR pszFile)
 
HENHMETAFILE WINAPI CopyEnhMetaFileW (_In_ HENHMETAFILE hemfSrc, _In_opt_ LPCWSTR pszFile)
 
HMETAFILE WINAPI CopyMetaFileA (_In_ HMETAFILE hmfSrc, _In_opt_ LPCSTR pszFile)
 
HMETAFILE WINAPI CopyMetaFileW (_In_ HMETAFILE hmfSrc, _In_opt_ LPCWSTR pszFile)
 
HBITMAP WINAPI CreateBitmap (_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)
 
HBITMAP WINAPI CreateBitmapIndirect (_In_ const BITMAP *pbm)
 
HBRUSH WINAPI CreateBrushIndirect (_In_ const LOGBRUSH *plb)
 
HCOLORSPACE WINAPI CreateColorSpaceA (_In_ LPLOGCOLORSPACEA pLogColorSpace)
 
HCOLORSPACE WINAPI CreateColorSpaceW (_In_ LPLOGCOLORSPACEW pLogColorSpace)
 
HBITMAP WINAPI CreateCompatibleBitmap (_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
 
HDC WINAPI CreateCompatibleDC (_In_opt_ HDC hdc)
 
HDC WINAPI CreateDCA (_In_opt_ LPCSTR pszDriver, _In_opt_ LPCSTR pszDevice, _In_opt_ LPCSTR pszOutput, _In_opt_ const DEVMODEA *pdmInit)
 
HDC WINAPI CreateDCW (_In_opt_ LPCWSTR pszDriver, _In_opt_ LPCWSTR pszDevice, _In_opt_ LPCWSTR psz, _In_opt_ const DEVMODEW *pdmInit)
 
HBITMAP WINAPI CreateDIBitmap (_In_ HDC hdc, _In_opt_ const BITMAPINFOHEADER *pbmih, _In_ DWORD fdwInit, _In_opt_ const VOID *pvInit, _In_opt_ const BITMAPINFO *pbmi, _In_ UINT uUsage)
 
HBRUSH WINAPI CreateDIBPatternBrush (_In_ HGLOBAL hglbDIBPacked, _In_ UINT uUsage)
 
HBRUSH WINAPI CreateDIBPatternBrushPt (_In_ const VOID *pvPackedDIB, _In_ UINT uUsage)
 
 _Success_ (return !=NULL) HBITMAP WINAPI CreateDIBSection(_In_opt_ HDC hdc
 
_In_ const BITMAPINFO _In_ UINT _When_ ((pbmi->bmiHeader.biBitCount !=0), _Outptr_result_bytebuffer_(GDI_DIBSIZE((pbmi->bmiHeader)))) _When_((pbmi -> bmiHeader.biBitCount==0)
 
_In_ const BITMAPINFO _In_ UINT _Outptr_result_bytebuffer_ ((pbmi->bmiHeader).biSizeImage)) VOID **ppvBits
 
HBITMAP WINAPI CreateDiscardableBitmap (_In_ HDC, _In_ int, _In_ int)
 
HRGN WINAPI CreateEllipticRgn (_In_ int, _In_ int, _In_ int, _In_ int)
 
HRGN WINAPI CreateEllipticRgnIndirect (_In_ LPCRECT)
 
HDC WINAPI CreateEnhMetaFileA (_In_opt_ HDC, _In_opt_ LPCSTR, _In_opt_ LPCRECT, _In_opt_ LPCSTR)
 
HDC WINAPI CreateEnhMetaFileW (_In_opt_ HDC, _In_opt_ LPCWSTR, _In_opt_ LPCRECT, _In_opt_ LPCWSTR)
 
HFONT WINAPI CreateFontA (_In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR)
 
HFONT WINAPI CreateFontW (_In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCWSTR)
 
HFONT WINAPI CreateFontIndirectA (_In_ const LOGFONTA *)
 
HFONT WINAPI CreateFontIndirectW (_In_ const LOGFONTW *)
 
HFONT WINAPI CreateFontIndirectExA (const ENUMLOGFONTEXDVA *)
 
HFONT WINAPI CreateFontIndirectExW (const ENUMLOGFONTEXDVW *)
 
HPALETTE WINAPI CreateHalftonePalette (_In_opt_ HDC)
 
HBRUSH WINAPI CreateHatchBrush (_In_ int, _In_ COLORREF)
 
HDC WINAPI CreateICA (_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ const DEVMODEA *)
 
HDC WINAPI CreateICW (_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ const DEVMODEW *)
 
HDC WINAPI CreateMetaFileA (_In_opt_ LPCSTR)
 
HDC WINAPI CreateMetaFileW (_In_opt_ LPCWSTR)
 
HPALETTE WINAPI CreatePalette (_In_reads_(_Inexpressible_(2 *sizeof(WORD)+plpal->palNumEntries *sizeof(PALETTEENTRY))) const LOGPALETTE *)
 
HBRUSH WINAPI CreatePatternBrush (_In_ HBITMAP)
 
HPEN WINAPI CreatePen (_In_ int, _In_ int, _In_ COLORREF)
 
HPEN WINAPI CreatePenIndirect (_In_ const LOGPEN *)
 
HRGN WINAPI CreatePolygonRgn (_In_reads_(cPoint) const POINT *pptl, _In_ int cPoint, _In_ int iMode)
 
HRGN WINAPI CreatePolyPolygonRgn (_In_ const POINT *pptl, _In_reads_(cPoly) const INT *pc, _In_ int cPoly, _In_ int iMode)
 
HRGN WINAPI CreateRectRgn (_In_ int, _In_ int, _In_ int, _In_ int)
 
HRGN WINAPI CreateRectRgnIndirect (_In_ LPCRECT)
 
HRGN WINAPI CreateRoundRectRgn (_In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int)
 
BOOL WINAPI CreateScalableFontResourceA (_In_ DWORD, _In_ LPCSTR, _In_ LPCSTR, _In_opt_ LPCSTR)
 
BOOL WINAPI CreateScalableFontResourceW (_In_ DWORD, _In_ LPCWSTR, _In_ LPCWSTR, _In_opt_ LPCWSTR)
 
HBRUSH WINAPI CreateSolidBrush (_In_ COLORREF)
 
BOOL WINAPI DeleteColorSpace (_In_ HCOLORSPACE)
 
BOOL WINAPI DeleteDC (_In_ HDC)
 
BOOL WINAPI DeleteEnhMetaFile (_In_opt_ HENHMETAFILE)
 
BOOL WINAPI DeleteMetaFile (_In_ HMETAFILE)
 
BOOL WINAPI DeleteObject (_In_ HGDIOBJ)
 
int WINAPI DescribePixelFormat (_In_ HDC hdc, _In_ int iPixelFormat, _In_ UINT nBytes, _Out_writes_bytes_opt_(nBytes) LPPIXELFORMATDESCRIPTOR ppfd)
 
DWORD WINAPI DeviceCapabilitiesA (_In_ LPCSTR pDevice, _In_opt_ LPCSTR pPort, _In_ WORD fwCapability, _Out_writes_opt_(_Inexpressible_(1)) LPSTR pOutput, _In_opt_ const DEVMODEA *pDevMode)
 
DWORD WINAPI DeviceCapabilitiesW (_In_ LPCWSTR pDevice, _In_opt_ LPCWSTR pPort, _In_ WORD fwCapability, _Out_writes_opt_(_Inexpressible_(1)) LPWSTR pOutput, _In_opt_ const DEVMODEW *pDevMode)
 
BOOL WINAPI DPtoLP (_In_ HDC hdc, _Inout_updates_(c) LPPOINT lppt, _In_ int c)
 
int WINAPI DrawEscape (_In_ HDC hdc, _In_ int iEscape, _In_ int cjIn, _In_reads_bytes_opt_(cjIn) LPCSTR lpIn)
 
BOOL WINAPI Ellipse (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
 
int WINAPI EndDoc (_In_ HDC)
 
int WINAPI EndPage (_In_ HDC)
 
BOOL WINAPI EndPath (_In_ HDC)
 
BOOL WINAPI EnumEnhMetaFile (_In_opt_ HDC, _In_ HENHMETAFILE, _In_ ENHMFENUMPROC, _In_opt_ PVOID, _In_opt_ LPCRECT)
 
int WINAPI EnumFontFamiliesA (_In_ HDC, _In_opt_ LPCSTR, _In_ FONTENUMPROCA, _In_ LPARAM)
 
int WINAPI EnumFontFamiliesW (_In_ HDC, _In_opt_ LPCWSTR, _In_ FONTENUMPROCW, _In_ LPARAM)
 
int WINAPI EnumFontFamiliesExA (_In_ HDC, _In_ PLOGFONTA, _In_ FONTENUMPROCA, _In_ LPARAM, _In_ DWORD)
 
int WINAPI EnumFontFamiliesExW (_In_ HDC, _In_ PLOGFONTW, _In_ FONTENUMPROCW, _In_ LPARAM, _In_ DWORD)
 
int WINAPI EnumFontsA (_In_ HDC, _In_opt_ LPCSTR, _In_ FONTENUMPROCA, _In_ LPARAM)
 
int WINAPI EnumFontsW (_In_ HDC, _In_opt_ LPCWSTR, _In_ FONTENUMPROCW, _In_ LPARAM)
 
int WINAPI EnumICMProfilesA (_In_ HDC, _In_ ICMENUMPROCA, _In_opt_ LPARAM)
 
int WINAPI EnumICMProfilesW (_In_ HDC, _In_ ICMENUMPROCW, _In_opt_ LPARAM)
 
BOOL WINAPI EnumMetaFile (_In_ HDC, _In_ HMETAFILE, _In_ MFENUMPROC, _In_opt_ LPARAM)
 
int WINAPI EnumObjects (_In_ HDC, _In_ int, _In_ GOBJENUMPROC, _In_ LPARAM)
 
BOOL WINAPI EqualRgn (_In_ HRGN, _In_ HRGN)
 
int WINAPI Escape (_In_ HDC hdc, _In_ int iEscape, _In_ int cjIn, _In_reads_bytes_opt_(cjIn) LPCSTR pvIn, _Out_opt_ LPVOID pvOut)
 
int WINAPI ExcludeClipRect (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
 
int WINAPI ExcludeUpdateRgn (HDC, HWND)
 
HPEN WINAPI ExtCreatePen (_In_ DWORD iPenStyle, _In_ DWORD cWidth, _In_ const LOGBRUSH *plbrush, _In_ DWORD cStyle, _In_reads_opt_(cStyle) const DWORD *pstyle)
 
HRGN WINAPI ExtCreateRegion (_In_opt_ const XFORM *lpx, _In_ DWORD nCount, _In_reads_bytes_(nCount) const RGNDATA *lpData)
 
int WINAPI ExtEscape (_In_ HDC hdc, _In_ int iEscape, _In_ int cjInput, _In_reads_bytes_opt_(cjInput) LPCSTR lpInData, _In_ int cjOutput, _Out_writes_bytes_opt_(cjOutput) LPSTR lpOutData)
 
BOOL WINAPI ExtFloodFill (_In_ HDC, _In_ int, _In_ int, _In_ COLORREF, _In_ UINT)
 
int WINAPI ExtSelectClipRgn (_In_ HDC, _In_opt_ HRGN, _In_ int)
 
BOOL WINAPI ExtTextOutA (_In_ HDC hdc, _In_ int x, _In_ int y, _In_ UINT options, _In_opt_ const RECT *lprect, _In_reads_opt_(c) LPCSTR lpString, _In_ UINT c, _In_reads_opt_(c) const INT *lpDx)
 
BOOL WINAPI ExtTextOutW (_In_ HDC hdc, _In_ int x, _In_ int y, _In_ UINT options, _In_opt_ const RECT *lprect, _In_reads_opt_(c) LPCWSTR lpString, _In_ UINT c, _In_reads_opt_(c) const INT *lpDx)
 
BOOL WINAPI FillPath (_In_ HDC)
 
int WINAPI FillRect (HDC, LPCRECT, HBRUSH)
 
int WINAPI FillRgn (_In_ HDC, _In_ HRGN, _In_ HBRUSH)
 
BOOL WINAPI FixBrushOrgEx (_In_ HDC, _In_ int, _In_ int, _In_opt_ LPPOINT)
 
BOOL WINAPI FlattenPath (_In_ HDC)
 
BOOL WINAPI FloodFill (_In_ HDC, _In_ int, _In_ int, _In_ COLORREF)
 
BOOL WINAPI FrameRgn (_In_ HDC, _In_ HRGN, _In_ HBRUSH, _In_ int, _In_ int)
 
BOOL WINAPI GdiAlphaBlend (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BLENDFUNCTION)
 
BOOL WINAPI GdiComment (_In_ HDC hdc, _In_ UINT nSize, _In_reads_bytes_(nSize) const BYTE *lpData)
 
DEVMODEW *WINAPI GdiConvertToDevmodeW (const DEVMODEA *)
 
BOOL WINAPI GdiFlush (void)
 
LONG WINAPI GdiGetCharDimensions (HDC, LPTEXTMETRICW, LONG *)
 
DWORD WINAPI GdiGetCodePage (HDC)
 
DWORD WINAPI GdiGetBatchLimit (void)
 
DWORD WINAPI GdiSetBatchLimit (_In_ DWORD)
 
BOOL WINAPI GdiGradientFill (_In_ HDC hdc, _In_reads_(nVertex) PTRIVERTEX pVertex, _In_ ULONG nVertex, _In_ PVOID pMesh, _In_ ULONG nCount, _In_ ULONG ulMode)
 
BOOL WINAPI GdiTransparentBlt (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
 
BOOL WINAPI GdiIsMetaFileDC (HDC)
 
int WINAPI GetArcDirection (_In_ HDC)
 
BOOL WINAPI GetAspectRatioFilterEx (_In_ HDC, _Out_ LPSIZE)
 
LONG WINAPI GetBitmapBits (_In_ HBITMAP hbit, _In_ LONG cb, _Out_writes_bytes_(cb) LPVOID lpvBits)
 
BOOL WINAPI GetBitmapDimensionEx (_In_ HBITMAP, _Out_ LPSIZE)
 
COLORREF WINAPI GetBkColor (_In_ HDC)
 
int WINAPI GetBkMode (_In_ HDC)
 
UINT WINAPI GetBoundsRect (_In_ HDC, _Out_ LPRECT, _In_ UINT)
 
BOOL WINAPI GetBrushOrgEx (_In_ HDC, _Out_ LPPOINT)
 
BOOL WINAPI GetCharABCWidthsA (_In_ HDC hdc, _In_ UINT wFirst, _In_ UINT wLast, _Out_writes_(wLast - wFirst+1) LPABC lpABC)
 
BOOL WINAPI GetCharABCWidthsW (_In_ HDC hdc, _In_ UINT wFirst, _In_ UINT wLast, _Out_writes_(wLast - wFirst+1) LPABC lpABC)
 
BOOL WINAPI GetCharABCWidthsFloatA (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) LPABCFLOAT lpABC)
 
BOOL WINAPI GetCharABCWidthsFloatW (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) LPABCFLOAT lpABC)
 
BOOL WINAPI GetCharABCWidthsI (_In_ HDC hdc, _In_ UINT giFirst, _In_ UINT cgi, _In_reads_opt_(cgi) LPWORD pgi, _Out_writes_(cgi) LPABC pabc)
 
DWORD WINAPI GetCharacterPlacementA (_In_ HDC hdc, _In_reads_(nCount) LPCSTR lpString, _In_ int nCount, _In_ int nMexExtent, _Inout_ LPGCP_RESULTSA lpResults, _In_ DWORD dwFlags)
 
DWORD WINAPI GetCharacterPlacementW (_In_ HDC hdc, _In_reads_(nCount) LPCWSTR lpString, _In_ int nCount, _In_ int nMexExtent, _Inout_ LPGCP_RESULTSW lpResults, _In_ DWORD dwFlags)
 
BOOL WINAPI GetCharWidth32A (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) LPINT lpBuffer)
 
BOOL WINAPI GetCharWidth32W (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) LPINT lpBuffer)
 
BOOL WINAPI GetCharWidthA (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) LPINT lpBuffer)
 
BOOL WINAPI GetCharWidthW (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) LPINT lpBuffer)
 
BOOL WINAPI GetCharWidthI (_In_ HDC hdc, _In_ UINT giFirst, _In_ UINT cgi, _In_reads_opt_(cgi) LPWORD pgi, _Out_writes_(cgi) LPINT piWidths)
 
BOOL WINAPI GetCharWidthFloatA (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) PFLOAT lpBuffer)
 
BOOL WINAPI GetCharWidthFloatW (_In_ HDC hdc, _In_ UINT iFirst, _In_ UINT iLast, _Out_writes_(iLast+1 - iFirst) PFLOAT lpBuffer)
 
int WINAPI GetClipBox (_In_ HDC, _Out_ LPRECT)
 
int WINAPI GetClipRgn (_In_ HDC, _In_ HRGN)
 
BOOL WINAPI GetColorAdjustment (_In_ HDC, _Out_ LPCOLORADJUSTMENT)
 
HCOLORSPACE WINAPI GetColorSpace (_In_ HDC)
 
HGDIOBJ WINAPI GetCurrentObject (_In_ HDC, _In_ UINT)
 
BOOL WINAPI GetCurrentPositionEx (_In_ HDC, _Out_ LPPOINT)
 
HCURSOR WINAPI GetCursor (void)
 
BOOL WINAPI GetDCOrgEx (_In_ HDC, _Out_ LPPOINT)
 
int WINAPI GetDeviceCaps (_In_opt_ HDC, _In_ int)
 
BOOL WINAPI GetDeviceGammaRamp (_In_ HDC hdc, _Out_writes_bytes_(3 *256 *2) LPVOID lpRamp)
 
 _Ret_range_ (0, cEntries) UINT WINAPI GetDIBColorTable(_In_ HDC hdc
 
_In_ UINT _In_ UINT _Out_writes_to_ (cEntries, return) RGBQUAD *prgbq)
 
int WINAPI GetDIBits (_In_ HDC hdc, _In_ HBITMAP hbm, _In_ UINT start, _In_ UINT cLines, _Out_opt_ LPVOID lpvBits, _At_((LPBITMAPINFOHEADER) lpbmi, _Inout_) LPBITMAPINFO lpbmi, _In_ UINT usage)
 
HENHMETAFILE WINAPI GetEnhMetaFileA (_In_ LPCSTR)
 
HENHMETAFILE WINAPI GetEnhMetaFileW (_In_ LPCWSTR)
 
UINT WINAPI GetEnhMetaFileBits (_In_ HENHMETAFILE hEMF, _In_ UINT nSize, _Out_writes_bytes_opt_(nSize) LPBYTE lpData)
 
UINT WINAPI GetEnhMetaFileDescriptionA (_In_ HENHMETAFILE hemf, _In_ UINT cchBuffer, _Out_writes_opt_(cchBuffer) LPSTR lpDescription)
 
UINT WINAPI GetEnhMetaFileDescriptionW (_In_ HENHMETAFILE hemf, _In_ UINT cchBuffer, _Out_writes_opt_(cchBuffer) LPWSTR lpDescription)
 
UINT WINAPI GetEnhMetaFileHeader (_In_ HENHMETAFILE hemf, _In_ UINT nSize, _Out_writes_bytes_opt_(nSize) LPENHMETAHEADER lpEnhMetaHeader)
 
UINT WINAPI GetEnhMetaFilePaletteEntries (_In_ HENHMETAFILE hemf, _In_ UINT nNumEntries, _Out_writes_opt_(nNumEntries) LPPALETTEENTRY lpPaletteEntries)
 
UINT WINAPI GetEnhMetaFilePixelFormat (_In_ HENHMETAFILE hemf, _In_ UINT cbBuffer, _Out_writes_bytes_opt_(cbBuffer) PIXELFORMATDESCRIPTOR *ppfd)
 
_In_ DWORD _In_ DWORD _Out_writes_bytes_to_opt_ (cjBuffer, return) PVOID pvBuffer
 
DWORD WINAPI GetFontLanguageInfo (_In_ HDC)
 
DWORD WINAPI GetGlyphIndicesA (_In_ HDC hdc, _In_reads_(c) LPCSTR lpstr, _In_ int c, _Out_writes_(c) LPWORD pgi, _In_ DWORD fl)
 
DWORD WINAPI GetGlyphIndicesW (_In_ HDC hdc, _In_reads_(c) LPCWSTR lpstr, _In_ int c, _Out_writes_(c) LPWORD pgi, _In_ DWORD fl)
 
DWORD WINAPI GetGlyphOutlineA (_In_ HDC hdc, _In_ UINT uChar, _In_ UINT fuFormat, _Out_ LPGLYPHMETRICS lpgm, _In_ DWORD cjBuffer, _Out_writes_bytes_opt_(cjBuffer) LPVOID pvBuffer, _In_ CONST MAT2 *lpmat2)
 
DWORD WINAPI GetGlyphOutlineW (_In_ HDC hdc, _In_ UINT uChar, _In_ UINT fuFormat, _Out_ LPGLYPHMETRICS lpgm, _In_ DWORD cjBuffer, _Out_writes_bytes_opt_(cjBuffer) LPVOID pvBuffer, _In_ CONST MAT2 *lpmat2)
 
int WINAPI GetGraphicsMode (_In_ HDC)
 
BOOL WINAPI GetICMProfileA (_In_ HDC hdc, _Inout_ LPDWORD pBufSize, _Out_writes_opt_(*pBufSize) LPSTR pszFilename)
 
BOOL WINAPI GetICMProfileW (_In_ HDC hdc, _Inout_ LPDWORD pBufSize, _Out_writes_opt_(*pBufSize) LPWSTR pszFilename)
 
DWORD WINAPI GetKerningPairsA (_In_ HDC hdc, _In_ DWORD nPairs, _Out_writes_to_opt_(nPairs, return) LPKERNINGPAIR lpKernPair)
 
DWORD WINAPI GetKerningPairsW (_In_ HDC hdc, _In_ DWORD nPairs, _Out_writes_to_opt_(nPairs, return) LPKERNINGPAIR lpKernPair)
 
BOOL WINAPI GetLogColorSpaceA (_In_ HCOLORSPACE hColorSpace, _Out_writes_bytes_(nSize) LPLOGCOLORSPACEA lpBuffer, _In_ DWORD nSize)
 
BOOL WINAPI GetLogColorSpaceW (_In_ HCOLORSPACE hColorSpace, _Out_writes_bytes_(nSize) LPLOGCOLORSPACEW lpBuffer, _In_ DWORD nSize)
 
int WINAPI GetMapMode (_In_ HDC)
 
HMETAFILE WINAPI GetMetaFileA (_In_ LPCSTR)
 
HMETAFILE WINAPI GetMetaFileW (_In_ LPCWSTR)
 
UINT WINAPI GetMetaFileBitsEx (_In_ HMETAFILE hMF, _In_ UINT cbBuffer, _Out_writes_bytes_opt_(cbBuffer) LPVOID lpData)
 
int WINAPI GetMetaRgn (_In_ HDC, _In_ HRGN)
 
BOOL WINAPI GetMiterLimit (_In_ HDC, _Out_ PFLOAT)
 
COLORREF WINAPI GetNearestColor (_In_ HDC, _In_ COLORREF)
 
UINT WINAPI GetNearestPaletteIndex (_In_ HPALETTE, _In_ COLORREF)
 
int WINAPI GetObjectA (_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
 
int WINAPI GetObjectW (_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
 
DWORD WINAPI GetObjectType (_In_ HGDIOBJ)
 
UINT WINAPI GetOutlineTextMetricsA (_In_ HDC hdc, _In_ UINT cjCopy, _Out_writes_bytes_opt_(cjCopy) LPOUTLINETEXTMETRICA potm)
 
UINT WINAPI GetOutlineTextMetricsW (_In_ HDC hdc, _In_ UINT cjCopy, _Out_writes_bytes_opt_(cjCopy) LPOUTLINETEXTMETRICW potm)
 
_In_ UINT _In_ UINT _Out_writes_to_opt_ (cEntries, return) LPPALETTEENTRY pPalEntries)
 
int WINAPI GetPath (_In_ HDC hdc, _Out_writes_opt_(cpt) LPPOINT apt, _Out_writes_opt_(cpt) LPBYTE aj, int cpt)
 
COLORREF WINAPI GetPixel (_In_ HDC, _In_ int, _In_ int)
 
int WINAPI GetPixelFormat (_In_ HDC)
 
int WINAPI GetPolyFillMode (_In_ HDC)
 
BOOL WINAPI GetRasterizerCaps (_Out_writes_bytes_(cjBytes) LPRASTERIZER_STATUS lpraststat, _In_ UINT cjBytes)
 
int WINAPI GetRandomRgn (_In_ HDC, _In_ HRGN, _In_ INT)
 
DWORD WINAPI GetRegionData (_In_ HRGN hrgn, _In_ DWORD nCount, _Out_writes_bytes_to_opt_(nCount, return) LPRGNDATA lpRgnData)
 
int WINAPI GetRgnBox (_In_ HRGN, _Out_ LPRECT)
 
int WINAPI GetROP2 (_In_ HDC)
 
HGDIOBJ WINAPI GetStockObject (_In_ int)
 
int WINAPI GetStretchBltMode (_In_ HDC)
 
UINT WINAPI GetSystemPaletteEntries (_In_ HDC hdc, _In_ UINT iStart, _In_ UINT cEntries, _Out_writes_opt_(cEntries) LPPALETTEENTRY pPalEntries)
 
UINT WINAPI GetSystemPaletteUse (_In_ HDC)
 
UINT WINAPI GetTextAlign (_In_ HDC)
 
int WINAPI GetTextCharacterExtra (_In_ HDC)
 
int WINAPI GetTextCharset (_In_ HDC)
 
int WINAPI GetTextCharsetInfo (_In_ HDC, _Out_opt_ LPFONTSIGNATURE, _In_ DWORD)
 
COLORREF WINAPI GetTextColor (_In_ HDC)
 
BOOL WINAPI GetTextExtentExPointA (_In_ HDC hdc, _In_reads_(cchString) LPCSTR lpszString, _In_ int cchString, _In_ int nMaxExtent, _Out_opt_ LPINT lpnFit, _Out_writes_to_opt_(cchString, *lpnFit) LPINT lpnDx, _Out_ LPSIZE lpSize)
 
BOOL WINAPI GetTextExtentExPointW (_In_ HDC hdc, _In_reads_(cchString) LPCWSTR lpszString, _In_ int cchString, _In_ int nMaxExtent, _Out_opt_ LPINT lpnFit, _Out_writes_to_opt_(cchString, *lpnFit) LPINT lpnDx, _Out_ LPSIZE lpSize)
 
BOOL WINAPI GetTextExtentExPointI (_In_ HDC hdc, _In_reads_(cwchString) LPWORD lpwszString, _In_ int cwchString, _In_ int nMaxExtent, _Out_opt_ LPINT lpnFit, _Out_writes_to_opt_(cwchString, *lpnFit) LPINT lpnDx, _Out_ LPSIZE lpSize)
 
BOOL WINAPI GetTextExtentPointA (_In_ HDC hdc, _In_reads_(c) LPCSTR lpString, _In_ int c, _Out_ LPSIZE lpsz)
 
BOOL WINAPI GetTextExtentPointW (_In_ HDC hdc, _In_reads_(c) LPCWSTR lpString, _In_ int c, _Out_ LPSIZE lpsz)
 
BOOL WINAPI GetTextExtentPointI (_In_ HDC hdc, _In_reads_(cgi) LPWORD pgiIn, _In_ int cgi, _Out_ LPSIZE psize)
 
BOOL WINAPI GetTextExtentPoint32A (_In_ HDC hdc, _In_reads_(c) LPCSTR lpString, _In_ int c, _Out_ LPSIZE psizl)
 
BOOL WINAPI GetTextExtentPoint32W (_In_ HDC hdc, _In_reads_(c) LPCWSTR lpString, _In_ int c, _Out_ LPSIZE psizl)
 
int WINAPI GetTextFaceA (_In_ HDC hdc, _In_ int c, _Out_writes_to_opt_(c, return) LPSTR lpName)
 
int WINAPI GetTextFaceW (_In_ HDC hdc, _In_ int c, _Out_writes_to_opt_(c, return) LPWSTR lpName)
 
BOOL WINAPI GetTextMetricsA (_In_ HDC, _Out_ LPTEXTMETRICA)
 
BOOL WINAPI GetTextMetricsW (_In_ HDC, _Out_ LPTEXTMETRICW)
 
BOOL WINAPI GetTransform (HDC, DWORD, XFORM *)
 
BOOL WINAPI GetViewportExtEx (_In_ HDC, _Out_ LPSIZE)
 
BOOL WINAPI GetViewportOrgEx (_In_ HDC, _Out_ LPPOINT)
 
BOOL WINAPI GetWindowExtEx (_In_ HDC, _Out_ LPSIZE)
 
BOOL WINAPI GetWindowOrgEx (_In_ HDC, _Out_ LPPOINT)
 
UINT WINAPI GetWinMetaFileBits (_In_ HENHMETAFILE hemf, _In_ UINT cbData16, _Out_writes_bytes_opt_(cbData16) LPBYTE pData16, _In_ INT iMapMode, _In_ HDC hdcRef)
 
BOOL WINAPI GetWorldTransform (_In_ HDC, _Out_ LPXFORM)
 
int WINAPI IntersectClipRect (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
 
BOOL WINAPI InvertRgn (_In_ HDC, _In_ HRGN)
 
BOOL WINAPI LineDDA (_In_ int, _In_ int, _In_ int, _In_ int, _In_ LINEDDAPROC, _In_opt_ LPARAM)
 
BOOL WINAPI LineTo (_In_ HDC, _In_ int, _In_ int)
 
BOOL WINAPI LPtoDP (_In_ HDC hdc, _Inout_updates_(c) LPPOINT lppt, _In_ int c)
 
BOOL WINAPI MaskBlt (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ HDC, _In_ int, _In_ int, _In_ HBITMAP, _In_ int, _In_ int, _In_ DWORD)
 
BOOL WINAPI ModifyWorldTransform (_In_ HDC, _In_opt_ const XFORM *, _In_ DWORD)
 
BOOL WINAPI MoveToEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
 
int WINAPI OffsetClipRgn (_In_ HDC, _In_ int, _In_ int)
 
int WINAPI OffsetRgn (_In_ HRGN, _In_ int, _In_ int)
 
BOOL WINAPI OffsetViewportOrgEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
 
BOOL WINAPI OffsetWindowOrgEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
 
BOOL WINAPI PaintRgn (_In_ HDC, _In_ HRGN)
 
BOOL WINAPI PatBlt (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
 
HRGN WINAPI PathToRegion (_In_ HDC)
 
BOOL WINAPI Pie (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int)
 
BOOL WINAPI PlayEnhMetaFile (_In_ HDC, _In_ HENHMETAFILE, _In_ LPCRECT)
 
BOOL WINAPI PlayEnhMetaFileRecord (_In_ HDC hdc, _In_reads_(cht) LPHANDLETABLE pht, _In_ CONST ENHMETARECORD *pmr, _In_ UINT cht)
 
BOOL WINAPI PlayMetaFile (_In_ HDC, _In_ HMETAFILE)
 
BOOL WINAPI PlayMetaFileRecord (_In_ HDC hdc, _In_reads_(noObjs) LPHANDLETABLE lpHandleTable, _In_ LPMETARECORD lpMR, _In_ UINT noObjs)
 
BOOL WINAPI PlgBlt (_In_ HDC hdcDest, _In_reads_(3) const POINT *lpPoint, _In_ HDC hdcSrc, _In_ int xSrc, _In_ int ySrc, _In_ int width, _In_ int height, _In_opt_ HBITMAP hbmMask, _In_ int xMask, _In_ int yMask)
 
BOOL WINAPI PolyBezier (_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ DWORD cpt)
 
BOOL WINAPI PolyBezierTo (_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ DWORD cpt)
 
BOOL WINAPI PolyDraw (_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_reads_(cpt) const BYTE *aj, _In_ int cpt)
 
BOOL WINAPI Polygon (_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ int cpt)
 
BOOL WINAPI Polyline (_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ int cpt)
 
BOOL WINAPI PolylineTo (_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ DWORD cpt)
 
BOOL WINAPI PolyPolygon (_In_ HDC hdc, _In_ const POINT *apt, _In_reads_(csz) const INT *asz, _In_ int csz)
 
BOOL WINAPI PolyPolyline (_In_ HDC hdc, _In_ const POINT *apt, _In_reads_(csz) const DWORD *asz, _In_ DWORD csz)
 
BOOL WINAPI PolyTextOutA (_In_ HDC hdc, _In_reads_(nstrings) const POLYTEXTA *ppt, _In_ int nstrings)
 
BOOL WINAPI PolyTextOutW (_In_ HDC hdc, _In_reads_(nstrings) const POLYTEXTW *ppt, _In_ int nstrings)
 
BOOL WINAPI PtInRegion (_In_ HRGN, _In_ int, _In_ int)
 
BOOL WINAPI PtVisible (_In_ HDC, _In_ int, _In_ int)
 
UINT WINAPI RealizePalette (_In_ HDC)
 
BOOL WINAPI Rectangle (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
 
BOOL WINAPI RectInRegion (_In_ HRGN, _In_ LPCRECT)
 
BOOL WINAPI RectVisible (_In_ HDC, _In_ LPCRECT)
 
BOOL WINAPI RemoveFontResourceA (_In_ LPCSTR)
 
BOOL WINAPI RemoveFontResourceW (_In_ LPCWSTR)
 
HDC WINAPI ResetDCA (_In_ HDC, _In_ const DEVMODEA *)
 
HDC WINAPI ResetDCW (_In_ HDC, _In_ const DEVMODEW *)
 
BOOL WINAPI ResizePalette (_In_ HPALETTE, _In_ UINT)
 
BOOL WINAPI RestoreDC (_In_ HDC, _In_ int)
 
BOOL WINAPI RoundRect (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int)
 
int WINAPI SaveDC (_In_ HDC)
 
BOOL WINAPI ScaleViewportExtEx (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _Out_opt_ LPSIZE)
 
BOOL WINAPI ScaleWindowExtEx (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _Out_opt_ LPSIZE)
 
BOOL WINAPI SelectClipPath (_In_ HDC, _In_ int)
 
int WINAPI SelectClipRgn (_In_ HDC, _In_opt_ HRGN)
 
HGDIOBJ WINAPI SelectObject (_In_ HDC, _In_ HGDIOBJ)
 
HPALETTE WINAPI SelectPalette (_In_ HDC, _In_ HPALETTE, _In_ BOOL)
 
int WINAPI SetAbortProc (_In_ HDC, _In_ ABORTPROC)
 
int WINAPI SetArcDirection (_In_ HDC, _In_ int)
 
LONG WINAPI SetBitmapBits (_In_ HBITMAP hbm, _In_ DWORD cb, _In_reads_bytes_(cb) CONST VOID *pvBits)
 
BOOL WINAPI SetBitmapDimensionEx (_In_ HBITMAP, _In_ int, _In_ int, _Out_opt_ LPSIZE)
 
COLORREF WINAPI SetBkColor (_In_ HDC, _In_ COLORREF)
 
int WINAPI SetBkMode (_In_ HDC, _In_ int)
 
UINT WINAPI SetBoundsRect (_In_ HDC, _In_opt_ LPCRECT, _In_ UINT)
 
BOOL WINAPI SetBrushOrgEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
 
BOOL WINAPI SetColorAdjustment (_In_ HDC, _In_ const COLORADJUSTMENT *)
 
HCOLORSPACE WINAPI SetColorSpace (_In_ HDC, _In_ HCOLORSPACE)
 
BOOL WINAPI SetDeviceGammaRamp (_In_ HDC hdc, _In_reads_bytes_(3 *256 *2) LPVOID lpRamp)
 
UINT WINAPI SetDIBColorTable (_In_ HDC hdc, _In_ UINT iStart, _In_ UINT cEntries, _In_reads_(cEntries) const RGBQUAD *prgbq)
 
int WINAPI SetDIBits (_In_opt_ HDC, _In_ HBITMAP, _In_ UINT, _In_ UINT, _In_ CONST VOID *, _In_ CONST BITMAPINFO *, _In_ UINT)
 
int WINAPI SetDIBitsToDevice (_In_ HDC, _In_ int, _In_ int, _In_ DWORD, _In_ DWORD, _In_ int, _In_ int, _In_ UINT, _In_ UINT, _In_ CONST VOID *, _In_ CONST BITMAPINFO *, _In_ UINT)
 
HENHMETAFILE WINAPI SetEnhMetaFileBits (_In_ UINT nSize, _In_reads_bytes_(nSize) const BYTE *pb)
 
int WINAPI SetGraphicsMode (_In_ HDC, _In_ int)
 
int WINAPI SetICMMode (_In_ HDC, _In_ int)
 
BOOL WINAPI SetICMProfileA (_In_ HDC, _In_ LPSTR)
 
BOOL WINAPI SetICMProfileW (_In_ HDC, _In_ LPWSTR)
 
int WINAPI SetMapMode (_In_ HDC, _In_ int)
 
DWORD WINAPI SetMapperFlags (_In_ HDC, _In_ DWORD)
 
HMETAFILE WINAPI SetMetaFileBitsEx (_In_ UINT cbBuffer, _In_reads_bytes_(cbBuffer) CONST BYTE *lpData)
 
int WINAPI SetMetaRgn (_In_ HDC)
 
BOOL WINAPI SetMiterLimit (_In_ HDC, _In_ FLOAT, _Out_opt_ PFLOAT)
 
UINT WINAPI SetPaletteEntries (_In_ HPALETTE hpal, _In_ UINT iStart, _In_ UINT cEntries, _In_reads_(cEntries) CONST PALETTEENTRY *pPalEntries)
 
COLORREF WINAPI SetPixel (_In_ HDC, _In_ int, _In_ int, _In_ COLORREF)
 
BOOL WINAPI SetPixelFormat (_In_ HDC, _In_ int, _In_ const PIXELFORMATDESCRIPTOR *)
 
BOOL WINAPI SetPixelV (_In_ HDC, _In_ int, _In_ int, _In_ COLORREF)
 
int WINAPI SetPolyFillMode (_In_ HDC, _In_ int)
 
BOOL WINAPI SetRectRgn (_In_ HRGN, _In_ int, _In_ int, _In_ int, _In_ int)
 
INT WINAPI SetRelAbs (HDC, INT)
 
int WINAPI SetROP2 (_In_ HDC, _In_ int)
 
int WINAPI SetStretchBltMode (_In_ HDC, _In_ int)
 
UINT WINAPI SetSystemPaletteUse (_In_ HDC, _In_ UINT)
 
UINT WINAPI SetTextAlign (_In_ HDC, _In_ UINT)
 
int WINAPI SetTextCharacterExtra (_In_ HDC, _In_ int)
 
COLORREF WINAPI SetTextColor (_In_ HDC, _In_ COLORREF)
 
BOOL WINAPI SetTextJustification (_In_ HDC, _In_ int, _In_ int)
 
BOOL WINAPI SetViewportExtEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPSIZE)
 
BOOL WINAPI SetViewportOrgEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
 
BOOL WINAPI SetWindowExtEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPSIZE)
 
BOOL WINAPI SetWindowOrgEx (_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
 
HENHMETAFILE WINAPI SetWinMetaFileBits (_In_ UINT nSize, _In_reads_bytes_(nSize) const BYTE *lpMeta16Data, _In_opt_ HDC hdcRef, _In_opt_ const METAFILEPICT *lpMFP)
 
BOOL WINAPI SetWorldTransform (_In_ HDC, _In_ const XFORM *)
 
int WINAPI StartDocA (_In_ HDC, _In_ const DOCINFOA *)
 
int WINAPI StartDocW (_In_ HDC, _In_ const DOCINFOW *)
 
int WINAPI StartPage (_In_ HDC)
 
BOOL WINAPI StretchBlt (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
 
int WINAPI StretchDIBits (_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ const VOID *, _In_ const BITMAPINFO *, _In_ UINT, _In_ DWORD)
 
BOOL WINAPI StrokeAndFillPath (_In_ HDC)
 
BOOL WINAPI StrokePath (_In_ HDC)
 
BOOL WINAPI SwapBuffers (HDC)
 
BOOL WINAPI TextOutA (_In_ HDC hdc, _In_ int x, _In_ int y, _In_reads_(c) LPCSTR lpString, _In_ int c)
 
BOOL WINAPI TextOutW (_In_ HDC hdc, _In_ int x, _In_ int y, _In_reads_(c) LPCWSTR lpString, _In_ int c)
 
BOOL WINAPI TranslateCharsetInfo (_Inout_ PDWORD, _Out_ LPCHARSETINFO, _In_ DWORD)
 
BOOL WINAPI UnrealizeObject (_In_ HGDIOBJ)
 
BOOL WINAPI UpdateColors (_In_ HDC)
 
BOOL WINAPI UpdateICMRegKeyA (_Reserved_ DWORD, _In_ LPSTR, _In_ LPSTR, _In_ UINT)
 
BOOL WINAPI UpdateICMRegKeyW (_Reserved_ DWORD, _In_ LPWSTR, _In_ LPWSTR, _In_ UINT)
 
BOOL WINAPI WidenPath (_In_ HDC)
 
BOOL WINAPI wglCopyContext (HGLRC, HGLRC, UINT)
 
HGLRC WINAPI wglCreateContext (HDC)
 
HGLRC WINAPI wglCreateLayerContext (HDC, int)
 
BOOL WINAPI wglDeleteContext (HGLRC)
 
BOOL WINAPI wglDescribeLayerPlane (HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR)
 
HGLRC WINAPI wglGetCurrentContext (void)
 
HDC WINAPI wglGetCurrentDC (void)
 
int WINAPI wglGetLayerPaletteEntries (HDC, int, int, int, COLORREF *)
 
PROC WINAPI wglGetProcAddress (LPCSTR)
 
BOOL WINAPI wglMakeCurrent (HDC, HGLRC)
 
BOOL WINAPI wglRealizeLayerPalette (HDC, int, BOOL)
 
int WINAPI wglSetLayerPaletteEntries (HDC, int, int, int, const COLORREF *)
 
BOOL WINAPI wglShareLists (HGLRC, HGLRC)
 
BOOL WINAPI wglSwapLayerBuffers (HDC, UINT)
 
BOOL WINAPI wglUseFontBitmapsA (HDC, DWORD, DWORD, DWORD)
 
BOOL WINAPI wglUseFontBitmapsW (HDC, DWORD, DWORD, DWORD)
 
BOOL WINAPI wglUseFontOutlinesA (HDC, DWORD, DWORD, DWORD, FLOAT, FLOAT, int, LPGLYPHMETRICSFLOAT)
 
BOOL WINAPI wglUseFontOutlinesW (HDC, DWORD, DWORD, DWORD, FLOAT, FLOAT, int, LPGLYPHMETRICSFLOAT)
 

Variables

_In_ const BITMAPINFOpbmi
 
_In_ const BITMAPINFO _In_ UINT usage
 
_In_ const BITMAPINFO _In_ UINT _In_opt_ HANDLE hSection
 
_In_ const BITMAPINFO _In_ UINT _In_opt_ HANDLE _In_ DWORD offset
 
_In_ UINT iStart
 
_In_ UINT _In_ UINT cEntries
 
_In_ DWORD dwTable
 
_In_ DWORD _In_ DWORD dwOffset
 
_In_ DWORD _In_ DWORD _In_ DWORD cjBuffer
 

Macro Definition Documentation

◆ _LOGPALETTE_DEFINED

#define _LOGPALETTE_DEFINED

Definition at line 212 of file wtypes.idl.

◆ _PALETTEENTRY_DEFINED

#define _PALETTEENTRY_DEFINED

Definition at line 202 of file wtypes.idl.

◆ _TEXTMETRIC_DEFINED

#define _TEXTMETRIC_DEFINED

Definition at line 244 of file wtypes.idl.

◆ _WINGDI_

#define _WINGDI_

Definition at line 3 of file wingdi.h.

◆ ABORTDOC

#define ABORTDOC   2

Definition at line 995 of file wingdi.h.

◆ ABSOLUTE

#define ABSOLUTE   1

Definition at line 878 of file wingdi.h.

◆ AC_SRC_ALPHA

#define AC_SRC_ALPHA   1

Definition at line 33 of file wingdi.h.

◆ AC_SRC_OVER [1/2]

#define AC_SRC_OVER   0

Definition at line 1369 of file wingdi.h.

◆ AC_SRC_OVER [2/2]

#define AC_SRC_OVER   0

Definition at line 1369 of file wingdi.h.

◆ AD_CLOCKWISE

#define AD_CLOCKWISE   2

Definition at line 668 of file wingdi.h.

◆ AD_COUNTERCLOCKWISE

#define AD_COUNTERCLOCKWISE   1

Definition at line 667 of file wingdi.h.

◆ AddFontResource

#define AddFontResource   AddFontResourceA

Definition at line 4435 of file wingdi.h.

◆ ALTERNATE

#define ALTERNATE   1

Definition at line 604 of file wingdi.h.

◆ ANSI_CHARSET

#define ANSI_CHARSET   0

Definition at line 383 of file wingdi.h.

◆ ANSI_FIXED_FONT

#define ANSI_FIXED_FONT   11

Definition at line 906 of file wingdi.h.

◆ ANSI_VAR_FONT

#define ANSI_VAR_FONT   12

Definition at line 907 of file wingdi.h.

◆ ANTIALIASED_QUALITY

#define ANTIALIASED_QUALITY   4

Definition at line 440 of file wingdi.h.

◆ ARABIC_CHARSET

#define ARABIC_CHARSET   178

Definition at line 394 of file wingdi.h.

◆ ASPECT_FILTERING

#define ASPECT_FILTERING   1

Definition at line 1083 of file wingdi.h.

◆ ASPECTX

#define ASPECTX   40

Definition at line 727 of file wingdi.h.

◆ ASPECTXY

#define ASPECTXY   44

Definition at line 729 of file wingdi.h.

◆ ASPECTY

#define ASPECTY   42

Definition at line 728 of file wingdi.h.

◆ BALTIC_CHARSET

#define BALTIC_CHARSET   186

Definition at line 395 of file wingdi.h.

◆ BANDINFO

#define BANDINFO   24

Definition at line 1019 of file wingdi.h.

◆ BEGIN_PATH

#define BEGIN_PATH   4096

Definition at line 1051 of file wingdi.h.

◆ BI_BITFIELDS

#define BI_BITFIELDS   3

Definition at line 37 of file wingdi.h.

◆ BI_JPEG

#define BI_JPEG   4

◆ BI_PNG

#define BI_PNG   5

◆ BI_RGB

#define BI_RGB   0

Definition at line 34 of file wingdi.h.

◆ BI_RLE4

#define BI_RLE4   2

Definition at line 36 of file wingdi.h.

◆ BI_RLE8

#define BI_RLE8   1

◆ BITSPIXEL

#define BITSPIXEL   12

Definition at line 720 of file wingdi.h.

◆ BKMODE_LAST

#define BKMODE_LAST   2

Definition at line 951 of file wingdi.h.

◆ BLACK_BRUSH

#define BLACK_BRUSH   4

Definition at line 896 of file wingdi.h.

◆ BLACK_PEN

#define BLACK_PEN   7

Definition at line 903 of file wingdi.h.

◆ BLACKNESS

#define BLACKNESS   0x42

Definition at line 323 of file wingdi.h.

◆ BLACKONWHITE

#define BLACKONWHITE   1

Definition at line 952 of file wingdi.h.

◆ BLTALIGNMENT

#define BLTALIGNMENT   119

Definition at line 744 of file wingdi.h.

◆ BS_DIBPATTERN

#define BS_DIBPATTERN   5

Definition at line 1092 of file wingdi.h.

◆ BS_DIBPATTERN8X8

#define BS_DIBPATTERN8X8   8

Definition at line 1095 of file wingdi.h.

◆ BS_DIBPATTERNPT

#define BS_DIBPATTERNPT   6

Definition at line 1093 of file wingdi.h.

◆ BS_HATCHED

#define BS_HATCHED   2

Definition at line 1089 of file wingdi.h.

◆ BS_HOLLOW

#define BS_HOLLOW   1

Definition at line 1088 of file wingdi.h.

◆ BS_INDEXED

#define BS_INDEXED   4

Definition at line 1091 of file wingdi.h.

◆ BS_MONOPATTERN

#define BS_MONOPATTERN   9

Definition at line 1096 of file wingdi.h.

◆ BS_NULL

#define BS_NULL   1

Definition at line 1087 of file wingdi.h.

◆ BS_PATTERN

#define BS_PATTERN   3

Definition at line 1090 of file wingdi.h.

◆ BS_PATTERN8X8

#define BS_PATTERN8X8   7

Definition at line 1094 of file wingdi.h.

◆ BS_SOLID

#define BS_SOLID   0

Definition at line 1086 of file wingdi.h.

◆ CA_LOG_FILTER

#define CA_LOG_FILTER   2

Definition at line 43 of file wingdi.h.

◆ CA_NEGATIVE

#define CA_NEGATIVE   1

Definition at line 42 of file wingdi.h.

◆ CAPTUREBLT

#define CAPTUREBLT   0x40000000

Definition at line 1376 of file wingdi.h.

◆ CBM_INIT

#define CBM_INIT   4

Definition at line 365 of file wingdi.h.

◆ CC_CHORD

#define CC_CHORD   4

Definition at line 763 of file wingdi.h.

◆ CC_CIRCLES

#define CC_CIRCLES   1

Definition at line 761 of file wingdi.h.

◆ CC_ELLIPSES

#define CC_ELLIPSES   8

Definition at line 764 of file wingdi.h.

◆ CC_INTERIORS

#define CC_INTERIORS   128

Definition at line 768 of file wingdi.h.

◆ CC_NONE

#define CC_NONE   0

Definition at line 760 of file wingdi.h.

◆ CC_PIE

#define CC_PIE   2

Definition at line 762 of file wingdi.h.

◆ CC_ROUNDRECT

#define CC_ROUNDRECT   256

Definition at line 769 of file wingdi.h.

◆ CC_STYLED

#define CC_STYLED   32

Definition at line 766 of file wingdi.h.

◆ CC_WIDE

#define CC_WIDE   16

Definition at line 765 of file wingdi.h.

◆ CC_WIDESTYLED

#define CC_WIDESTYLED   64

Definition at line 767 of file wingdi.h.

◆ CCHDEVICENAME

#define CCHDEVICENAME   32

Definition at line 66 of file wingdi.h.

◆ CCHFORMNAME

#define CCHFORMNAME   32

Definition at line 67 of file wingdi.h.

◆ CELTIC_CHARSET

#define CELTIC_CHARSET   (BYTE)246 /* iso8859-14 */

Definition at line 413 of file wingdi.h.

◆ CHECKJPEGFORMAT

#define CHECKJPEGFORMAT   4119

Definition at line 1073 of file wingdi.h.

◆ CHECKPNGFORMAT

#define CHECKPNGFORMAT   4120

Definition at line 1074 of file wingdi.h.

◆ CHINESEBIG5_CHARSET

#define CHINESEBIG5_CHARSET   136

Definition at line 390 of file wingdi.h.

◆ CLEARTYPE_NATURAL_QUALITY

#define CLEARTYPE_NATURAL_QUALITY   6

Definition at line 442 of file wingdi.h.

◆ CLEARTYPE_QUALITY

#define CLEARTYPE_QUALITY   5

Definition at line 441 of file wingdi.h.

◆ CLIP_CHARACTER_PRECIS

#define CLIP_CHARACTER_PRECIS   1

Definition at line 427 of file wingdi.h.

◆ CLIP_DEFAULT_PRECIS

#define CLIP_DEFAULT_PRECIS   0

Definition at line 426 of file wingdi.h.

◆ CLIP_DFA_DISABLE

#define CLIP_DFA_DISABLE   64

Definition at line 433 of file wingdi.h.

◆ CLIP_EMBEDDED

#define CLIP_EMBEDDED   128

Definition at line 435 of file wingdi.h.

◆ CLIP_LH_ANGLES

#define CLIP_LH_ANGLES   16

Definition at line 430 of file wingdi.h.

◆ CLIP_MASK

#define CLIP_MASK   15

Definition at line 429 of file wingdi.h.

◆ CLIP_STROKE_PRECIS

#define CLIP_STROKE_PRECIS   2

Definition at line 428 of file wingdi.h.

◆ CLIP_TO_PATH

#define CLIP_TO_PATH   4097

Definition at line 1052 of file wingdi.h.

◆ CLIP_TT_ALWAYS

#define CLIP_TT_ALWAYS   32

Definition at line 431 of file wingdi.h.

◆ CLIPCAPS

#define CLIPCAPS   36

Definition at line 731 of file wingdi.h.

◆ CLOSECHANNEL

#define CLOSECHANNEL   4112

Definition at line 1068 of file wingdi.h.

◆ CLR_INVALID

#define CLR_INVALID   0xFFFFFFFF

Definition at line 883 of file wingdi.h.

◆ CM_IN_GAMUT

#define CM_IN_GAMUT   0

Definition at line 355 of file wingdi.h.

◆ CM_OUT_OF_GAMUT

#define CM_OUT_OF_GAMUT   255

Definition at line 354 of file wingdi.h.

◆ CMYK

#define CMYK (   c,
  m,
  y,
  k 
)    ((COLORREF)((((BYTE)(k)|((WORD)((BYTE)(y))<<8))|(((DWORD)(BYTE)(m))<<16))|(((DWORD)(BYTE)(c))<<24)))

Definition at line 3459 of file wingdi.h.

◆ COLOR_ADJ_MAX

#define COLOR_ADJ_MAX   100

Definition at line 65 of file wingdi.h.

◆ COLOR_ADJ_MIN

#define COLOR_ADJ_MIN   (-100)

Definition at line 64 of file wingdi.h.

◆ COLORONCOLOR

#define COLORONCOLOR   3

Definition at line 954 of file wingdi.h.

◆ COLORRES

#define COLORRES   108

Definition at line 734 of file wingdi.h.

◆ COMPLEXREGION

#define COMPLEXREGION   3

Definition at line 363 of file wingdi.h.

◆ CopyEnhMetaFile

#define CopyEnhMetaFile   CopyEnhMetaFileA

Definition at line 4439 of file wingdi.h.

◆ CopyMetaFile

#define CopyMetaFile   CopyMetaFileA

Definition at line 4440 of file wingdi.h.

◆ CP_NONE

#define CP_NONE   0

Definition at line 825 of file wingdi.h.

◆ CP_RECTANGLE

#define CP_RECTANGLE   1

Definition at line 826 of file wingdi.h.

◆ CP_REGION

#define CP_REGION   2

Definition at line 827 of file wingdi.h.

◆ CreateDC

#define CreateDC   CreateDCA

Definition at line 4441 of file wingdi.h.

◆ CreateEnhMetaFile

#define CreateEnhMetaFile   CreateEnhMetaFileA

Definition at line 4442 of file wingdi.h.

◆ CreateFont

#define CreateFont   CreateFontA

Definition at line 4443 of file wingdi.h.

◆ CreateFontIndirect

#define CreateFontIndirect   CreateFontIndirectA

Definition at line 4444 of file wingdi.h.

◆ CreateFontIndirectEx

#define CreateFontIndirectEx   CreateFontIndirectExA

Definition at line 4445 of file wingdi.h.

◆ CreateIC

#define CreateIC   CreateICA

Definition at line 4446 of file wingdi.h.

◆ CreateMetaFile

#define CreateMetaFile   CreateMetaFileA

Definition at line 4447 of file wingdi.h.

◆ CreateScalableFontResource

#define CreateScalableFontResource   CreateScalableFontResourceA

Definition at line 4448 of file wingdi.h.

◆ CURVECAPS

#define CURVECAPS   28

Definition at line 759 of file wingdi.h.

◆ DC_BINADJUST

#define DC_BINADJUST   19

Definition at line 631 of file wingdi.h.

◆ DC_BINNAMES

#define DC_BINNAMES   12

Definition at line 607 of file wingdi.h.

◆ DC_BINS

#define DC_BINS   6

Definition at line 608 of file wingdi.h.

◆ DC_COPIES

#define DC_COPIES   18

Definition at line 609 of file wingdi.h.

◆ DC_DATATYPE_PRODUCED [1/2]

#define DC_DATATYPE_PRODUCED   21

Definition at line 633 of file wingdi.h.

◆ DC_DATATYPE_PRODUCED [2/2]

#define DC_DATATYPE_PRODUCED   21

Definition at line 633 of file wingdi.h.

◆ DC_DRIVER

#define DC_DRIVER   11

Definition at line 610 of file wingdi.h.

◆ DC_DUPLEX

#define DC_DUPLEX   7

Definition at line 612 of file wingdi.h.

◆ DC_EMF_COMPLIANT [1/2]

#define DC_EMF_COMPLIANT   20

Definition at line 632 of file wingdi.h.

◆ DC_EMF_COMPLIANT [2/2]

#define DC_EMF_COMPLIANT   20

Definition at line 632 of file wingdi.h.

◆ DC_ENUMRESOLUTIONS

#define DC_ENUMRESOLUTIONS   13

Definition at line 614 of file wingdi.h.

◆ DC_EXTRA

#define DC_EXTRA   9

Definition at line 615 of file wingdi.h.

◆ DC_FIELDS

#define DC_FIELDS   1

Definition at line 616 of file wingdi.h.

◆ DC_FILEDEPENDENCIES

#define DC_FILEDEPENDENCIES   14

Definition at line 617 of file wingdi.h.

◆ DC_MANUFACTURER

#define DC_MANUFACTURER   23

Definition at line 634 of file wingdi.h.

◆ DC_MAXEXTENT

#define DC_MAXEXTENT   5

Definition at line 618 of file wingdi.h.

◆ DC_MINEXTENT

#define DC_MINEXTENT   4

Definition at line 619 of file wingdi.h.

◆ DC_MODEL

#define DC_MODEL   24

Definition at line 635 of file wingdi.h.

◆ DC_ORIENTATION

#define DC_ORIENTATION   17

Definition at line 620 of file wingdi.h.

◆ DC_PAPERNAMES

#define DC_PAPERNAMES   16

Definition at line 621 of file wingdi.h.

◆ DC_PAPERS

#define DC_PAPERS   2

Definition at line 622 of file wingdi.h.

◆ DC_PAPERSIZE

#define DC_PAPERSIZE   3

Definition at line 623 of file wingdi.h.

◆ DC_SIZE

#define DC_SIZE   8

Definition at line 624 of file wingdi.h.

◆ DC_TRUETYPE

#define DC_TRUETYPE   15

Definition at line 625 of file wingdi.h.

◆ DC_VERSION

#define DC_VERSION   10

Definition at line 630 of file wingdi.h.

◆ DCB_ACCUMULATE

#define DCB_ACCUMULATE   2

Definition at line 689 of file wingdi.h.

◆ DCB_DIRTY

#define DCB_DIRTY   2

Definition at line 690 of file wingdi.h.

◆ DCB_DISABLE

#define DCB_DISABLE   8

Definition at line 685 of file wingdi.h.

◆ DCB_ENABLE

#define DCB_ENABLE   4

Definition at line 686 of file wingdi.h.

◆ DCB_RESET

#define DCB_RESET   1

Definition at line 687 of file wingdi.h.

◆ DCB_SET

#define DCB_SET   3

Definition at line 688 of file wingdi.h.

◆ DCBA_FACEDOWNCENTER

#define DCBA_FACEDOWNCENTER   257

Definition at line 641 of file wingdi.h.

◆ DCBA_FACEDOWNLEFT

#define DCBA_FACEDOWNLEFT   258

Definition at line 642 of file wingdi.h.

◆ DCBA_FACEDOWNNONE

#define DCBA_FACEDOWNNONE   256

Definition at line 640 of file wingdi.h.

◆ DCBA_FACEDOWNRIGHT

#define DCBA_FACEDOWNRIGHT   259

Definition at line 643 of file wingdi.h.

◆ DCBA_FACEUPCENTER

#define DCBA_FACEUPCENTER   1

Definition at line 637 of file wingdi.h.

◆ DCBA_FACEUPLEFT

#define DCBA_FACEUPLEFT   2

Definition at line 638 of file wingdi.h.

◆ DCBA_FACEUPNONE

#define DCBA_FACEUPNONE   0

Definition at line 636 of file wingdi.h.

◆ DCBA_FACEUPRIGHT

#define DCBA_FACEUPRIGHT   3

Definition at line 639 of file wingdi.h.

◆ DCTT_BITMAP

#define DCTT_BITMAP   1

Definition at line 626 of file wingdi.h.

◆ DCTT_DOWNLOAD

#define DCTT_DOWNLOAD   2

Definition at line 627 of file wingdi.h.

◆ DCTT_DOWNLOAD_OUTLINE

#define DCTT_DOWNLOAD_OUTLINE   8

Definition at line 629 of file wingdi.h.

◆ DCTT_SUBDEV

#define DCTT_SUBDEV   4

Definition at line 628 of file wingdi.h.

◆ DEFAULT_CHARSET

#define DEFAULT_CHARSET   1

Definition at line 384 of file wingdi.h.

◆ DEFAULT_GUI_FONT

#define DEFAULT_GUI_FONT   17

Definition at line 909 of file wingdi.h.

◆ DEFAULT_PALETTE

#define DEFAULT_PALETTE   15

Definition at line 913 of file wingdi.h.

◆ DEFAULT_PITCH

#define DEFAULT_PITCH   0

Definition at line 443 of file wingdi.h.

◆ DEFAULT_QUALITY

#define DEFAULT_QUALITY   0

Definition at line 436 of file wingdi.h.

◆ DESKTOPHORZRES

#define DESKTOPHORZRES   118

Definition at line 742 of file wingdi.h.

◆ DESKTOPVERTRES

#define DESKTOPVERTRES   117

Definition at line 743 of file wingdi.h.

◆ DEVICE_DEFAULT_FONT

#define DEVICE_DEFAULT_FONT   14

Definition at line 908 of file wingdi.h.

◆ DEVICE_FONTTYPE

#define DEVICE_FONTTYPE   2

Definition at line 1108 of file wingdi.h.

◆ DeviceCapabilities

#define DeviceCapabilities   DeviceCapabilitiesA

Definition at line 4449 of file wingdi.h.

◆ DEVICEDATA

#define DEVICEDATA   19

Definition at line 1012 of file wingdi.h.

◆ DI_APPBANDING

#define DI_APPBANDING   1

Definition at line 73 of file wingdi.h.

◆ DI_COMPAT

#define DI_COMPAT   4

Definition at line 68 of file wingdi.h.

◆ DI_DEFAULTSIZE

#define DI_DEFAULTSIZE   8

Definition at line 69 of file wingdi.h.

◆ DI_IMAGE

#define DI_IMAGE   2

Definition at line 70 of file wingdi.h.

◆ DI_MASK

#define DI_MASK   1

Definition at line 71 of file wingdi.h.

◆ DI_NOMIRROR

#define DI_NOMIRROR   16

Definition at line 74 of file wingdi.h.

◆ DI_NORMAL

#define DI_NORMAL   3

Definition at line 72 of file wingdi.h.

◆ DIB_PAL_COLORS

#define DIB_PAL_COLORS   1

◆ DIB_RGB_COLORS

#define DIB_RGB_COLORS   0

◆ DISPLAY_DEVICE_ACTIVE

#define DISPLAY_DEVICE_ACTIVE   0x00000001

Definition at line 1406 of file wingdi.h.

◆ DISPLAY_DEVICE_ATTACHED

#define DISPLAY_DEVICE_ATTACHED   0x00000002

Definition at line 1407 of file wingdi.h.

◆ DISPLAY_DEVICE_ATTACHED_TO_DESKTOP

#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP   0x00000001

Definition at line 1396 of file wingdi.h.

◆ DISPLAY_DEVICE_DISCONNECT

#define DISPLAY_DEVICE_DISCONNECT   0x02000000

Definition at line 1402 of file wingdi.h.

◆ DISPLAY_DEVICE_MIRRORING_DRIVER

#define DISPLAY_DEVICE_MIRRORING_DRIVER   0x00000008

Definition at line 1399 of file wingdi.h.

◆ DISPLAY_DEVICE_MODESPRUNED

#define DISPLAY_DEVICE_MODESPRUNED   0x08000000

Definition at line 1404 of file wingdi.h.

◆ DISPLAY_DEVICE_MULTI_DRIVER

#define DISPLAY_DEVICE_MULTI_DRIVER   0x00000002

Definition at line 1397 of file wingdi.h.

◆ DISPLAY_DEVICE_PRIMARY_DEVICE

#define DISPLAY_DEVICE_PRIMARY_DEVICE   0x00000004

Definition at line 1398 of file wingdi.h.

◆ DISPLAY_DEVICE_REMOTE

#define DISPLAY_DEVICE_REMOTE   0x04000000

Definition at line 1403 of file wingdi.h.

◆ DISPLAY_DEVICE_REMOVABLE

#define DISPLAY_DEVICE_REMOVABLE   0x00000020

Definition at line 1401 of file wingdi.h.

◆ DISPLAY_DEVICE_VGA_COMPATIBLE

#define DISPLAY_DEVICE_VGA_COMPATIBLE   0x00000010

Definition at line 1400 of file wingdi.h.

◆ DKGRAY_BRUSH

#define DKGRAY_BRUSH   3

Definition at line 897 of file wingdi.h.

◆ DM_BITSPERPEL

#define DM_BITSPERPEL   0x00040000

Definition at line 1268 of file wingdi.h.

◆ DM_COLLATE

#define DM_COLLATE   0x00008000

Definition at line 1265 of file wingdi.h.

◆ DM_COLOR

#define DM_COLOR   0x00000800

Definition at line 1261 of file wingdi.h.

◆ DM_COPIES

#define DM_COPIES   0x00000100

Definition at line 1258 of file wingdi.h.

◆ DM_COPY

#define DM_COPY   2

Definition at line 1233 of file wingdi.h.

◆ DM_DEFAULTSOURCE

#define DM_DEFAULTSOURCE   0x00000200

Definition at line 1259 of file wingdi.h.

◆ DM_DISPLAYFLAGS

#define DM_DISPLAYFLAGS   0x00200000

Definition at line 1271 of file wingdi.h.

◆ DM_DISPLAYFREQUENCY

#define DM_DISPLAYFREQUENCY   0x00400000

Definition at line 1272 of file wingdi.h.

◆ DM_DISPLAYORIENTATION

#define DM_DISPLAYORIENTATION   0x00000080

Definition at line 1257 of file wingdi.h.

◆ DM_DITHERTYPE

#define DM_DITHERTYPE   0x04000000

Definition at line 1276 of file wingdi.h.

◆ DM_DUPLEX

#define DM_DUPLEX   0x00001000

Definition at line 1262 of file wingdi.h.

◆ DM_FORMNAME

#define DM_FORMNAME   0x00010000

Definition at line 1266 of file wingdi.h.

◆ DM_GRAYSCALE

#define DM_GRAYSCALE   0x00000001

Definition at line 1227 of file wingdi.h.

◆ DM_ICMINTENT

#define DM_ICMINTENT   0x01000000

Definition at line 1274 of file wingdi.h.

◆ DM_ICMMETHOD

#define DM_ICMMETHOD   0x00800000

Definition at line 1273 of file wingdi.h.

◆ DM_IN_BUFFER

#define DM_IN_BUFFER   DM_MODIFY

Definition at line 1236 of file wingdi.h.

◆ DM_IN_PROMPT

#define DM_IN_PROMPT   DM_PROMPT

Definition at line 1237 of file wingdi.h.

◆ DM_INTERLACED

#define DM_INTERLACED   0x00000002

Definition at line 1228 of file wingdi.h.

◆ DM_LOGPIXELS

#define DM_LOGPIXELS   0x00020000

Definition at line 1267 of file wingdi.h.

◆ DM_MEDIATYPE

#define DM_MEDIATYPE   0x02000000

Definition at line 1275 of file wingdi.h.

◆ DM_MODIFY

#define DM_MODIFY   8

Definition at line 1235 of file wingdi.h.

◆ DM_NUP

#define DM_NUP   0x00000040

Definition at line 1256 of file wingdi.h.

◆ DM_ORIENTATION

#define DM_ORIENTATION   0x00000001

Definition at line 1250 of file wingdi.h.

◆ DM_OUT_BUFFER

#define DM_OUT_BUFFER   DM_COPY

Definition at line 1238 of file wingdi.h.

◆ DM_OUT_DEFAULT

#define DM_OUT_DEFAULT   DM_UPDATE

Definition at line 1239 of file wingdi.h.

◆ DM_PANNINGHEIGHT

#define DM_PANNINGHEIGHT   0x10000000

Definition at line 1278 of file wingdi.h.

◆ DM_PANNINGWIDTH

#define DM_PANNINGWIDTH   0x08000000

Definition at line 1277 of file wingdi.h.

◆ DM_PAPERLENGTH

#define DM_PAPERLENGTH   0x00000004

Definition at line 1252 of file wingdi.h.

◆ DM_PAPERSIZE

#define DM_PAPERSIZE   0x00000002

Definition at line 1251 of file wingdi.h.

◆ DM_PAPERWIDTH

#define DM_PAPERWIDTH   0x00000008

Definition at line 1253 of file wingdi.h.

◆ DM_PELSHEIGHT

#define DM_PELSHEIGHT   0x00100000

Definition at line 1270 of file wingdi.h.

◆ DM_PELSWIDTH

#define DM_PELSWIDTH   0x00080000

Definition at line 1269 of file wingdi.h.

◆ DM_POSITION

#define DM_POSITION   0x00000020

Definition at line 1255 of file wingdi.h.

◆ DM_PRINTQUALITY

#define DM_PRINTQUALITY   0x00000400

Definition at line 1260 of file wingdi.h.

◆ DM_PROMPT

#define DM_PROMPT   4

Definition at line 1234 of file wingdi.h.

◆ DM_SCALE

#define DM_SCALE   0x00000010

Definition at line 1254 of file wingdi.h.

◆ DM_SPECVERSION

#define DM_SPECVERSION   0x0401

Definition at line 1243 of file wingdi.h.

◆ DM_TTOPTION

#define DM_TTOPTION   0x00004000

Definition at line 1264 of file wingdi.h.

◆ DM_UPDATE

#define DM_UPDATE   1

Definition at line 1232 of file wingdi.h.

◆ DM_YRESOLUTION

#define DM_YRESOLUTION   0x00002000

Definition at line 1263 of file wingdi.h.

◆ DMBIN_AUTO

#define DMBIN_AUTO   7

Definition at line 1191 of file wingdi.h.

◆ DMBIN_CASSETTE

#define DMBIN_CASSETTE   14

Definition at line 1196 of file wingdi.h.

◆ DMBIN_ENVELOPE

#define DMBIN_ENVELOPE   5

Definition at line 1189 of file wingdi.h.

◆ DMBIN_ENVMANUAL

#define DMBIN_ENVMANUAL   6

Definition at line 1190 of file wingdi.h.

◆ DMBIN_FIRST

#define DMBIN_FIRST   1

Definition at line 1183 of file wingdi.h.

◆ DMBIN_FORMSOURCE

#define DMBIN_FORMSOURCE   15

Definition at line 1197 of file wingdi.h.

◆ DMBIN_LARGECAPACITY

#define DMBIN_LARGECAPACITY   11

Definition at line 1195 of file wingdi.h.

◆ DMBIN_LARGEFMT

#define DMBIN_LARGEFMT   10

Definition at line 1194 of file wingdi.h.

◆ DMBIN_LAST

#define DMBIN_LAST   15

Definition at line 1198 of file wingdi.h.

◆ DMBIN_LOWER

#define DMBIN_LOWER   2

Definition at line 1186 of file wingdi.h.

◆ DMBIN_MANUAL

#define DMBIN_MANUAL   4

Definition at line 1188 of file wingdi.h.

◆ DMBIN_MIDDLE

#define DMBIN_MIDDLE   3

Definition at line 1187 of file wingdi.h.

◆ DMBIN_ONLYONE

#define DMBIN_ONLYONE   1

Definition at line 1185 of file wingdi.h.

◆ DMBIN_SMALLFMT

#define DMBIN_SMALLFMT   9

Definition at line 1193 of file wingdi.h.

◆ DMBIN_TRACTOR

#define DMBIN_TRACTOR   8

Definition at line 1192 of file wingdi.h.

◆ DMBIN_UPPER

#define DMBIN_UPPER   1

Definition at line 1184 of file wingdi.h.

◆ DMBIN_USER

#define DMBIN_USER   256

Definition at line 1199 of file wingdi.h.

◆ DMCOLLATE_FALSE

#define DMCOLLATE_FALSE   0

Definition at line 1213 of file wingdi.h.

◆ DMCOLLATE_TRUE

#define DMCOLLATE_TRUE   1

Definition at line 1214 of file wingdi.h.

◆ DMCOLOR_COLOR

#define DMCOLOR_COLOR   2

Definition at line 1205 of file wingdi.h.

◆ DMCOLOR_MONOCHROME

#define DMCOLOR_MONOCHROME   1

Definition at line 1204 of file wingdi.h.

◆ DMDFO_CENTER

#define DMDFO_CENTER   2

Definition at line 1224 of file wingdi.h.

◆ DMDFO_DEFAULT

#define DMDFO_DEFAULT   0

Definition at line 1222 of file wingdi.h.

◆ DMDFO_STRETCH

#define DMDFO_STRETCH   1

Definition at line 1223 of file wingdi.h.

◆ DMDISPLAYFLAGS_TEXTMODE

#define DMDISPLAYFLAGS_TEXTMODE   0x00000004

Definition at line 1229 of file wingdi.h.

◆ DMDITHER_COARSE

#define DMDITHER_COARSE   2

Definition at line 1299 of file wingdi.h.

◆ DMDITHER_ERRORDIFFUSION

#define DMDITHER_ERRORDIFFUSION   5

Definition at line 1302 of file wingdi.h.

◆ DMDITHER_FINE

#define DMDITHER_FINE   3

Definition at line 1300 of file wingdi.h.

◆ DMDITHER_GRAYSCALE

#define DMDITHER_GRAYSCALE   10

Definition at line 1307 of file wingdi.h.

◆ DMDITHER_LINEART

#define DMDITHER_LINEART   4

Definition at line 1301 of file wingdi.h.

◆ DMDITHER_NONE

#define DMDITHER_NONE   1

Definition at line 1298 of file wingdi.h.

◆ DMDITHER_RESERVED6

#define DMDITHER_RESERVED6   6

Definition at line 1303 of file wingdi.h.

◆ DMDITHER_RESERVED7

#define DMDITHER_RESERVED7   7

Definition at line 1304 of file wingdi.h.

◆ DMDITHER_RESERVED8

#define DMDITHER_RESERVED8   8

Definition at line 1305 of file wingdi.h.

◆ DMDITHER_RESERVED9

#define DMDITHER_RESERVED9   9

Definition at line 1306 of file wingdi.h.

◆ DMDITHER_USER

#define DMDITHER_USER   256

Definition at line 1308 of file wingdi.h.

◆ DMDO_180

#define DMDO_180   2

Definition at line 1219 of file wingdi.h.

◆ DMDO_270

#define DMDO_270   3

Definition at line 1220 of file wingdi.h.

◆ DMDO_90

#define DMDO_90   1

Definition at line 1218 of file wingdi.h.

◆ DMDO_DEFAULT

#define DMDO_DEFAULT   0

Definition at line 1217 of file wingdi.h.

◆ DMDUP_HORIZONTAL

#define DMDUP_HORIZONTAL   3

Definition at line 1208 of file wingdi.h.

◆ DMDUP_SIMPLEX

#define DMDUP_SIMPLEX   1

Definition at line 1206 of file wingdi.h.

◆ DMDUP_VERTICAL

#define DMDUP_VERTICAL   2

Definition at line 1207 of file wingdi.h.

◆ DMICM_COLORMETRIC

#define DMICM_COLORMETRIC   3

Definition at line 1292 of file wingdi.h.

◆ DMICM_CONTRAST

#define DMICM_CONTRAST   2

Definition at line 1291 of file wingdi.h.

◆ DMICM_SATURATE

#define DMICM_SATURATE   1

Definition at line 1290 of file wingdi.h.

◆ DMICM_USER

#define DMICM_USER   256

Definition at line 1293 of file wingdi.h.

◆ DMICMMETHOD_DEVICE

#define DMICMMETHOD_DEVICE   4

Definition at line 1288 of file wingdi.h.

◆ DMICMMETHOD_DRIVER

#define DMICMMETHOD_DRIVER   3

Definition at line 1287 of file wingdi.h.

◆ DMICMMETHOD_NONE

#define DMICMMETHOD_NONE   1

Definition at line 1285 of file wingdi.h.

◆ DMICMMETHOD_SYSTEM

#define DMICMMETHOD_SYSTEM   2

Definition at line 1286 of file wingdi.h.

◆ DMICMMETHOD_USER

#define DMICMMETHOD_USER   256

Definition at line 1289 of file wingdi.h.

◆ DMMEDIA_GLOSSY

#define DMMEDIA_GLOSSY   3

Definition at line 1296 of file wingdi.h.

◆ DMMEDIA_STANDARD

#define DMMEDIA_STANDARD   1

Definition at line 1294 of file wingdi.h.

◆ DMMEDIA_TRANSPARENCY

#define DMMEDIA_TRANSPARENCY   2

Definition at line 1295 of file wingdi.h.

◆ DMMEDIA_USER

#define DMMEDIA_USER   256

Definition at line 1297 of file wingdi.h.

◆ DMORIENT_LANDSCAPE

#define DMORIENT_LANDSCAPE   2

Definition at line 1111 of file wingdi.h.

◆ DMORIENT_PORTRAIT

#define DMORIENT_PORTRAIT   1

Definition at line 1110 of file wingdi.h.

◆ DMPAPER_10X11

#define DMPAPER_10X11   45

Definition at line 1157 of file wingdi.h.

◆ DMPAPER_10X14

#define DMPAPER_10X14   16

Definition at line 1128 of file wingdi.h.

◆ DMPAPER_11X17

#define DMPAPER_11X17   17

Definition at line 1129 of file wingdi.h.

◆ DMPAPER_15X11

#define DMPAPER_15X11   46

Definition at line 1158 of file wingdi.h.

◆ DMPAPER_9X11

#define DMPAPER_9X11   44

Definition at line 1156 of file wingdi.h.

◆ DMPAPER_A2

#define DMPAPER_A2   66

Definition at line 1178 of file wingdi.h.

◆ DMPAPER_A3

#define DMPAPER_A3   8

Definition at line 1120 of file wingdi.h.

◆ DMPAPER_A3_EXTRA

#define DMPAPER_A3_EXTRA   63

Definition at line 1175 of file wingdi.h.

◆ DMPAPER_A3_EXTRA_TRANSVERSE

#define DMPAPER_A3_EXTRA_TRANSVERSE   68

Definition at line 1180 of file wingdi.h.

◆ DMPAPER_A3_TRANSVERSE

#define DMPAPER_A3_TRANSVERSE   67

Definition at line 1179 of file wingdi.h.

◆ DMPAPER_A4

#define DMPAPER_A4   9

Definition at line 1121 of file wingdi.h.

◆ DMPAPER_A4_EXTRA

#define DMPAPER_A4_EXTRA   53

Definition at line 1165 of file wingdi.h.

◆ DMPAPER_A4_PLUS

#define DMPAPER_A4_PLUS   60

Definition at line 1172 of file wingdi.h.

◆ DMPAPER_A4_TRANSVERSE

#define DMPAPER_A4_TRANSVERSE   55

Definition at line 1167 of file wingdi.h.

◆ DMPAPER_A4SMALL

#define DMPAPER_A4SMALL   10

Definition at line 1122 of file wingdi.h.

◆ DMPAPER_A5

#define DMPAPER_A5   11

Definition at line 1123 of file wingdi.h.

◆ DMPAPER_A5_EXTRA

#define DMPAPER_A5_EXTRA   64

Definition at line 1176 of file wingdi.h.

◆ DMPAPER_A5_TRANSVERSE

#define DMPAPER_A5_TRANSVERSE   61

Definition at line 1173 of file wingdi.h.

◆ DMPAPER_A_PLUS

#define DMPAPER_A_PLUS   57

Definition at line 1169 of file wingdi.h.

◆ DMPAPER_B4

#define DMPAPER_B4   12

Definition at line 1124 of file wingdi.h.

◆ DMPAPER_B5

#define DMPAPER_B5   13

Definition at line 1125 of file wingdi.h.

◆ DMPAPER_B5_EXTRA

#define DMPAPER_B5_EXTRA   65

Definition at line 1177 of file wingdi.h.

◆ DMPAPER_B5_TRANSVERSE

#define DMPAPER_B5_TRANSVERSE   62

Definition at line 1174 of file wingdi.h.

◆ DMPAPER_B_PLUS

#define DMPAPER_B_PLUS   58

Definition at line 1170 of file wingdi.h.

◆ DMPAPER_CSHEET

#define DMPAPER_CSHEET   24

Definition at line 1136 of file wingdi.h.

◆ DMPAPER_DSHEET

#define DMPAPER_DSHEET   25

Definition at line 1137 of file wingdi.h.

◆ DMPAPER_ENV_10

#define DMPAPER_ENV_10   20

Definition at line 1132 of file wingdi.h.

◆ DMPAPER_ENV_11

#define DMPAPER_ENV_11   21

Definition at line 1133 of file wingdi.h.

◆ DMPAPER_ENV_12

#define DMPAPER_ENV_12   22

Definition at line 1134 of file wingdi.h.

◆ DMPAPER_ENV_14

#define DMPAPER_ENV_14   23

Definition at line 1135 of file wingdi.h.

◆ DMPAPER_ENV_9

#define DMPAPER_ENV_9   19

Definition at line 1131 of file wingdi.h.

◆ DMPAPER_ENV_B4

#define DMPAPER_ENV_B4   33

Definition at line 1145 of file wingdi.h.

◆ DMPAPER_ENV_B5

#define DMPAPER_ENV_B5   34

Definition at line 1146 of file wingdi.h.

◆ DMPAPER_ENV_B6

#define DMPAPER_ENV_B6   35

Definition at line 1147 of file wingdi.h.

◆ DMPAPER_ENV_C3

#define DMPAPER_ENV_C3   29

Definition at line 1141 of file wingdi.h.

◆ DMPAPER_ENV_C4

#define DMPAPER_ENV_C4   30

Definition at line 1142 of file wingdi.h.

◆ DMPAPER_ENV_C5

#define DMPAPER_ENV_C5   28

Definition at line 1140 of file wingdi.h.

◆ DMPAPER_ENV_C6

#define DMPAPER_ENV_C6   31

Definition at line 1143 of file wingdi.h.

◆ DMPAPER_ENV_C65

#define DMPAPER_ENV_C65   32

Definition at line 1144 of file wingdi.h.

◆ DMPAPER_ENV_DL

#define DMPAPER_ENV_DL   27

Definition at line 1139 of file wingdi.h.

◆ DMPAPER_ENV_INVITE

#define DMPAPER_ENV_INVITE   47

Definition at line 1159 of file wingdi.h.

◆ DMPAPER_ENV_ITALY

#define DMPAPER_ENV_ITALY   36

Definition at line 1148 of file wingdi.h.

◆ DMPAPER_ENV_MONARCH

#define DMPAPER_ENV_MONARCH   37

Definition at line 1149 of file wingdi.h.

◆ DMPAPER_ENV_PERSONAL

#define DMPAPER_ENV_PERSONAL   38

Definition at line 1150 of file wingdi.h.

◆ DMPAPER_ESHEET

#define DMPAPER_ESHEET   26

Definition at line 1138 of file wingdi.h.

◆ DMPAPER_EXECUTIVE

#define DMPAPER_EXECUTIVE   7

Definition at line 1119 of file wingdi.h.

◆ DMPAPER_FANFOLD_LGL_GERMAN

#define DMPAPER_FANFOLD_LGL_GERMAN   41

Definition at line 1153 of file wingdi.h.

◆ DMPAPER_FANFOLD_STD_GERMAN

#define DMPAPER_FANFOLD_STD_GERMAN   40

Definition at line 1152 of file wingdi.h.

◆ DMPAPER_FANFOLD_US

#define DMPAPER_FANFOLD_US   39

Definition at line 1151 of file wingdi.h.

◆ DMPAPER_FIRST

#define DMPAPER_FIRST   1

Definition at line 1112 of file wingdi.h.

◆ DMPAPER_FOLIO

#define DMPAPER_FOLIO   14

Definition at line 1126 of file wingdi.h.

◆ DMPAPER_ISO_B4

#define DMPAPER_ISO_B4   42

Definition at line 1154 of file wingdi.h.

◆ DMPAPER_JAPANESE_POSTCARD

#define DMPAPER_JAPANESE_POSTCARD   43

Definition at line 1155 of file wingdi.h.

◆ DMPAPER_LAST

#define DMPAPER_LAST   68

Definition at line 1181 of file wingdi.h.

◆ DMPAPER_LEDGER

#define DMPAPER_LEDGER   4

Definition at line 1116 of file wingdi.h.

◆ DMPAPER_LEGAL

#define DMPAPER_LEGAL   5

Definition at line 1117 of file wingdi.h.

◆ DMPAPER_LEGAL_EXTRA

#define DMPAPER_LEGAL_EXTRA   51

Definition at line 1163 of file wingdi.h.

◆ DMPAPER_LETTER

#define DMPAPER_LETTER   1

Definition at line 1113 of file wingdi.h.

◆ DMPAPER_LETTER_EXTRA

#define DMPAPER_LETTER_EXTRA   50

Definition at line 1162 of file wingdi.h.

◆ DMPAPER_LETTER_EXTRA_TRANSVERSE

#define DMPAPER_LETTER_EXTRA_TRANSVERSE   56

Definition at line 1168 of file wingdi.h.

◆ DMPAPER_LETTER_PLUS

#define DMPAPER_LETTER_PLUS   59

Definition at line 1171 of file wingdi.h.

◆ DMPAPER_LETTER_TRANSVERSE

#define DMPAPER_LETTER_TRANSVERSE   54

Definition at line 1166 of file wingdi.h.

◆ DMPAPER_LETTERSMALL

#define DMPAPER_LETTERSMALL   2

Definition at line 1114 of file wingdi.h.

◆ DMPAPER_NOTE

#define DMPAPER_NOTE   18

Definition at line 1130 of file wingdi.h.

◆ DMPAPER_QUARTO

#define DMPAPER_QUARTO   15

Definition at line 1127 of file wingdi.h.

◆ DMPAPER_RESERVED_48

#define DMPAPER_RESERVED_48   48

Definition at line 1160 of file wingdi.h.

◆ DMPAPER_RESERVED_49

#define DMPAPER_RESERVED_49   49

Definition at line 1161 of file wingdi.h.

◆ DMPAPER_STATEMENT

#define DMPAPER_STATEMENT   6

Definition at line 1118 of file wingdi.h.

◆ DMPAPER_TABLOID

#define DMPAPER_TABLOID   3

Definition at line 1115 of file wingdi.h.

◆ DMPAPER_TABLOID_EXTRA

#define DMPAPER_TABLOID_EXTRA   52

Definition at line 1164 of file wingdi.h.

◆ DMPAPER_USER

#define DMPAPER_USER   256

Definition at line 1182 of file wingdi.h.

◆ DMRES_DRAFT

#define DMRES_DRAFT   (-1)

Definition at line 1200 of file wingdi.h.

◆ DMRES_HIGH

#define DMRES_HIGH   (-4)

Definition at line 1203 of file wingdi.h.

◆ DMRES_LOW

#define DMRES_LOW   (-2)

Definition at line 1201 of file wingdi.h.

◆ DMRES_MEDIUM

#define DMRES_MEDIUM   (-3)

Definition at line 1202 of file wingdi.h.

◆ DMTT_BITMAP

#define DMTT_BITMAP   1

Definition at line 1209 of file wingdi.h.

◆ DMTT_DOWNLOAD

#define DMTT_DOWNLOAD   2

Definition at line 1210 of file wingdi.h.

◆ DMTT_DOWNLOAD_OUTLINE

#define DMTT_DOWNLOAD_OUTLINE   4

Definition at line 1212 of file wingdi.h.

◆ DMTT_SUBDEV

#define DMTT_SUBDEV   3

Definition at line 1211 of file wingdi.h.

◆ DOWNLOADFACE

#define DOWNLOADFACE   514

Definition at line 1041 of file wingdi.h.

◆ DOWNLOADHEADER

#define DOWNLOADHEADER   4111

Definition at line 1067 of file wingdi.h.

◆ DRAFT_QUALITY

#define DRAFT_QUALITY   1

Definition at line 437 of file wingdi.h.

◆ DRAFTMODE

#define DRAFTMODE   7

Definition at line 1000 of file wingdi.h.

◆ DRAWPATTERNRECT

#define DRAWPATTERNRECT   25

Definition at line 1020 of file wingdi.h.

◆ DRIVERVERSION

#define DRIVERVERSION   0

Definition at line 705 of file wingdi.h.

◆ DSTINVERT

#define DSTINVERT   0x550009

Definition at line 327 of file wingdi.h.

◆ DT_CHARSTREAM

#define DT_CHARSTREAM   4

Definition at line 711 of file wingdi.h.

◆ DT_DISPFILE

#define DT_DISPFILE   6

Definition at line 713 of file wingdi.h.

◆ DT_METAFILE

#define DT_METAFILE   5

Definition at line 712 of file wingdi.h.

◆ DT_PLOTTER

#define DT_PLOTTER   0

Definition at line 707 of file wingdi.h.

◆ DT_RASCAMERA

#define DT_RASCAMERA   3

Definition at line 710 of file wingdi.h.

◆ DT_RASDISPLAY

#define DT_RASDISPLAY   1

Definition at line 708 of file wingdi.h.

◆ DT_RASPRINTER

#define DT_RASPRINTER   2

Definition at line 709 of file wingdi.h.

◆ EASTEUROPE_CHARSET

#define EASTEUROPE_CHARSET   238

Definition at line 399 of file wingdi.h.

◆ EE_CHARSET

#define EE_CHARSET   238

Definition at line 398 of file wingdi.h.

◆ ELF_CULTURE_LATIN

#define ELF_CULTURE_LATIN   0

Definition at line 295 of file wingdi.h.

◆ ELF_VENDOR_SIZE

#define ELF_VENDOR_SIZE   4

Definition at line 293 of file wingdi.h.

◆ ELF_VERSION

#define ELF_VERSION   0

Definition at line 294 of file wingdi.h.

◆ EMR_ABORTPATH

#define EMR_ABORTPATH   68

Definition at line 142 of file wingdi.h.

◆ EMR_ANGLEARC

#define EMR_ANGLEARC   41

Definition at line 115 of file wingdi.h.

◆ EMR_ARC

#define EMR_ARC   45

Definition at line 119 of file wingdi.h.

◆ EMR_ARCTO

#define EMR_ARCTO   55

Definition at line 129 of file wingdi.h.

◆ EMR_BEGINPATH

#define EMR_BEGINPATH   59

Definition at line 133 of file wingdi.h.

◆ EMR_BITBLT

#define EMR_BITBLT   76

Definition at line 149 of file wingdi.h.

◆ EMR_CHORD

#define EMR_CHORD   46

Definition at line 120 of file wingdi.h.

◆ EMR_CLOSEFIGURE

#define EMR_CLOSEFIGURE   61

Definition at line 135 of file wingdi.h.

◆ EMR_CREATEBRUSHINDIRECT

#define EMR_CREATEBRUSHINDIRECT   39

Definition at line 113 of file wingdi.h.

◆ EMR_CREATECOLORSPACE

#define EMR_CREATECOLORSPACE   99

Definition at line 172 of file wingdi.h.

◆ EMR_CREATEDIBPATTERNBRUSHPT

#define EMR_CREATEDIBPATTERNBRUSHPT   94

Definition at line 167 of file wingdi.h.

◆ EMR_CREATEMONOBRUSH

#define EMR_CREATEMONOBRUSH   93

Definition at line 166 of file wingdi.h.

◆ EMR_CREATEPALETTE

#define EMR_CREATEPALETTE   49

Definition at line 123 of file wingdi.h.

◆ EMR_CREATEPEN

#define EMR_CREATEPEN   38

Definition at line 112 of file wingdi.h.

◆ EMR_DELETECOLORSPACE

#define EMR_DELETECOLORSPACE   101

Definition at line 174 of file wingdi.h.

◆ EMR_DELETEOBJECT

#define EMR_DELETEOBJECT   40

Definition at line 114 of file wingdi.h.

◆ EMR_ELLIPSE

#define EMR_ELLIPSE   42

Definition at line 116 of file wingdi.h.

◆ EMR_ENDPATH

#define EMR_ENDPATH   60

Definition at line 134 of file wingdi.h.

◆ EMR_EOF

#define EMR_EOF   14

Definition at line 88 of file wingdi.h.

◆ EMR_EXCLUDECLIPRECT

#define EMR_EXCLUDECLIPRECT   29

Definition at line 103 of file wingdi.h.

◆ EMR_EXTCREATEFONTINDIRECTW

#define EMR_EXTCREATEFONTINDIRECTW   82

Definition at line 155 of file wingdi.h.

◆ EMR_EXTCREATEPEN

#define EMR_EXTCREATEPEN   95

Definition at line 168 of file wingdi.h.

◆ EMR_EXTFLOODFILL

#define EMR_EXTFLOODFILL   53

Definition at line 127 of file wingdi.h.

◆ EMR_EXTSELECTCLIPRGN

#define EMR_EXTSELECTCLIPRGN   75

Definition at line 148 of file wingdi.h.

◆ EMR_EXTTEXTOUTA

#define EMR_EXTTEXTOUTA   83

Definition at line 156 of file wingdi.h.

◆ EMR_EXTTEXTOUTW

#define EMR_EXTTEXTOUTW   84

Definition at line 157 of file wingdi.h.

◆ EMR_FILLPATH

#define EMR_FILLPATH   62

Definition at line 136 of file wingdi.h.

◆ EMR_FILLRGN

#define EMR_FILLRGN   71

Definition at line 144 of file wingdi.h.

◆ EMR_FLATTENPATH

#define EMR_FLATTENPATH   65

Definition at line 139 of file wingdi.h.

◆ EMR_FRAMERGN

#define EMR_FRAMERGN   72

Definition at line 145 of file wingdi.h.

◆ EMR_GDICOMMENT

#define EMR_GDICOMMENT   70

Definition at line 143 of file wingdi.h.

◆ EMR_GLSBOUNDEDRECORD

#define EMR_GLSBOUNDEDRECORD   103

Definition at line 176 of file wingdi.h.

◆ EMR_GLSRECORD

#define EMR_GLSRECORD   102

Definition at line 175 of file wingdi.h.

◆ EMR_HEADER

#define EMR_HEADER   1

Definition at line 75 of file wingdi.h.

◆ EMR_INTERSECTCLIPRECT

#define EMR_INTERSECTCLIPRECT   30

Definition at line 104 of file wingdi.h.

◆ EMR_INVERTRGN

#define EMR_INVERTRGN   73

Definition at line 146 of file wingdi.h.

◆ EMR_LINETO

#define EMR_LINETO   54

Definition at line 128 of file wingdi.h.

◆ EMR_MASKBLT

#define EMR_MASKBLT   78

Definition at line 151 of file wingdi.h.

◆ EMR_MODIFYWORLDTRANSFORM

#define EMR_MODIFYWORLDTRANSFORM   36

Definition at line 110 of file wingdi.h.

◆ EMR_MOVETOEX

#define EMR_MOVETOEX   27

Definition at line 101 of file wingdi.h.

◆ EMR_OFFSETCLIPRGN

#define EMR_OFFSETCLIPRGN   26

Definition at line 100 of file wingdi.h.

◆ EMR_PAINTRGN

#define EMR_PAINTRGN   74

Definition at line 147 of file wingdi.h.

◆ EMR_PIE

#define EMR_PIE   47

Definition at line 121 of file wingdi.h.

◆ EMR_PIXELFORMAT

#define EMR_PIXELFORMAT   104

Definition at line 177 of file wingdi.h.

◆ EMR_PLGBLT

#define EMR_PLGBLT   79

Definition at line 152 of file wingdi.h.

◆ EMR_POLYBEZIER

#define EMR_POLYBEZIER   2

Definition at line 76 of file wingdi.h.

◆ EMR_POLYBEZIER16

#define EMR_POLYBEZIER16   85

Definition at line 158 of file wingdi.h.

◆ EMR_POLYBEZIERTO

#define EMR_POLYBEZIERTO   5

Definition at line 79 of file wingdi.h.

◆ EMR_POLYBEZIERTO16

#define EMR_POLYBEZIERTO16   88

Definition at line 161 of file wingdi.h.

◆ EMR_POLYDRAW

#define EMR_POLYDRAW   56

Definition at line 130 of file wingdi.h.

◆ EMR_POLYDRAW16

#define EMR_POLYDRAW16   92

Definition at line 165 of file wingdi.h.

◆ EMR_POLYGON

#define EMR_POLYGON   3

Definition at line 77 of file wingdi.h.

◆ EMR_POLYGON16

#define EMR_POLYGON16   86

Definition at line 159 of file wingdi.h.

◆ EMR_POLYLINE

#define EMR_POLYLINE   4

Definition at line 78 of file wingdi.h.

◆ EMR_POLYLINE16

#define EMR_POLYLINE16   87

Definition at line 160 of file wingdi.h.

◆ EMR_POLYLINETO

#define EMR_POLYLINETO   6

Definition at line 80 of file wingdi.h.

◆ EMR_POLYLINETO16

#define EMR_POLYLINETO16   89

Definition at line 162 of file wingdi.h.

◆ EMR_POLYPOLYGON

#define EMR_POLYPOLYGON   8

Definition at line 82 of file wingdi.h.

◆ EMR_POLYPOLYGON16

#define EMR_POLYPOLYGON16   91

Definition at line 164 of file wingdi.h.

◆ EMR_POLYPOLYLINE

#define EMR_POLYPOLYLINE   7

Definition at line 81 of file wingdi.h.

◆ EMR_POLYPOLYLINE16

#define EMR_POLYPOLYLINE16   90

Definition at line 163 of file wingdi.h.

◆ EMR_POLYTEXTOUTA

#define EMR_POLYTEXTOUTA   96

Definition at line 169 of file wingdi.h.

◆ EMR_POLYTEXTOUTW

#define EMR_POLYTEXTOUTW   97

Definition at line 170 of file wingdi.h.

◆ EMR_REALIZEPALETTE

#define EMR_REALIZEPALETTE   52

Definition at line 126 of file wingdi.h.

◆ EMR_RECTANGLE

#define EMR_RECTANGLE   43

Definition at line 117 of file wingdi.h.

◆ EMR_RESIZEPALETTE

#define EMR_RESIZEPALETTE   51

Definition at line 125 of file wingdi.h.

◆ EMR_RESTOREDC

#define EMR_RESTOREDC   34

Definition at line 108 of file wingdi.h.

◆ EMR_ROUNDRECT

#define EMR_ROUNDRECT   44

Definition at line 118 of file wingdi.h.

◆ EMR_SAVEDC

#define EMR_SAVEDC   33

Definition at line 107 of file wingdi.h.

◆ EMR_SCALEVIEWPORTEXTEX

#define EMR_SCALEVIEWPORTEXTEX   31

Definition at line 105 of file wingdi.h.

◆ EMR_SCALEWINDOWEXTEX

#define EMR_SCALEWINDOWEXTEX   32

Definition at line 106 of file wingdi.h.

◆ EMR_SELECTCLIPPATH

#define EMR_SELECTCLIPPATH   67

Definition at line 141 of file wingdi.h.

◆ EMR_SELECTOBJECT

#define EMR_SELECTOBJECT   37

Definition at line 111 of file wingdi.h.

◆ EMR_SELECTPALETTE

#define EMR_SELECTPALETTE   48

Definition at line 122 of file wingdi.h.

◆ EMR_SETARCDIRECTION

#define EMR_SETARCDIRECTION   57

Definition at line 131 of file wingdi.h.

◆ EMR_SETBKCOLOR

#define EMR_SETBKCOLOR   25

Definition at line 99 of file wingdi.h.

◆ EMR_SETBKMODE

#define EMR_SETBKMODE   18

Definition at line 92 of file wingdi.h.

◆ EMR_SETBRUSHORGEX

#define EMR_SETBRUSHORGEX   13

Definition at line 87 of file wingdi.h.

◆ EMR_SETCOLORADJUSTMENT

#define EMR_SETCOLORADJUSTMENT   23

Definition at line 97 of file wingdi.h.

◆ EMR_SETCOLORSPACE

#define EMR_SETCOLORSPACE   100

Definition at line 173 of file wingdi.h.

◆ EMR_SETDIBITSTODEVICE

#define EMR_SETDIBITSTODEVICE   80

Definition at line 153 of file wingdi.h.

◆ EMR_SETICMMODE

#define EMR_SETICMMODE   98

Definition at line 171 of file wingdi.h.

◆ EMR_SETMAPMODE

#define EMR_SETMAPMODE   17

Definition at line 91 of file wingdi.h.

◆ EMR_SETMAPPERFLAGS

#define EMR_SETMAPPERFLAGS   16

Definition at line 90 of file wingdi.h.

◆ EMR_SETMETARGN

#define EMR_SETMETARGN   28

Definition at line 102 of file wingdi.h.

◆ EMR_SETMITERLIMIT

#define EMR_SETMITERLIMIT   58

Definition at line 132 of file wingdi.h.

◆ EMR_SETPALETTEENTRIES

#define EMR_SETPALETTEENTRIES   50

Definition at line 124 of file wingdi.h.

◆ EMR_SETPIXELV

#define EMR_SETPIXELV   15

Definition at line 89 of file wingdi.h.

◆ EMR_SETPOLYFILLMODE

#define EMR_SETPOLYFILLMODE   19

Definition at line 93 of file wingdi.h.

◆ EMR_SETROP2

#define EMR_SETROP2   20

Definition at line 94 of file wingdi.h.

◆ EMR_SETSTRETCHBLTMODE

#define EMR_SETSTRETCHBLTMODE   21

Definition at line 95 of file wingdi.h.

◆ EMR_SETTEXTALIGN

#define EMR_SETTEXTALIGN   22

Definition at line 96 of file wingdi.h.

◆ EMR_SETTEXTCOLOR

#define EMR_SETTEXTCOLOR   24

Definition at line 98 of file wingdi.h.

◆ EMR_SETVIEWPORTEXTEX

#define EMR_SETVIEWPORTEXTEX   11

Definition at line 85 of file wingdi.h.

◆ EMR_SETVIEWPORTORGEX

#define EMR_SETVIEWPORTORGEX   12

Definition at line 86 of file wingdi.h.

◆ EMR_SETWINDOWEXTEX

#define EMR_SETWINDOWEXTEX   9

Definition at line 83 of file wingdi.h.

◆ EMR_SETWINDOWORGEX

#define EMR_SETWINDOWORGEX   10

Definition at line 84 of file wingdi.h.

◆ EMR_SETWORLDTRANSFORM

#define EMR_SETWORLDTRANSFORM   35

Definition at line 109 of file wingdi.h.

◆ EMR_STRETCHBLT

#define EMR_STRETCHBLT   77

Definition at line 150 of file wingdi.h.

◆ EMR_STRETCHDIBITS

#define EMR_STRETCHDIBITS   81

Definition at line 154 of file wingdi.h.

◆ EMR_STROKEANDFILLPATH

#define EMR_STROKEANDFILLPATH   63

Definition at line 137 of file wingdi.h.

◆ EMR_STROKEPATH

#define EMR_STROKEPATH   64

Definition at line 138 of file wingdi.h.

◆ EMR_WIDENPATH

#define EMR_WIDENPATH   66

Definition at line 140 of file wingdi.h.

◆ ENABLEDUPLEX

#define ENABLEDUPLEX   28

Definition at line 1023 of file wingdi.h.

◆ ENABLEPAIRKERNING

#define ENABLEPAIRKERNING   769

Definition at line 1043 of file wingdi.h.

◆ ENABLERELATIVEWIDTHS

#define ENABLERELATIVEWIDTHS   768

Definition at line 1042 of file wingdi.h.

◆ ENCAPSULATED_POSTSCRIPT

#define ENCAPSULATED_POSTSCRIPT   4116

Definition at line 1070 of file wingdi.h.

◆ END_PATH

#define END_PATH   4098

Definition at line 1053 of file wingdi.h.

◆ ENDDOC

#define ENDDOC   11

Definition at line 1004 of file wingdi.h.

◆ ENHMETA_SIGNATURE

#define ENHMETA_SIGNATURE   1179469088

Definition at line 204 of file wingdi.h.

◆ ENHMETA_STOCK_OBJECT

#define ENHMETA_STOCK_OBJECT   0x80000000

Definition at line 1323 of file wingdi.h.

◆ EnumFontFamilies

#define EnumFontFamilies   EnumFontFamiliesA

Definition at line 4450 of file wingdi.h.

◆ EnumFontFamiliesEx

#define EnumFontFamiliesEx   EnumFontFamiliesExA

Definition at line 4451 of file wingdi.h.

◆ EnumFonts

#define EnumFonts   EnumFontsA

Definition at line 4452 of file wingdi.h.

◆ EnumICMProfiles

#define EnumICMProfiles   EnumICMProfilesA

Definition at line 4453 of file wingdi.h.

◆ ENUMPAPERBINS

#define ENUMPAPERBINS   31

Definition at line 1026 of file wingdi.h.

◆ ENUMPAPERMETRICS

#define ENUMPAPERMETRICS   34

Definition at line 1029 of file wingdi.h.

◆ EPS_SIGNATURE

#define EPS_SIGNATURE   0x46535045

Definition at line 205 of file wingdi.h.

◆ EPSPRINTING

#define EPSPRINTING   33

Definition at line 1028 of file wingdi.h.

◆ ERROR

#define ERROR   0

Definition at line 364 of file wingdi.h.

◆ ETO_CLIPPED

#define ETO_CLIPPED   0x00004

Definition at line 648 of file wingdi.h.

◆ ETO_GRAYED

#define ETO_GRAYED   0x00001

Definition at line 646 of file wingdi.h.

◆ ETO_OPAQUE

#define ETO_OPAQUE   0x00002

Definition at line 647 of file wingdi.h.

◆ ETO_PDY

#define ETO_PDY   0x02000

Definition at line 657 of file wingdi.h.

◆ ETO_REVERSE_INDEX_MAP

#define ETO_REVERSE_INDEX_MAP   0x10000

Definition at line 660 of file wingdi.h.

◆ EXT_DEVICE_CAPS

#define EXT_DEVICE_CAPS   4099

Definition at line 1054 of file wingdi.h.

◆ EXTTEXTOUT

#define EXTTEXTOUT   512

Definition at line 1039 of file wingdi.h.

◆ ExtTextOut

#define ExtTextOut   ExtTextOutA

Definition at line 4454 of file wingdi.h.

◆ FF_DECORATIVE

#define FF_DECORATIVE   80

Definition at line 447 of file wingdi.h.

◆ FF_DONTCARE

#define FF_DONTCARE   0

Definition at line 448 of file wingdi.h.

◆ FF_MODERN

#define FF_MODERN   48

Definition at line 449 of file wingdi.h.

◆ FF_ROMAN

#define FF_ROMAN   16

Definition at line 450 of file wingdi.h.

◆ FF_SCRIPT

#define FF_SCRIPT   64

Definition at line 451 of file wingdi.h.

◆ FF_SWISS

#define FF_SWISS   32

Definition at line 452 of file wingdi.h.

◆ FIXED_PITCH

#define FIXED_PITCH   1

Definition at line 444 of file wingdi.h.

◆ FLI_GLYPHS

#define FLI_GLYPHS   0x40000

Definition at line 846 of file wingdi.h.

◆ FLI_MASK

#define FLI_MASK   0x103b

Definition at line 847 of file wingdi.h.

◆ FLOODFILLBORDER

#define FLOODFILLBORDER   0

Definition at line 644 of file wingdi.h.

◆ FLOODFILLSURFACE

#define FLOODFILLSURFACE   1

Definition at line 645 of file wingdi.h.

◆ FLUSHOUTPUT

#define FLUSHOUTPUT   6

Definition at line 999 of file wingdi.h.

◆ FONTMAPPER_MAX

#define FONTMAPPER_MAX   10

Definition at line 1322 of file wingdi.h.

◆ FS_ARABIC

#define FS_ARABIC   64

Definition at line 566 of file wingdi.h.

◆ FS_BALTIC

#define FS_BALTIC   128

Definition at line 567 of file wingdi.h.

◆ FS_CHINESESIMP

#define FS_CHINESESIMP   0x40000

Definition at line 571 of file wingdi.h.

◆ FS_CHINESETRAD

#define FS_CHINESETRAD   0x100000

Definition at line 573 of file wingdi.h.

◆ FS_CYRILLIC

#define FS_CYRILLIC   4

Definition at line 562 of file wingdi.h.

◆ FS_GREEK

#define FS_GREEK   8

Definition at line 563 of file wingdi.h.

◆ FS_HEBREW

#define FS_HEBREW   32

Definition at line 565 of file wingdi.h.

◆ FS_JISJAPAN

#define FS_JISJAPAN   0x20000

Definition at line 570 of file wingdi.h.

◆ FS_JOHAB

#define FS_JOHAB   0x200000

Definition at line 574 of file wingdi.h.

◆ FS_LATIN1

#define FS_LATIN1   1

Definition at line 560 of file wingdi.h.

◆ FS_LATIN2

#define FS_LATIN2   2

Definition at line 561 of file wingdi.h.

◆ FS_SYMBOL

#define FS_SYMBOL   0x80000000

Definition at line 575 of file wingdi.h.

◆ FS_THAI

#define FS_THAI   0x10000

Definition at line 569 of file wingdi.h.

◆ FS_TURKISH

#define FS_TURKISH   16

Definition at line 564 of file wingdi.h.

◆ FS_VIETNAMESE

#define FS_VIETNAMESE   256

Definition at line 568 of file wingdi.h.

◆ FS_WANSUNG

#define FS_WANSUNG   0x80000

Definition at line 572 of file wingdi.h.

◆ FW_BLACK

#define FW_BLACK   FW_HEAVY

Definition at line 382 of file wingdi.h.

◆ FW_BOLD

#define FW_BOLD   700

Definition at line 378 of file wingdi.h.

◆ FW_DEMIBOLD

#define FW_DEMIBOLD   FW_SEMIBOLD

Definition at line 377 of file wingdi.h.

◆ FW_DONTCARE

#define FW_DONTCARE   0

Definition at line 368 of file wingdi.h.

◆ FW_EXTRABOLD

#define FW_EXTRABOLD   800

Definition at line 379 of file wingdi.h.

◆ FW_EXTRALIGHT

#define FW_EXTRALIGHT   200

Definition at line 370 of file wingdi.h.

◆ FW_HEAVY

#define FW_HEAVY   900

Definition at line 381 of file wingdi.h.

◆ FW_LIGHT

#define FW_LIGHT   300

Definition at line 372 of file wingdi.h.

◆ FW_MEDIUM

#define FW_MEDIUM   500

Definition at line 375 of file wingdi.h.

◆ FW_NORMAL

#define FW_NORMAL   400

Definition at line 373 of file wingdi.h.

◆ FW_REGULAR

#define FW_REGULAR   400

Definition at line 374 of file wingdi.h.

◆ FW_SEMIBOLD

#define FW_SEMIBOLD   600

Definition at line 376 of file wingdi.h.

◆ FW_THIN

#define FW_THIN   100

Definition at line 369 of file wingdi.h.

◆ FW_ULTRABOLD

#define FW_ULTRABOLD   FW_EXTRABOLD

Definition at line 380 of file wingdi.h.

◆ FW_ULTRALIGHT

#define FW_ULTRALIGHT   FW_EXTRALIGHT

Definition at line 371 of file wingdi.h.

◆ GB2312_CHARSET

#define GB2312_CHARSET   134

Definition at line 389 of file wingdi.h.

◆ GCP_CLASSIN

#define GCP_CLASSIN   0x80000

Definition at line 830 of file wingdi.h.

◆ GCP_DBCS

#define GCP_DBCS   1

Definition at line 828 of file wingdi.h.

◆ GCP_DIACRITIC

#define GCP_DIACRITIC   256

Definition at line 831 of file wingdi.h.

◆ GCP_DISPLAYZWG

#define GCP_DISPLAYZWG   0x400000

Definition at line 832 of file wingdi.h.

◆ GCP_ERROR

#define GCP_ERROR   0x8000

Definition at line 829 of file wingdi.h.

◆ GCP_GLYPHSHAPE

#define GCP_GLYPHSHAPE   16

Definition at line 833 of file wingdi.h.

◆ GCP_JUSTIFY

#define GCP_JUSTIFY   0x10000

Definition at line 834 of file wingdi.h.

◆ GCP_JUSTIFYIN

#define GCP_JUSTIFYIN   0x200000

Definition at line 835 of file wingdi.h.

◆ GCP_KASHIDA

#define GCP_KASHIDA   1024

Definition at line 836 of file wingdi.h.

◆ GCP_LIGATE

#define GCP_LIGATE   32

Definition at line 837 of file wingdi.h.

◆ GCP_MAXEXTENT

#define GCP_MAXEXTENT   0x100000

Definition at line 838 of file wingdi.h.

◆ GCP_NEUTRALOVERRIDE

#define GCP_NEUTRALOVERRIDE   0x2000000

Definition at line 839 of file wingdi.h.

◆ GCP_NUMERICOVERRIDE

#define GCP_NUMERICOVERRIDE   0x1000000

Definition at line 840 of file wingdi.h.

◆ GCP_NUMERICSLATIN

#define GCP_NUMERICSLATIN   0x4000000

Definition at line 841 of file wingdi.h.

◆ GCP_NUMERICSLOCAL

#define GCP_NUMERICSLOCAL   0x8000000

Definition at line 842 of file wingdi.h.

◆ GCP_REORDER

#define GCP_REORDER   2

Definition at line 843 of file wingdi.h.

◆ GCP_SYMSWAPOFF

#define GCP_SYMSWAPOFF   0x800000

Definition at line 844 of file wingdi.h.

◆ GCP_USEKERNING

#define GCP_USEKERNING   8

Definition at line 845 of file wingdi.h.

◆ GCPCLASS_ARABIC

#define GCPCLASS_ARABIC   2

Definition at line 672 of file wingdi.h.

◆ GCPCLASS_HEBREW

#define GCPCLASS_HEBREW   2

Definition at line 671 of file wingdi.h.

◆ GCPCLASS_LATIN

#define GCPCLASS_LATIN   1

Definition at line 670 of file wingdi.h.

◆ GCPCLASS_LATINNUMBER

#define GCPCLASS_LATINNUMBER   5

Definition at line 675 of file wingdi.h.

◆ GCPCLASS_LATINNUMERICSEPARATOR

#define GCPCLASS_LATINNUMERICSEPARATOR   7

Definition at line 677 of file wingdi.h.

◆ GCPCLASS_LATINNUMERICTERMINATOR

#define GCPCLASS_LATINNUMERICTERMINATOR   6

Definition at line 676 of file wingdi.h.

◆ GCPCLASS_LOCALNUMBER

#define GCPCLASS_LOCALNUMBER   4

Definition at line 674 of file wingdi.h.

◆ GCPCLASS_NEUTRAL

#define GCPCLASS_NEUTRAL   3

Definition at line 673 of file wingdi.h.

◆ GCPCLASS_NUMERICSEPARATOR

#define GCPCLASS_NUMERICSEPARATOR   8

Definition at line 678 of file wingdi.h.

◆ GCPCLASS_POSTBOUNDLTR

#define GCPCLASS_POSTBOUNDLTR   32

Definition at line 681 of file wingdi.h.

◆ GCPCLASS_POSTBOUNDRTL

#define GCPCLASS_POSTBOUNDRTL   16

Definition at line 682 of file wingdi.h.

◆ GCPCLASS_PREBOUNDLTR

#define GCPCLASS_PREBOUNDLTR   128

Definition at line 679 of file wingdi.h.

◆ GCPCLASS_PREBOUNDRTL

#define GCPCLASS_PREBOUNDRTL   64

Definition at line 680 of file wingdi.h.

◆ GCPGLYPH_LINKAFTER

#define GCPGLYPH_LINKAFTER   0x4000

Definition at line 684 of file wingdi.h.

◆ GCPGLYPH_LINKBEFORE

#define GCPGLYPH_LINKBEFORE   0x8000

Definition at line 683 of file wingdi.h.

◆ GDI__DIBSIZE

#define GDI__DIBSIZE (   bi)    (GDI_DIBWIDTHBYTES(bi) * (DWORD)(bi).biHeight)

Definition at line 3226 of file wingdi.h.

◆ GDI_DIBSIZE

#define GDI_DIBSIZE (   bi)    ((bi).biHeight < 0 ? (-1) * (GDI__DIBSIZE(bi)) : GDI__DIBSIZE(bi))

Definition at line 3227 of file wingdi.h.

◆ GDI_DIBWIDTHBYTES

#define GDI_DIBWIDTHBYTES (   bi)    (DWORD)GDI_WIDTHBYTES((DWORD)(bi).biWidth * (DWORD)(bi).biBitCount)

Definition at line 3225 of file wingdi.h.

◆ GDI_ERROR

#define GDI_ERROR   0xFFFFFFFF

Definition at line 1309 of file wingdi.h.

◆ GDI_WIDTHBYTES

#define GDI_WIDTHBYTES (   bits)    ((DWORD)(((bits) + 31) & (~31)) / 8)

Definition at line 3224 of file wingdi.h.

◆ GDICOMMENT_BEGINGROUP

#define GDICOMMENT_BEGINGROUP   2

Definition at line 663 of file wingdi.h.

◆ GDICOMMENT_ENDGROUP

#define GDICOMMENT_ENDGROUP   3

Definition at line 664 of file wingdi.h.

◆ GDICOMMENT_IDENTIFIER

#define GDICOMMENT_IDENTIFIER   1128875079

Definition at line 666 of file wingdi.h.

◆ GDICOMMENT_MULTIFORMATS

#define GDICOMMENT_MULTIFORMATS   1073741828

Definition at line 665 of file wingdi.h.

◆ GDICOMMENT_WINDOWS_METAFILE

#define GDICOMMENT_WINDOWS_METAFILE   (-2147483647)

Definition at line 662 of file wingdi.h.

◆ GET_PS_FEATURESETTING

#define GET_PS_FEATURESETTING   4121

Definition at line 1075 of file wingdi.h.

◆ GetAValue

#define GetAValue (   rgb)    ((BYTE)((rgb)>>24))

Definition at line 2938 of file wingdi.h.

◆ GetBValue

#define GetBValue (   rgb)    ((BYTE)((rgb)>>16))

Definition at line 2937 of file wingdi.h.

◆ GetCharABCWidths

#define GetCharABCWidths   GetCharABCWidthsA

Definition at line 4458 of file wingdi.h.

◆ GetCharABCWidthsFloat

#define GetCharABCWidthsFloat   GetCharABCWidthsFloatA

Definition at line 4459 of file wingdi.h.

◆ GetCharacterPlacement

#define GetCharacterPlacement   GetCharacterPlacementA

Definition at line 4457 of file wingdi.h.

◆ GetCharWidth

#define GetCharWidth   GetCharWidthA

Definition at line 4456 of file wingdi.h.

◆ GetCharWidth32

#define GetCharWidth32   GetCharWidth32A

Definition at line 4460 of file wingdi.h.

◆ GetCharWidthFloat

#define GetCharWidthFloat   GetCharWidthFloatA

Definition at line 4455 of file wingdi.h.

◆ GETCOLORTABLE

#define GETCOLORTABLE   5

Definition at line 998 of file wingdi.h.

◆ GetCValue

#define GetCValue (   cmyk)    ((BYTE)((cmyk)>>24))

Definition at line 3458 of file wingdi.h.

◆ GETDEVICEUNITS

#define GETDEVICEUNITS   42

Definition at line 1034 of file wingdi.h.

◆ GetEnhMetaFile

#define GetEnhMetaFile   GetEnhMetaFileA

Definition at line 4461 of file wingdi.h.

◆ GetEnhMetaFileDescription

#define GetEnhMetaFileDescription   GetEnhMetaFileDescriptionA

Definition at line 4462 of file wingdi.h.

◆ GETEXTENDEDTEXTMETRICS

#define GETEXTENDEDTEXTMETRICS   256

Definition at line 1035 of file wingdi.h.

◆ GETEXTENTTABLE

#define GETEXTENTTABLE   257

Definition at line 1036 of file wingdi.h.

◆ GETFACENAME

#define GETFACENAME   513

Definition at line 1040 of file wingdi.h.

◆ GetGlyphOutline

#define GetGlyphOutline   GetGlyphOutlineA

Definition at line 4463 of file wingdi.h.

◆ GetGValue

#define GetGValue (   rgb)    ((BYTE)(((WORD)(rgb)) >> 8))

Definition at line 2936 of file wingdi.h.

◆ GetICMProfile

#define GetICMProfile   GetICMProfileA

Definition at line 4464 of file wingdi.h.

◆ GetKerningPairs

#define GetKerningPairs   GetKerningPairsA

Definition at line 4465 of file wingdi.h.

◆ GetKValue

#define GetKValue (   cmyk)    ((BYTE)(cmyk))

Definition at line 3455 of file wingdi.h.

◆ GetLogColorSpace

#define GetLogColorSpace   GetLogColorSpaceA

Definition at line 4466 of file wingdi.h.

◆ GetMetaFile

#define GetMetaFile   GetMetaFileA

Definition at line 4467 of file wingdi.h.

◆ GetMValue

#define GetMValue (   cmyk)    ((BYTE)((cmyk)>>16))

Definition at line 3457 of file wingdi.h.

◆ GetObject

#define GetObject   GetObjectA

Definition at line 4468 of file wingdi.h.

◆ GetOutlineTextMetrics

#define GetOutlineTextMetrics   GetOutlineTextMetricsA

Definition at line 4469 of file wingdi.h.

◆ GETPAIRKERNTABLE

#define GETPAIRKERNTABLE   258

Definition at line 1037 of file wingdi.h.

◆ GETPENWIDTH

#define GETPENWIDTH   16

Definition at line 1009 of file wingdi.h.

◆ GETPHYSPAGESIZE

#define GETPHYSPAGESIZE   12

Definition at line 1005 of file wingdi.h.

◆ GETPRINTINGOFFSET

#define GETPRINTINGOFFSET   13

Definition at line 1006 of file wingdi.h.

◆ GetRValue

#define GetRValue (   rgb)    ((BYTE)(rgb))

Definition at line 2935 of file wingdi.h.

◆ GETSCALINGFACTOR

#define GETSCALINGFACTOR   14

Definition at line 1007 of file wingdi.h.

◆ GETSETPAPERBINS

#define GETSETPAPERBINS   29

Definition at line 1024 of file wingdi.h.

◆ GETSETPAPERMETRICS

#define GETSETPAPERMETRICS   35

Definition at line 1030 of file wingdi.h.

◆ GETSETPRINTORIENT

#define GETSETPRINTORIENT   30

Definition at line 1025 of file wingdi.h.

◆ GETSETSCREENPARAMS

#define GETSETSCREENPARAMS   3072

Definition at line 1049 of file wingdi.h.

◆ GETTECHNOLGY

#define GETTECHNOLGY   20

Definition at line 1014 of file wingdi.h.

◆ GETTECHNOLOGY

#define GETTECHNOLOGY   20

Definition at line 1015 of file wingdi.h.

◆ GetTextExtentExPoint

#define GetTextExtentExPoint   GetTextExtentExPointA

Definition at line 4471 of file wingdi.h.

◆ GetTextExtentPoint

#define GetTextExtentPoint   GetTextExtentPointA

Definition at line 4470 of file wingdi.h.

◆ GetTextExtentPoint32

#define GetTextExtentPoint32   GetTextExtentPoint32A

Definition at line 4472 of file wingdi.h.

◆ GetTextFace

#define GetTextFace   GetTextFaceA

Definition at line 4473 of file wingdi.h.

◆ GetTextMetrics

#define GetTextMetrics   GetTextMetricsA

Definition at line 4474 of file wingdi.h.

◆ GETTRACKKERNTABLE

#define GETTRACKKERNTABLE   259

Definition at line 1038 of file wingdi.h.

◆ GETVECTORBRUSHSIZE

#define GETVECTORBRUSHSIZE   27

Definition at line 1022 of file wingdi.h.

◆ GETVECTORPENSIZE

#define GETVECTORPENSIZE   26

Definition at line 1021 of file wingdi.h.

◆ GetYValue

#define GetYValue (   cmyk)    ((BYTE)((cmyk)>> 8))

Definition at line 3456 of file wingdi.h.

◆ GGI_MARK_NONEXISTING_GLYPHS

#define GGI_MARK_NONEXISTING_GLYPHS   0X0001

Definition at line 1085 of file wingdi.h.

◆ GGO_BEZIER

#define GGO_BEZIER   3

Definition at line 851 of file wingdi.h.

◆ GGO_BITMAP

#define GGO_BITMAP   1

Definition at line 849 of file wingdi.h.

◆ GGO_GLYPH_INDEX

#define GGO_GLYPH_INDEX   128

Definition at line 855 of file wingdi.h.

◆ GGO_GRAY2_BITMAP

#define GGO_GRAY2_BITMAP   4

Definition at line 852 of file wingdi.h.

◆ GGO_GRAY4_BITMAP

#define GGO_GRAY4_BITMAP   5

Definition at line 853 of file wingdi.h.

◆ GGO_GRAY8_BITMAP

#define GGO_GRAY8_BITMAP   6

Definition at line 854 of file wingdi.h.

◆ GGO_METRICS

#define GGO_METRICS   0

Definition at line 848 of file wingdi.h.

◆ GGO_NATIVE

#define GGO_NATIVE   2

Definition at line 850 of file wingdi.h.

◆ GGO_UNHINTED

#define GGO_UNHINTED   256

Definition at line 856 of file wingdi.h.

◆ GM_ADVANCED

#define GM_ADVANCED   2

Definition at line 865 of file wingdi.h.

◆ GM_COMPATIBLE

#define GM_COMPATIBLE   1

Definition at line 864 of file wingdi.h.

◆ GM_LAST

#define GM_LAST   2

Definition at line 866 of file wingdi.h.

◆ GRAY_BRUSH

#define GRAY_BRUSH   2

Definition at line 898 of file wingdi.h.

◆ GREEK_CHARSET

#define GREEK_CHARSET   161

Definition at line 391 of file wingdi.h.

◆ GS_8BIT_INDICES

#define GS_8BIT_INDICES   0x00000001

Definition at line 1084 of file wingdi.h.

◆ HALFTONE

#define HALFTONE   4

Definition at line 955 of file wingdi.h.

◆ HANGEUL_CHARSET

#define HANGEUL_CHARSET   129

Definition at line 387 of file wingdi.h.

◆ HANGUL_CHARSET

#define HANGUL_CHARSET   129

Definition at line 388 of file wingdi.h.

◆ HEBREW_CHARSET

#define HEBREW_CHARSET   177

Definition at line 393 of file wingdi.h.

◆ HGDI_ERROR

#define HGDI_ERROR   ((HANDLE)GDI_ERROR)

Definition at line 1310 of file wingdi.h.

◆ HOLLOW_BRUSH

#define HOLLOW_BRUSH   5

Definition at line 899 of file wingdi.h.

◆ HORZRES

#define HORZRES   8

Definition at line 716 of file wingdi.h.

◆ HORZSIZE

#define HORZSIZE   4

Definition at line 714 of file wingdi.h.

◆ HS_API_MAX

#define HS_API_MAX   12

Definition at line 582 of file wingdi.h.

◆ HS_BDIAGONAL

#define HS_BDIAGONAL   3

Definition at line 576 of file wingdi.h.

◆ HS_CROSS

#define HS_CROSS   4

Definition at line 577 of file wingdi.h.

◆ HS_DIAGCROSS

#define HS_DIAGCROSS   5

Definition at line 578 of file wingdi.h.

◆ HS_FDIAGONAL

#define HS_FDIAGONAL   2

Definition at line 579 of file wingdi.h.

◆ HS_HORIZONTAL

#define HS_HORIZONTAL   0

Definition at line 580 of file wingdi.h.

◆ HS_VERTICAL

#define HS_VERTICAL   1

Definition at line 581 of file wingdi.h.

◆ ICM_OFF

#define ICM_OFF   1

Definition at line 982 of file wingdi.h.

◆ ICM_ON

#define ICM_ON   2

Definition at line 981 of file wingdi.h.

◆ ICM_QUERY

#define ICM_QUERY   3

Definition at line 983 of file wingdi.h.

◆ ICMENUMPROC

#define ICMENUMPROC   ICMENUMPROCA

Definition at line 4417 of file wingdi.h.

◆ ILLUMINANT_A

#define ILLUMINANT_A   1

Definition at line 45 of file wingdi.h.

◆ ILLUMINANT_B

#define ILLUMINANT_B   2

Definition at line 46 of file wingdi.h.

◆ ILLUMINANT_C

#define ILLUMINANT_C   3

Definition at line 47 of file wingdi.h.

◆ ILLUMINANT_D50

#define ILLUMINANT_D50   4

Definition at line 48 of file wingdi.h.

◆ ILLUMINANT_D55

#define ILLUMINANT_D55   5

Definition at line 49 of file wingdi.h.

◆ ILLUMINANT_D65

#define ILLUMINANT_D65   6

Definition at line 50 of file wingdi.h.

◆ ILLUMINANT_D75

#define ILLUMINANT_D75   7

Definition at line 51 of file wingdi.h.

◆ ILLUMINANT_DAYLIGHT

#define ILLUMINANT_DAYLIGHT   ILLUMINANT_C

Definition at line 55 of file wingdi.h.

◆ ILLUMINANT_DEVICE_DEFAULT

#define ILLUMINANT_DEVICE_DEFAULT   0

Definition at line 44 of file wingdi.h.

◆ ILLUMINANT_F2

#define ILLUMINANT_F2   8

Definition at line 52 of file wingdi.h.

◆ ILLUMINANT_FLUORESCENT

#define ILLUMINANT_FLUORESCENT   ILLUMINANT_F2

Definition at line 56 of file wingdi.h.

◆ ILLUMINANT_MAX_INDEX

#define ILLUMINANT_MAX_INDEX   ILLUMINANT_F2

Definition at line 53 of file wingdi.h.

◆ ILLUMINANT_NTSC

#define ILLUMINANT_NTSC   ILLUMINANT_C

Definition at line 57 of file wingdi.h.

◆ ILLUMINANT_TUNGSTEN

#define ILLUMINANT_TUNGSTEN   ILLUMINANT_A

Definition at line 54 of file wingdi.h.

◆ ISO10_CHARSET

#define ISO10_CHARSET   (BYTE)245 /* iso8859-10 */

Definition at line 412 of file wingdi.h.

◆ ISO3_CHARSET

#define ISO3_CHARSET   (BYTE)243 /* iso8859-3 */

Definition at line 410 of file wingdi.h.

◆ ISO4_CHARSET

#define ISO4_CHARSET   (BYTE)244 /* iso8859-4 */

Definition at line 411 of file wingdi.h.

◆ JOHAB_CHARSET

#define JOHAB_CHARSET   130

Definition at line 401 of file wingdi.h.

◆ KOI8_CHARSET

#define KOI8_CHARSET   (BYTE)242 /* koi8-{r,u,ru} */

Definition at line 409 of file wingdi.h.

◆ LAYOUT_BITMAPORIENTATIONPRESERVED

#define LAYOUT_BITMAPORIENTATIONPRESERVED   8

Definition at line 1375 of file wingdi.h.

◆ LAYOUT_BTT

#define LAYOUT_BTT   2

Definition at line 1372 of file wingdi.h.

◆ LAYOUT_LTR

#define LAYOUT_LTR   0

Definition at line 1370 of file wingdi.h.

◆ LAYOUT_ORIENTATIONMASK

#define LAYOUT_ORIENTATIONMASK   (LAYOUT_RTL | LAYOUT_BTT | LAYOUT_VBH)

Definition at line 1374 of file wingdi.h.

◆ LAYOUT_RTL

#define LAYOUT_RTL   1

Definition at line 1371 of file wingdi.h.

◆ LAYOUT_VBH

#define LAYOUT_VBH   4

Definition at line 1373 of file wingdi.h.

◆ LC_INTERIORS

#define LC_INTERIORS   128

Definition at line 778 of file wingdi.h.

◆ LC_MARKER

#define LC_MARKER   4

Definition at line 773 of file wingdi.h.

◆ LC_NONE

#define LC_NONE   0

Definition at line 771 of file wingdi.h.

◆ LC_POLYLINE

#define LC_POLYLINE   2

Definition at line 772 of file wingdi.h.

◆ LC_POLYMARKER

#define LC_POLYMARKER   8

Definition at line 774 of file wingdi.h.

◆ LC_STYLED

#define LC_STYLED   32

Definition at line 776 of file wingdi.h.

◆ LC_WIDE

#define LC_WIDE   16

Definition at line 775 of file wingdi.h.

◆ LC_WIDESTYLED

#define LC_WIDESTYLED   64

Definition at line 777 of file wingdi.h.

◆ LCS_CALIBRATED_RGB

#define LCS_CALIBRATED_RGB   0

Definition at line 1097 of file wingdi.h.

◆ LCS_DEVICE_CMYK

#define LCS_DEVICE_CMYK   2

Definition at line 1099 of file wingdi.h.

◆ LCS_DEVICE_RGB

#define LCS_DEVICE_RGB   1

Definition at line 1098 of file wingdi.h.

◆ LCS_GM_ABS_COLORIMETRIC

#define LCS_GM_ABS_COLORIMETRIC   8

Definition at line 1103 of file wingdi.h.

◆ LCS_GM_BUSINESS

#define LCS_GM_BUSINESS   1

Definition at line 1100 of file wingdi.h.

◆ LCS_GM_GRAPHICS

#define LCS_GM_GRAPHICS   2

Definition at line 1101 of file wingdi.h.

◆ LCS_GM_IMAGES

#define LCS_GM_IMAGES   4

Definition at line 1102 of file wingdi.h.

◆ LCS_SIGNATURE

#define LCS_SIGNATURE   0x50534F43

Definition at line 1104 of file wingdi.h.

◆ LCS_sRGB

#define LCS_sRGB   'sRGB'

Definition at line 1105 of file wingdi.h.

◆ LCS_WINDOWS_COLOR_SPACE

#define LCS_WINDOWS_COLOR_SPACE   'Win '

Definition at line 1106 of file wingdi.h.

◆ LF_FACESIZE

#define LF_FACESIZE   32

Definition at line 40 of file wingdi.h.

◆ LF_FULLFACESIZE

#define LF_FULLFACESIZE   64

◆ LINECAPS

#define LINECAPS   30

Definition at line 770 of file wingdi.h.

◆ LOGPIXELSX

#define LOGPIXELSX   88

Definition at line 718 of file wingdi.h.

◆ LOGPIXELSY

#define LOGPIXELSY   90

Definition at line 719 of file wingdi.h.

◆ LPD_DOUBLEBUFFER

#define LPD_DOUBLEBUFFER   1

Definition at line 1326 of file wingdi.h.

◆ LPD_SHARE_ACCUM

#define LPD_SHARE_ACCUM   256

Definition at line 1332 of file wingdi.h.

◆ LPD_SHARE_DEPTH

#define LPD_SHARE_DEPTH   64

Definition at line 1330 of file wingdi.h.

◆ LPD_SHARE_STENCIL

#define LPD_SHARE_STENCIL   128

Definition at line 1331 of file wingdi.h.

◆ LPD_STEREO

#define LPD_STEREO   2

Definition at line 1327 of file wingdi.h.

◆ LPD_SUPPORT_GDI

#define LPD_SUPPORT_GDI   16

Definition at line 1328 of file wingdi.h.

◆ LPD_SUPPORT_OPENGL

#define LPD_SUPPORT_OPENGL   32

Definition at line 1329 of file wingdi.h.

◆ LPD_SWAP_COPY

#define LPD_SWAP_COPY   1024

Definition at line 1334 of file wingdi.h.

◆ LPD_SWAP_EXCHANGE

#define LPD_SWAP_EXCHANGE   512

Definition at line 1333 of file wingdi.h.

◆ LPD_TRANSPARENT

#define LPD_TRANSPARENT   4096

Definition at line 1335 of file wingdi.h.

◆ LPD_TYPE_COLORINDEX

#define LPD_TYPE_COLORINDEX   1

Definition at line 1337 of file wingdi.h.

◆ LPD_TYPE_RGBA

#define LPD_TYPE_RGBA   0

Definition at line 1336 of file wingdi.h.

◆ LTGRAY_BRUSH

#define LTGRAY_BRUSH   1

Definition at line 900 of file wingdi.h.

◆ MAC_CHARSET

#define MAC_CHARSET   77

Definition at line 403 of file wingdi.h.

◆ MAKEPOINTS

#define MAKEPOINTS (   l)    (*((POINTS*)&(l)))

Definition at line 2945 of file wingdi.h.

◆ MAKEROP4

#define MAKEROP4 (   f,
  b 
)    (DWORD)((((b)<<8)&0xFF000000)|(f))

Definition at line 2946 of file wingdi.h.

◆ MAXSTRETCHBLTMODE

#define MAXSTRETCHBLTMODE   4

Definition at line 956 of file wingdi.h.

◆ MERGECOPY

#define MERGECOPY   0xC000CA

Definition at line 332 of file wingdi.h.

◆ MERGEPAINT

#define MERGEPAINT   0xBB0226

Definition at line 331 of file wingdi.h.

◆ META_ABORTDOC

#define META_ABORTDOC   0x0052

Definition at line 284 of file wingdi.h.

◆ META_ANIMATEPALETTE

#define META_ANIMATEPALETTE   0x436

Definition at line 263 of file wingdi.h.

◆ META_ARC

#define META_ARC   0x817

Definition at line 233 of file wingdi.h.

◆ META_BITBLT

#define META_BITBLT   0x922

Definition at line 244 of file wingdi.h.

◆ META_CHORD

#define META_CHORD   0x830

Definition at line 257 of file wingdi.h.

◆ META_CREATEBITMAP

#define META_CREATEBITMAP   0x06FE

Definition at line 288 of file wingdi.h.

◆ META_CREATEBITMAPINDIRECT

#define META_CREATEBITMAPINDIRECT   0x02FD

Definition at line 287 of file wingdi.h.

◆ META_CREATEBRUSH

#define META_CREATEBRUSH   0x00F8

Definition at line 286 of file wingdi.h.

◆ META_CREATEBRUSHINDIRECT

#define META_CREATEBRUSHINDIRECT   0x2FC

Definition at line 277 of file wingdi.h.

◆ META_CREATEFONTINDIRECT

#define META_CREATEFONTINDIRECT   0x2FB

Definition at line 276 of file wingdi.h.

◆ META_CREATEPALETTE

#define META_CREATEPALETTE   0xf7

Definition at line 273 of file wingdi.h.

◆ META_CREATEPATTERNBRUSH

#define META_CREATEPATTERNBRUSH   0x1F9

Definition at line 274 of file wingdi.h.

◆ META_CREATEPENINDIRECT

#define META_CREATEPENINDIRECT   0x2FA

Definition at line 275 of file wingdi.h.

◆ META_CREATEREGION

#define META_CREATEREGION   0x6FF

Definition at line 278 of file wingdi.h.

◆ META_DELETEOBJECT

#define META_DELETEOBJECT   0x1f0

Definition at line 272 of file wingdi.h.

◆ META_DIBBITBLT

#define META_DIBBITBLT   0x940

Definition at line 267 of file wingdi.h.

◆ META_DIBCREATEPATTERNBRUSH

#define META_DIBCREATEPATTERNBRUSH   0x142

Definition at line 269 of file wingdi.h.

◆ META_DIBSTRETCHBLT

#define META_DIBSTRETCHBLT   0xb41

Definition at line 268 of file wingdi.h.

◆ META_DRAWTEXT

#define META_DRAWTEXT   0x062F

Definition at line 279 of file wingdi.h.

◆ META_ELLIPSE

#define META_ELLIPSE   0x418

Definition at line 234 of file wingdi.h.

◆ META_ENDDOC

#define META_ENDDOC   0x005E

Definition at line 285 of file wingdi.h.

◆ META_ENDPAGE

#define META_ENDPAGE   0x0050

Definition at line 283 of file wingdi.h.

◆ META_ESCAPE

#define META_ESCAPE   0x626

Definition at line 248 of file wingdi.h.

◆ META_EXCLUDECLIPRECT

#define META_EXCLUDECLIPRECT   0x415

Definition at line 231 of file wingdi.h.

◆ META_EXTFLOODFILL

#define META_EXTFLOODFILL   0x548

Definition at line 271 of file wingdi.h.

◆ META_EXTTEXTOUT

#define META_EXTTEXTOUT   0xa32

Definition at line 259 of file wingdi.h.

◆ META_FILLREGION

#define META_FILLREGION   0x228

Definition at line 250 of file wingdi.h.

◆ META_FLOODFILL

#define META_FLOODFILL   0x419

Definition at line 235 of file wingdi.h.

◆ META_FRAMEREGION

#define META_FRAMEREGION   0x429

Definition at line 251 of file wingdi.h.

◆ META_INTERSECTCLIPRECT

#define META_INTERSECTCLIPRECT   0x416

Definition at line 232 of file wingdi.h.

◆ META_INVERTREGION

#define META_INVERTREGION   0x12A

Definition at line 252 of file wingdi.h.

◆ META_LINETO

#define META_LINETO   0x213

Definition at line 229 of file wingdi.h.

◆ META_MOVETO

#define META_MOVETO   0x214

Definition at line 230 of file wingdi.h.

◆ META_OFFSETCLIPRGN

#define META_OFFSETCLIPRGN   0x220

Definition at line 242 of file wingdi.h.

◆ META_OFFSETVIEWPORTORG

#define META_OFFSETVIEWPORTORG   0x211

Definition at line 227 of file wingdi.h.

◆ META_OFFSETWINDOWORG

#define META_OFFSETWINDOWORG   0x20F

Definition at line 225 of file wingdi.h.

◆ META_PAINTREGION

#define META_PAINTREGION   0x12B

Definition at line 253 of file wingdi.h.

◆ META_PATBLT

#define META_PATBLT   0x61D

Definition at line 239 of file wingdi.h.

◆ META_PIE

#define META_PIE   0x81A

Definition at line 236 of file wingdi.h.

◆ META_POLYGON

#define META_POLYGON   0x324

Definition at line 246 of file wingdi.h.

◆ META_POLYLINE

#define META_POLYLINE   0x325

Definition at line 247 of file wingdi.h.

◆ META_POLYPOLYGON

#define META_POLYPOLYGON   0x538

Definition at line 265 of file wingdi.h.

◆ META_REALIZEPALETTE

#define META_REALIZEPALETTE   0x35

Definition at line 262 of file wingdi.h.

◆ META_RECTANGLE

#define META_RECTANGLE   0x41B

Definition at line 237 of file wingdi.h.

◆ META_RESETDC

#define META_RESETDC   0x014C

Definition at line 280 of file wingdi.h.

◆ META_RESIZEPALETTE

#define META_RESIZEPALETTE   0x139

Definition at line 266 of file wingdi.h.

◆ META_RESTOREDC

#define META_RESTOREDC   0x127

Definition at line 249 of file wingdi.h.

◆ META_ROUNDRECT

#define META_ROUNDRECT   0x61C

Definition at line 238 of file wingdi.h.

◆ META_SAVEDC

#define META_SAVEDC   0x1E

Definition at line 240 of file wingdi.h.

◆ META_SCALEVIEWPORTEXT

#define META_SCALEVIEWPORTEXT   0x412

Definition at line 228 of file wingdi.h.

◆ META_SCALEWINDOWEXT

#define META_SCALEWINDOWEXT   0x410

Definition at line 226 of file wingdi.h.

◆ META_SELECTCLIPREGION

#define META_SELECTCLIPREGION   0x12C

Definition at line 254 of file wingdi.h.

◆ META_SELECTOBJECT

#define META_SELECTOBJECT   0x12D

Definition at line 255 of file wingdi.h.

◆ META_SELECTPALETTE

#define META_SELECTPALETTE   0x234

Definition at line 261 of file wingdi.h.

◆ META_SETBKCOLOR

#define META_SETBKCOLOR   0x201

Definition at line 210 of file wingdi.h.

◆ META_SETBKMODE

#define META_SETBKMODE   0x102

Definition at line 211 of file wingdi.h.

◆ META_SETDIBTODEV

#define META_SETDIBTODEV   0xd33

Definition at line 260 of file wingdi.h.

◆ META_SETLAYOUT

#define META_SETLAYOUT   0x149

Definition at line 218 of file wingdi.h.

◆ META_SETMAPMODE

#define META_SETMAPMODE   0x103

Definition at line 212 of file wingdi.h.

◆ META_SETMAPPERFLAGS

#define META_SETMAPPERFLAGS   0x231

Definition at line 258 of file wingdi.h.

◆ META_SETPALENTRIES

#define META_SETPALENTRIES   0x37

Definition at line 264 of file wingdi.h.

◆ META_SETPIXEL

#define META_SETPIXEL   0x41F

Definition at line 241 of file wingdi.h.

◆ META_SETPOLYFILLMODE

#define META_SETPOLYFILLMODE   0x106

Definition at line 215 of file wingdi.h.

◆ META_SETRELABS

#define META_SETRELABS   0x105

Definition at line 214 of file wingdi.h.

◆ META_SETROP2

#define META_SETROP2   0x104

Definition at line 213 of file wingdi.h.

◆ META_SETSTRETCHBLTMODE

#define META_SETSTRETCHBLTMODE   0x107

Definition at line 216 of file wingdi.h.

◆ META_SETTEXTALIGN

#define META_SETTEXTALIGN   0x12E

Definition at line 256 of file wingdi.h.

◆ META_SETTEXTCHAREXTRA

#define META_SETTEXTCHAREXTRA   0x108

Definition at line 217 of file wingdi.h.

◆ META_SETTEXTCOLOR

#define META_SETTEXTCOLOR   0x209

Definition at line 219 of file wingdi.h.

◆ META_SETTEXTJUSTIFICATION

#define META_SETTEXTJUSTIFICATION   0x20A

Definition at line 220 of file wingdi.h.

◆ META_SETVIEWPORTEXT

#define META_SETVIEWPORTEXT   0x20E

Definition at line 224 of file wingdi.h.

◆ META_SETVIEWPORTORG

#define META_SETVIEWPORTORG   0x20D

Definition at line 223 of file wingdi.h.

◆ META_SETWINDOWEXT

#define META_SETWINDOWEXT   0x20C

Definition at line 222 of file wingdi.h.

◆ META_SETWINDOWORG

#define META_SETWINDOWORG   0x20B

Definition at line 221 of file wingdi.h.

◆ META_STARTDOC

#define META_STARTDOC   0x014D

Definition at line 281 of file wingdi.h.

◆ META_STARTPAGE

#define META_STARTPAGE   0x004F

Definition at line 282 of file wingdi.h.

◆ META_STRETCHBLT

#define META_STRETCHBLT   0xB23

Definition at line 245 of file wingdi.h.

◆ META_STRETCHDIB

#define META_STRETCHDIB   0xf43

Definition at line 270 of file wingdi.h.

◆ META_TEXTOUT

#define META_TEXTOUT   0x521

Definition at line 243 of file wingdi.h.

◆ METAFILE_DRIVER

#define METAFILE_DRIVER   2049

Definition at line 1048 of file wingdi.h.

◆ MFCOMMENT

#define MFCOMMENT   15

Definition at line 1008 of file wingdi.h.

◆ MM_ANISOTROPIC

#define MM_ANISOTROPIC   8

Definition at line 867 of file wingdi.h.

◆ MM_HIENGLISH

#define MM_HIENGLISH   5

Definition at line 868 of file wingdi.h.

◆ MM_HIMETRIC

#define MM_HIMETRIC   3

Definition at line 869 of file wingdi.h.

◆ MM_ISOTROPIC

#define MM_ISOTROPIC   7

Definition at line 870 of file wingdi.h.

◆ MM_LOENGLISH

#define MM_LOENGLISH   4

Definition at line 871 of file wingdi.h.

◆ MM_LOMETRIC

#define MM_LOMETRIC   2

Definition at line 872 of file wingdi.h.

◆ MM_MAX

#define MM_MAX   MM_ANISOTROPIC

Definition at line 877 of file wingdi.h.

◆ MM_MAX_AXES_NAMELEN

#define MM_MAX_AXES_NAMELEN   16

Definition at line 2824 of file wingdi.h.

◆ MM_MAX_FIXEDSCALE

#define MM_MAX_FIXEDSCALE   MM_TWIPS

Definition at line 875 of file wingdi.h.

◆ MM_MAX_NUMAXES

#define MM_MAX_NUMAXES   16

Definition at line 2766 of file wingdi.h.

◆ MM_MIN

#define MM_MIN   MM_TEXT

Definition at line 876 of file wingdi.h.

◆ MM_TEXT

#define MM_TEXT   1

Definition at line 873 of file wingdi.h.

◆ MM_TWIPS

#define MM_TWIPS   6

Definition at line 874 of file wingdi.h.

◆ MONO_FONT

#define MONO_FONT   8

Definition at line 446 of file wingdi.h.

◆ MOUSETRAILS

#define MOUSETRAILS   39

Definition at line 1033 of file wingdi.h.

◆ MWT_IDENTITY

#define MWT_IDENTITY   1

Definition at line 944 of file wingdi.h.

◆ MWT_LEFTMULTIPLY

#define MWT_LEFTMULTIPLY   2

Definition at line 945 of file wingdi.h.

◆ MWT_MAX

#define MWT_MAX   MWT_RIGHTMULTIPLY

Definition at line 948 of file wingdi.h.

◆ MWT_MIN

#define MWT_MIN   MWT_IDENTITY

Definition at line 947 of file wingdi.h.

◆ MWT_RIGHTMULTIPLY

#define MWT_RIGHTMULTIPLY   3

Definition at line 946 of file wingdi.h.

◆ NEWFRAME

#define NEWFRAME   1

Definition at line 994 of file wingdi.h.

◆ NEXTBAND

#define NEXTBAND   3

Definition at line 996 of file wingdi.h.

◆ NOMIRRORBITMAP

#define NOMIRRORBITMAP   0x80000000

Definition at line 1377 of file wingdi.h.

◆ NONANTIALIASED_QUALITY

#define NONANTIALIASED_QUALITY   3

Definition at line 439 of file wingdi.h.

◆ NOTSRCCOPY

#define NOTSRCCOPY   0x330008

Definition at line 325 of file wingdi.h.

◆ NOTSRCERASE

#define NOTSRCERASE   0x1100A6

Definition at line 324 of file wingdi.h.

◆ NTM_BOLD

#define NTM_BOLD   32

Definition at line 1316 of file wingdi.h.

◆ NTM_DSIG

#define NTM_DSIG   0x00200000

Definition at line 30 of file wingdi.h.

◆ NTM_ITALIC

#define NTM_ITALIC   1

Definition at line 1315 of file wingdi.h.

◆ NTM_MULTIPLEMASTER

#define NTM_MULTIPLEMASTER   0x00080000

Definition at line 28 of file wingdi.h.

◆ NTM_NONNEGATIVE_AC

#define NTM_NONNEGATIVE_AC   0x00010000

Definition at line 25 of file wingdi.h.

◆ NTM_PS_OPENTYPE

#define NTM_PS_OPENTYPE   0x00020000

Definition at line 26 of file wingdi.h.

◆ NTM_REGULAR

#define NTM_REGULAR   64

Definition at line 1317 of file wingdi.h.

◆ NTM_TT_OPENTYPE

#define NTM_TT_OPENTYPE   0x00040000

Definition at line 27 of file wingdi.h.

◆ NTM_TYPE1

#define NTM_TYPE1   0x00100000

Definition at line 29 of file wingdi.h.

◆ NULL_BRUSH

#define NULL_BRUSH   5

Definition at line 901 of file wingdi.h.

◆ NULL_PEN

#define NULL_PEN   8

Definition at line 904 of file wingdi.h.

◆ NULLREGION

#define NULLREGION   1

Definition at line 361 of file wingdi.h.

◆ NUMBRUSHES

#define NUMBRUSHES   16

Definition at line 722 of file wingdi.h.

◆ NUMCOLORS

#define NUMCOLORS   24

Definition at line 725 of file wingdi.h.

◆ NUMFONTS

#define NUMFONTS   22

Definition at line 724 of file wingdi.h.

◆ NUMMARKERS

#define NUMMARKERS   20

Definition at line 726 of file wingdi.h.

◆ NUMPENS

#define NUMPENS   18

Definition at line 723 of file wingdi.h.

◆ NUMRESERVED

#define NUMRESERVED   106

Definition at line 733 of file wingdi.h.

◆ OBJ_BITMAP

#define OBJ_BITMAP   7

Definition at line 695 of file wingdi.h.

◆ OBJ_BRUSH

#define OBJ_BRUSH   2

Definition at line 691 of file wingdi.h.

◆ OBJ_COLORSPACE

#define OBJ_COLORSPACE   14

Definition at line 704 of file wingdi.h.

◆ OBJ_DC

#define OBJ_DC   3

Definition at line 698 of file wingdi.h.

◆ OBJ_ENHMETADC

#define OBJ_ENHMETADC   12

Definition at line 703 of file wingdi.h.

◆ OBJ_ENHMETAFILE

#define OBJ_ENHMETAFILE   13

Definition at line 702 of file wingdi.h.

◆ OBJ_EXTPEN

#define OBJ_EXTPEN   11

Definition at line 696 of file wingdi.h.

◆ OBJ_FONT

#define OBJ_FONT   6

Definition at line 694 of file wingdi.h.

◆ OBJ_MEMDC

#define OBJ_MEMDC   10

Definition at line 699 of file wingdi.h.

◆ OBJ_METADC

#define OBJ_METADC   4

Definition at line 701 of file wingdi.h.

◆ OBJ_METAFILE

#define OBJ_METAFILE   9

Definition at line 700 of file wingdi.h.

◆ OBJ_PAL

#define OBJ_PAL   5

Definition at line 693 of file wingdi.h.

◆ OBJ_PEN

#define OBJ_PEN   1

Definition at line 692 of file wingdi.h.

◆ OBJ_REGION

#define OBJ_REGION   8

Definition at line 697 of file wingdi.h.

◆ OEM_CHARSET

#define OEM_CHARSET   255

Definition at line 400 of file wingdi.h.

◆ OEM_FIXED_FONT

#define OEM_FIXED_FONT   10

Definition at line 910 of file wingdi.h.

◆ OPAQUE

#define OPAQUE   2

Definition at line 949 of file wingdi.h.

◆ OPENCHANNEL

#define OPENCHANNEL   4110

Definition at line 1066 of file wingdi.h.

◆ OUT_CHARACTER_PRECIS

#define OUT_CHARACTER_PRECIS   2

Definition at line 417 of file wingdi.h.

◆ OUT_DEFAULT_PRECIS

#define OUT_DEFAULT_PRECIS   0

Definition at line 415 of file wingdi.h.

◆ OUT_DEVICE_PRECIS

#define OUT_DEVICE_PRECIS   5

Definition at line 420 of file wingdi.h.

◆ OUT_OUTLINE_PRECIS

#define OUT_OUTLINE_PRECIS   8

Definition at line 423 of file wingdi.h.

◆ OUT_PS_ONLY_PRECIS

#define OUT_PS_ONLY_PRECIS   10

Definition at line 425 of file wingdi.h.

◆ OUT_RASTER_PRECIS

#define OUT_RASTER_PRECIS   6

Definition at line 421 of file wingdi.h.

◆ OUT_SCREEN_OUTLINE_PRECIS

#define OUT_SCREEN_OUTLINE_PRECIS   9

Definition at line 424 of file wingdi.h.

◆ OUT_STRING_PRECIS

#define OUT_STRING_PRECIS   1

Definition at line 416 of file wingdi.h.

◆ OUT_STROKE_PRECIS

#define OUT_STROKE_PRECIS   3

Definition at line 418 of file wingdi.h.

◆ OUT_TT_ONLY_PRECIS

#define OUT_TT_ONLY_PRECIS   7

Definition at line 422 of file wingdi.h.

◆ OUT_TT_PRECIS

#define OUT_TT_PRECIS   4

Definition at line 419 of file wingdi.h.

◆ PALETTEINDEX

#define PALETTEINDEX (   i)    ((COLORREF)(0x01000000 | (DWORD)(WORD)(i)))

Definition at line 2943 of file wingdi.h.

◆ PALETTERGB

#define PALETTERGB (   r,
  g,
  b 
)    (0x02000000 | RGB(r,g,b))

Definition at line 2942 of file wingdi.h.

◆ PAN_ANY

#define PAN_ANY   0

Definition at line 465 of file wingdi.h.

◆ PAN_ARMSTYLE_INDEX

#define PAN_ARMSTYLE_INDEX   6

Definition at line 460 of file wingdi.h.

◆ PAN_BENT_ARMS_DOUBLE_SERIF

#define PAN_BENT_ARMS_DOUBLE_SERIF   11

Definition at line 527 of file wingdi.h.

◆ PAN_BENT_ARMS_HORZ

#define PAN_BENT_ARMS_HORZ   7

Definition at line 523 of file wingdi.h.

◆ PAN_BENT_ARMS_SINGLE_SERIF

#define PAN_BENT_ARMS_SINGLE_SERIF   10

Definition at line 526 of file wingdi.h.

◆ PAN_BENT_ARMS_VERT

#define PAN_BENT_ARMS_VERT   9

Definition at line 525 of file wingdi.h.

◆ PAN_BENT_ARMS_WEDGE

#define PAN_BENT_ARMS_WEDGE   8

Definition at line 524 of file wingdi.h.

◆ PAN_CONTRAST_HIGH

#define PAN_CONTRAST_HIGH   8

Definition at line 509 of file wingdi.h.

◆ PAN_CONTRAST_INDEX

#define PAN_CONTRAST_INDEX   4

Definition at line 458 of file wingdi.h.

◆ PAN_CONTRAST_LOW

#define PAN_CONTRAST_LOW   4

Definition at line 505 of file wingdi.h.

◆ PAN_CONTRAST_MEDIUM

#define PAN_CONTRAST_MEDIUM   6

Definition at line 507 of file wingdi.h.

◆ PAN_CONTRAST_MEDIUM_HIGH

#define PAN_CONTRAST_MEDIUM_HIGH   7

Definition at line 508 of file wingdi.h.

◆ PAN_CONTRAST_MEDIUM_LOW

#define PAN_CONTRAST_MEDIUM_LOW   5

Definition at line 506 of file wingdi.h.

◆ PAN_CONTRAST_NONE

#define PAN_CONTRAST_NONE   2

Definition at line 503 of file wingdi.h.

◆ PAN_CONTRAST_VERY_HIGH

#define PAN_CONTRAST_VERY_HIGH   9

Definition at line 510 of file wingdi.h.

◆ PAN_CONTRAST_VERY_LOW

#define PAN_CONTRAST_VERY_LOW   3

Definition at line 504 of file wingdi.h.

◆ PAN_CULTURE_LATIN

#define PAN_CULTURE_LATIN   0

Definition at line 464 of file wingdi.h.

◆ PAN_FAMILY_DECORATIVE

#define PAN_FAMILY_DECORATIVE   4

Definition at line 469 of file wingdi.h.

◆ PAN_FAMILY_PICTORIAL

#define PAN_FAMILY_PICTORIAL   5

Definition at line 470 of file wingdi.h.

◆ PAN_FAMILY_SCRIPT

#define PAN_FAMILY_SCRIPT   3

Definition at line 468 of file wingdi.h.

◆ PAN_FAMILY_TEXT_DISPLAY

#define PAN_FAMILY_TEXT_DISPLAY   2

Definition at line 467 of file wingdi.h.

◆ PAN_FAMILYTYPE_INDEX

#define PAN_FAMILYTYPE_INDEX   0

Definition at line 454 of file wingdi.h.

◆ PAN_LETT_NORMAL_BOXED

#define PAN_LETT_NORMAL_BOXED   4

Definition at line 530 of file wingdi.h.

◆ PAN_LETT_NORMAL_CONTACT

#define PAN_LETT_NORMAL_CONTACT   2

Definition at line 528 of file wingdi.h.

◆ PAN_LETT_NORMAL_FLATTENED

#define PAN_LETT_NORMAL_FLATTENED   5

Definition at line 531 of file wingdi.h.

◆ PAN_LETT_NORMAL_OFF_CENTER

#define PAN_LETT_NORMAL_OFF_CENTER   7

Definition at line 533 of file wingdi.h.

◆ PAN_LETT_NORMAL_ROUNDED

#define PAN_LETT_NORMAL_ROUNDED   6

Definition at line 532 of file wingdi.h.

◆ PAN_LETT_NORMAL_SQUARE

#define PAN_LETT_NORMAL_SQUARE   8

Definition at line 534 of file wingdi.h.

◆ PAN_LETT_NORMAL_WEIGHTED

#define PAN_LETT_NORMAL_WEIGHTED   3

Definition at line 529 of file wingdi.h.

◆ PAN_LETT_OBLIQUE_BOXED

#define PAN_LETT_OBLIQUE_BOXED   11

Definition at line 537 of file wingdi.h.

◆ PAN_LETT_OBLIQUE_CONTACT

#define PAN_LETT_OBLIQUE_CONTACT   9

Definition at line 535 of file wingdi.h.

◆ PAN_LETT_OBLIQUE_FLATTENED

#define PAN_LETT_OBLIQUE_FLATTENED   12

Definition at line 538 of file wingdi.h.

◆ PAN_LETT_OBLIQUE_OFF_CENTER

#define PAN_LETT_OBLIQUE_OFF_CENTER   14

Definition at line 540 of file wingdi.h.

◆ PAN_LETT_OBLIQUE_ROUNDED

#define PAN_LETT_OBLIQUE_ROUNDED   13

Definition at line 539 of file wingdi.h.

◆ PAN_LETT_OBLIQUE_SQUARE

#define PAN_LETT_OBLIQUE_SQUARE   15

Definition at line 541 of file wingdi.h.

◆ PAN_LETT_OBLIQUE_WEIGHTED

#define PAN_LETT_OBLIQUE_WEIGHTED   10

Definition at line 536 of file wingdi.h.

◆ PAN_LETTERFORM_INDEX

#define PAN_LETTERFORM_INDEX   7

Definition at line 461 of file wingdi.h.

◆ PAN_MIDLINE_CONSTANT_POINTED

#define PAN_MIDLINE_CONSTANT_POINTED   9

Definition at line 549 of file wingdi.h.

◆ PAN_MIDLINE_CONSTANT_SERIFED

#define PAN_MIDLINE_CONSTANT_SERIFED   10

Definition at line 550 of file wingdi.h.

◆ PAN_MIDLINE_CONSTANT_TRIMMED

#define PAN_MIDLINE_CONSTANT_TRIMMED   8

Definition at line 548 of file wingdi.h.

◆ PAN_MIDLINE_HIGH_POINTED

#define PAN_MIDLINE_HIGH_POINTED   6

Definition at line 546 of file wingdi.h.

◆ PAN_MIDLINE_HIGH_SERIFED

#define PAN_MIDLINE_HIGH_SERIFED   7

Definition at line 547 of file wingdi.h.

◆ PAN_MIDLINE_HIGH_TRIMMED

#define PAN_MIDLINE_HIGH_TRIMMED   5

Definition at line 545 of file wingdi.h.

◆ PAN_MIDLINE_INDEX

#define PAN_MIDLINE_INDEX   8

Definition at line 462 of file wingdi.h.

◆ PAN_MIDLINE_LOW_POINTED

#define PAN_MIDLINE_LOW_POINTED   12

Definition at line 552 of file wingdi.h.

◆ PAN_MIDLINE_LOW_SERIFED

#define PAN_MIDLINE_LOW_SERIFED   13

Definition at line 553 of file wingdi.h.

◆ PAN_MIDLINE_LOW_TRIMMED

#define PAN_MIDLINE_LOW_TRIMMED   11

Definition at line 551 of file wingdi.h.

◆ PAN_MIDLINE_STANDARD_POINTED

#define PAN_MIDLINE_STANDARD_POINTED   3

Definition at line 543 of file wingdi.h.

◆ PAN_MIDLINE_STANDARD_SERIFED

#define PAN_MIDLINE_STANDARD_SERIFED   4

Definition at line 544 of file wingdi.h.

◆ PAN_MIDLINE_STANDARD_TRIMMED

#define PAN_MIDLINE_STANDARD_TRIMMED   2

Definition at line 542 of file wingdi.h.

◆ PAN_NO_FIT

#define PAN_NO_FIT   1

Definition at line 466 of file wingdi.h.

◆ PAN_PROP_CONDENSED

#define PAN_PROP_CONDENSED   6

Definition at line 499 of file wingdi.h.

◆ PAN_PROP_EVEN_WIDTH

#define PAN_PROP_EVEN_WIDTH   4

Definition at line 497 of file wingdi.h.

◆ PAN_PROP_EXPANDED

#define PAN_PROP_EXPANDED   5

Definition at line 498 of file wingdi.h.

◆ PAN_PROP_MODERN

#define PAN_PROP_MODERN   3

Definition at line 496 of file wingdi.h.

◆ PAN_PROP_MONOSPACED

#define PAN_PROP_MONOSPACED   9

Definition at line 502 of file wingdi.h.

◆ PAN_PROP_OLD_STYLE

#define PAN_PROP_OLD_STYLE   2

Definition at line 495 of file wingdi.h.

◆ PAN_PROP_VERY_CONDENSED

#define PAN_PROP_VERY_CONDENSED   8

Definition at line 501 of file wingdi.h.

◆ PAN_PROP_VERY_EXPANDED

#define PAN_PROP_VERY_EXPANDED   7

Definition at line 500 of file wingdi.h.

◆ PAN_PROPORTION_INDEX

#define PAN_PROPORTION_INDEX   3

Definition at line 457 of file wingdi.h.

◆ PAN_SERIF_BONE

#define PAN_SERIF_BONE   8

Definition at line 477 of file wingdi.h.

◆ PAN_SERIF_COVE

#define PAN_SERIF_COVE   2

Definition at line 471 of file wingdi.h.

◆ PAN_SERIF_EXAGGERATED

#define PAN_SERIF_EXAGGERATED   9

Definition at line 478 of file wingdi.h.

◆ PAN_SERIF_FLARED

#define PAN_SERIF_FLARED   14

Definition at line 483 of file wingdi.h.

◆ PAN_SERIF_NORMAL_SANS

#define PAN_SERIF_NORMAL_SANS   11

Definition at line 480 of file wingdi.h.

◆ PAN_SERIF_OBTUSE_COVE

#define PAN_SERIF_OBTUSE_COVE   3

Definition at line 472 of file wingdi.h.

◆ PAN_SERIF_OBTUSE_SANS

#define PAN_SERIF_OBTUSE_SANS   12

Definition at line 481 of file wingdi.h.

◆ PAN_SERIF_OBTUSE_SQUARE_COVE

#define PAN_SERIF_OBTUSE_SQUARE_COVE   5

Definition at line 474 of file wingdi.h.

◆ PAN_SERIF_PERP_SANS

#define PAN_SERIF_PERP_SANS   13

Definition at line 482 of file wingdi.h.

◆ PAN_SERIF_ROUNDED

#define PAN_SERIF_ROUNDED   15

Definition at line 484 of file wingdi.h.

◆ PAN_SERIF_SQUARE

#define PAN_SERIF_SQUARE   6

Definition at line 475 of file wingdi.h.

◆ PAN_SERIF_SQUARE_COVE

#define PAN_SERIF_SQUARE_COVE   4

Definition at line 473 of file wingdi.h.

◆ PAN_SERIF_THIN

#define PAN_SERIF_THIN   7

Definition at line 476 of file wingdi.h.

◆ PAN_SERIF_TRIANGLE

#define PAN_SERIF_TRIANGLE   10

Definition at line 479 of file wingdi.h.

◆ PAN_SERIFSTYLE_INDEX

#define PAN_SERIFSTYLE_INDEX   1

Definition at line 455 of file wingdi.h.

◆ PAN_STRAIGHT_ARMS_DOUBLE_SERIF

#define PAN_STRAIGHT_ARMS_DOUBLE_SERIF   6

Definition at line 522 of file wingdi.h.

◆ PAN_STRAIGHT_ARMS_HORZ

#define PAN_STRAIGHT_ARMS_HORZ   2

Definition at line 518 of file wingdi.h.

◆ PAN_STRAIGHT_ARMS_SINGLE_SERIF

#define PAN_STRAIGHT_ARMS_SINGLE_SERIF   5

Definition at line 521 of file wingdi.h.

◆ PAN_STRAIGHT_ARMS_VERT

#define PAN_STRAIGHT_ARMS_VERT   4

Definition at line 520 of file wingdi.h.

◆ PAN_STRAIGHT_ARMS_WEDGE

#define PAN_STRAIGHT_ARMS_WEDGE   3

Definition at line 519 of file wingdi.h.

◆ PAN_STROKE_GRADUAL_DIAG

#define PAN_STROKE_GRADUAL_DIAG   2

Definition at line 511 of file wingdi.h.

◆ PAN_STROKE_GRADUAL_HORZ

#define PAN_STROKE_GRADUAL_HORZ   5

Definition at line 514 of file wingdi.h.

◆ PAN_STROKE_GRADUAL_TRAN

#define PAN_STROKE_GRADUAL_TRAN   3

Definition at line 512 of file wingdi.h.

◆ PAN_STROKE_GRADUAL_VERT

#define PAN_STROKE_GRADUAL_VERT   4

Definition at line 513 of file wingdi.h.

◆ PAN_STROKE_INSTANT_VERT

#define PAN_STROKE_INSTANT_VERT   8

Definition at line 517 of file wingdi.h.

◆ PAN_STROKE_RAPID_HORZ

#define PAN_STROKE_RAPID_HORZ   7

Definition at line 516 of file wingdi.h.

◆ PAN_STROKE_RAPID_VERT

#define PAN_STROKE_RAPID_VERT   6

Definition at line 515 of file wingdi.h.

◆ PAN_STROKEVARIATION_INDEX

#define PAN_STROKEVARIATION_INDEX   5

Definition at line 459 of file wingdi.h.

◆ PAN_WEIGHT_BLACK

#define PAN_WEIGHT_BLACK   10

Definition at line 493 of file wingdi.h.

◆ PAN_WEIGHT_BOLD

#define PAN_WEIGHT_BOLD   8

Definition at line 491 of file wingdi.h.

◆ PAN_WEIGHT_BOOK

#define PAN_WEIGHT_BOOK   5

Definition at line 488 of file wingdi.h.

◆ PAN_WEIGHT_DEMI

#define PAN_WEIGHT_DEMI   7

Definition at line 490 of file wingdi.h.

◆ PAN_WEIGHT_HEAVY

#define PAN_WEIGHT_HEAVY   9

Definition at line 492 of file wingdi.h.

◆ PAN_WEIGHT_INDEX

#define PAN_WEIGHT_INDEX   2

Definition at line 456 of file wingdi.h.

◆ PAN_WEIGHT_LIGHT

#define PAN_WEIGHT_LIGHT   3

Definition at line 486 of file wingdi.h.

◆ PAN_WEIGHT_MEDIUM

#define PAN_WEIGHT_MEDIUM   6

Definition at line 489 of file wingdi.h.

◆ PAN_WEIGHT_NORD

#define PAN_WEIGHT_NORD   11

Definition at line 494 of file wingdi.h.

◆ PAN_WEIGHT_THIN

#define PAN_WEIGHT_THIN   4

Definition at line 487 of file wingdi.h.

◆ PAN_WEIGHT_VERY_LIGHT

#define PAN_WEIGHT_VERY_LIGHT   2

Definition at line 485 of file wingdi.h.

◆ PAN_XHEIGHT_CONSTANT_LARGE

#define PAN_XHEIGHT_CONSTANT_LARGE   4

Definition at line 556 of file wingdi.h.

◆ PAN_XHEIGHT_CONSTANT_SMALL

#define PAN_XHEIGHT_CONSTANT_SMALL   2

Definition at line 554 of file wingdi.h.

◆ PAN_XHEIGHT_CONSTANT_STD

#define PAN_XHEIGHT_CONSTANT_STD   3

Definition at line 555 of file wingdi.h.

◆ PAN_XHEIGHT_DUCKING_LARGE

#define PAN_XHEIGHT_DUCKING_LARGE   7

Definition at line 559 of file wingdi.h.

◆ PAN_XHEIGHT_DUCKING_SMALL

#define PAN_XHEIGHT_DUCKING_SMALL   5

Definition at line 557 of file wingdi.h.

◆ PAN_XHEIGHT_DUCKING_STD

#define PAN_XHEIGHT_DUCKING_STD   6

Definition at line 558 of file wingdi.h.

◆ PAN_XHEIGHT_INDEX

#define PAN_XHEIGHT_INDEX   9

Definition at line 463 of file wingdi.h.

◆ PANOSE_COUNT

#define PANOSE_COUNT   10

Definition at line 453 of file wingdi.h.

◆ PASSTHROUGH

#define PASSTHROUGH   19

Definition at line 1013 of file wingdi.h.

◆ PATCOPY

#define PATCOPY   0xF00021

Definition at line 335 of file wingdi.h.

◆ PATINVERT

#define PATINVERT   0x5A0049

Definition at line 328 of file wingdi.h.

◆ PATPAINT

#define PATPAINT   0xFB0A09

Definition at line 336 of file wingdi.h.

◆ PC_EXPLICIT

#define PC_EXPLICIT   2

Definition at line 880 of file wingdi.h.

◆ PC_INTERIORS

#define PC_INTERIORS   128

Definition at line 804 of file wingdi.h.

◆ PC_NOCOLLAPSE

#define PC_NOCOLLAPSE   4

Definition at line 881 of file wingdi.h.

◆ PC_NONE

#define PC_NONE   0

Definition at line 793 of file wingdi.h.

◆ PC_PATHS [1/2]

#define PC_PATHS   512

Definition at line 805 of file wingdi.h.

◆ PC_PATHS [2/2]

#define PC_PATHS   512

Definition at line 805 of file wingdi.h.

◆ PC_POLYGON

#define PC_POLYGON   1

Definition at line 794 of file wingdi.h.

◆ PC_POLYPOLYGON

#define PC_POLYPOLYGON   256

Definition at line 795 of file wingdi.h.

◆ PC_RECTANGLE

#define PC_RECTANGLE   2

Definition at line 797 of file wingdi.h.

◆ PC_RESERVED

#define PC_RESERVED   1

Definition at line 882 of file wingdi.h.

◆ PC_SCANLINE

#define PC_SCANLINE   8

Definition at line 799 of file wingdi.h.

◆ PC_STYLED

#define PC_STYLED   32

Definition at line 802 of file wingdi.h.

◆ PC_TRAPEZOID

#define PC_TRAPEZOID   4

Definition at line 800 of file wingdi.h.

◆ PC_WIDE

#define PC_WIDE   16

Definition at line 801 of file wingdi.h.

◆ PC_WIDESTYLED

#define PC_WIDESTYLED   64

Definition at line 803 of file wingdi.h.

◆ PC_WINDPOLYGON

#define PC_WINDPOLYGON   4

Definition at line 798 of file wingdi.h.

◆ PDEVICESIZE

#define PDEVICESIZE   26

Definition at line 730 of file wingdi.h.

◆ PFD_DEPTH_DONTCARE

#define PFD_DEPTH_DONTCARE   0x20000000

Definition at line 315 of file wingdi.h.

◆ PFD_DOUBLEBUFFER

#define PFD_DOUBLEBUFFER   1

Definition at line 301 of file wingdi.h.

◆ PFD_DOUBLEBUFFER_DONTCARE

#define PFD_DOUBLEBUFFER_DONTCARE   0x40000000

Definition at line 316 of file wingdi.h.

◆ PFD_DRAW_TO_BITMAP

#define PFD_DRAW_TO_BITMAP   8

Definition at line 304 of file wingdi.h.

◆ PFD_DRAW_TO_WINDOW

#define PFD_DRAW_TO_WINDOW   4

Definition at line 303 of file wingdi.h.

◆ PFD_GENERIC_ACCELERATED

#define PFD_GENERIC_ACCELERATED   0x00001000

Definition at line 313 of file wingdi.h.

◆ PFD_GENERIC_FORMAT

#define PFD_GENERIC_FORMAT   64

Definition at line 307 of file wingdi.h.

◆ PFD_MAIN_PLANE

#define PFD_MAIN_PLANE   0

Definition at line 298 of file wingdi.h.

◆ PFD_NEED_PALETTE

#define PFD_NEED_PALETTE   128

Definition at line 308 of file wingdi.h.

◆ PFD_NEED_SYSTEM_PALETTE

#define PFD_NEED_SYSTEM_PALETTE   0x00000100

Definition at line 309 of file wingdi.h.

◆ PFD_OVERLAY_PLANE

#define PFD_OVERLAY_PLANE   1

Definition at line 299 of file wingdi.h.

◆ PFD_STEREO

#define PFD_STEREO   2

Definition at line 302 of file wingdi.h.

◆ PFD_STEREO_DONTCARE

#define PFD_STEREO_DONTCARE   0x80000000

Definition at line 317 of file wingdi.h.

◆ PFD_SUPPORT_COMPOSITION

#define PFD_SUPPORT_COMPOSITION   0x00008000

Definition at line 314 of file wingdi.h.

◆ PFD_SUPPORT_GDI

#define PFD_SUPPORT_GDI   16

Definition at line 305 of file wingdi.h.

◆ PFD_SUPPORT_OPENGL

#define PFD_SUPPORT_OPENGL   32

Definition at line 306 of file wingdi.h.

◆ PFD_SWAP_COPY

#define PFD_SWAP_COPY   0x00000400

Definition at line 311 of file wingdi.h.

◆ PFD_SWAP_EXCHANGE

#define PFD_SWAP_EXCHANGE   0x00000200

Definition at line 310 of file wingdi.h.

◆ PFD_SWAP_LAYER_BUFFERS

#define PFD_SWAP_LAYER_BUFFERS   0x00000800

Definition at line 312 of file wingdi.h.

◆ PFD_TYPE_COLORINDEX

#define PFD_TYPE_COLORINDEX   1

Definition at line 297 of file wingdi.h.

◆ PFD_TYPE_RGBA

#define PFD_TYPE_RGBA   0

Definition at line 296 of file wingdi.h.

◆ PFD_UNDERLAY_PLANE

#define PFD_UNDERLAY_PLANE   (-1)

Definition at line 300 of file wingdi.h.

◆ PHYSICALHEIGHT

#define PHYSICALHEIGHT   111

Definition at line 736 of file wingdi.h.

◆ PHYSICALOFFSETX

#define PHYSICALOFFSETX   112

Definition at line 737 of file wingdi.h.

◆ PHYSICALOFFSETY

#define PHYSICALOFFSETY   113

Definition at line 738 of file wingdi.h.

◆ PHYSICALWIDTH

#define PHYSICALWIDTH   110

Definition at line 735 of file wingdi.h.

◆ PLANES

#define PLANES   14

Definition at line 721 of file wingdi.h.

◆ POLYFILL_LAST

#define POLYFILL_LAST   2

Definition at line 606 of file wingdi.h.

◆ POLYGONALCAPS

#define POLYGONALCAPS   32

Definition at line 779 of file wingdi.h.

◆ PolyTextOut

#define PolyTextOut   PolyTextOutA

Definition at line 4475 of file wingdi.h.

◆ POSTSCRIPT_DATA

#define POSTSCRIPT_DATA   37

Definition at line 1031 of file wingdi.h.

◆ POSTSCRIPT_IDENTIFY

#define POSTSCRIPT_IDENTIFY   4117

Definition at line 1071 of file wingdi.h.

◆ POSTSCRIPT_IGNORE

#define POSTSCRIPT_IGNORE   38

Definition at line 1032 of file wingdi.h.

◆ POSTSCRIPT_INJECTION

#define POSTSCRIPT_INJECTION   4118

Definition at line 1072 of file wingdi.h.

◆ POSTSCRIPT_PASSTHROUGH

#define POSTSCRIPT_PASSTHROUGH   4115

Definition at line 1069 of file wingdi.h.

◆ PR_JOBSTATUS

#define PR_JOBSTATUS   0

Definition at line 1082 of file wingdi.h.

◆ PROOF_QUALITY

#define PROOF_QUALITY   2

Definition at line 438 of file wingdi.h.

◆ PS_ALTERNATE

#define PS_ALTERNATE   8

Definition at line 585 of file wingdi.h.

◆ PS_COSMETIC

#define PS_COSMETIC   0

Definition at line 584 of file wingdi.h.

◆ PS_DASH

#define PS_DASH   1

Definition at line 587 of file wingdi.h.

◆ PS_DASHDOT

#define PS_DASHDOT   3

Definition at line 589 of file wingdi.h.

◆ PS_DASHDOTDOT

#define PS_DASHDOTDOT   4

Definition at line 590 of file wingdi.h.

◆ PS_DOT

#define PS_DOT   2

Definition at line 588 of file wingdi.h.

◆ PS_ENDCAP_FLAT

#define PS_ENDCAP_FLAT   512

Definition at line 596 of file wingdi.h.

◆ PS_ENDCAP_MASK

#define PS_ENDCAP_MASK   3840

Definition at line 602 of file wingdi.h.

◆ PS_ENDCAP_ROUND

#define PS_ENDCAP_ROUND   0

Definition at line 594 of file wingdi.h.

◆ PS_ENDCAP_SQUARE

#define PS_ENDCAP_SQUARE   256

Definition at line 595 of file wingdi.h.

◆ PS_GEOMETRIC

#define PS_GEOMETRIC   65536

Definition at line 583 of file wingdi.h.

◆ PS_INSIDEFRAME

#define PS_INSIDEFRAME   6

Definition at line 593 of file wingdi.h.

◆ PS_JOIN_BEVEL

#define PS_JOIN_BEVEL   4096

Definition at line 597 of file wingdi.h.

◆ PS_JOIN_MASK

#define PS_JOIN_MASK   0x0000F000

Definition at line 600 of file wingdi.h.

◆ PS_JOIN_MITER

#define PS_JOIN_MITER   8192

Definition at line 598 of file wingdi.h.

◆ PS_JOIN_ROUND

#define PS_JOIN_ROUND   0

Definition at line 599 of file wingdi.h.

◆ PS_NULL

#define PS_NULL   5

Definition at line 591 of file wingdi.h.

◆ PS_SOLID

#define PS_SOLID   0

Definition at line 586 of file wingdi.h.

◆ PS_STYLE_MASK

#define PS_STYLE_MASK   15

Definition at line 601 of file wingdi.h.

◆ PS_TYPE_MASK

#define PS_TYPE_MASK   983040

Definition at line 603 of file wingdi.h.

◆ PS_USERSTYLE

#define PS_USERSTYLE   7

Definition at line 592 of file wingdi.h.

◆ PT_BEZIERTO [1/2]

#define PT_BEZIERTO   4

Definition at line 886 of file wingdi.h.

◆ PT_BEZIERTO [2/2]

#define PT_BEZIERTO   4

Definition at line 886 of file wingdi.h.

◆ PT_CLOSEFIGURE [1/2]

#define PT_CLOSEFIGURE   1

Definition at line 887 of file wingdi.h.

◆ PT_CLOSEFIGURE [2/2]

#define PT_CLOSEFIGURE   1

Definition at line 887 of file wingdi.h.

◆ PT_LINETO [1/2]

#define PT_LINETO   2

Definition at line 885 of file wingdi.h.

◆ PT_LINETO [2/2]

#define PT_LINETO   2

Definition at line 885 of file wingdi.h.

◆ PT_MOVETO [1/2]

#define PT_MOVETO   6

Definition at line 884 of file wingdi.h.

◆ PT_MOVETO [2/2]

#define PT_MOVETO   6

Definition at line 884 of file wingdi.h.

◆ QDC_ALL_PATHS

#define QDC_ALL_PATHS   0x00000001

Definition at line 1283 of file wingdi.h.

◆ QDI_DIBTOSCREEN

#define QDI_DIBTOSCREEN   4

Definition at line 1079 of file wingdi.h.

◆ QDI_GETDIBITS

#define QDI_GETDIBITS   2

Definition at line 1078 of file wingdi.h.

◆ QDI_SETDIBITS

#define QDI_SETDIBITS   1

Definition at line 1077 of file wingdi.h.

◆ QDI_STRETCHDIB

#define QDI_STRETCHDIB   8

Definition at line 1080 of file wingdi.h.

◆ QUERYDIBSUPPORT

#define QUERYDIBSUPPORT   3073

Definition at line 1050 of file wingdi.h.

◆ QUERYESCSUPPORT

#define QUERYESCSUPPORT   8

Definition at line 1001 of file wingdi.h.

◆ R2_BLACK

#define R2_BLACK   1

Definition at line 338 of file wingdi.h.

◆ R2_COPYPEN

#define R2_COPYPEN   13

Definition at line 339 of file wingdi.h.

◆ R2_MASKNOTPEN

#define R2_MASKNOTPEN   3

Definition at line 340 of file wingdi.h.

◆ R2_MASKPEN

#define R2_MASKPEN   9

Definition at line 341 of file wingdi.h.

◆ R2_MASKPENNOT

#define R2_MASKPENNOT   5

Definition at line 342 of file wingdi.h.

◆ R2_MERGENOTPEN

#define R2_MERGENOTPEN   12

Definition at line 343 of file wingdi.h.

◆ R2_MERGEPEN

#define R2_MERGEPEN   15

Definition at line 344 of file wingdi.h.

◆ R2_MERGEPENNOT

#define R2_MERGEPENNOT   14

Definition at line 345 of file wingdi.h.

◆ R2_NOP

#define R2_NOP   11

Definition at line 346 of file wingdi.h.

◆ R2_NOT

#define R2_NOT   6

Definition at line 347 of file wingdi.h.

◆ R2_NOTCOPYPEN

#define R2_NOTCOPYPEN   4

Definition at line 348 of file wingdi.h.

◆ R2_NOTMASKPEN

#define R2_NOTMASKPEN   8

Definition at line 349 of file wingdi.h.

◆ R2_NOTMERGEPEN

#define R2_NOTMERGEPEN   2

Definition at line 350 of file wingdi.h.

◆ R2_NOTXORPEN

#define R2_NOTXORPEN   10

Definition at line 351 of file wingdi.h.

◆ R2_WHITE

#define R2_WHITE   16

Definition at line 352 of file wingdi.h.

◆ R2_XORPEN

#define R2_XORPEN   7

Definition at line 353 of file wingdi.h.

◆ RASTER_FONTTYPE

#define RASTER_FONTTYPE   1

Definition at line 1107 of file wingdi.h.

◆ RASTERCAPS

#define RASTERCAPS   38

Definition at line 745 of file wingdi.h.

◆ RC_BANDING [1/2]

#define RC_BANDING   2

Definition at line 780 of file wingdi.h.

◆ RC_BANDING [2/2]

#define RC_BANDING   2

Definition at line 780 of file wingdi.h.

◆ RC_BIGFONT

#define RC_BIGFONT   1024

Definition at line 781 of file wingdi.h.

◆ RC_BITBLT [1/2]

#define RC_BITBLT   1

Definition at line 782 of file wingdi.h.

◆ RC_BITBLT [2/2]

#define RC_BITBLT   1

Definition at line 782 of file wingdi.h.

◆ RC_BITMAP64 [1/2]

#define RC_BITMAP64   8

Definition at line 783 of file wingdi.h.

◆ RC_BITMAP64 [2/2]

#define RC_BITMAP64   8

Definition at line 783 of file wingdi.h.

◆ RC_DEVBITS [1/2]

#define RC_DEVBITS   0x8000

Definition at line 784 of file wingdi.h.

◆ RC_DEVBITS [2/2]

#define RC_DEVBITS   0x8000

Definition at line 784 of file wingdi.h.

◆ RC_DI_BITMAP [1/2]

#define RC_DI_BITMAP   128

Definition at line 785 of file wingdi.h.

◆ RC_DI_BITMAP [2/2]

#define RC_DI_BITMAP   128

Definition at line 785 of file wingdi.h.

◆ RC_DIBTODEV

#define RC_DIBTODEV   512

Definition at line 750 of file wingdi.h.

◆ RC_FLOODFILL

#define RC_FLOODFILL   4096

Definition at line 751 of file wingdi.h.

◆ RC_GDI20_OUTPUT [1/2]

#define RC_GDI20_OUTPUT   16

Definition at line 786 of file wingdi.h.

◆ RC_GDI20_OUTPUT [2/2]

#define RC_GDI20_OUTPUT   16

Definition at line 786 of file wingdi.h.

◆ RC_GDI20_STATE

#define RC_GDI20_STATE   32

Definition at line 787 of file wingdi.h.

◆ RC_NONE

#define RC_NONE   0

Definition at line 788 of file wingdi.h.

◆ RC_OP_DX_OUTPUT [1/2]

#define RC_OP_DX_OUTPUT   0x4000

Definition at line 789 of file wingdi.h.

◆ RC_OP_DX_OUTPUT [2/2]

#define RC_OP_DX_OUTPUT   0x4000

Definition at line 789 of file wingdi.h.

◆ RC_PALETTE [1/2]

#define RC_PALETTE   256

Definition at line 790 of file wingdi.h.

◆ RC_PALETTE [2/2]

#define RC_PALETTE   256

Definition at line 790 of file wingdi.h.

◆ RC_SAVEBITMAP

#define RC_SAVEBITMAP   64

Definition at line 791 of file wingdi.h.

◆ RC_SCALING [1/2]

#define RC_SCALING   4

Definition at line 792 of file wingdi.h.

◆ RC_SCALING [2/2]

#define RC_SCALING   4

Definition at line 792 of file wingdi.h.

◆ RC_STRETCHBLT

#define RC_STRETCHBLT   2048

Definition at line 755 of file wingdi.h.

◆ RC_STRETCHDIB

#define RC_STRETCHDIB   8192

Definition at line 756 of file wingdi.h.

◆ RDH_RECTANGLES

#define RDH_RECTANGLES   1

Definition at line 669 of file wingdi.h.

◆ REFERENCE_BLACK_MAX

#define REFERENCE_BLACK_MAX   4000

Definition at line 63 of file wingdi.h.

◆ REFERENCE_BLACK_MIN

#define REFERENCE_BLACK_MIN   0

Definition at line 62 of file wingdi.h.

◆ REFERENCE_WHITE_MAX

#define REFERENCE_WHITE_MAX   10000

Definition at line 61 of file wingdi.h.

◆ REFERENCE_WHITE_MIN

#define REFERENCE_WHITE_MIN   6000

Definition at line 60 of file wingdi.h.

◆ RELATIVE

#define RELATIVE   2

Definition at line 879 of file wingdi.h.

◆ RemoveFontResource

#define RemoveFontResource   RemoveFontResourceA

Definition at line 4476 of file wingdi.h.

◆ ResetDC

#define ResetDC   ResetDCA

Definition at line 4480 of file wingdi.h.

◆ RESTORE_CTM

#define RESTORE_CTM   4100

Definition at line 1055 of file wingdi.h.

◆ RGB

#define RGB (   r,
  g,
  b 
)    ((COLORREF)(((BYTE)(r)|((WORD)((BYTE)(g))<<8))|(((DWORD)(BYTE)(b))<<16)))

Definition at line 2940 of file wingdi.h.

◆ RGB_GAMMA_MAX

#define RGB_GAMMA_MAX   65000

Definition at line 59 of file wingdi.h.

◆ RGB_GAMMA_MIN

#define RGB_GAMMA_MIN   2500

Definition at line 58 of file wingdi.h.

◆ RGBA

#define RGBA (   r,
  g,
  b,
  a 
)    ((COLORREF)((((DWORD)(BYTE)(a))<<24) | RGB(r,g,b)))

Definition at line 2941 of file wingdi.h.

◆ RGN_AND

#define RGN_AND   1

Definition at line 356 of file wingdi.h.

◆ RGN_COPY

#define RGN_COPY   5

Definition at line 357 of file wingdi.h.

◆ RGN_DIFF

#define RGN_DIFF   4

Definition at line 358 of file wingdi.h.

◆ RGN_OR

#define RGN_OR   2

Definition at line 359 of file wingdi.h.

◆ RGN_XOR

#define RGN_XOR   3

Definition at line 360 of file wingdi.h.

◆ RUSSIAN_CHARSET

#define RUSSIAN_CHARSET   204

Definition at line 396 of file wingdi.h.

◆ SAVE_CTM

#define SAVE_CTM   4101

Definition at line 1056 of file wingdi.h.

◆ SCALINGFACTORX

#define SCALINGFACTORX   114

Definition at line 739 of file wingdi.h.

◆ SCALINGFACTORY

#define SCALINGFACTORY   115

Definition at line 740 of file wingdi.h.

◆ SELECTPAPERSOURCE

#define SELECTPAPERSOURCE   18

Definition at line 1011 of file wingdi.h.

◆ SET_ARC_DIRECTION

#define SET_ARC_DIRECTION   4102

Definition at line 1057 of file wingdi.h.

◆ SET_BACKGROUND_COLOR

#define SET_BACKGROUND_COLOR   4103

Definition at line 1058 of file wingdi.h.

◆ SET_BOUNDS

#define SET_BOUNDS   4109

Definition at line 1064 of file wingdi.h.

◆ SET_CLIP_BOX

#define SET_CLIP_BOX   4108

Definition at line 1063 of file wingdi.h.

◆ SET_MIRROR_MODE

#define SET_MIRROR_MODE   4110

Definition at line 1065 of file wingdi.h.

◆ SET_POLY_MODE

#define SET_POLY_MODE   4104

Definition at line 1059 of file wingdi.h.

◆ SET_SCREEN_ANGLE

#define SET_SCREEN_ANGLE   4105

Definition at line 1060 of file wingdi.h.

◆ SET_SPREAD

#define SET_SPREAD   4106

Definition at line 1061 of file wingdi.h.

◆ SETABORTPROC

#define SETABORTPROC   9

Definition at line 1002 of file wingdi.h.

◆ SETALLJUSTVALUES

#define SETALLJUSTVALUES   771

Definition at line 1045 of file wingdi.h.

◆ SETCHARSET

#define SETCHARSET   772

Definition at line 1046 of file wingdi.h.

◆ SETCOLORTABLE

#define SETCOLORTABLE   4

Definition at line 997 of file wingdi.h.

◆ SETCOPYCOUNT

#define SETCOPYCOUNT   17

Definition at line 1010 of file wingdi.h.

◆ SETDIBSCALING

#define SETDIBSCALING   32

Definition at line 1027 of file wingdi.h.

◆ SetICMProfile

#define SetICMProfile   SetICMProfileA

Definition at line 4481 of file wingdi.h.

◆ SETKERNTRACK

#define SETKERNTRACK   770

Definition at line 1044 of file wingdi.h.

◆ SETLINECAP

#define SETLINECAP   21

Definition at line 1016 of file wingdi.h.

◆ SETLINEJOIN

#define SETLINEJOIN   22

Definition at line 1017 of file wingdi.h.

◆ SETMITERLIMIT

#define SETMITERLIMIT   23

Definition at line 1018 of file wingdi.h.

◆ SHIFTJIS_CHARSET

#define SHIFTJIS_CHARSET   128

Definition at line 386 of file wingdi.h.

◆ SIMPLEREGION

#define SIMPLEREGION   2

Definition at line 362 of file wingdi.h.

◆ SIZEPALETTE

#define SIZEPALETTE   104

Definition at line 732 of file wingdi.h.

◆ SP_APPABORT

#define SP_APPABORT   (-2)

Definition at line 322 of file wingdi.h.

◆ SP_ERROR

#define SP_ERROR   (-1)

Definition at line 318 of file wingdi.h.

◆ SP_NOTREPORTED

#define SP_NOTREPORTED   0x4000

Definition at line 1081 of file wingdi.h.

◆ SP_OUTOFDISK

#define SP_OUTOFDISK   (-4)

Definition at line 319 of file wingdi.h.

◆ SP_OUTOFMEMORY

#define SP_OUTOFMEMORY   (-5)

Definition at line 320 of file wingdi.h.

◆ SP_USERABORT

#define SP_USERABORT   (-3)

Definition at line 321 of file wingdi.h.

◆ SPCLPASSTHROUGH2

#define SPCLPASSTHROUGH2   4568

Definition at line 1076 of file wingdi.h.

◆ SRCAND

#define SRCAND   0x8800C6

Definition at line 330 of file wingdi.h.

◆ SRCCOPY

#define SRCCOPY   0xCC0020

Definition at line 333 of file wingdi.h.

◆ SRCERASE

#define SRCERASE   0x440328

Definition at line 326 of file wingdi.h.

◆ SRCINVERT

#define SRCINVERT   0x660046

Definition at line 329 of file wingdi.h.

◆ SRCPAINT

#define SRCPAINT   0xEE0086

Definition at line 334 of file wingdi.h.

◆ STAMP_AXESLIST

#define STAMP_AXESLIST   (0x8000000 + 'a' + ('l' << 8))

Definition at line 2765 of file wingdi.h.

◆ STAMP_DESIGNVECTOR

#define STAMP_DESIGNVECTOR   (0x8000000 + 'd' + ('v' << 8))

Definition at line 2764 of file wingdi.h.

◆ STARTDOC

#define STARTDOC   10

Definition at line 1003 of file wingdi.h.

◆ StartDoc

#define StartDoc   StartDocA

Definition at line 4482 of file wingdi.h.

◆ STOCK_LAST

#define STOCK_LAST   16

Definition at line 923 of file wingdi.h.

◆ STRETCH_ANDSCANS

#define STRETCH_ANDSCANS   1

Definition at line 957 of file wingdi.h.

◆ STRETCH_DELETESCANS

#define STRETCH_DELETESCANS   3

Definition at line 958 of file wingdi.h.

◆ STRETCH_HALFTONE

#define STRETCH_HALFTONE   4

Definition at line 959 of file wingdi.h.

◆ STRETCH_ORSCANS

#define STRETCH_ORSCANS   2

Definition at line 960 of file wingdi.h.

◆ STRETCHBLT

#define STRETCHBLT   2048

Definition at line 1047 of file wingdi.h.

◆ SYMBOL_CHARSET

#define SYMBOL_CHARSET   2

Definition at line 385 of file wingdi.h.

◆ SYSPAL_ERROR [1/2]

#define SYSPAL_ERROR   0

Definition at line 927 of file wingdi.h.

◆ SYSPAL_ERROR [2/2]

#define SYSPAL_ERROR   0

Definition at line 927 of file wingdi.h.

◆ SYSPAL_NOSTATIC [1/2]

#define SYSPAL_NOSTATIC   2

Definition at line 925 of file wingdi.h.

◆ SYSPAL_NOSTATIC [2/2]

#define SYSPAL_NOSTATIC   2

Definition at line 925 of file wingdi.h.

◆ SYSPAL_NOSTATIC256

#define SYSPAL_NOSTATIC256   3

Definition at line 21 of file wingdi.h.

◆ SYSPAL_STATIC [1/2]

#define SYSPAL_STATIC   1

Definition at line 926 of file wingdi.h.

◆ SYSPAL_STATIC [2/2]

#define SYSPAL_STATIC   1

Definition at line 926 of file wingdi.h.

◆ SYSRGN

#define SYSRGN   4

Definition at line 2418 of file wingdi.h.

◆ SYSTEM_FIXED_FONT

#define SYSTEM_FIXED_FONT   16

Definition at line 912 of file wingdi.h.

◆ SYSTEM_FONT

#define SYSTEM_FONT   13

Definition at line 911 of file wingdi.h.

◆ TA_BASELINE

#define TA_BASELINE   24

Definition at line 928 of file wingdi.h.

◆ TA_BOTTOM

#define TA_BOTTOM   8

Definition at line 929 of file wingdi.h.

◆ TA_CENTER

#define TA_CENTER   6

Definition at line 931 of file wingdi.h.

◆ TA_LEFT

#define TA_LEFT   0

Definition at line 932 of file wingdi.h.

◆ TA_MASK

Definition at line 937 of file wingdi.h.

◆ TA_NOUPDATECP

#define TA_NOUPDATECP   0

Definition at line 935 of file wingdi.h.

◆ TA_RIGHT

#define TA_RIGHT   2

Definition at line 933 of file wingdi.h.

◆ TA_RTLREADING

#define TA_RTLREADING   256

Definition at line 934 of file wingdi.h.

◆ TA_TOP

#define TA_TOP   0

Definition at line 930 of file wingdi.h.

◆ TA_UPDATECP

#define TA_UPDATECP   1

Definition at line 936 of file wingdi.h.

◆ TC_CP_STROKE

#define TC_CP_STROKE   4

Definition at line 809 of file wingdi.h.

◆ TC_CR_90

#define TC_CR_90   8

Definition at line 810 of file wingdi.h.

◆ TC_CR_ANY

#define TC_CR_ANY   16

Definition at line 811 of file wingdi.h.

◆ TC_EA_DOUBLE

#define TC_EA_DOUBLE   512

Definition at line 816 of file wingdi.h.

◆ TC_IA_ABLE

#define TC_IA_ABLE   1024

Definition at line 817 of file wingdi.h.

◆ TC_OP_CHARACTER

#define TC_OP_CHARACTER   1

Definition at line 807 of file wingdi.h.

◆ TC_OP_STROKE

#define TC_OP_STROKE   2

Definition at line 808 of file wingdi.h.

◆ TC_RA_ABLE

#define TC_RA_ABLE   8192

Definition at line 820 of file wingdi.h.

◆ TC_RESERVED

#define TC_RESERVED   32768

Definition at line 822 of file wingdi.h.

◆ TC_SA_CONTIN

#define TC_SA_CONTIN   256

Definition at line 815 of file wingdi.h.

◆ TC_SA_DOUBLE

#define TC_SA_DOUBLE   64

Definition at line 813 of file wingdi.h.

◆ TC_SA_INTEGER

#define TC_SA_INTEGER   128

Definition at line 814 of file wingdi.h.

◆ TC_SCROLLBLT

#define TC_SCROLLBLT   65536

Definition at line 823 of file wingdi.h.

◆ TC_SF_X_YINDEP

#define TC_SF_X_YINDEP   32

Definition at line 812 of file wingdi.h.

◆ TC_SO_ABLE

#define TC_SO_ABLE   4096

Definition at line 819 of file wingdi.h.

◆ TC_UA_ABLE

#define TC_UA_ABLE   2048

Definition at line 818 of file wingdi.h.

◆ TC_VA_ABLE

#define TC_VA_ABLE   16384

Definition at line 821 of file wingdi.h.

◆ TCI_SRCCHARSET

#define TCI_SRCCHARSET   1

Definition at line 961 of file wingdi.h.

◆ TCI_SRCCODEPAGE

#define TCI_SRCCODEPAGE   2

Definition at line 962 of file wingdi.h.

◆ TCI_SRCFONTSIG

#define TCI_SRCFONTSIG   3

Definition at line 963 of file wingdi.h.

◆ TCI_SRCLOCALE

#define TCI_SRCLOCALE   4096

Definition at line 964 of file wingdi.h.

◆ TCVN_CHARSET

#define TCVN_CHARSET   (BYTE)241 /* tcvn-0 */

Definition at line 408 of file wingdi.h.

◆ TECHNOLOGY

#define TECHNOLOGY   2

Definition at line 706 of file wingdi.h.

◆ TEXTCAPS

#define TEXTCAPS   34

Definition at line 806 of file wingdi.h.

◆ TextOut

#define TextOut   TextOutA

Definition at line 4483 of file wingdi.h.

◆ THAI_CHARSET

#define THAI_CHARSET   222

Definition at line 397 of file wingdi.h.

◆ TMPF_DEVICE

#define TMPF_DEVICE   8

Definition at line 1314 of file wingdi.h.

◆ TMPF_FIXED_PITCH

#define TMPF_FIXED_PITCH   1

Definition at line 1311 of file wingdi.h.

◆ TMPF_TRUETYPE

#define TMPF_TRUETYPE   4

Definition at line 1313 of file wingdi.h.

◆ TMPF_VECTOR

#define TMPF_VECTOR   2

Definition at line 1312 of file wingdi.h.

◆ TRANSFORM_CTM

#define TRANSFORM_CTM   4107

Definition at line 1062 of file wingdi.h.

◆ TRANSPARENT

#define TRANSPARENT   1

Definition at line 950 of file wingdi.h.

◆ TRUETYPE_FONTTYPE

#define TRUETYPE_FONTTYPE   4

Definition at line 1109 of file wingdi.h.

◆ TT_AVAILABLE

#define TT_AVAILABLE   1

Definition at line 888 of file wingdi.h.

◆ TT_ENABLED

#define TT_ENABLED   2

Definition at line 889 of file wingdi.h.

◆ TT_POLYGON_TYPE

#define TT_POLYGON_TYPE   24

Definition at line 1318 of file wingdi.h.

◆ TT_PRIM_CSPLINE

#define TT_PRIM_CSPLINE   3

Definition at line 1321 of file wingdi.h.

◆ TT_PRIM_LINE

#define TT_PRIM_LINE   1

Definition at line 1319 of file wingdi.h.

◆ TT_PRIM_QSPLINE

#define TT_PRIM_QSPLINE   2

Definition at line 1320 of file wingdi.h.

◆ TURKISH_CHARSET

#define TURKISH_CHARSET   162

Definition at line 392 of file wingdi.h.

◆ UpdateICMRegKey

#define UpdateICMRegKey   UpdateICMRegKeyA

Definition at line 4484 of file wingdi.h.

◆ VARIABLE_PITCH

#define VARIABLE_PITCH   2

Definition at line 445 of file wingdi.h.

◆ VERTRES

#define VERTRES   10

Definition at line 717 of file wingdi.h.

◆ VERTSIZE

#define VERTSIZE   6

Definition at line 715 of file wingdi.h.

◆ VIETNAMESE_CHARSET

#define VIETNAMESE_CHARSET   163

Definition at line 402 of file wingdi.h.

◆ VISCII_CHARSET

#define VISCII_CHARSET   (BYTE)240 /* viscii1.1-1 */

Definition at line 407 of file wingdi.h.

◆ VREFRESH

#define VREFRESH   116

Definition at line 741 of file wingdi.h.

◆ VTA_BASELINE

#define VTA_BASELINE   24

Definition at line 938 of file wingdi.h.

◆ VTA_BOTTOM

#define VTA_BOTTOM   TA_RIGHT

Definition at line 942 of file wingdi.h.

◆ VTA_CENTER

#define VTA_CENTER   6

Definition at line 939 of file wingdi.h.

◆ VTA_LEFT

#define VTA_LEFT   TA_BOTTOM

Definition at line 940 of file wingdi.h.

◆ VTA_RIGHT

#define VTA_RIGHT   TA_TOP

Definition at line 941 of file wingdi.h.

◆ VTA_TOP

#define VTA_TOP   TA_LEFT

Definition at line 943 of file wingdi.h.

◆ WGL_FONT_LINES

#define WGL_FONT_LINES   0

Definition at line 1324 of file wingdi.h.

◆ WGL_FONT_POLYGONS

#define WGL_FONT_POLYGONS   1

Definition at line 1325 of file wingdi.h.

◆ WGL_SWAP_MAIN_PLANE

#define WGL_SWAP_MAIN_PLANE   1

Definition at line 1338 of file wingdi.h.

◆ WGL_SWAP_OVERLAY1

#define WGL_SWAP_OVERLAY1   2

Definition at line 1339 of file wingdi.h.

◆ WGL_SWAP_OVERLAY10

#define WGL_SWAP_OVERLAY10   1024

Definition at line 1348 of file wingdi.h.

◆ WGL_SWAP_OVERLAY11

#define WGL_SWAP_OVERLAY11   2048

Definition at line 1349 of file wingdi.h.

◆ WGL_SWAP_OVERLAY12

#define WGL_SWAP_OVERLAY12   4096

Definition at line 1350 of file wingdi.h.

◆ WGL_SWAP_OVERLAY13

#define WGL_SWAP_OVERLAY13   8192

Definition at line 1351 of file wingdi.h.

◆ WGL_SWAP_OVERLAY14

#define WGL_SWAP_OVERLAY14   16384

Definition at line 1352 of file wingdi.h.

◆ WGL_SWAP_OVERLAY15

#define WGL_SWAP_OVERLAY15   32768

Definition at line 1353 of file wingdi.h.

◆ WGL_SWAP_OVERLAY2

#define WGL_SWAP_OVERLAY2   4

Definition at line 1340 of file wingdi.h.

◆ WGL_SWAP_OVERLAY3

#define WGL_SWAP_OVERLAY3   8

Definition at line 1341 of file wingdi.h.

◆ WGL_SWAP_OVERLAY4

#define WGL_SWAP_OVERLAY4   16

Definition at line 1342 of file wingdi.h.

◆ WGL_SWAP_OVERLAY5

#define WGL_SWAP_OVERLAY5   32

Definition at line 1343 of file wingdi.h.

◆ WGL_SWAP_OVERLAY6

#define WGL_SWAP_OVERLAY6   64

Definition at line 1344 of file wingdi.h.

◆ WGL_SWAP_OVERLAY7

#define WGL_SWAP_OVERLAY7   128

Definition at line 1345 of file wingdi.h.

◆ WGL_SWAP_OVERLAY8

#define WGL_SWAP_OVERLAY8   256

Definition at line 1346 of file wingdi.h.

◆ WGL_SWAP_OVERLAY9

#define WGL_SWAP_OVERLAY9   512

Definition at line 1347 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY1

#define WGL_SWAP_UNDERLAY1   65536

Definition at line 1354 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY10

#define WGL_SWAP_UNDERLAY10   0x2000000

Definition at line 1363 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY11

#define WGL_SWAP_UNDERLAY11   0x4000000

Definition at line 1364 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY12

#define WGL_SWAP_UNDERLAY12   0x8000000

Definition at line 1365 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY13

#define WGL_SWAP_UNDERLAY13   0x10000000

Definition at line 1366 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY14

#define WGL_SWAP_UNDERLAY14   0x20000000

Definition at line 1367 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY15

#define WGL_SWAP_UNDERLAY15   0x40000000

Definition at line 1368 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY2

#define WGL_SWAP_UNDERLAY2   0x20000

Definition at line 1355 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY3

#define WGL_SWAP_UNDERLAY3   0x40000

Definition at line 1356 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY4

#define WGL_SWAP_UNDERLAY4   0x80000

Definition at line 1357 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY5

#define WGL_SWAP_UNDERLAY5   0x100000

Definition at line 1358 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY6

#define WGL_SWAP_UNDERLAY6   0x200000

Definition at line 1359 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY7

#define WGL_SWAP_UNDERLAY7   0x400000

Definition at line 1360 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY8

#define WGL_SWAP_UNDERLAY8   0x800000

Definition at line 1361 of file wingdi.h.

◆ WGL_SWAP_UNDERLAY9

#define WGL_SWAP_UNDERLAY9   0x1000000

Definition at line 1362 of file wingdi.h.

◆ wglUseFontBitmaps

#define wglUseFontBitmaps   wglUseFontBitmapsA

Definition at line 4485 of file wingdi.h.

◆ wglUseFontOutlines

#define wglUseFontOutlines   wglUseFontOutlinesA

Definition at line 4486 of file wingdi.h.

◆ WHITE_BRUSH

#define WHITE_BRUSH   0

Definition at line 902 of file wingdi.h.

◆ WHITE_PEN

#define WHITE_PEN   6

Definition at line 905 of file wingdi.h.

◆ WHITENESS

#define WHITENESS   0xFF0062

Definition at line 337 of file wingdi.h.

◆ WHITEONBLACK

#define WHITEONBLACK   2

Definition at line 953 of file wingdi.h.

◆ WINDING

#define WINDING   2

Definition at line 605 of file wingdi.h.

◆ WINGDIAPI

#define WINGDIAPI

Definition at line 23 of file wingdi.h.

Typedef Documentation

◆ ABC

typedef struct _ABC ABC

◆ ABCFLOAT

◆ ABORTPROC

typedef BOOL(CALLBACK * ABORTPROC) (HDC, int)

Definition at line 2911 of file wingdi.h.

◆ AXESLIST

Definition at line 4407 of file wingdi.h.

◆ AXESLISTA

◆ AXESLISTW

◆ AXISINFO

Definition at line 4410 of file wingdi.h.

◆ AXISINFOA

◆ AXISINFOW

◆ BCHAR

typedef BYTE BCHAR

Definition at line 4413 of file wingdi.h.

◆ BITMAP

◆ BITMAPCOREHEADER

◆ BITMAPCOREINFO

◆ BITMAPFILEHEADER

◆ BITMAPINFO

◆ BITMAPINFOHEADER

◆ BLENDFUNCTION

◆ CHARSETINFO

◆ CIEXYZ

◆ CIEXYZTRIPLE

◆ COLOR16

typedef USHORT COLOR16

Definition at line 2782 of file wingdi.h.

◆ COLORADJUSTMENT

◆ DESIGNVECTOR

◆ DEVMODE

typedef DEVMODEA DEVMODE

Definition at line 4418 of file wingdi.h.

◆ DEVMODEA

◆ DEVMODEW

◆ DIBSECTION

◆ DISPLAY_DEVICE

Definition at line 4434 of file wingdi.h.

◆ DISPLAY_DEVICEA

◆ DISPLAY_DEVICEW

◆ DOCINFO

typedef DOCINFOA DOCINFO

Definition at line 4414 of file wingdi.h.

◆ DOCINFOA

◆ DOCINFOW

◆ EMR

typedef struct tagEMR EMR

◆ EMRABORTPATH

◆ EMRALPHABLEND

◆ EMRANGLEARC

◆ EMRARC

◆ EMRARCTO

◆ EMRBEGINPATH

◆ EMRBITBLT

◆ EMRCHORD

◆ EMRCLOSEFIGURE

◆ EMRCREATEBRUSHINDIRECT

◆ EMRCREATECOLORSPACE

◆ EMRCREATECOLORSPACEW

◆ EMRCREATEDIBPATTERNBRUSHPT

◆ EMRCREATEMONOBRUSH

◆ EMRCREATEPALETTE

◆ EMRCREATEPEN

◆ EMRDELETECOLORSPACE

◆ EMRDELETEOBJECT

◆ EMRELLIPSE

◆ EMRENDPATH

◆ EMREOF

◆ EMREXCLUDECLIPRECT

◆ EMREXTCREATEFONTINDIRECTW

◆ EMREXTCREATEPEN

◆ EMREXTFLOODFILL

◆ EMREXTSELECTCLIPRGN

◆ EMREXTTEXTOUTA

◆ EMREXTTEXTOUTW

◆ EMRFILLPATH

◆ EMRFILLRGN

◆ EMRFLATTENPATH

◆ EMRFORMAT

◆ EMRFRAMERGN

◆ EMRGDICOMMENT

◆ EMRGRADIENTFILL

◆ EMRINTERSECTCLIPRECT

◆ EMRINVERTRGN

◆ EMRLINETO

◆ EMRMASKBLT

◆ EMRMODIFYWORLDTRANSFORM

◆ EMRMOVETOEX

◆ EMROFFSETCLIPRGN

◆ EMRPAINTRGN

◆ EMRPIE

◆ EMRPIXELFORMAT

◆ EMRPLGBLT

◆ EMRPOLYBEZIER

◆ EMRPOLYBEZIER16

◆ EMRPOLYBEZIERTO

◆ EMRPOLYBEZIERTO16

◆ EMRPOLYDRAW

◆ EMRPOLYDRAW16

◆ EMRPOLYGON

◆ EMRPOLYGON16

◆ EMRPOLYLINE

◆ EMRPOLYLINE16

◆ EMRPOLYLINETO

◆ EMRPOLYLINETO16

◆ EMRPOLYPOLYGON

◆ EMRPOLYPOLYGON16

◆ EMRPOLYPOLYLINE

◆ EMRPOLYPOLYLINE16

◆ EMRPOLYTEXTOUTA

◆ EMRPOLYTEXTOUTW

◆ EMRREALIZEPALETTE

◆ EMRRECTANGLE

◆ EMRRESIZEPALETTE

◆ EMRRESTOREDC

◆ EMRROUNDRECT

◆ EMRSAVEDC

◆ EMRSCALEVIEWPORTEXTEX

◆ EMRSCALEWINDOWEXTEX

◆ EMRSELECTCLIPPATH

◆ EMRSELECTCOLORSPACE

◆ EMRSELECTOBJECT

◆ EMRSELECTPALETTE

◆ EMRSETARCDIRECTION

◆ EMRSETBKCOLOR

◆ EMRSETBKMODE

◆ EMRSETBRUSHORGEX

◆ EMRSETCOLORADJUSTMENT

◆ EMRSETCOLORSPACE

◆ EMRSETDIBITSTODEVICE

◆ EMRSETICMMODE

◆ EMRSETMAPMODE

◆ EMRSETMAPPERFLAGS

◆ EMRSETMETARGN

◆ EMRSETMITERLIMIT

◆ EMRSETPALETTEENTRIES

◆ EMRSETPIXELV

◆ EMRSETPOLYFILLMODE

◆ EMRSETROP2

◆ EMRSETSTRETCHBLTMODE

◆ EMRSETTEXTALIGN

◆ EMRSETTEXTCOLOR

◆ EMRSETVIEWPORTEXTEX

◆ EMRSETVIEWPORTORGEX

◆ EMRSETWINDOWEXTEX

◆ EMRSETWINDOWORGEX

◆ EMRSETWORLDTRANSFORM

◆ EMRSTRETCHBLT

◆ EMRSTRETCHDIBITS

◆ EMRSTROKEANDFILLPATH

◆ EMRSTROKEPATH

◆ EMRTEXT

◆ EMRWIDENPATH

◆ ENHMETAHEADER

◆ ENHMETARECORD

◆ ENHMFENUMPROC

typedef int(CALLBACK * ENHMFENUMPROC) (_In_ HDC hdc, _In_reads_(nHandles) HANDLETABLE FAR *lpht, _In_ CONST ENHMETARECORD *lpmr, _In_ int nHandles, _In_opt_ LPARAM data)

Definition at line 2921 of file wingdi.h.

◆ ENUMLOGFONT

Definition at line 4432 of file wingdi.h.

◆ ENUMLOGFONTA

◆ ENUMLOGFONTEX

Definition at line 4433 of file wingdi.h.

◆ ENUMLOGFONTEXA

◆ ENUMLOGFONTEXDV

Definition at line 4419 of file wingdi.h.

◆ ENUMLOGFONTEXDVA

◆ ENUMLOGFONTEXDVW

◆ ENUMLOGFONTEXW

◆ ENUMLOGFONTW

◆ ENUMTEXTMETRIC

Definition at line 4422 of file wingdi.h.

◆ ENUMTEXTMETRICA

◆ ENUMTEXTMETRICW

◆ EXTLOGFONT

Definition at line 4425 of file wingdi.h.

◆ EXTLOGFONTA

◆ EXTLOGFONTW

◆ EXTLOGPEN

◆ FIXED

typedef struct _FIXED FIXED

◆ FONTENUMPROC

Definition at line 2902 of file wingdi.h.

◆ FONTENUMPROCA

Definition at line 2896 of file wingdi.h.

◆ FONTENUMPROCW

Definition at line 2897 of file wingdi.h.

◆ FONTSIGNATURE

◆ FXPT16DOT16

typedef long FXPT16DOT16

Definition at line 1479 of file wingdi.h.

◆ FXPT2DOT30

typedef long FXPT2DOT30

Definition at line 1480 of file wingdi.h.

◆ GCP_RESULTS

Definition at line 4426 of file wingdi.h.

◆ GCP_RESULTSA

◆ GCP_RESULTSW

◆ GLYPHMETRICS

◆ GLYPHMETRICSFLOAT

◆ GOBJENUMPROC

Definition at line 2905 of file wingdi.h.

◆ GRADIENT_RECT

◆ GRADIENT_TRIANGLE

◆ HANDLETABLE

◆ ICMENUMPROCA

typedef int(CALLBACK * ICMENUMPROCA) (LPSTR, LPARAM)

Definition at line 2929 of file wingdi.h.

◆ ICMENUMPROCW

typedef int(CALLBACK * ICMENUMPROCW) (LPWSTR, LPARAM)

Definition at line 2930 of file wingdi.h.

◆ KERNINGPAIR

◆ LAYERPLANEDESCRIPTOR

◆ LCSCSTYPE

typedef LONG LCSCSTYPE

Definition at line 1762 of file wingdi.h.

◆ LCSGAMUTMATCH

Definition at line 1763 of file wingdi.h.

◆ LCSTYPE

typedef LONG LCSTYPE

Definition at line 2615 of file wingdi.h.

◆ LINEDDAPROC

Definition at line 2906 of file wingdi.h.

◆ LOCALESIGNATURE

◆ LOGBRUSH

◆ LOGBRUSH32

◆ LOGCOLORSPACE

Definition at line 4429 of file wingdi.h.

◆ LOGCOLORSPACEA

◆ LOGCOLORSPACEW

◆ LOGFONT

typedef LOGFONTA LOGFONT

Definition at line 4415 of file wingdi.h.

◆ LOGFONTA

◆ LOGFONTW

◆ LOGPALETTE

◆ LOGPEN

◆ LPABC

typedef struct _ABC * LPABC

◆ LPABCFLOAT

◆ LPAXESLIST

Definition at line 4409 of file wingdi.h.

◆ LPAXESLISTA

◆ LPAXESLISTW

◆ LPAXISINFO

Definition at line 4412 of file wingdi.h.

◆ LPAXISINFOA

◆ LPAXISINFOW

◆ LPBITMAP

◆ LPBITMAPCOREHEADER

◆ LPBITMAPCOREINFO

◆ LPBITMAPFILEHEADER

◆ LPBITMAPINFO

◆ LPBITMAPINFOHEADER

◆ LPBITMAPV4HEADER

◆ LPBLENDFUNCTION

◆ LPCHARSETINFO

◆ LPCIEXYZ

◆ LPCIEXYZTRIPLE

◆ LPCOLORADJUSTMENT

◆ LPDESIGNVECTOR

◆ LPDEVMODE

typedef DEVMODEA * LPDEVMODE

Definition at line 4418 of file wingdi.h.

◆ LPDEVMODEA

◆ LPDEVMODEW

◆ LPDIBSECTION

◆ LPDISPLAY_DEVICE

Definition at line 4434 of file wingdi.h.

◆ LPDISPLAY_DEVICEA

◆ LPDISPLAY_DEVICEW

◆ LPDOCINFO

typedef DOCINFOA * LPDOCINFO

Definition at line 4414 of file wingdi.h.

◆ LPDOCINFOA

◆ LPDOCINFOW

◆ LPENHMETAHEADER

◆ LPENHMETARECORD

◆ LPENUMLOGFONT

Definition at line 4432 of file wingdi.h.

◆ LPENUMLOGFONTA

◆ LPENUMLOGFONTEX

Definition at line 4433 of file wingdi.h.

◆ LPENUMLOGFONTEXA

◆ LPENUMLOGFONTEXDV

Definition at line 4421 of file wingdi.h.

◆ LPENUMLOGFONTEXDVA

◆ LPENUMLOGFONTEXDVW

◆ LPENUMLOGFONTEXW

◆ LPENUMLOGFONTW

◆ LPENUMTEXTMETRIC

Definition at line 4424 of file wingdi.h.

◆ LPENUMTEXTMETRICA

◆ LPENUMTEXTMETRICW

◆ LPEXTLOGFONT

Definition at line 4425 of file wingdi.h.

◆ LPEXTLOGFONTA

◆ LPEXTLOGFONTW

◆ LPEXTLOGPEN

◆ LPFNDEVCAPS

typedef DWORD(CALLBACK * LPFNDEVCAPS) (LPSTR, LPSTR, UINT, LPSTR, LPDEVMODEA)

Definition at line 2932 of file wingdi.h.

◆ LPFNDEVMODE

typedef UINT(CALLBACK * LPFNDEVMODE) (HWND, HMODULE, LPDEVMODEA, LPSTR, LPSTR, LPDEVMODEA, LPSTR, UINT)

Definition at line 2931 of file wingdi.h.

◆ LPFONTSIGNATURE

◆ LPFXPT16DOT16

typedef long * LPFXPT16DOT16

Definition at line 1479 of file wingdi.h.

◆ LPFXPT2DOT30

typedef long * LPFXPT2DOT30

Definition at line 1480 of file wingdi.h.

◆ LPGCP_RESULTS

Definition at line 4426 of file wingdi.h.

◆ LPGCP_RESULTSA

◆ LPGCP_RESULTSW

◆ LPGLYPHMETRICS

◆ LPGLYPHMETRICSFLOAT

◆ LPGRADIENT_RECT

◆ LPGRADIENT_TRIANGLE

◆ LPHANDLETABLE

◆ LPKERNINGPAIR

◆ LPLAYERPLANEDESCRIPTOR

◆ LPLOCALESIGNATURE

◆ LPLOGBRUSH

◆ LPLOGCOLORSPACE

Definition at line 4429 of file wingdi.h.

◆ LPLOGCOLORSPACEA

◆ LPLOGCOLORSPACEW

◆ LPLOGFONT

typedef LOGFONTA * LPLOGFONT

Definition at line 4415 of file wingdi.h.

◆ LPLOGFONTA

◆ LPLOGFONTW

◆ LPLOGPALETTE

◆ LPLOGPEN

◆ LPMAT2

typedef struct _MAT2* LPMAT2

◆ LPMETAFILEPICT

◆ LPMETAHEADER

◆ LPMETARECORD

◆ LPNEWTEXTMETRIC

Definition at line 4430 of file wingdi.h.

◆ LPNEWTEXTMETRICA

◆ LPNEWTEXTMETRICW

◆ LPOUTLINETEXTMETRIC

Definition at line 4427 of file wingdi.h.

◆ LPOUTLINETEXTMETRICA

◆ LPOUTLINETEXTMETRICW

◆ LPPALETTEENTRY

◆ LPPANOSE

◆ LPPATTERN

typedef LOGBRUSH * LPPATTERN

Definition at line 1751 of file wingdi.h.

◆ LPPELARRAY

◆ LPPIXELFORMATDESCRIPTOR

◆ LPPOINTFX

◆ LPPOLYTEXT

typedef POLYTEXTA * LPPOLYTEXT

Definition at line 4428 of file wingdi.h.

◆ LPPOLYTEXTA

◆ LPPOLYTEXTW

◆ LPRASTERIZER_STATUS

◆ LPRGBQUAD

◆ LPRGBTRIPLE

◆ LPRGNDATA

◆ LPTEXTMETRIC

Definition at line 4416 of file wingdi.h.

◆ LPTEXTMETRICA

◆ LPTEXTMETRICW

◆ LPTRIVERTEX

◆ LPTTPOLYCURVE

◆ LPTTPOLYGONHEADER

◆ LPXFORM

typedef struct _XFORM* LPXFORM

◆ MAT2

typedef struct _MAT2 MAT2

◆ METAFILEPICT

◆ METAHEADER

◆ METARECORD

◆ MFENUMPROC

typedef int(CALLBACK * MFENUMPROC) (_In_ HDC hdc, _In_reads_(nObj) HANDLETABLE FAR *lpht, _In_ METARECORD FAR *lpMR, _In_ int nObj, _In_opt_ LPARAM param)

Definition at line 2913 of file wingdi.h.

◆ NEWTEXTMETRIC

Definition at line 4430 of file wingdi.h.

◆ NEWTEXTMETRICA

◆ NEWTEXTMETRICEX

Definition at line 4431 of file wingdi.h.

◆ NEWTEXTMETRICEXA

◆ NEWTEXTMETRICEXW

◆ NEWTEXTMETRICW

◆ NPDEVMODEW

◆ NPEXTLOGPEN

◆ NPLOGPALETTE

◆ OLDFONTENUMPROC

Definition at line 2895 of file wingdi.h.

◆ OUTLINETEXTMETRIC

Definition at line 4427 of file wingdi.h.

◆ OUTLINETEXTMETRICA

◆ OUTLINETEXTMETRICW

◆ PABC

typedef struct _ABC * PABC

◆ PABCFLOAT

◆ PALETTEENTRY

◆ PANOSE

◆ PATTERN

typedef LOGBRUSH PATTERN

Definition at line 1751 of file wingdi.h.

◆ PAXESLIST

Definition at line 4408 of file wingdi.h.

◆ PAXESLISTA

◆ PAXESLISTW

◆ PAXISINFO

Definition at line 4411 of file wingdi.h.

◆ PAXISINFOA

◆ PAXISINFOW

◆ PBITMAP

◆ PBITMAPCOREHEADER

◆ PBITMAPCOREINFO

◆ PBITMAPFILEHEADER

◆ PBITMAPINFO

◆ PBITMAPINFOHEADER

◆ PBITMAPV4HEADER

◆ PBLENDFUNCTION

◆ PCHARSETINFO

◆ PCOLORADJUSTMENT

◆ PDESIGNVECTOR

◆ PDEVMODE

typedef DEVMODEA * PDEVMODE

Definition at line 4418 of file wingdi.h.

◆ PDEVMODEA

◆ PDEVMODEW

◆ PDIBSECTION

◆ PDISPLAY_DEVICE

Definition at line 4434 of file wingdi.h.

◆ PDISPLAY_DEVICEA

◆ PDISPLAY_DEVICEW

◆ PELARRAY

◆ PEMR

typedef struct tagEMR* PEMR

◆ PEMRABORTPATH

◆ PEMRALPHABLEND

◆ PEMRANGLEARC

◆ PEMRARC

◆ PEMRARCTO

◆ PEMRBEGINPATH

◆ PEMRBITBLT

◆ PEMRCHORD

◆ PEMRCLOSEFIGURE

◆ PEMRCREATEBRUSHINDIRECT

◆ PEMRCREATECOLORSPACE

◆ PEMRCREATECOLORSPACEW

◆ PEMRCREATEDIBPATTERNBRUSHPT

◆ PEMRCREATEMONOBRUSH

◆ PEMRCREATEPALETTE

◆ PEMRCREATEPEN

◆ PEMRDELETECOLORSPACE

◆ PEMRDELETEOBJECT

◆ PEMRELLIPSE

◆ PEMRENDPATH

◆ PEMREOF

◆ PEMREXCLUDECLIPRECT

◆ PEMREXTCREATEFONTINDIRECTW

◆ PEMREXTCREATEPEN

◆ PEMREXTFLOODFILL

◆ PEMREXTSELECTCLIPRGN

◆ PEMREXTTEXTOUTA

◆ PEMREXTTEXTOUTW

◆ PEMRFILLPATH

◆ PEMRFILLRGN

◆ PEMRFLATTENPATH

◆ PEMRFORMAT

◆ PEMRFRAMERGN

◆ PEMRGDICOMMENT

◆ PEMRGRADIENTFILL

◆ PEMRINTERSECTCLIPRECT

◆ PEMRINVERTRGN

◆ PEMRLINETO

◆ PEMRMASKBLT

◆ PEMRMODIFYWORLDTRANSFORM

◆ PEMRMOVETOEX

◆ PEMROFFSETCLIPRGN

◆ PEMRPAINTRGN

◆ PEMRPIE

◆ PEMRPIXELFORMAT

◆ PEMRPLGBLT

◆ PEMRPOLYBEZIER

◆ PEMRPOLYBEZIER16

◆ PEMRPOLYBEZIERTO

◆ PEMRPOLYBEZIERTO16

◆ PEMRPOLYDRAW

◆ PEMRPOLYDRAW16

◆ PEMRPOLYGON

◆ PEMRPOLYGON16

◆ PEMRPOLYLINE

◆ PEMRPOLYLINE16

◆ PEMRPOLYLINETO

◆ PEMRPOLYLINETO16

◆ PEMRPOLYPOLYGON

◆ PEMRPOLYPOLYGON16

◆ PEMRPOLYPOLYLINE

◆ PEMRPOLYPOLYLINE16

◆ PEMRPOLYTEXTOUTA

◆ PEMRPOLYTEXTOUTW

◆ PEMRREALIZEPALETTE

◆ PEMRRECTANGLE

◆ PEMRRESIZEPALETTE

◆ PEMRRESTOREDC

◆ PEMRROUNDRECT

◆ PEMRSAVEDC

◆ PEMRSCALEVIEWPORTEXTEX

◆ PEMRSCALEWINDOWEXTEX

◆ PEMRSELECTCLIPPATH

◆ PEMRSELECTCOLORSPACE

◆ PEMRSELECTOBJECT

◆ PEMRSELECTPALETTE

◆ PEMRSETARCDIRECTION

◆ PEMRSETBKCOLOR

◆ PEMRSETBKMODE

◆ PEMRSETBRUSHORGEX

◆ PEMRSETCOLORADJUSTMENT

◆ PEMRSETCOLORSPACE

◆ PEMRSETDIBITSTODEVICE

◆ PEMRSETICMMODE

◆ PEMRSETMAPMODE

◆ PEMRSETMAPPERFLAGS

◆ PEMRSETMETARGN

◆ PEMRSETMITERLIMIT

◆ PEMRSETPALETTEENTRIES

◆ PEMRSETPIXELV

◆ PEMRSETPOLYFILLMODE

◆ PEMRSETROP2

◆ PEMRSETSTRETCHBLTMODE

◆ PEMRSETTEXTALIGN

◆ PEMRSETTEXTCOLOR

◆ PEMRSETVIEWPORTEXTEX

◆ PEMRSETVIEWPORTORGEX

◆ PEMRSETWINDOWEXTEX

◆ PEMRSETWINDOWORGEX

◆ PEMRSETWORLDTRANSFORM

◆ PEMRSTRETCHBLT

◆ PEMRSTRETCHDIBITS

◆ PEMRSTROKEANDFILLPATH

◆ PEMRSTROKEPATH

◆ PEMRTEXT

◆ PEMRWIDENPATH

◆ PENHMETAHEADER

◆ PENUMLOGFONTEXDV

Definition at line 4420 of file wingdi.h.

◆ PENUMLOGFONTEXDVA

◆ PENUMLOGFONTEXDVW

◆ PENUMTEXTMETRIC

Definition at line 4423 of file wingdi.h.

◆ PENUMTEXTMETRICA

◆ PENUMTEXTMETRICW

◆ PEXTLOGFONT

Definition at line 4425 of file wingdi.h.

◆ PEXTLOGFONTA

◆ PEXTLOGFONTW

◆ PEXTLOGPEN

◆ PFONTSIGNATURE

◆ PGLYPHMETRICSFLOAT

◆ PGRADIENT_RECT

◆ PGRADIENT_TRIANGLE

◆ PHANDLETABLE

◆ PIXELFORMATDESCRIPTOR

◆ PLAYERPLANEDESCRIPTOR

◆ PLOCALESIGNATURE

◆ PLOGBRUSH

◆ PLOGBRUSH32

◆ PLOGFONT

typedef LOGFONTA * PLOGFONT

Definition at line 4415 of file wingdi.h.

◆ PLOGFONTA

◆ PLOGFONTW

◆ PLOGPALETTE

◆ PLOGPEN

◆ PMETAHEADER

◆ PMETARECORD

◆ PNEWTEXTMETRIC

Definition at line 4430 of file wingdi.h.

◆ PNEWTEXTMETRICA

◆ PNEWTEXTMETRICW

◆ POINTFLOAT

◆ POINTFX

◆ POLYTEXT

Definition at line 4428 of file wingdi.h.

◆ POLYTEXTA

◆ POLYTEXTW

◆ POUTLINETEXTMETRIC

Definition at line 4427 of file wingdi.h.

◆ POUTLINETEXTMETRICA

◆ POUTLINETEXTMETRICW

◆ PPALETTEENTRY

◆ PPATTERN

typedef LOGBRUSH * PPATTERN

Definition at line 1751 of file wingdi.h.

◆ PPELARRAY

◆ PPIXELFORMATDESCRIPTOR

◆ PPOINTFLOAT

◆ PPOLYTEXT

typedef POLYTEXTA * PPOLYTEXT

Definition at line 4428 of file wingdi.h.

◆ PPOLYTEXTA

◆ PPOLYTEXTW

◆ PRGNDATA

◆ PRGNDATAHEADER

◆ PTEXTMETRIC

Definition at line 4416 of file wingdi.h.

◆ PTEXTMETRICA

◆ PTEXTMETRICW

◆ PTRIVERTEX

◆ PXFORM

typedef struct _XFORM* PXFORM

◆ RASTERIZER_STATUS

◆ RGBQUAD

◆ RGBTRIPLE

◆ RGNDATA

◆ RGNDATAHEADER

◆ TEXTMETRIC

Definition at line 4416 of file wingdi.h.

◆ TEXTMETRICA

◆ TEXTMETRICW

◆ TRIVERTEX

◆ TTPOLYCURVE

◆ TTPOLYGONHEADER

◆ XFORM

typedef struct _XFORM XFORM

Function Documentation

◆ _Out_writes_bytes_to_opt_()

_In_ DWORD _In_ DWORD _Out_writes_bytes_to_opt_ ( cjBuffer  ,
return   
)

◆ _Out_writes_to_()

_In_ UINT _In_ UINT _Out_writes_to_ ( cEntries  ,
return   
)

◆ _Out_writes_to_opt_()

_In_ UINT _In_ UINT _Out_writes_to_opt_ ( cEntries  ,
return   
)

◆ _Outptr_result_bytebuffer_()

_In_ const BITMAPINFO _In_ UINT _Outptr_result_bytebuffer_ ( (pbmi->bmiHeader).  biSizeImage)

◆ _Ret_range_()

_Ret_range_ ( ,
cEntries   
)

◆ _Success_()

_Success_ ( return = NULL)

Definition at line 1028 of file fsctrl.c.

3189{
3191
3192 PVPB Vpb = Vcb->Vpb;
3193 PVPB OldVpb;
3194
3195 BOOLEAN Remount = FALSE;
3196
3197 PAGED_CODE();
3198
3199 UNREFERENCED_PARAMETER( IrpContext );
3200
3201 //
3202 // Check whether we are looking for a device only Mvcb.
3203 //
3204
3205 for (Link = CdData.VcbQueue.Flink;
3206 Link != &CdData.VcbQueue;
3207 Link = Link->Flink) {
3208
3209 *OldVcb = CONTAINING_RECORD( Link, VCB, VcbLinks );
3210
3211 //
3212 // Skip ourselves.
3213 //
3214
3215 if (Vcb == *OldVcb) { continue; }
3216
3217 //
3218 // Look at the Vpb and state of the previous Vcb.
3219 //
3220
3221 OldVpb = (*OldVcb)->Vpb;
3222
3223 if ((OldVpb != Vpb) &&
3224 (OldVpb->RealDevice == Vpb->RealDevice) &&
3225 ((*OldVcb)->VcbCondition == VcbNotMounted)) {
3226
3227 //
3228 // If the current disk is a raw disk then it can match a previous music or
3229 // raw disk.
3230 //
3231
3232 if (FlagOn( Vcb->VcbState, VCB_STATE_AUDIO_DISK)) {
3233
3234 if (FlagOn( (*OldVcb)->VcbState, VCB_STATE_AUDIO_DISK )) {
3235
3236 //
3237 // If we have both TOC then fail the remount if the lengths
3238 // are different or they don't match.
3239 //
3240
3241 if ((Vcb->TocLength != (*OldVcb)->TocLength) ||
3242 ((Vcb->TocLength != 0) &&
3243 !RtlEqualMemory( Vcb->CdromToc,
3244 (*OldVcb)->CdromToc,
3245 Vcb->TocLength ))) {
3246
3247 continue;
3248 }
3249
3250 Remount = TRUE;
3251 break;
3252 }
3253
3254 //
3255 // The current disk is not a raw disk. Go ahead and compare
3256 // serial numbers, volume label and TOC.
3257 //
3258
3259 }
3260 else if ((OldVpb->SerialNumber == Vpb->SerialNumber) &&
3261 (Vcb->TocLength == (*OldVcb)->TocLength) &&
3262 ((Vcb->TocLength == 0) || RtlEqualMemory( Vcb->CdromToc,
3263 (*OldVcb)->CdromToc,
3264 Vcb->TocLength )) &&
3265 (Vpb->VolumeLabelLength == OldVpb->VolumeLabelLength) &&
3266 (RtlEqualMemory( OldVpb->VolumeLabel,
3267 Vpb->VolumeLabel,
3268 Vpb->VolumeLabelLength ))) {
3269 //
3270 // Remember the old Vcb. Then set the return value to
3271 // TRUE and break.
3272 //
3273
3274 Remount = TRUE;
3275 break;
3276 }
3277 }
3278 }
3279
3280 return Remount;
3281}
#define PAGED_CODE()
unsigned char BOOLEAN
CD_DATA CdData
Definition: cddata.c:42
#define VCB_STATE_AUDIO_DISK
Definition: cdstruc.h:712
@ VcbNotMounted
Definition: cdstruc.h:490
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define FlagOn(_F, _SF)
Definition: ext2fs.h:179
IN OUT PVCB IN PDEVICE_OBJECT IN PVPB Vpb
Definition: fatprocs.h:1676
#define RtlEqualMemory(dst, src, len)
Definition: kdvm.h:18
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325
#define Vcb
Definition: cdprocs.h:1415
LIST_ENTRY VcbQueue
Definition: cdstruc.h:334
Definition: typedefs.h:120
struct _LIST_ENTRY * Flink
Definition: typedefs.h:121
Definition: cdstruc.h:498
Definition: iotypes.h:189
WCHAR VolumeLabel[MAXIMUM_VOLUME_LABEL_LENGTH/sizeof(WCHAR)]
Definition: iotypes.h:198
USHORT VolumeLabelLength
Definition: iotypes.h:193
ULONG SerialNumber
Definition: iotypes.h:196
struct _DEVICE_OBJECT * RealDevice
Definition: iotypes.h:195
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
static int Link(const char **args)
Definition: vfdcmd.c:2414

◆ _When_()

_In_ const BITMAPINFO _In_ UINT _When_ ( (pbmi->bmiHeader.biBitCount !=0)  ,
_Outptr_result_bytebuffer_(GDI_DIBSIZE((pbmi->bmiHeader)))   
) -> bmiHeader.biBitCount =
pure virtual

◆ AbortDoc()

INT WINAPI AbortDoc ( _In_ HDC  hdc)

◆ AbortPath()

◆ AddFontMemResourceEx()

HANDLE WINAPI AddFontMemResourceEx ( _In_reads_bytes_(cjSize) PVOID  pvFileView,
_In_ DWORD  cjSize,
_Reserved_ PVOID  pvResrved,
_In_ DWORD pNumFonts 
)

◆ AddFontResourceA()

int WINAPI AddFontResourceA ( _In_ LPCSTR  pszFilename)

Referenced by Test_AddFontResourceA().

◆ AddFontResourceExA()

INT WINAPI AddFontResourceExA ( _In_ LPCSTR  pszFilename,
_In_ DWORD  fl,
_Reserved_ PVOID  pvReserved 
)

Referenced by test_long_names().

◆ AddFontResourceExW()

INT WINAPI AddFontResourceExW ( _In_ LPCWSTR  pszFilename,
_In_ DWORD  fl,
_Reserved_ PVOID  pvReserved 
)

◆ AddFontResourceW()

int WINAPI AddFontResourceW ( _In_ LPCWSTR  pszFilename)

◆ AngleArc()

BOOL WINAPI AngleArc ( _In_ HDC  hdc,
_In_ INT  x,
_In_ INT  y,
_In_ DWORD  dwRadius,
_In_ FLOAT  eStartAngle,
_In_ FLOAT  eSweepAngle 
)

Definition at line 49 of file arc.c.

56{
59 FALSE,
60 hdc,
61 x,
62 y,
63 dwRadius,
64 eStartAngle,
65 eSweepAngle);
66
67 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
68
69 return NtGdiAngleArc(hdc,
70 x,
71 y,
72 dwRadius,
73 RCAST(DWORD, eStartAngle),
74 RCAST(DWORD, eSweepAngle));
75}
#define NULL
Definition: types.h:112
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI AngleArc(_In_ HDC hdc, _In_ INT x, _In_ INT y, _In_ DWORD dwRadius, _In_ FLOAT eStartAngle, _In_ FLOAT eSweepAngle)
Definition: arc.c:49
HDC WINAPI GdiConvertAndCheckDC(HDC hdc)
Definition: dc.c:403
#define RCAST(_Type, _Value)
Definition: gdi32p.h:89
#define HANDLE_EMETAFDC(_RetType, _Func, dwError, hdc,...)
Definition: gdi32p.h:644
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
HDC hdc
Definition: main.c:9
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAngleArc(_In_ HDC hdc, _In_ INT x, _In_ INT y, _In_ DWORD dwRadius, _In_ DWORD dwStartAngle, _In_ DWORD dwSweepAngle)

Referenced by AngleArc(), PlayEnhMetaFileRecord(), test_all_functions(), test_anglearc(), and test_emf_paths().

◆ AnimatePalette()

BOOL WINAPI AnimatePalette ( _In_ HPALETTE  hPal,
_In_ UINT  iStartIndex,
_In_ UINT  cEntries,
_In_reads_(cEntries) CONST PALETTEENTRY ppe 
)

◆ Arc()

BOOL WINAPI Arc ( _In_ HDC  hdc,
_In_ INT  xLeft,
_In_ INT  yTop,
_In_ INT  xRight,
_In_ INT  yBottom,
_In_ INT  xStartArc,
_In_ INT  yStartArc,
_In_ INT  xEndArc,
_In_ INT  yEndArc 
)

Definition at line 5 of file arc.c.

15{
17 Arc,
18 FALSE,
19 hdc,
20 xLeft,
21 yTop,
22 xRight,
23 yBottom,
24 xStartArc,
25 yStartArc,
26 xEndArc,
27 yEndArc);
28
29 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
30
32 hdc,
33 xLeft,
34 yTop,
35 xRight,
36 yBottom,
37 xStartArc,
38 yStartArc,
39 xEndArc,
40 yEndArc);
41}
Definition: arc.h:55
#define HANDLE_METADC(_RetType, _Func, dwError, hdc,...)
Definition: gdi32p.h:589
__kernel_entry W32KAPI BOOL APIENTRY NtGdiArcInternal(_In_ ARCTYPE arctype, _In_ HDC hdc, _In_ INT x1, _In_ INT y1, _In_ INT x2, _In_ INT y2, _In_ INT x3, _In_ INT y3, _In_ INT x4, _In_ INT y4)
@ GdiTypeArc
Definition: ntgdityp.h:20

◆ ArcTo()

BOOL WINAPI ArcTo ( _In_ HDC  hdc,
_In_ INT  xLeft,
_In_ INT  yTop,
_In_ INT  xRight,
_In_ INT  yBottom,
_In_ INT  xRadial1,
_In_ INT  yRadial1,
_In_ INT  xRadial2,
_In_ INT  yRadial2 
)

Definition at line 79 of file arc.c.

89{
91 ArcTo,
92 FALSE,
93 hdc,
94 xLeft,
95 yTop,
96 xRight,
97 yBottom,
98 xRadial1,
99 yRadial1,
100 xRadial2,
101 yRadial2);
102
103 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
104
106 hdc,
107 xLeft,
108 yTop,
109 xRight,
110 yBottom,
111 xRadial1,
112 yRadial1,
113 xRadial2,
114 yRadial2);
115}
BOOL WINAPI ArcTo(_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom, _In_ INT xRadial1, _In_ INT yRadial1, _In_ INT xRadial2, _In_ INT yRadial2)
Definition: arc.c:79
@ GdiTypeArcTo
Definition: ntgdityp.h:21

Referenced by ArcTo(), PlayEnhMetaFileRecord(), test_all_functions(), test_arcto(), and test_emf_paths().

◆ BeginPath()

◆ BitBlt()

BOOL WINAPI BitBlt ( _In_ HDC  hdcDest,
_In_ INT  xDest,
_In_ INT  yDest,
_In_ INT  cxDest,
_In_ INT  cyDest,
_In_opt_ HDC  hdcSrc,
_In_ INT  xSrc,
_In_ INT  ySrc,
_In_ DWORD  dwRop 
)

Definition at line 447 of file painting.c.

457{
458 /* Use PatBlt for no source blt, like windows does */
459 if (!ROP_USES_SOURCE(dwRop))
460 {
461 return PatBlt(hdcDest, xDest, yDest, cx, cy, dwRop);
462 }
463
464 /* For meta DCs we use StretchBlt via emfdc.c */
466 BitBlt,
467 FALSE,
468 hdcDest,
469 xDest,
470 yDest,
471 cx,
472 cy,
473 hdcSrc,
474 xSrc,
475 ySrc,
476 dwRop);
477
478 if ( GdiConvertAndCheckDC(hdcDest) == NULL ) return FALSE;
479
480 return NtGdiBitBlt(hdcDest, xDest, yDest, cx, cy, hdcSrc, xSrc, ySrc, dwRop, 0, 0);
481}
#define ROP_USES_SOURCE(Rop)
Definition: gdi32p.h:88
BOOL WINAPI PatBlt(_In_ HDC hdc, _In_ INT nXLeft, _In_ INT nYLeft, _In_ INT nWidth, _In_ INT nHeight, _In_ DWORD dwRop)
Definition: painting.c:485
BOOL WINAPI BitBlt(_In_ HDC hdcDest, _In_ INT xDest, _In_ INT yDest, _In_ INT cx, _In_ INT cy, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD dwRop)
Definition: painting.c:447
__kernel_entry W32KAPI BOOL APIENTRY NtGdiBitBlt(_In_ HDC hdcDst, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD rop4, _In_ DWORD crBackColor, _In_ FLONG fl)
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
_Out_opt_ int * cx
Definition: commctrl.h:585
static HDC hdcSrc
Definition: xlate.c:32

Referenced by BitBlt().

◆ CancelDC()

BOOL WINAPI CancelDC ( _In_ HDC  hdc)

Referenced by GdiSAPCallback().

◆ CheckColorsInGamut()

BOOL WINAPI CheckColorsInGamut ( _In_ HDC  hdc,
_In_reads_(nCount) LPVOID  pRGBTriple,
_Out_writes_bytes_(nCount) LPVOID  pvBuffer,
_In_ DWORD  nCount 
)

◆ ChoosePixelFormat()

◆ Chord()

BOOL WINAPI Chord ( _In_ HDC  hdc,
_In_ INT  xLeft,
_In_ INT  yTop,
_In_ INT  xRight,
_In_ INT  yBottom,
_In_ INT  xRadial1,
_In_ INT  yRadial1,
_In_ INT  xRadial2,
_In_ INT  yRadial2 
)

Definition at line 119 of file arc.c.

129{
131 Chord,
132 FALSE,
133 hdc,
134 xLeft,
135 yTop,
136 xRight,
137 yBottom,
138 xRadial1,
139 yRadial1,
140 xRadial2,
141 yRadial2);
142
143 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
144
146 hdc,
147 xLeft,
148 yTop,
149 xRight,
150 yBottom,
151 xRadial1,
152 yRadial1,
153 xRadial2,
154 yRadial2);
155}
BOOL WINAPI Chord(_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom, _In_ INT xRadial1, _In_ INT yRadial1, _In_ INT xRadial2, _In_ INT yRadial2)
Definition: arc.c:119
@ GdiTypeChord
Definition: ntgdityp.h:22

Referenced by app_draw_arc(), app_fill_arc(), Chord(), DrawPrimitive(), IntDrawArc(), IntFillArc(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), test_all_functions(), and test_emf_paths().

◆ CloseEnhMetaFile()

◆ CloseFigure()

◆ CloseMetaFile()

◆ ColorMatchToTarget()

BOOL WINAPI ColorMatchToTarget ( _In_ HDC  hdc,
_In_ HDC  hdcTarget,
_In_ DWORD  uAction 
)

◆ CombineRgn()

◆ CombineTransform()

BOOL WINAPI CombineTransform ( _Out_ LPXFORM  pxformResult,
_In_ const XFORM pxform1,
_In_ const XFORM pxform2 
)

Definition at line 64 of file coord.c.

68{
69 XFORM xformTmp;
70
71 /* Check paramters */
72 if (!pxfResult || !pxf1 || !pxf2) return FALSE;
73
74 /* Do matrix multiplication, start with scaling elements */
75 xformTmp.eM11 = (pxf1->eM11 * pxf2->eM11) + (pxf1->eM12 * pxf2->eM21);
76 xformTmp.eM22 = (pxf1->eM21 * pxf2->eM12) + (pxf1->eM22 * pxf2->eM22);
77
78 /* Calculate shear/rotate elements only of they are present */
79 if ((pxf1->eM12 != 0.) || (pxf1->eM21 != 0.) ||
80 (pxf2->eM12 != 0.) || (pxf2->eM21 != 0.))
81 {
82 xformTmp.eM12 = (pxf1->eM11 * pxf2->eM12) + (pxf1->eM12 * pxf2->eM22);
83 xformTmp.eM21 = (pxf1->eM21 * pxf2->eM11) + (pxf1->eM22 * pxf2->eM21);
84 }
85 else
86 {
87 xformTmp.eM12 = 0.;
88 xformTmp.eM21 = 0.;
89 }
90
91 /* Calculate the offset */
92 xformTmp.eDx = _fmul(pxf1->eDx, pxf2->eM11) + _fmul(pxf1->eDy, pxf2->eM21) + pxf2->eDx;
93 xformTmp.eDy = _fmul(pxf1->eDx, pxf2->eM12) + _fmul(pxf1->eDy, pxf2->eM22) + pxf2->eDy;
94
95 /* Check for invalid offset ranges */
96 if ((xformTmp.eDx > MAX_OFFSET) || (xformTmp.eDx < -MAX_OFFSET) ||
97 (xformTmp.eDy > MAX_OFFSET) || (xformTmp.eDy < -MAX_OFFSET))
98 {
99 return FALSE;
100 }
101
102 /* All is ok, return the calculated values */
103 *pxfResult = xformTmp;
104 return TRUE;
105}
#define _fmul(x, y)
Definition: coord.c:60
#define MAX_OFFSET
Definition: coord.c:59
FLOAT eDy
Definition: wingdi.h:1726
FLOAT eM11
Definition: wingdi.h:1721
FLOAT eM21
Definition: wingdi.h:1723
FLOAT eM22
Definition: wingdi.h:1724
FLOAT eM12
Definition: wingdi.h:1722
FLOAT eDx
Definition: wingdi.h:1725

Referenced by EMF_Update_MF_Xform(), enum_emf_WorldTransform(), EnumEnhMetaFile(), GetMaxValue(), METAFILE_PlaybackUpdateGdiTransform(), PlayEnhMetaFileRecord(), Test_CombineTransform(), and Test_CombineTransform_Inval().

◆ CopyEnhMetaFileA()

HENHMETAFILE WINAPI CopyEnhMetaFileA ( _In_ HENHMETAFILE  hemfSrc,
_In_opt_ LPCSTR  pszFile 
)

Referenced by sync_metafile().

◆ CopyEnhMetaFileW()

HENHMETAFILE WINAPI CopyEnhMetaFileW ( _In_ HENHMETAFILE  hemfSrc,
_In_opt_ LPCWSTR  pszFile 
)

◆ CopyMetaFileA()

HMETAFILE WINAPI CopyMetaFileA ( _In_ HMETAFILE  hmfSrc,
_In_opt_ LPCSTR  pszFile 
)

Referenced by test_CopyMetaFile().

◆ CopyMetaFileW()

HMETAFILE WINAPI CopyMetaFileW ( _In_ HMETAFILE  hmfSrc,
_In_opt_ LPCWSTR  pszFile 
)

◆ CreateBitmap()

HBITMAP WINAPI CreateBitmap ( _In_ INT  cx,
_In_ INT  cy,
_In_ UINT  cPlanes,
_In_ UINT  cBitsPerPel,
_In_opt_ const VOID pvBits 
)

Referenced by ANIMATE_TransparentBlt(), BITMAP_CopyImage(), BITMAP_LoadImageW(), BuildMaskFromPoints(), check_auto_fields(), cicCreateDitherBrush(), ColorKeyedMaskBlt(), COMCTL32_EnsureBitmapSize(), CopyMonoImage(), create_bitmap(), create_picture(), create_test_icon(), CreateBitmapIndirect(), CreateCheckMask(), CreateCursor(), CreateFrameBrushes(), CreateIcon(), createImageList(), CreateLayoutIcon(), CreateMonoBitmap(), CreateRadioMask(), CreateTrayIcon(), CURSORICON_GetCursorDataFromBMI(), DllMain(), draw_graphics(), draw_splitbar(), DrawCheckedRect(), get_default_color_table(), HLPFILE_RtfAddTransparentBitmap(), ImageList_AddMasked(), ImageList_Copy(), ImageList_Create(), ImageList_CreateImage(), ImageList_DrawIndirect(), ImageList_GetIcon(), IMAGELIST_InternalExpandBitmaps(), ImageList_Remove(), ImageList_ReplaceIcon(), ImageList_SetIconSize(), ImageList_SetImageCount(), InatCreateIconBySize(), Initialize(), InitPerBitDepth(), IntDrawState(), IntGrayString(), LISTVIEW_CreateCheckBoxIL(), MonSelDrawDisabledRect(), OLEPictureImpl_LoadWICSource(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), RosImageProc(), Rotate90DegreeBlt(), CUIFBitmapDC::SetBitmap(), SetMatrixMessage(), START_TEST(), test_32bit_ddb(), test_AppendMenu(), test_approximate_viewrect(), Test_Bitmap(), test_bitmap(), test_bitmap_colors(), test_bitmap_rendering(), Test_BitmapAttributes(), Test_BitmapEntry(), test_bmBits(), test_brush_pens(), Test_BrushOrigin(), test_child_process(), test_CopyImage_Bitmap(), Test_CreateBitmap(), test_CreateBitmap(), Test_CreateBitmap_Params(), test_CreateBitmapFromHICON(), test_CreateCompatibleDC(), test_CreateIcon(), Test_CursorIcon(), test_data_handles(), test_DC_bitmap(), test_DestroyCursor(), test_DrawIndirect(), test_FillRect(), test_fromhicon(), test_GdiAlphaBlend(), test_GdipCreateBitmapFromHBITMAP(), test_get16dibits(), test_GetCurrentObject(), Test_GetDIBColorTable(), Test_GetDIBits(), test_GetDIBits(), test_GetDIBits_selected_DDB(), Test_GetDIBits_xBpp(), Test_GetIconInfo(), test_getitemrect(), Test_GetPixel_1bpp(), test_handles(), test_himetric(), test_hittest(), test_IImageList_Draw(), test_ImageList_DrawIndirect(), test_images(), test_InsertMenu(), test_item_auto_format(), test_load_save_bmp(), test_marshal_HBITMAP(), test_menu_bmp_and_string(), test_menu_iteminfo(), test_menualign(), test_mf_PatternBrush(), test_mono_bitmap(), test_OleLoad(), test_pattern_brush(), test_printer_dc(), test_ps_alternate(), test_select_object(), test_SetCursor(), Test_SetDCPenColor(), Test_SetDIBits_1bpp(), test_StretchBlt(), TOOLBAR_DrawMasked(), ui_create_cursor(), ui_create_glyph(), UXTHEME_DrawImageBackground(), WDML_Global2DataHandle(), anonymous_namespace{activex.cpp}::win32_create_brush(), and wined3d_device_set_cursor_properties().

◆ CreateBitmapIndirect()

◆ CreateBrushIndirect()

◆ CreateColorSpaceA()

HCOLORSPACE WINAPI CreateColorSpaceA ( _In_ LPLOGCOLORSPACEA  pLogColorSpace)

◆ CreateColorSpaceW()

HCOLORSPACE WINAPI CreateColorSpaceW ( _In_ LPLOGCOLORSPACEW  pLogColorSpace)

◆ CreateCompatibleBitmap()

HBITMAP WINAPI CreateCompatibleBitmap ( _In_ HDC  hdc,
_In_ INT  cx,
_In_ INT  cy 
)

Referenced by add_ruler_units(), Icon::add_to_imagelist(), QuickLaunchBar::AddShortcuts(), AlphaBlendInit(), ANIMATE_PaintFrame(), AppearancePage_OnInit(), BITMAP_CopyImage(), BITMAP_LoadImageW(), BitmapFromIcon(), C1_OnCreate(), CDimmedWindow::Capture(), CaptureScreen(), CC_PrepareColorGraph(), ClockWndProc(), Icon::create_bitmap(), create_bitmap_from_icon(), create_small_bitmap_from_icon(), CCicLibMenuItem::CreateBitmap(), CreateDiscardableBitmap(), CreateDragImage(), CreateLayoutIcon(), CreateMappedBitmap(), CreateMDIMenuBitmap(), CreateSinkBmp(), CreateStateImageList(), CreateTestImage(), CreateTrayIcon(), CURSORICON_GetCursorDataFromBMI(), CURSORICON_GetCursorDataFromIconInfo(), Draw(), CUIFButton::DrawIconProc(), dup_bitmap(), Get16BitD3DFormat(), GetDiaogTextureBrush(), GetRealColorDepth(), GraphCtrl_Create(), GraphCtrl_RedrawOnHeightChange(), GuiCopyFromGraphicsBuffer(), HEADER_CreateDragImage(), HelDdSurfLock(), HelDdSurfUnlock(), HEXEDIT_WM_PAINT(), COpenWithMenu::IconToBitmap(), ImageList_DragMove(), ImageList_DragShowNolock(), ImageList_DrawIndirect(), ImageList_GetIcon(), InatCreateIconBySize(), InitColorButtons(), Initialize(), InitResources(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LISTVIEW_Refresh(), load_picture(), LoadCardBitmapsFromLibrary(), MDI_AugmentFrameMenu(), NT5_DrawBaseBackground(), CDownloaderProgress::OnPaint(), NotifyArea::Paint(), CAppScrnshotPreview::PaintOnDC(), PlotCharacter(), CardRegion::PrepareDragBitmaps(), CardRegion::PrepareDragBitmapsThreed(), START_TEST(), T1_InitBitmap(), test_bcm_get_ideal_size(), test_bm_get_set_image(), test_boundsrect(), test_buffered_paint(), test_button_bm_get_set_image(), Test_CompatBitmapEntry(), test_CreateBitmap(), test_createdibitmap(), test_D3DKMTCreateDCFromMemory(), test_dc_layout(), test_dib_formats(), test_GdiAlphaBlend(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetVisibleClipBounds_memoryDC(), test_get_set_imagelist(), Test_GetDIBits(), test_GetDIBits(), test_GetDIBits_BI_BITFIELDS(), test_GetDIBits_selected_DDB(), Test_GetIconInfo(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_GetSetDIBits_rtl(), test_layered_window(), test_memory_dc_clipping(), Test_PatBlt_Params(), Test_Rectangle(), test_select_object(), ThemeStartBufferedPaint(), TOOLBAR_DrawMasked(), TRACKBAR_Refresh(), TREEVIEW_CreateDragImage(), TREEVIEW_InitCheckboxes(), update_preview(), UXTHEME_SizedBlt(), WinMain(), and ZoomWnd_OnDraw().

◆ CreateCompatibleDC()

HDC WINAPI CreateCompatibleDC ( _In_opt_ HDC  hdc)

Referenced by CMenuDeskBar::_OnPaint(), AboutDlgProc(), add_ruler_units(), Icon::add_to_imagelist(), AddDlg_OnInitDialog(), QuickLaunchBar::AddShortcuts(), alpha_blend_hdc_pixels(), alpha_blend_image(), AlphaBlendInit(), ANIMATE_PaintFrame(), ANIMATE_TransparentBlt(), AppearancePage_OnInit(), BitBltFromClipboard(), BITMAP_CopyImage(), BITMAP_LoadImageW(), BitmapFromClipboardDIB(), BitmapFromHEMF(), BitmapFromIcon(), BitmapToClipboardDIB(), brush_fill_path(), BuildMaskFromPoints(), C1_DrawLabel(), C1_OnButtonDown(), C1_OnButtonUp(), C1_OnCreate(), C1_OnDraw(), C1_OnMouseMove(), C1_SetData(), CDimmedWindow::Capture(), CaptureScreen(), CardWindow::CardWindow(), CC_PrepareColorGraph(), cdtDrawExt(), check_metafile(), ClockWndProc(), ColorKeyedMaskBlt(), COMBO_Init(), COMCTL32_EnsureBitmapSize(), ConvertBitmapTo32Bpp(), ConvertToBlackAndWhite(), CopyMonoImage(), create_alpha_bitmap(), Icon::create_bitmap(), create_bitmap(), create_render_dc(), CCicLibMenuItem::CreateBitmap(), CreateColorDIB(), CreateDragImage(), ATL::CImage::CreateInternal(), CreateLayoutIcon(), CreateMappedBitmap(), CreateMatrix(), CreateMDIMenuBitmap(), CreateMonoBitmap(), CShellLink::CreateShortcutIcon(), CreateStarBitmap(), CreateStateImageList(), CreateTestImage(), CreateTrayIcon(), CUIFBitmapDC::CUIFBitmapDC(), CURSORICON_GetCursorDataFromBMI(), CURSORICON_GetCursorDataFromIconInfo(), D3DXCreateFontIndirectW(), D3DXCreateTextTest(), device_load_logo(), RdpClientUI::Display_DrawGlyph(), RdpClientUI::Display_MemBlt(), RdpClientUI::Display_TriBlt(), DisplayDlgProc(), DlgProc(), DoBlt(), CCanvasWindow::DoDraw(), DoEntry(), DoLoadNames(), Draw(), draw_graphics(), DrawBackgroundPreview(), DrawDibBegin(), DrawIconOnOwnerDrawnButtons(), CUIFButton::DrawIconProc(), DrawProc(), SelectionModel::DrawSelection(), DrawShadowText(), DrawTileBitmap(), DumpFont(), dup_bitmap(), EditDlg_OnInitDialog(), ExtractOneBitmap(), find_installed_font(), SelectionModel::FlipHorizontally(), SelectionModel::FlipVertically(), font_height(), gdi_get_font_metrics(), GdipAddPathString(), GdipCreateBitmapFromHBITMAP(), GdipCreateBitmapFromHICON(), GdipCreateFont(), GdipDrawImagePointsRect(), GdipDrawString(), GdipGetDC(), GdipGetImageGraphicsContext(), GdipIsStyleAvailable(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), GdipNewInstalledFontCollection(), GdipPrivateAddMemoryFont(), GeneralPageProc(), get_16bpp_format(), get_bitmap_info(), get_color_format(), get_dc(), get_font_dpi(), get_font_height(), get_font_hfont(), get_path_hrgn(), get_screen_resolution(), ATL::CImage::GetDC(), GetDiaogTextureBrush(), SelectionModel::GetSelectionContents(), getSubImage(), Ghost_OnDraw(), GraphCtrl_Create(), GuiCopyFromGraphicsBuffer(), HEADER_CreateDragImage(), HEADER_DrawItem(), HelDdSurfLock(), HelDdSurfUnlock(), HEXEDIT_WM_PAINT(), HLPFILE_RtfAddTransparentBitmap(), COpenWithMenu::IconToBitmap(), ImageList_Add(), ImageList_AddMasked(), ImageList_Copy(), ImageList_Create(), ImageList_DragMove(), ImageList_DragShowNolock(), ImageList_DrawIndirect(), ImageList_GetIcon(), IMAGELIST_InternalExpandBitmaps(), ImageList_Remove(), ImageList_Replace(), ImageList_ReplaceIcon(), ImageList_SetImageCount(), ImagingFactory_CreateBitmapFromHBITMAP(), ImagingFactory_CreateBitmapFromHICON(), Imm32DrawBitmap(), Imm32StoreBitmapToBytes(), InatCreateIconBySize(), init_system_font_height(), InitColorButtons(), CFontsDialog::InitFontNames(), Initialize(), InitLogo(), InitPerBitDepth(), InitResources(), IntCreate32BppBitmap(), IntDrawState(), IntGetWindowBitmap(), IntGrayString(), SelectionModel::InvertSelection(), is_font_enumerated(), IsBitmapBlackAndWhite(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LISTVIEW_Refresh(), load_picture(), LoadCardBitmapsFromLibrary(), MainProc(), MainWndProc(), MDI_AugmentFrameMenu(), ME_DrawOLE(), mi_paint_rect(), mstsc_ProtocolIOThread(), NT5_DrawBaseBackground(), NT5_DrawLogoffIcon(), OLEPictureImpl_LoadIcon(), OLEPictureImpl_LoadWICSource(), OLEPictureImpl_SetBitmap(), OnCreate(), OnDrawItem(), OnNcCreate(), CMiniatureWindow::OnPaint(), CPaletteWindow::OnPaint(), CDownloaderProgress::OnPaint(), CBrandBand::OnPaint(), PaintCells(), PAINTING_DrawStateJam(), CAppScrnshotPreview::PaintOnDC(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), CardRegion::PrepareDragBitmaps(), CardRegion::PrepareDragBitmapsThreed(), PressBox(), preview_proc(), ProgressDlg::ProcessWindowMessage(), PROPSHEET_Paint(), putSubImage(), render_masked_bitmap(), RosImageProc(), Rotate90DegreeBlt(), SelectionModel::RotateNTimes90Degrees(), ScreenSaverProc(), CardWindow::SetBackImage(), SetDIBits(), SetMatrixMessage(), CACSizeBox::SetStatus(), SetupControls(), ShowColorSpectrum(), ShowResolutionPreview(), ShowScreenSaverPreview(), SIC_OverlayShortcutImage(), SkewDIB(), SOFTWARE_GdipDrawDriverString(), START_TEST(), STATIC_PaintBitmapfn(), StatusDialogProc(), StatusMessageWindowProc(), stretch_blt_icon(), SelectionModel::StretchSkew(), string_width(), system_font_height(), T1_DrawLabels(), T1_InitBitmap(), T1_OnDraw(), T1_SetData(), target_device(), test_32bit_ddb(), test_alpha_hdc(), Test_BeginPath(), test_BitBlt(), Test_Bitmap(), test_bitmap(), test_bitmap_colors(), test_bitmap_font(), test_bitmap_font_glyph_index(), test_bitmap_font_metrics(), test_bitmap_formats(), test_bitmap_rendering(), test_boundsrect(), test_buffered_paint(), Test_bug3481(), test_button_messages(), test_clear(), test_clipping(), test_clipping_2(), test_color_table(), Test_CompatBitmap(), test_containers(), test_converttoemfplus(), test_CreateBitmap(), Test_CreateCompatibleDC(), test_CreateCompatibleDC(), test_createdibitmap(), Test_CreateDIBitmap_CBM_CREATDIB(), Test_CreateDIBitmap_DIB_PAL_COLORS(), Test_CreateDIBitmap_Params(), Test_CreateDIBitmap_RLE8(), Test_CreateDIBPatternBrushPt_RLE8(), test_createhbitmap(), test_D3DKMTCreateDCFromMemory(), test_data_cache(), test_DC_bitmap(), test_dc_layout(), test_dib_formats(), test_DIB_PAL_COLORS(), Test_DIBSection(), test_dibsections(), test_DrawDib_sizeimage(), test_DrawIcon(), test_DrawIconEx(), test_drawimage(), test_drawpath(), test_DrawState(), test_emf_BitBlt(), test_emfonly(), test_empty(), test_EnumFonts(), test_EnumFonts_subst(), Test_ExcludeClipRect(), test_fillpath(), test_fillrect(), test_FillRect(), test_font_height_scaling(), test_font_metrics(), test_font_substitution(), test_font_transform(), Test_FontPresence(), Test_FontSelection(), test_frameunit(), test_fullname(), test_fullname2_helper(), test_GdiAlphaBlend(), Test_GdiGetCharDimensions(), test_GdiGetCharDimensions(), test_GdiGradientFill(), test_GdipCreateBitmapFromHBITMAP(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetVisibleClipBounds_memoryDC(), test_gditransform(), test_GetCharacterPlacement(), test_GetCurrentObject(), test_GetCursorFrameInfo(), test_getdc(), Test_GetDIBColorTable(), Test_GetDIBits(), test_GetDIBits_selected_DDB(), test_GetDIBits_selected_DIB(), test_GetFontUnicodeRanges(), test_GetGlyphOutline(), Test_GetPixel_1bpp(), Test_GetRandomRgn_CLIPRGN(), Test_GetRandomRgn_Params(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_GetSetDIBits_rtl(), Test_GetTextFace(), Test_GetTextFaceAliasW(), test_GetTextMetrics2(), test_hdc_caching(), test_height_selection(), test_himetric(), test_ImageList_DrawIndirect(), test_layered_window(), Test_MaskBlt_16bpp(), Test_MaskBlt_1bpp(), Test_MaskBlt_32bpp(), Test_MaskBlt_Brush(), test_measure_string(), test_measured_extra_space(), test_memory_dc_clipping(), test_mf_conversions(), test_mono_bitmap(), test_mono_dibsection(), test_nonexistent_font(), Test_NtGdiDoPalette_GdiPalSetEntries(), Test_NtGdiDoPalette_SetDIBColorTable(), test_nullframerect(), test_oemcharset(), Test_OffsetClipRgn(), Test_OffsetRgn(), test_OleLoad(), test_orientation(), test_outline_font(), test_pagetransform(), test_palette_brush(), Test_Params(), Test_PatBlt_Params(), test_path_state(), test_printer_dc(), test_properties(), test_ps_alternate(), Test_Rectangle(), test_ScriptTextOut2(), test_select_object(), Test_SelectDIBSection(), Test_SetBrushOrgEx(), Test_SetDCPenColor(), Test_SetDIBits_1bpp(), test_SetDIBitsToDevice(), test_SetDIBitsToDevice_RLE8(), Test_SetMapMode(), Test_SetPixel_PAL(), Test_SetPixel_Params(), Test_SetWindowExtEx(), test_SetWinMetaFileBits(), Test_SetWorldTransform(), test_simple_graphics(), test_StretchBlt(), test_StretchBlt_TopDownOptions(), test_StretchDIBits(), test_vertical_order(), test_world_transform(), test_worldtransform(), texture2d_create_dc(), ThemeStartBufferedPaint(), TimeZonePageProc(), TOOLBAR_DrawMasked(), TRACKBAR_Refresh(), TrayIcon_GetProcessorUsageIcon(), TREEVIEW_CreateDragImage(), TREEVIEW_InitCheckboxes(), UnpressBox(), update_caret(), update_preview(), UpdateButtonColor(), UXTHEME_DrawImageBackground(), UXTHEME_DrawThemePartToDib(), UXTHEME_SizedBlt(), anonymous_namespace{activex.cpp}::win32_create_dib(), WinGCreateDC(), WndProc(), and ZoomWnd_OnDraw().

◆ CreateDCA()

◆ CreateDCW()

◆ CreateDIBitmap()

◆ CreateDIBPatternBrush()

HBRUSH WINAPI CreateDIBPatternBrush ( _In_ HGLOBAL  hglbDIBPacked,
_In_ UINT  uUsage 
)

◆ CreateDIBPatternBrushPt()

◆ CreateDiscardableBitmap()

HBITMAP WINAPI CreateDiscardableBitmap ( _In_  HDC,
_In_ int  ,
_In_ int   
)

Referenced by test_CreateBitmap().

◆ CreateEllipticRgn()

HRGN WINAPI CreateEllipticRgn ( _In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int   
)

Referenced by test_fromhrgn().

◆ CreateEllipticRgnIndirect()

HRGN WINAPI CreateEllipticRgnIndirect ( _In_  LPCRECT)

◆ CreateEnhMetaFileA()

◆ CreateEnhMetaFileW()

HDC WINAPI CreateEnhMetaFileW ( _In_opt_  HDC,
_In_opt_  LPCWSTR,
_In_opt_  LPCRECT,
_In_opt_  LPCWSTR 
)

◆ CreateFontA()

◆ CreateFontIndirectA()

HFONT WINAPI CreateFontIndirectA ( _In_ const LOGFONTA )

Referenced by _find_font_for_range(), check_height_font_enumproc(), check_vertical_font(), check_vertical_metrics(), create_fixed_pitch_font_proc(), create_font(), create_font_proc(), DoTestEntry(), draw_text_2(), get_font_dpi(), get_font_fsselection(), get_glyph_indices(), get_text_metr_size(), get_tmheight(), IconTitleWndProc(), PlayMetaFileRecord(), START_TEST(), test_bcm_get_ideal_size(), test_bitmap_font_glyph_index(), test_button_messages(), test_CreateFontIndirect(), Test_CreateFontIndirectA(), test_createtext(), test_customdraw(), test_DrawTextCalcRect(), test_dtm_get_ideal_size(), test_east_asian_font_selection(), test_emf_ExtTextOut_on_path(), test_ExtTextOut(), test_fake_bold_font(), Test_FontSelectionEntry(), test_fontsize(), test_fstype_fixup(), test_fullname(), test_fullname2_helper(), test_GdiGetCodePage(), test_GetCharABCWidths(), test_GetCharWidth32(), test_GetCharWidthI(), test_GetFontUnicodeRanges(), test_GetGlyphIndices(), test_GetGlyphOutline(), test_GetGlyphOutline_empty_contour(), test_GetGlyphOutline_metric_clipping(), test_GetKerningPairs(), test_GetOutlineTextMetrics(), test_GetTextFace(), test_height(), test_logfont(), test_long_names(), test_margins_default(), test_margins_font_change(), test_margins_usefontinfo(), test_max_height(), test_mf_SaveDC(), test_negative_width(), test_nonexistent_font(), test_oemcharset(), test_RealizationInfo(), test_SaveDC(), test_script_cache_reuse(), test_ScriptCacheGetHeight(), test_ScriptGetFontProperties(), test_ScriptGetGlyphABCWidth(), test_ScriptPlace(), test_ScriptShape(), test_size(), test_text_extents(), and test_text_metrics().

◆ CreateFontIndirectExA()

HFONT WINAPI CreateFontIndirectExA ( const ENUMLOGFONTEXDVA elfexd)

Definition at line 1657 of file font.c.

1658{
1659 if (elfexd)
1660 {
1661 ENUMLOGFONTEXDVW Logfont;
1662
1664 &Logfont.elfEnumLogfontEx );
1665
1667 (PVOID) &elfexd->elfDesignVector,
1668 sizeof(DESIGNVECTOR));
1669
1670 return NtGdiHfontCreate( &Logfont, 0, 0, 0, NULL);
1671 }
1672 else return NULL;
1673}
VOID WINAPI EnumLogFontExW2A(LPENUMLOGFONTEXA fontA, CONST ENUMLOGFONTEXW *fontW)
Definition: utils.c:402
__kernel_entry W32KAPI HFONT APIENTRY NtGdiHfontCreate(_In_reads_bytes_(cjElfw) ENUMLOGFONTEXDVW *pelfw, _In_ ULONG cjElfw, _In_ LFTYPE lft, _In_ FLONG fl, _In_ PVOID pvCliData)
DESIGNVECTOR elfDesignVector
Definition: wingdi.h:2775
DESIGNVECTOR elfDesignVector
Definition: wingdi.h:2780
ENUMLOGFONTEXW elfEnumLogfontEx
Definition: wingdi.h:2779
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263

Referenced by Test_CreateFontIndirectExA().

◆ CreateFontIndirectExW()

HFONT WINAPI CreateFontIndirectExW ( const ENUMLOGFONTEXDVW elfexd)

Definition at line 1681 of file font.c.

1682{
1683 /* Msdn: Note, this function ignores the elfDesignVector member in
1684 ENUMLOGFONTEXDV.
1685 */
1686 if ( elfexd )
1687 {
1688 return NtGdiHfontCreate((PENUMLOGFONTEXDVW) elfexd, 0, 0, 0, NULL );
1689 }
1690 else return NULL;
1691}

Referenced by CreateFontIndirectW(), and Test_CreateFontIndirectExW().

◆ CreateFontIndirectW()

HFONT WINAPI CreateFontIndirectW ( _In_ const LOGFONTW )

Referenced by C1_SetData(), CB_ThemedPaint(), CFn_WMPaint(), COMBOEX_Create(), CreateBoldFont(), CreateConsoleFontWorker(), CreateDerivedFont(), CCharMapWindow::CreateFontComboBox(), CreateFontIndirectA(), CreateFontW(), CreateLayoutIcon(), CreateMonospaceFont(), CreateTitleFont(), D3DXCreateTextW(), default_page_paint_hook(), dialog_add_font(), DIALOG_CreateIndirect(), dialog_get_sans_serif_height(), Display_OnCreate(), Display_SetTypeFace(), DlgProc(), DoEntry(), DrawNCPreview(), DrawThemeTextEx(), EDIT_PaintText(), EditTypeDlg_OnDrawItem(), find_installed_font(), GB_ThemedPaint(), gdi_get_font_metrics(), GdipAddPathString(), GdipCreateFont(), GdipCreateFontFromLogfontW(), get_font_hfont(), get_tmheightW(), GetPhysicalFontHeight(), CTipbarThread::GetTextSize(), GetThemeTextExtent(), GetThemeTextMetrics(), HH_CreateFont(), InatCreateIconBySize(), IntCreateFont(), IntDrawState(), IPADDRESS_Create(), LISTVIEW_NCCreate(), MainWndProc(), map_font(), NT5_DrawLogoffCaptionText(), OleCreatePropertyFrameIndirect(), OleMetafilePictFromIconAndLabel(), on_wm_initdialog(), CGridView::OnSize(), CTrayClockWnd::OnThemeChanged(), OSK_ChooseFont(), OSK_Create(), PlayEnhMetaFileRecord(), PROPSHEET_DialogProc(), realize_font(), REBAR_NCCreate(), ScriptStringAnalyse(), select_style(), CGridView::SetFont(), SetFont(), SetFontStylesToCombo2(), SetLrgFont(), SHSetDefaultDialogFont(), SoftModalMessageBox(), STATUSBAR_WMCreate(), SYSLINK_SetFont(), T1_GetTextMetric(), T1_SetData(), TAB_DrawItemInterior(), taskdialog_add_main_instruction(), taskdialog_init(), Test_CreateFontIndirectW(), Test_GetIdealSizeNoThemes(), test_GetTextFace(), Test_GetTextFaceAliasW(), ThemeDrawCaptionText(), TOOLBAR_Create(), TOOLTIPS_InitSystemSettings(), TOOLTIPS_SetFont(), TREEVIEW_Create(), TREEVIEW_CreateBoldFont(), TREEVIEW_CreateBoldUnderlineFont(), TREEVIEW_CreateUnderlineFont(), UIComposition::UpdateFont(), wglUseFontOutlines_common(), WINHELP_ButtonBoxWndProc(), and WINHELP_InitFonts().

◆ CreateFontW()

◆ CreateHalftonePalette()

◆ CreateHatchBrush()

◆ CreateICA()

◆ CreateICW()

◆ CreateMetaFileA()

◆ CreateMetaFileW()

HDC WINAPI CreateMetaFileW ( _In_opt_  LPCWSTR)

◆ CreatePalette()

◆ CreatePatternBrush()

◆ CreatePen()

◆ CreatePenIndirect()

◆ CreatePolygonRgn()

HRGN WINAPI CreatePolygonRgn ( _In_reads_(cPoint) const POINT pptl,
_In_ int  cPoint,
_In_ int  iMode 
)

◆ CreatePolyPolygonRgn()

HRGN WINAPI CreatePolyPolygonRgn ( _In_ const POINT pptl,
_In_reads_(cPoly) const INT pc,
_In_ int  cPoly,
_In_ int  iMode 
)

◆ CreateRectRgn()

HRGN WINAPI CreateRectRgn ( _In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int   
)

Referenced by alpha_blend_pixels_hrgn(), check_update_rgn_(), clip_emf_enum_proc(), CreateRectRgnIndirect(), draw_graphics(), Pane::draw_item(), DrawTextExWorker(), DrawThemeBackgroundEx(), DrawThemeParentBackground(), EDIT_BuildLineDefs_ML(), EDIT_EM_ReplaceSel(), EDIT_WM_NCPaint(), EnumEnhMetaFile(), ExtCreateRegion(), GdipCreateFromHDC2(), get_clip_hrgn(), get_dc_region(), get_path_hrgn(), get_region_hrgn(), get_window_region(), GetMessageRedrawWindowTest(), GetThemeBackgroundRegion(), HEADER_DrawItem(), LISTBOX_NCPaint(), LISTVIEW_NCPaint(), ME_DrawTextWithStyle(), ME_PaintContent(), MF_Play_MetaCreateRegion(), mi_clip(), mi_screen_copy(), mi_scroll(), MonSelMoveDragRect(), OnPaint(), CardWindow::PaintCardRgn(), PlayMetaFile(), PlayMetaFileRecord(), set_control_clipping(), START_TEST(), test_cliphrgn_transform(), test_clipping(), Test_CombineRgn_AND(), Test_CombineRgn_COPY(), Test_CombineRgn_DIFF(), Test_CombineRgn_OR(), Test_CombineRgn_Params(), Test_CombineRgn_XOR(), test_dc_layout(), test_DispatchMessage(), test_dpi_mapping(), test_emf_clipping(), Test_ExcludeClipRect(), Test_FrameRgn(), test_fromhrgn(), test_Get_Release_DC(), Test_GetClipBox(), Test_GetClipRgn(), test_GetClipRgn(), test_GetCurrentObject(), Test_GetDCEx_Cached(), test_GetRandomRgn(), Test_GetRandomRgn_CLIPRGN(), Test_GetRandomRgn_Params(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_handles_on_win64(), test_hdc_caching(), test_Input_mouse(), test_memory_dc_clipping(), test_mf_clipping(), Test_OffsetClipRgn(), Test_OffsetRgn(), test_paint_messages(), Test_PaintRgn(), Test_RectRegions(), Test_Region(), test_region(), test_savedc_2(), Test_ScrollDC(), test_scrolldc(), test_scrollvalidate(), Test_ScrollWindowEx(), test_SetWindowRgn(), test_update_region(), test_vis_rgn(), test_window_dc_clipping(), test_winregion(), TestRedrawWindow(), thread_proc(), TOOLTIPS_Refresh(), TreeListDraw(), TREEVIEW_NCPaint(), and WndProc().

◆ CreateRectRgnIndirect()

◆ CreateRoundRectRgn()

HRGN WINAPI CreateRoundRectRgn ( _In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int   
)

◆ CreateScalableFontResourceA()

BOOL WINAPI CreateScalableFontResourceA ( _In_  DWORD,
_In_  LPCSTR,
_In_  LPCSTR,
_In_opt_  LPCSTR 
)

◆ CreateScalableFontResourceW()

BOOL WINAPI CreateScalableFontResourceW ( _In_  DWORD,
_In_  LPCWSTR,
_In_  LPCWSTR,
_In_opt_  LPCWSTR 
)

◆ CreateSolidBrush()

HBRUSH WINAPI CreateSolidBrush ( _In_  COLORREF)

Referenced by begin_solve_maze(), Brush(), CC_PaintLumBar(), CC_PaintPredefColorArray(), CC_PaintSelectedColor(), CC_PaintUserColorArray(), CC_PrepareColorGraph(), cdtDrawExt(), CFn_WMDrawItem(), ChildWindowProc(), clear_frontbuffer(), ClockWndProc(), ColorsInit(), COMCTL32_EnsureBitmapSize(), create_bitmap(), CreateColorDIB(), CreateFrameBrushes(), CreatePerfWindows(), CShellLink::CreateShortcutIcon(), CUIFSolidBrush::CUIFSolidBrush(), DATETIME_EraseBackground(), DATETIME_Refresh(), DDRedrawFrame(), DDUpdateFrame(), RdpClientUI::Display_DrawGlyph(), RdpClientUI::Display_DrawText(), RdpClientUI::Display_Rect(), CTextEditWindow::DoFillBack(), CardButton::Draw(), draw_cap(), draw_graphics(), Pane::draw_item(), draw_space(), DrawBackgroundPreview(), drawColorBox(), DrawContent(), DrawProc(), DrawThemePreview(), EMFDC_SetDCBrushColor(), EMFDRV_SetDCBrushColor(), Erase(), FancyLogoffOnInit(), Fill(), get_edge_brush(), CUIFColorTableSys::GetBrush(), CUIFColorTableOff10::GetBrush(), GetThemeSysColorBrush(), GraphCtrl_Create(), GuiPaintCaret(), handle_WM_PAINT(), HEADER_DrawHotDivider(), HEADER_FillItemFrame(), HelDdSurfBlt(), HOTKEY_EraseBackground(), ImageList_DrawIndirect(), ImageList_ReplaceIcon(), init(), InitColorButtons(), IPADDRESS_Draw(), LISTVIEW_SetBkColor(), MainWndProc(), ME_DrawTableBorders(), ME_HandleMessage(), mi_fill_rect(), MONTHCAL_Create(), MONTHCAL_SetColor(), MultiWndProc(), MyDrawCaptionTemp(), MyDrawMenuBarTemp(), MyIntDrawRectEdge(), NT5_DrawBaseBackground(), OnCreate(), CTextEditWindow::OnEraseBkGnd(), OSK_Create(), StartMenuRoot::Paint(), CardWindow::PaintCardRgn(), PaintCells(), CUIFBalloonWindow::PaintFrameProc(), CDrvDefExt::PaintStaticControls(), PaintStaticControls(), PaintText(), PlayEnhMetaFileRecord(), plugin_proc(), PolygonTest(), PreviewWndProc(), PROGRESS_Draw(), PROPSHEET_Paint(), REBAR_Register(), ScreenSaverProc(), ShowResolutionPreview(), ShowScreenSaverPreview(), ShutdownOnFriendlyInit(), solid_patblt(), START_TEST(), STATIC_PaintBitmapfn(), STATIC_PaintRectfn(), STATUSBAR_Refresh(), STATUSBAR_RefreshPart(), SysLinkWindowProc(), TAB_EraseTabInterior(), test_BitBlt(), Test_Brush(), test_emfonly(), test_gditransform(), Test_General(), test_GetCurrentObject(), test_getdc(), test_getdc_scaled(), test_Input_mouse(), test_menu_setmenuinfo(), test_nullframerect(), Test_Rectangle(), test_solidbrush(), test_StretchBlt(), test_StretchDIBits(), Text(), TOOLTIPS_Refresh(), TrayIcon_GetProcessorUsageIcon(), TREEVIEW_DrawItem(), TREEVIEW_DrawItemLines(), TREEVIEW_FillBkgnd(), UpdateButtonColor(), UpdatePreviewTheme(), UXTHEME_DrawBackgroundFill(), UXTHEME_DrawThemePartToDib(), anonymous_namespace{activex.cpp}::win32_create_brush(), WinGCreateHalftoneBrush(), WinMain(), WinPrev_OnDraw(), wmain(), WebChildWindow::WndProc(), write_monocolor_span_frontbuffer(), wWinMain(), and ZoomWnd_OnDraw().

◆ DeleteColorSpace()

BOOL WINAPI DeleteColorSpace ( _In_  HCOLORSPACE)

Referenced by PlayEnhMetaFileRecord().

◆ DeleteDC()

BOOL WINAPI DeleteDC ( _In_  HDC)

Referenced by CMenuDeskBar::_OnPaint(), AboutDlgProc(), add_ruler_units(), Icon::add_to_imagelist(), AddDlg_OnInitDialog(), QuickLaunchBar::AddShortcuts(), alpha_blend_hdc_pixels(), alpha_blend_image(), AlphaBlendCleanup(), ANIMATE_PaintFrame(), ANIMATE_TransparentBlt(), BitBltFromClipboard(), BITMAP_CopyImage(), BITMAP_LoadImageW(), BitmapFromClipboardDIB(), BitmapFromHEMF(), BitmapFromIcon(), BitmapToClipboardDIB(), brush_fill_path(), BuildMaskFromPoints(), C1_DrawDragBorder(), C1_DrawLabel(), C1_OnButtonDown(), C1_OnButtonUp(), C1_OnCreate(), C1_OnDraw(), C1_OnMouseMove(), C1_SetData(), cdtDrawExt(), check_metafile(), ClockWndProc(), close_preview(), CloseEnhMetaFile(), ColorDlgProc(), ColorKeyedMaskBlt(), COMBO_Init(), COMCTL32_EnsureBitmapSize(), ConvertBitmapTo32Bpp(), ConvertToBlackAndWhite(), CopyMonoImage(), create_alpha_bitmap(), Icon::create_bitmap(), create_bitmap(), CCicLibMenuItem::CreateBitmap(), CreateColorDIB(), CreateDragImage(), CreateEnhMetaFileW(), ATL::CImage::CreateInternal(), CreateLayoutIcon(), CreateMappedBitmap(), CreateMDIMenuBitmap(), CreateMonoBitmap(), CShellLink::CreateShortcutIcon(), CreateStarBitmap(), CreateStateImageList(), CreateTestImage(), CreateTrayIcon(), CURSORICON_GetCursorDataFromBMI(), CURSORICON_GetCursorDataFromIconInfo(), D3DXCreateFontIndirectW(), D3DXCreateTextTest(), DdCreateDirectDrawObject(), delete_dc(), delete_render_dc(), DeleteObject(), DestroyD3D9DeviceData(), DestroyMatrix(), device_load_logo(), DIALOG_Printing_DialogProc(), RdpClientUI::Display_DrawGlyph(), RdpClientUI::Display_MemBlt(), Display_OnPrint(), RdpClientUI::Display_TriBlt(), DisplayDlgProc(), DlgProc(), DoBlt(), CCanvasWindow::DoDraw(), DoEntry(), DoLoadNames(), Draw(), draw_graphics(), DrawBackgroundPreview(), DrawDibEnd(), DrawIconOnOwnerDrawnButtons(), CUIFButton::DrawIconProc(), DrawProc(), SelectionModel::DrawSelection(), DrawShadowText(), DrawTileBitmap(), DumpFont(), dup_bitmap(), EditDlg_OnInitDialog(), EMFDC_MaskBlt(), EMFDC_PlgBlt(), emfdrv_stretchblt(), ExtractOneBitmap(), find_installed_font(), SelectionModel::FlipHorizontally(), SelectionModel::FlipVertically(), font_height(), free_image_data(), FreeCardBitmaps(), gdi_get_font_metrics(), GdiCreateLocalMetaFilePict(), GdipAddPathString(), GdipCreateBitmapFromHBITMAP(), GdipCreateBitmapFromHICON(), GdipCreateFont(), GdipDrawImagePointsRect(), GdipDrawString(), GdipIsStyleAvailable(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), GdipNewInstalledFontCollection(), GdipPrivateAddMemoryFont(), GdipReleaseDC(), GeneralPageProc(), Get16BitD3DFormat(), get_16bpp_format(), get_bitmap_info(), get_color_format(), get_font_dpi(), get_font_height(), get_font_hfont(), get_path_hrgn(), get_screen_resolution(), CUIFBalloonWindow::GetButtonSize(), GetDiaogTextureBrush(), GetPossibleSettings(), SelectionModel::GetSelectionContents(), getSubImage(), Ghost_OnDraw(), GraphCtrl_Dispose(), GuiCopyFromGraphicsBuffer(), HEADER_CreateDragImage(), HEADER_DrawItem(), HelDdSurfLock(), HelDdSurfUnlock(), HEXEDIT_WM_PAINT(), HLPFILE_RtfAddTransparentBitmap(), COpenWithMenu::IconToBitmap(), ID3DXFontImpl_Release(), ImageList_Add(), ImageList_AddMasked(), ImageList_Copy(), ImageList_DragMove(), ImageList_DragShowNolock(), ImageList_DrawIndirect(), ImageList_GetIcon(), IMAGELIST_InternalExpandBitmaps(), ImageList_Remove(), ImageList_Replace(), ImageList_ReplaceIcon(), ImageList_SetImageCount(), ImageListImpl_Release(), ImagingFactory_CreateBitmapFromHBITMAP(), ImagingFactory_CreateBitmapFromHICON(), Imm32DrawBitmap(), Imm32StoreBitmapToBytes(), InatCreateIconBySize(), init_system_font_height(), InitColorButtons(), CFontsDialog::InitFontNames(), InitLogo(), InitResources(), IntCreate32BppBitmap(), IntDrawState(), IntGetWindowBitmap(), IntGrayString(), SelectionModel::InvertSelection(), is_font_enumerated(), IsBitmapBlackAndWhite(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LISTVIEW_Refresh(), load_picture(), LoadCardBitmapsFromLibrary(), LookupIconIdFromDirectoryEx(), MainProc(), MainWndProc(), MDI_AugmentFrameMenu(), ME_DrawOLE(), mi_paint_rect(), move_bitmap(), NT5_DrawBaseBackground(), NT5_DrawLogoffIcon(), OLEPictureImpl_LoadIcon(), OLEPictureImpl_LoadWICSource(), OLEPictureImpl_SetBitmap(), CMainWindow::OnCommand(), OnDestroy(), OnDrawItem(), OnNcDestroy(), CMiniatureWindow::OnPaint(), CPaletteWindow::OnPaint(), CDownloaderProgress::OnPaint(), CBrandBand::OnPaint(), paint_ruler(), PAINTING_DrawStateJam(), CAppScrnshotPreview::PaintOnDC(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), PressBox(), preview_proc(), print_quick(), PRINTDLG_ChangePrinterA(), PrintRegistryHive(), ProgressDlg::ProcessWindowMessage(), PROPSHEET_Paint(), putSubImage(), ATL::CImage::ReleaseDC(), CardRegion::ReleaseDragBitmaps(), render_masked_bitmap(), RosImageProc(), Rotate90DegreeBlt(), SelectionModel::RotateNTimes90Degrees(), Run(), ScreenSaverProc(), SetDIBits(), SetMatrixMessage(), CACSizeBox::SetStatus(), SetupControls(), SetWinMetaFileBits(), ShowColorSpectrum(), ShowResolutionPreview(), ShowScreenSaverPreview(), SIC_Initialize(), SIC_OverlayShortcutImage(), SkewDIB(), SOFTWARE_GdipDrawDriverString(), START_TEST(), STATIC_PaintBitmapfn(), StatusDialogProc(), StatusMessageWindowProc(), stretch_blt_icon(), SelectionModel::StretchSkew(), string_width(), system_font_height(), T1_DrawDragBorder(), T1_DrawLabels(), T1_InitBitmap(), T1_OnDraw(), T1_SetData(), target_device(), test_32bit_ddb(), test_abort_proc(), test_alpha_hdc(), Test_BeginPath(), test_BitBlt(), Test_Bitmap(), test_bitmap(), test_bitmap_colors(), test_bitmap_font(), test_bitmap_font_glyph_index(), test_bitmap_font_metrics(), test_bitmap_rendering(), test_boundsrect(), test_buffered_paint(), Test_bug3481(), test_button_messages(), test_ChooseFontA(), test_clear(), test_clipping(), test_clipping_2(), test_color_table(), Test_CompatBitmap(), test_containers(), test_converttoemfplus(), test_CreateBitmap(), Test_CreateCompatibleDC(), test_CreateCompatibleDC(), test_createdibitmap(), Test_CreateDIBitmap_CBM_CREATDIB(), test_createhbitmap(), test_D3DKMTCreateDCFromMemory(), test_data_cache(), test_dc_layout(), test_dc_values(), test_DeleteDC(), test_dib_formats(), test_DIB_PAL_COLORS(), Test_DIBSection(), test_dibsections(), test_dpi_mapping(), test_DrawDib_sizeimage(), test_DrawIcon(), test_DrawIconEx(), test_drawimage(), test_drawpath(), test_DrawState(), test_emf_BitBlt(), test_emfonly(), test_empty(), test_enumdisplaydevices_adapter(), test_EnumFonts(), test_EnumFonts_subst(), test_fillpath(), test_fillrect(), test_FillRect(), test_font_height_scaling(), test_font_metrics(), test_font_substitution(), test_font_transform(), Test_FontPresence(), Test_FontSelection(), test_frameunit(), test_fullname(), test_fullname2_helper(), test_GdiAlphaBlend(), Test_GdiGetCharDimensions(), test_GdiGetCharDimensions(), test_GdiGradientFill(), test_GdipCreateBitmapFromHBITMAP(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetVisibleClipBounds_memoryDC(), test_gditransform(), test_GetCurrentObject(), test_GetCursorFrameInfo(), test_getdc(), Test_GetDIBits(), test_GetDIBits_selected_DDB(), test_GetDIBits_selected_DIB(), test_GetFontUnicodeRanges(), test_GetGlyphOutline(), Test_GetPixel_1bpp(), Test_GetRandomRgn_CLIPRGN(), Test_GetRandomRgn_Params(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_GetSetDIBits_rtl(), test_GetSystemMetrics(), Test_GetTextFace(), Test_GetTextFaceAliasW(), test_GetTextMetrics2(), test_hdc_caching(), test_height_selection(), test_himetric(), test_ImageList_DrawIndirect(), test_layered_window(), test_measure_string(), test_measured_extra_space(), test_memory_dc_clipping(), test_mf_conversions(), test_mono_bitmap(), test_mono_dibsection(), test_nonexistent_font(), Test_NtGdiDoPalette_SetDIBColorTable(), test_nullframerect(), test_oemcharset(), test_OleLoad(), test_orientation(), test_outline_font(), test_pagetransform(), test_palette_brush(), Test_PatBlt_Params(), test_path_state(), test_PrintDlgExW(), test_printer_dc(), test_properties(), test_ps_alternate(), test_pscript_printer_dc(), Test_Rectangle(), test_savedc(), test_ScriptTextOut2(), test_select_object(), Test_SetDCPenColor(), Test_SetDIBits_1bpp(), test_SetDIBitsToDevice(), test_SetDIBitsToDevice_RLE8(), test_SetICMMode(), Test_SetMapMode(), Test_SetPixel_Params(), test_setvirtualresolution(), Test_SetWindowExtEx(), test_SetWinMetaFileBits(), Test_SetWorldTransform(), test_simple_graphics(), test_StretchBlt(), test_StretchBlt_TopDownOptions(), test_StretchDIBits(), test_thread_objects(), test_vertical_order(), test_window_dc_clipping(), test_world_transform(), test_worldtransform(), texture2d_create_dc(), TimeZonePageProc(), TOOLBAR_DrawMasked(), TrayIcon_GetProcessorUsageIcon(), TREEVIEW_CreateDragImage(), TREEVIEW_InitCheckboxes(), UnpressBox(), update_caret(), update_preview(), UpdateButtonColor(), UXTHEME_DrawImageBackground(), UXTHEME_SizedBlt(), anonymous_namespace{activex.cpp}::win32_create_dib(), WinMain(), WndProc(), ZoomWnd_OnDraw(), CardWindow::~CardWindow(), CUIFBitmapDC::~CUIFBitmapDC(), and ImageModel::~ImageModel().

◆ DeleteEnhMetaFile()

◆ DeleteMetaFile()

◆ DeleteObject()

BOOL WINAPI DeleteObject ( _In_  HGDIOBJ)

◆ DescribePixelFormat()

◆ DeviceCapabilitiesA()

DWORD WINAPI DeviceCapabilitiesA ( _In_ LPCSTR  pDevice,
_In_opt_ LPCSTR  pPort,
_In_ WORD  fwCapability,
_Out_writes_opt_(_Inexpressible_(1)) LPSTR  pOutput,
_In_opt_ const DEVMODEA pDevMode 
)

◆ DeviceCapabilitiesW()

DWORD WINAPI DeviceCapabilitiesW ( _In_ LPCWSTR  pDevice,
_In_opt_ LPCWSTR  pPort,
_In_ WORD  fwCapability,
_Out_writes_opt_(_Inexpressible_(1)) LPWSTR  pOutput,
_In_opt_ const DEVMODEW pDevMode 
)

◆ DPtoLP()

◆ DrawEscape()

int WINAPI DrawEscape ( _In_ HDC  hdc,
_In_ int  iEscape,
_In_ int  cjIn,
_In_reads_bytes_opt_(cjIn) LPCSTR  lpIn 
)

Referenced by PlayEnhMetaFileRecord().

◆ Ellipse()

◆ EndDoc()

◆ EndPage()

◆ EndPath()

◆ EnumEnhMetaFile()

◆ EnumFontFamiliesA()

◆ EnumFontFamiliesExA()

◆ EnumFontFamiliesExW()

◆ EnumFontFamiliesW()

◆ EnumFontsA()

int WINAPI EnumFontsA ( _In_  HDC,
_In_opt_  LPCSTR,
_In_  FONTENUMPROCA,
_In_  LPARAM 
)

◆ EnumFontsW()

int WINAPI EnumFontsW ( _In_  HDC,
_In_opt_  LPCWSTR,
_In_  FONTENUMPROCW,
_In_  LPARAM 
)

◆ EnumICMProfilesA()

int WINAPI EnumICMProfilesA ( _In_  HDC,
_In_  ICMENUMPROCA,
_In_opt_  LPARAM 
)

Referenced by test_EnumICMProfilesA().

◆ EnumICMProfilesW()

int WINAPI EnumICMProfilesW ( _In_  HDC,
_In_  ICMENUMPROCW,
_In_opt_  LPARAM 
)

Referenced by test_EnumICMProfilesW().

◆ EnumMetaFile()

◆ EnumObjects()

int WINAPI EnumObjects ( _In_  HDC,
_In_ int  ,
_In_  GOBJENUMPROC,
_In_  LPARAM 
)

◆ EqualRgn()

◆ Escape()

int WINAPI Escape ( _In_ HDC  hdc,
_In_ int  iEscape,
_In_ int  cjIn,
_In_reads_bytes_opt_(cjIn) LPCSTR  pvIn,
_Out_opt_ LPVOID  pvOut 
)

◆ ExcludeClipRect()

◆ ExcludeUpdateRgn()

int WINAPI ExcludeUpdateRgn ( HDC  hDC,
HWND  hWnd 
)

Definition at line 368 of file ntwrapper.h.

369{
371}
static HDC hDC
Definition: 3dtext.c:33
HWND hWnd
Definition: settings.c:17
INT NTAPI NtUserExcludeUpdateRgn(HDC hDC, HWND hWnd)
Definition: painting.c:2519

◆ ExtCreatePen()

◆ ExtCreateRegion()

◆ ExtEscape()

◆ ExtFloodFill()

BOOL WINAPI ExtFloodFill ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_  COLORREF,
_In_  UINT 
)

◆ ExtSelectClipRgn()

◆ ExtTextOutA()

◆ ExtTextOutW()

◆ FillPath()

◆ FillRect()

int WINAPI FillRect ( HDC  ,
LPCRECT  ,
HBRUSH   
)

Referenced by add_ruler_units(), QuickLaunchBar::AddShortcuts(), ANIMATE_EraseBackground(), ANIMATE_PaintFrame(), BitmapFromIcon(), BuildMaskFromPoints(), BUTTON_WindowProc(), ButtonWndProc_common(), CB_Paint(), CB_ThemedPaint(), CBPaintText(), CC_PaintLumBar(), CC_PaintPredefColorArray(), CC_PaintSelectedColor(), CC_PaintTriangle(), CC_PaintUserColorArray(), CC_PrepareColorGraph(), CFn_WMDrawItem(), ChildWindowProc(), cicConvertBlackBKGBitmap(), cicCreateDisabledBitmap(), cicCreateMaskBmp(), cicCreateShadowMaskBmp(), cicGetIconBitmaps(), cicMirrorBitmap(), COMBO_Paint(), ConfigDlgProc(), create_bitmap(), create_bitmap_from_icon(), create_small_bitmap_from_icon(), CreateCheckMask(), CreateColorDIB(), CreateLayoutIcon(), CreateMonoBitmap(), CreateRadioMask(), CShellLink::CreateShortcutIcon(), CreateTrayIcon(), DATETIME_EraseBackground(), DATETIME_Refresh(), DDRedrawFrame(), DDUpdateFrame(), DEFDLG_Proc(), DIALOG_SYMBOL_DlgProc(), Display_OnPaint(), DisplayPageProc(), CCanvasWindow::DoDraw(), DoEntry(), CTextEditWindow::DoFillBack(), DoTestEntry(), Draw(), draw_chunk_bar_H(), draw_chunk_bar_V(), Pane::draw_item(), draw_preview(), draw_rect_edge(), draw_solid_bar_H(), draw_solid_bar_V(), draw_solid_bkg_H(), draw_solid_bkg_V(), draw_solid_square(), draw_space(), CToolSettingsWindow::drawAirBrush(), DrawBackgroundPreview(), CToolSettingsWindow::drawBox(), CToolSettingsWindow::drawBrush(), drawColorBox(), DrawContent(), DrawFrameControl(), CUIFButton::DrawIconProc(), FlatButton::DrawItem(), PictureButton::DrawItem(), CToolSettingsWindow::drawLine(), CToolSettingsWindow::drawRubber(), drawSizeBoxes(), DrawThemePreview(), CToolSettingsWindow::drawTrans(), CUIFMenuItem::DrawUnderline(), DrawWindowForNCPreview(), EDIT_WM_Paint(), EditGlyphEditWndProc(), EditTypeDlg_OnDrawItem(), Erase(), FILEDLG95_LOOKIN_DrawItem(), FillGrid(), GB_Paint(), GB_ThemedPaint(), GraphCtrl_AddPoint(), GraphCtrl_Create(), GraphCtrl_RedrawBitmap(), HackFillStaticBg(), handle_WM_PAINT(), HDropFromClipboard(), HEADER_DrawHotDivider(), HEADER_FillItemFrame(), HEADER_Refresh(), HelDdSurfBlt(), HEXEDIT_PaintLines(), HEXEDIT_WM_PAINT(), HOTKEY_EraseBackground(), ICONTITLE_Paint(), COpenWithMenu::IconToBitmap(), InitColorButtons(), InitResources(), IntDefWindowProc(), IntDrawMenuBarTemp(), IntDrawRectEdge(), IntDrawState(), IntEngGradientFillRect(), IntEngGradientFillTriangle(), IntFillWindow(), IntScrollDrawSizeGrip(), IPADDRESS_Draw(), KeyboardSpeedProc(), LISTBOX_WindowProc(), ListBoxWndProc_common(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LISTVIEW_FillBkgnd(), MainWnd_OnDrawItem(), MainWnd_OnPaint(), MainWndProc(), MCIAVI_WindowProc(), ME_DrawTableBorders(), MENU_DrawMenuItem(), MENU_DrawPopupMenu(), MENU_DrawScrollArrows(), mi_fill_rect(), MonSelPaintMonitor(), MONTHCAL_EraseBkgnd(), MONTHCAL_PaintCalendar(), MONTHCAL_PaintTitle(), MonthCalPaint(), MultiWndProc(), MyDrawCaptionTemp(), MyDrawMenuBarTemp(), MyDrawScrollbar(), MyIntDrawRectEdge(), NC_DoNCPaint(), CMenuToolbarBase::OnCustomDraw(), CTrayShowDesktopButton::OnDraw(), OnDrawItem(), CFontsDialog::OnDrawItem(), CAutoComplete::OnDrawItem(), CTextEditWindow::OnEraseBkGnd(), OnPaint(), CMiniatureWindow::OnPaint(), CPaletteWindow::OnPaint(), CACSizeBox::OnPaint(), NotifyArea::Paint(), ClockWindow::Paint(), StartMenuRoot::Paint(), paint_ruler(), CardWindow::PaintCardRgn(), PaintCells(), PaintControl(), CDrvDefExt::PaintStaticControls(), PaintStaticControls(), PaintSuspendedWindow(), PaintText(), PickIconProc(), print_preview(), PRINTDLG_PagePaintProc(), ProcessListWndProc(), PROPSHEET_Paint(), RealDrawFrameControl(), RichEditWndProc_common(), RosImageProc(), ScrollBarWndProc_common(), SetMatrixMessage(), ShowResolutionPreview(), ShowScreenSaverPreview(), START_TEST(), STATIC_PaintBitmapfn(), STATIC_PaintEnhMetafn(), STATIC_PaintIconfn(), STATIC_PaintRectfn(), STATIC_PaintTextfn(), STATUSBAR_Refresh(), STATUSBAR_RefreshPart(), SYSLINK_Draw(), SysLinkWindowProc(), TAB_EraseTabInterior(), test_abort_proc(), test_FillRect(), Test_FrameRgn(), test_mbs_help(), Test_PaintRgn(), test_scrolldc(), test_scrollwindow(), test_SetWinMetaFileBits(), Test_SrcMono1(), test_WM_PAINT(), Text(), ThemeDrawScrollBarsGrip(), TOOLTIPS_Refresh(), TRACKBAR_DrawChannel(), TRACKBAR_FillThumb(), TRACKBAR_Refresh(), TrayIcon_GetProcessorUsageIcon(), TREEVIEW_DrawItem(), TREEVIEW_FillBkgnd(), TREEVIEW_InitCheckboxes(), UB_Paint(), UITOOLS95_DFC_ButtonPush(), UITOOLS95_DrawFrameButton(), UITOOLS_DrawCheckedRect(), UpdateButtonColor(), User32DefWindowProc(), UXTHEME_DrawBackgroundFill(), UXTHEME_DrawThemePartToDib(), WinPrev_OnDraw(), WndProc(), WebChildWindow::WndProc(), and ZoomWnd_OnDraw().

◆ FillRgn()

int WINAPI FillRgn ( _In_  HDC,
_In_  HRGN,
_In_  HBRUSH 
)

Definition at line 183 of file painting.c.

187{
188
189 if ((hrgn == NULL) || (hbr == NULL))
190 return FALSE;
191
193
194 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
195
196 return NtGdiFillRgn(hdc, hrgn, hbr);
197}
static HRGN hrgn
BOOL WINAPI FillRgn(_In_ HDC hdc, _In_ HRGN hrgn, _In_ HBRUSH hbr)
Definition: painting.c:183
__kernel_entry W32KAPI BOOL APIENTRY NtGdiFillRgn(_In_ HDC hdc, _In_ HRGN hrgn, _In_ HBRUSH hbrush)
Definition: bitblt.c:1303

Referenced by FillRgn(), HEADER_DrawItem(), OnPaint(), CardWindow::PaintCardRgn(), CUIFBalloonWindow::PaintFrameProc(), PaintRgn(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), print_preview(), Test_FrameRgn(), and TOOLTIPS_Refresh().

◆ FixBrushOrgEx()

BOOL WINAPI FixBrushOrgEx ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_opt_  LPPOINT 
)

◆ FlattenPath()

BOOL WINAPI FlattenPath ( _In_  HDC)

◆ FloodFill()

BOOL WINAPI FloodFill ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_  COLORREF 
)

Referenced by PlayMetaFileRecord().

◆ FrameRgn()

◆ GdiAlphaBlend()

BOOL WINAPI GdiAlphaBlend ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_  HDC,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_  BLENDFUNCTION 
)

◆ GdiComment()

◆ GdiConvertToDevmodeW()

DEVMODEW *WINAPI GdiConvertToDevmodeW ( const DEVMODEA dmA)

Definition at line 969 of file misc.c.

970{
971 DEVMODEW *dmW;
972 WORD dmW_size, dmA_size;
973
974 dmA_size = dmA->dmSize;
975
976 /* this is the minimal dmSize that XP accepts */
977 if (dmA_size < FIELD_OFFSET(DEVMODEA, dmFields))
978 return NULL;
979
980 if (dmA_size > sizeof(DEVMODEA))
981 dmA_size = sizeof(DEVMODEA);
982
983 dmW_size = dmA_size + CCHDEVICENAME;
984 if (dmA_size >= FIELD_OFFSET(DEVMODEA, dmFormName) + CCHFORMNAME)
985 dmW_size += CCHFORMNAME;
986
987 dmW = HeapAlloc(GetProcessHeap(), 0, dmW_size + dmA->dmDriverExtra);
988 if (!dmW) return NULL;
989
990 MultiByteToWideChar(CP_ACP, 0, (const char*) dmA->dmDeviceName, -1,
992 /* copy slightly more, to avoid long computations */
993 memcpy(&dmW->dmSpecVersion, &dmA->dmSpecVersion, dmA_size - CCHDEVICENAME);
994
995 if (dmA_size >= FIELD_OFFSET(DEVMODEA, dmFormName) + CCHFORMNAME)
996 {
997 if (dmA->dmFields & DM_FORMNAME)
998 MultiByteToWideChar(CP_ACP, 0, (const char*) dmA->dmFormName, -1,
999 dmW->dmFormName, CCHFORMNAME);
1000 else
1001 dmW->dmFormName[0] = 0;
1002
1003 if (dmA_size > FIELD_OFFSET(DEVMODEA, dmLogPixels))
1004 memcpy(&dmW->dmLogPixels, &dmA->dmLogPixels, dmA_size - FIELD_OFFSET(DEVMODEA, dmLogPixels));
1005 }
1006
1007 if (dmA->dmDriverExtra)
1008 memcpy((char *)dmW + dmW_size, (const char *)dmA + dmA_size, dmA->dmDriverExtra);
1009
1010 dmW->dmSize = dmW_size;
1011
1012 return dmW;
1013}
#define CCHDEVICENAME
Definition: ddrawi.h:63
#define GetProcessHeap()
Definition: compat.h:736
#define CP_ACP
Definition: compat.h:109
#define HeapAlloc
Definition: compat.h:733
#define MultiByteToWideChar
Definition: compat.h:110
unsigned short WORD
Definition: ntddk_ex.h:93
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
BYTE dmFormName[CCHFORMNAME]
Definition: wingdi.h:1593
DWORD dmFields
Definition: wingdi.h:1570
WORD dmSpecVersion
Definition: wingdi.h:1566
WORD dmLogPixels
Definition: wingdi.h:1594
WORD dmDriverExtra
Definition: wingdi.h:1569
BYTE dmDeviceName[CCHDEVICENAME]
Definition: wingdi.h:1565
WORD dmSize
Definition: wingdi.h:1568
WCHAR dmDeviceName[CCHDEVICENAME]
Definition: wingdi.h:1617
WORD dmSpecVersion
Definition: wingdi.h:1618
WCHAR dmFormName[CCHFORMNAME]
Definition: wingdi.h:1645
WORD dmLogPixels
Definition: wingdi.h:1646
WORD dmSize
Definition: wingdi.h:1620
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
#define CCHFORMNAME
Definition: wingdi.h:67
#define DM_FORMNAME
Definition: wingdi.h:1266
struct _devicemodeA DEVMODEA

Referenced by ChangeDisplaySettingsExA(), CreateDCA(), CreateDesktopA(), CreateICA(), OpenPrinterA(), pagesetup_get_devmode(), ResetDCA(), RosConvertAnsiDevModeToUnicodeDevmode(), and SetJobA().

◆ GdiFlush()

BOOL WINAPI GdiFlush ( void  )

Definition at line 44 of file misc.c.

45{
46 NtGdiFlush();
47 return TRUE;
48}
__kernel_entry W32KAPI NTSTATUS APIENTRY NtGdiFlush(VOID)
Definition: gdibatch.c:471

Referenced by ddraw_surface7_ReleaseDC(), RdpClientUI::Display_PaintBitmap(), RdpClientUI::Display_RestoreDesktop(), RdpClientUI::Display_SaveDesktop(), DrawShadowText(), DrawTextExWorker(), GdipFlush(), and GdiSetBatchLimit().

◆ GdiGetBatchLimit()

DWORD WINAPI GdiGetBatchLimit ( void  )

Definition at line 862 of file misc.c.

863{
864 return GDI_BatchLimit;
865}
DWORD GDI_BatchLimit
Definition: misc.c:36

◆ GdiGetCharDimensions()

LONG WINAPI GdiGetCharDimensions ( HDC  hdc,
LPTEXTMETRICW  lptm,
LONG height 
)

Definition at line 2145 of file font.c.

2146{
2147 SIZE sz;
2149 static const WCHAR alphabet[] =
2150 {
2151 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q',
2152 'r','s','t','u','v','w','x','y','z','A','B','C','D','E','F','G','H',
2153 'I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',0
2154 };
2155
2156 if(!GetTextMetricsW(hdc, &tm)) return 0;
2157
2158 if(!GetTextExtentPointW(hdc, alphabet, 52, &sz)) return 0;
2159
2160 if (lptm) *lptm = tm;
2161 if (height) *height = tm.tmHeight;
2162
2163 return (sz.cx / 26 + 1) / 2;
2164}
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
static LPTEXTMETRICW lptm
Definition: font.c:42
LONG cx
Definition: kdterminal.h:27
Definition: time.h:68
BOOL WINAPI GetTextMetricsW(_In_ HDC, _Out_ LPTEXTMETRICW)
Definition: text.c:221
BOOL WINAPI GetTextExtentPointW(_In_ HDC hdc, _In_reads_(c) LPCWSTR lpString, _In_ int c, _Out_ LPSIZE lpsz)
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by CalculateCharWidth(), DIALOG_CreateIndirect(), EDIT_EM_SetMargins(), EDIT_UpdateUniscribeData_linedef(), GetDialogBaseUnits(), LoadDialog(), OleCreatePropertyFrameIndirect(), SoftModalMessageBox(), taskdialog_init(), Test_GdiGetCharDimensions(), test_margins_default(), and test_margins_usefontinfo().

◆ GdiGetCodePage()

◆ GdiGradientFill()

BOOL WINAPI GdiGradientFill ( _In_ HDC  hdc,
_In_reads_(nVertex) PTRIVERTEX  pVertex,
_In_ ULONG  nVertex,
_In_ PVOID  pMesh,
_In_ ULONG  nCount,
_In_ ULONG  ulMode 
)

Definition at line 861 of file painting.c.

868{
870
871 HANDLE_EMETAFDC(BOOL, GradientFill, FALSE, hdc, pVertex, nVertex, pMesh, nCount, ulMode);
872
873 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
874
875 return NtGdiGradientFill(hdc, pVertex, nVertex, pMesh, nCount, ulMode);
876}
#define GDI_HANDLE_GET_TYPE(h)
Definition: gdi.h:31
@ GDILoObjType_LO_METADC16_TYPE
Definition: gdi_private.h:49
__kernel_entry W32KAPI BOOL APIENTRY NtGdiGradientFill(_In_ HDC hdc, _In_ PTRIVERTEX pVertex, _In_ ULONG nVertex, _In_ PVOID pMesh, _In_ ULONG nMesh, _In_ ULONG ulMode)
_In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ TRIVERTEX _In_ ULONG _In_ PVOID pMesh
Definition: winddi.h:3653
_In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ TRIVERTEX _In_ ULONG nVertex
Definition: winddi.h:3652
_In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ TRIVERTEX _In_ ULONG _In_ PVOID _In_ ULONG _In_ RECTL _In_ POINTL _In_ ULONG ulMode
Definition: winddi.h:3657
_In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ TRIVERTEX * pVertex
Definition: winddi.h:3651

◆ GdiIsMetaFileDC()

BOOL WINAPI GdiIsMetaFileDC ( HDC  hdc)

Definition at line 36 of file metafile.c.

37{
38 ULONG ulObjType;
39
40 ulObjType = GDI_HANDLE_GET_TYPE(hdc);
41 if (ulObjType == GDILoObjType_LO_METADC16_TYPE)
42 {
43 return TRUE;
44 }
45
46 if (ulObjType == GDILoObjType_LO_ALTDC_TYPE)
47 {
48 PLDC pLDC = GdiGetLDC(hdc);
49 if ( !pLDC )
50 {
52 return FALSE;
53 }
54 return !!( pLDC->iType == LDC_EMFLDC );
55 }
56
57 return FALSE;
58}
#define SetLastError(x)
Definition: compat.h:752
#define ERROR_INVALID_HANDLE
Definition: compat.h:98
PLDC FASTCALL GdiGetLDC(HDC hDC)
Definition: misc.c:785
#define LDC_EMFLDC
Definition: gdi_private.h:105
@ GDILoObjType_LO_ALTDC_TYPE
Definition: gdi_private.h:43
Definition: ntgdihdl.h:263
INT iType
Definition: ntgdihdl.h:266
uint32_t ULONG
Definition: typedefs.h:59

◆ GdiSetBatchLimit()

DWORD WINAPI GdiSetBatchLimit ( _In_  DWORD)

◆ GdiTransparentBlt()

BOOL WINAPI GdiTransparentBlt ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_  HDC,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_  UINT 
)

◆ GetArcDirection()

int WINAPI GetArcDirection ( _In_  HDC)

Definition at line 358 of file dc.c.

360{
361 return GetDCDWord( hdc, GdiGetArcDirection, 0);
362}
@ GdiGetArcDirection
Definition: ntgdityp.h:52
DWORD WINAPI GetDCDWord(_In_ HDC hdc, _In_ UINT u, _In_ DWORD dwError)
Definition: dc.c:787

Referenced by eto_emf_enum_proc(), and test_ExtTextOut().

◆ GetAspectRatioFilterEx()

BOOL WINAPI GetAspectRatioFilterEx ( _In_  HDC,
_Out_  LPSIZE 
)

◆ GetBitmapBits()

◆ GetBitmapDimensionEx()

BOOL WINAPI GetBitmapDimensionEx ( _In_  HBITMAP,
_Out_  LPSIZE 
)

◆ GetBkColor()

COLORREF WINAPI GetBkColor ( _In_  HDC)

Definition at line 978 of file dc.c.

980{
981 PDC_ATTR pdcattr;
982
983 /* Get the DC attribute */
984 pdcattr = GdiGetDcAttr(hdc);
985 if (pdcattr == NULL)
986 {
987 /* Don't set LastError here! */
988 return CLR_INVALID;
989 }
990
991 return pdcattr->ulBackgroundClr;
992}
FORCEINLINE PDC_ATTR GdiGetDcAttr(HDC hdc)
Definition: gdi32p.h:451
ULONG ulBackgroundClr
Definition: ntgdihdl.h:298
#define CLR_INVALID
Definition: wingdi.h:883

Referenced by cd_wndproc(), draw_graphics(), EDIT_PaintText(), EMFDC_MaskBlt(), EMFDC_PlgBlt(), EMFDRV_StretchBlt(), emfdrv_stretchblt(), eto_emf_enum_proc(), HEADER_FillItemFrame(), ImageList_DrawIndirect(), LISTVIEW_Refresh(), MaskBlt(), parent_wnd_proc(), PlgBlt(), REBAR_EraseBkGnd(), SS_ItemOut(), test_dc_values(), test_ExtTextOut(), test_mf_SaveDC(), test_SaveDC(), Test_SrcMono1(), and ZoomWnd_OnDraw().

◆ GetBkMode()

◆ GetBoundsRect()

UINT WINAPI GetBoundsRect ( _In_  HDC,
_Out_  LPRECT,
_In_  UINT 
)

◆ GetBrushOrgEx()

BOOL WINAPI GetBrushOrgEx ( _In_  HDC,
_Out_  LPPOINT 
)

◆ GetCharABCWidthsA()

BOOL WINAPI GetCharABCWidthsA ( _In_ HDC  hdc,
_In_ UINT  wFirst,
_In_ UINT  wLast,
_Out_writes_(wLast - wFirst+1) LPABC  lpABC 
)

◆ GetCharABCWidthsFloatA()

BOOL WINAPI GetCharABCWidthsFloatA ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) LPABCFLOAT  lpABC 
)

◆ GetCharABCWidthsFloatW()

BOOL WINAPI GetCharABCWidthsFloatW ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) LPABCFLOAT  lpABC 
)

◆ GetCharABCWidthsI()

BOOL WINAPI GetCharABCWidthsI ( _In_ HDC  hdc,
_In_ UINT  giFirst,
_In_ UINT  cgi,
_In_reads_opt_(cgi) LPWORD  pgi,
_Out_writes_(cgi) LPABC  pabc 
)

◆ GetCharABCWidthsW()

◆ GetCharacterPlacementA()

DWORD WINAPI GetCharacterPlacementA ( _In_ HDC  hdc,
_In_reads_(nCount) LPCSTR  lpString,
_In_ int  nCount,
_In_ int  nMexExtent,
_Inout_ LPGCP_RESULTSA  lpResults,
_In_ DWORD  dwFlags 
)

◆ GetCharacterPlacementW()

DWORD WINAPI GetCharacterPlacementW ( _In_ HDC  hdc,
_In_reads_(nCount) LPCWSTR  lpString,
_In_ int  nCount,
_In_ int  nMexExtent,
_Inout_ LPGCP_RESULTSW  lpResults,
_In_ DWORD  dwFlags 
)

◆ GetCharWidth32A()

BOOL WINAPI GetCharWidth32A ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) LPINT  lpBuffer 
)

◆ GetCharWidth32W()

BOOL WINAPI GetCharWidth32W ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) LPINT  lpBuffer 
)

◆ GetCharWidthA()

BOOL WINAPI GetCharWidthA ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) LPINT  lpBuffer 
)

◆ GetCharWidthFloatA()

BOOL WINAPI GetCharWidthFloatA ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) PFLOAT  lpBuffer 
)

◆ GetCharWidthFloatW()

BOOL WINAPI GetCharWidthFloatW ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) PFLOAT  lpBuffer 
)

◆ GetCharWidthI()

◆ GetCharWidthW()

BOOL WINAPI GetCharWidthW ( _In_ HDC  hdc,
_In_ UINT  iFirst,
_In_ UINT  iLast,
_Out_writes_(iLast+1 - iFirst) LPINT  lpBuffer 
)

◆ GetClipBox()

◆ GetClipRgn()

◆ GetColorAdjustment()

BOOL WINAPI GetColorAdjustment ( _In_  HDC,
_Out_  LPCOLORADJUSTMENT 
)

◆ GetColorSpace()

HCOLORSPACE WINAPI GetColorSpace ( _In_  HDC)

Referenced by test_GetCurrentObject().

◆ GetCurrentObject()

HGDIOBJ WINAPI GetCurrentObject ( _In_  HDC,
_In_  UINT 
)

Definition at line 428 of file dc.c.

431{
432 PDC_ATTR pdcattr = NULL;
433
434 /* Check if this is a user mode object */
435 if ((uObjectType == OBJ_PEN) ||
436 (uObjectType == OBJ_EXTPEN) ||
437 (uObjectType == OBJ_BRUSH) ||
438 (uObjectType == OBJ_COLORSPACE))
439 {
440 /* Get the DC attribute */
441 pdcattr = GdiGetDcAttr(hdc);
442 if (pdcattr == NULL)
443 {
444 return NULL;
445 }
446 }
447
448 /* Check what object was requested */
449 switch (uObjectType)
450 {
451 case OBJ_EXTPEN:
452 case OBJ_PEN:
453 return pdcattr->hpen;
454
455 case OBJ_BRUSH:
456 return pdcattr->hbrush;
457
458 case OBJ_COLORSPACE:
459 return pdcattr->hColorSpace;
460
461 case OBJ_PAL:
462 uObjectType = GDI_OBJECT_TYPE_PALETTE;
463 break;
464
465 case OBJ_FONT:
466 uObjectType = GDI_OBJECT_TYPE_FONT;
467 break;
468
469 case OBJ_BITMAP:
470 uObjectType = GDI_OBJECT_TYPE_BITMAP;
471 break;
472
473 /* All others are invalid */
474 default:
476 return NULL;
477 }
478
479 /* Pass the request to win32k */
480 return NtGdiGetDCObject(hdc, uObjectType);
481}
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
#define GDI_OBJECT_TYPE_BITMAP
Definition: gdi.h:48
#define GDI_OBJECT_TYPE_PALETTE
Definition: gdi.h:49
#define GDI_OBJECT_TYPE_FONT
Definition: gdi.h:50
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiGetDCObject(_In_ HDC hdc, _In_ INT itype)
#define OBJ_EXTPEN
Definition: objidl.idl:1419
#define OBJ_PEN
Definition: objidl.idl:1409
#define OBJ_BRUSH
Definition: objidl.idl:1410
#define OBJ_FONT
Definition: objidl.idl:1414
#define OBJ_BITMAP
Definition: objidl.idl:1415
#define OBJ_PAL
Definition: objidl.idl:1413
HANDLE hbrush
Definition: ntgdihdl.h:295
HANDLE hpen
Definition: ntgdihdl.h:296
HCOLORSPACE hColorSpace
Definition: ntgdihdl.h:319
#define OBJ_COLORSPACE
Definition: wingdi.h:704

Referenced by ANIMATE_EraseBackground(), ANIMATE_PaintFrame(), buffer_size(), check_item_height(), close_preview(), D3DXCreateTextW(), DrawClock(), DrawShadowText(), EDIT_PaintText(), EMFDC_MaskBlt(), EMFDC_PlgBlt(), EMFDC_SetDCBrushColor(), EMFDC_SetDCPenColor(), EMFDRV_SetDCBrushColor(), EMFDRV_SetDCPenColor(), EMFDRV_StretchBlt(), emfdrv_stretchblt(), EnumEnhMetaFile(), EnumMetaFile(), eto_emf_enum_proc(), fnIMLangFontLink2_MapFont(), GdipCreateFontFromDC(), GdipCreateFromHDC2(), get_bitmap_info(), get_graphics_device_bounds(), GuiReleaseScreenBuffer(), init_script_cache(), IntDrawState(), InternalSelectEx(), IntGrayString(), metadc_stretchblt(), MFDRV_StretchBlt(), OLEPictureImpl_SetBitmap(), PaintRgn(), parent_wnd_proc(), PlayEnhMetaFileRecord(), PlayMetaFile(), ScriptStringAnalyse(), SetDIBits(), START_TEST(), sw_SetContext(), test_bitmap_colors(), test_button_messages(), test_CreateBitmap(), test_createtext(), test_D3DKMTCreateDCFromMemory(), test_font_metrics(), test_gdi_objects(), Test_GetCurrentObject(), test_GetCurrentObject(), test_item_height(), test_MapFont(), test_mono_bitmap(), test_ScriptShape(), and wglUseFontOutlines_common().

◆ GetCurrentPositionEx()

BOOL WINAPI GetCurrentPositionEx ( _In_  HDC,
_Out_  LPPOINT 
)

Definition at line 241 of file coord.c.

244{
245 PDC_ATTR pdcattr;
246
247 /* Get the DC attribute */
248 pdcattr = GdiGetDcAttr(hdc);
249 if ((pdcattr == NULL) || (lpPoint == NULL))
250 {
252 return FALSE;
253 }
254
255 if (pdcattr->ulDirty_ & DIRTY_PTLCURRENT) // have a hit!
256 {
257 lpPoint->x = pdcattr->ptfxCurrent.x;
258 lpPoint->y = pdcattr->ptfxCurrent.y;
259 DPtoLP(hdc, lpPoint, 1); // reconvert back.
260 pdcattr->ptlCurrent.x = lpPoint->x; // save it
261 pdcattr->ptlCurrent.y = lpPoint->y;
262 pdcattr->ulDirty_ &= ~DIRTY_PTLCURRENT; // clear bit
263 }
264 else
265 {
266 lpPoint->x = pdcattr->ptlCurrent.x;
267 lpPoint->y = pdcattr->ptlCurrent.y;
268 }
269
270 return TRUE;
271}
BOOL WINAPI DPtoLP(_In_ HDC hdc, _Inout_updates_(nCount) LPPOINT lpPoints, _In_ INT nCount)
Definition: coord.c:169
#define DIRTY_PTLCURRENT
Definition: ntgdihdl.h:131
POINTL ptlCurrent
Definition: ntgdihdl.h:311
ULONG ulDirty_
Definition: ntgdihdl.h:294
POINTL ptfxCurrent
Definition: ntgdihdl.h:312
LONG y
Definition: windef.h:330
LONG x
Definition: windef.h:329

Referenced by EMFDRV_ArcChordPie(), EMFDRV_LineTo(), get_points_bounds(), test_closefigure(), test_polydraw(), and Test_SetMapMode().

◆ GetCursor()

HCURSOR WINAPI GetCursor ( void  )

Definition at line 2736 of file cursoricon.c.

2737{
2739}
@ THREADSTATE_GETCURSOR
Definition: ntuser.h:2478
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
Definition: misc.c:240
HICON HCURSOR
Definition: windef.h:299

Referenced by DoTest_BUTTON(), DoTest_EDIT(), CUIFToolTip::GetTipWindowRect(), GROUP_GroupWndProc(), set_cursor_thread(), test_DestroyCursor(), test_initial_cursor(), and test_SetCursor().

◆ GetDCOrgEx()

BOOL WINAPI GetDCOrgEx ( _In_  HDC,
_Out_  LPPOINT 
)

Definition at line 825 of file coord.c.

828{
829 return NtGdiGetDCPoint(hdc, GdiGetDCOrg, (PPOINTL)lpPoint);
830}
BOOL APIENTRY NtGdiGetDCPoint(HDC hDC, UINT iPoint, PPOINTL Point)
Definition: coord.c:1424
@ GdiGetDCOrg
Definition: ntgdityp.h:80

Referenced by cdtDrawExt(), get_window_region(), GetDCOrg(), and test_dc_layout().

◆ GetDeviceCaps()

int WINAPI GetDeviceCaps ( _In_opt_  HDC,
_In_ int   
)

Referenced by _Success_(), add_ruler_units(), AdvAppearanceDlgProc(), alpha_blend_hdc_pixels(), AtlHiMetricToPixel(), AtlPixelToHiMetric(), BITMAP_CopyImage(), CB_Paint(), create_bitmap(), CreateBoldFont(), CreateDragImage(), CreateEnhMetaFileW(), CreateFrameBufferBitmap(), CreateMonospaceFont(), CreateStateImageList(), CreateTitleFont(), CURSORICON_GetCursorDataFromBMI(), DataCache_GetExtent(), DECLARE_INTERFACE_(), dialog_add_font(), dialog_choose_font(), DIALOG_CreateIndirect(), dialog_get_sans_serif_height(), Display_SetTypeFace(), DoLoadImageFile(), DoTestEntry(), draw_margin_lines(), DumpFont(), EMF_FixIsotropic(), EMF_SetMapMode(), EMFDC_ExtTextOut(), EMFDRV_ExtTextOut(), EMFDRV_GetDeviceCaps(), EmfEnumProc(), export_welcome_dlg_proc(), FancyLogoffOnInit(), gdi_alpha_blend(), GdipCreateFromHDC2(), GdipRecordMetafile(), get_bitsperpixel(), get_dpiy(), get_font_metrics(), get_format(), get_graphics_device_bounds(), get_pixelsperxlogicalinch(), get_print_rect(), get_screen_resolution(), GetDeviceCaps(), GetDpiForSystem(), StartMenuRoot::GetLogoResId(), GetOutlineTextMetricsW(), GetPossibleSettings(), GetPrintingRect(), GetScreenDPI(), CUIFSystemInfo::GetSystemMetrics(), GetSystemPaletteEntries(), getwinmetafilebits(), HeightFromPointSize(), hf_to_cf(), HTMLScreen_get_colorDepth(), HTMLScreen_get_height(), HTMLScreen_get_width(), ImageList_Create(), import_welcome_dlg_proc(), init(), init_custom_controls(), InitializeImage(), InitInstance(), IsDirectDrawSupported(), load_dib(), LoadDialog(), LogicalSizeToPointSize(), LookupIconIdFromDirectoryEx(), MainFrameBase::MainFrameBase(), font::MakeFont(), ME_CharFormatFromLogFont(), ME_InitContext(), METAFILE_WriteHeader(), MFDRV_StretchBlt(), MonSelGetMonitorFont(), MSSTYLES_GetFont(), NT5_DrawLogoffCaptionText(), OleCreatePropertyFrameIndirect(), OLEFontImpl_Construct(), OleMetafilePictFromIconAndLabel(), OnInitDialog(), OutputWorker::OutputWorker(), OwnerTestProc(), paint_ruler(), PointSizeFromHeight(), PointSizeToLogicalSize(), populate_size_list(), preview_proc(), PrintDisplayInfo(), PRINTDLG_ChangePrinterA(), save_dib(), SaveCurrentValues(), set_installer_properties(), set_window(), SetFont(), SetLrgFont(), SetMessageFont(), SetupDiGetClassImageListExW(), SetWinMetaFileBits(), ShellBrowser::ShellBrowser(), SHGetCurColorRes(), SHGetPerScreenResName(), SHIsTempDisplayMode(), SHPropertyBag_PerScreenRes(), ShutdownOnFriendlyInit(), SIC_Initialize(), START_TEST(), StartDirectDraw(), stretch_blt_icon(), TAB_Create(), test_32bit_ddb(), test_bitmap_font_metrics(), test_bitmap_rendering(), test_child_process(), test_clipping(), test_CopyImage_Bitmap(), test_CreateCompatibleDC(), test_createdibitmap(), Test_CreateDIBitmap1(), test_CreateIcon(), test_data_cache_dib_contents_stream(), test_dc_attributes(), test_DC_bitmap(), test_dc_layout(), test_desktop_colorres(), test_DestroyCursor(), test_device_caps(), test_dpi_context(), test_dpi_mapping(), test_dpi_stock_objects(), test_DrawIcon(), test_DrawIconEx(), test_DrawState(), test_DrawTextCalcRect(), test_edit_control_3(), test_EM_FORMATRANGE(), test_emf_BitBlt(), test_EnumDisplaySettings(), test_ExtTextOut(), test_ExtTextOutScale(), test_fontsize(), test_GdipGetVisibleClipBounds_screen(), Test_GetDIBits(), test_GetDIBits(), test_GetDIBits_selected_DDB(), Test_GetSystemMetrics(), test_height(), test_himetric(), test_icon_info_dbg(), test_ifont_sizes(), test_ImageList_DrawIndirect(), test_mf_Blank(), test_printer_dc(), test_resolution(), test_screen(), test_select_object(), test_SetCursor(), Test_SetMapMode(), test_setvirtualresolution(), Test_SetWindowExtEx(), test_SetWinMetaFileBits(), test_system_palette_entries(), test_tab(), test_text_metrics(), test_thread_objects(), test_world_transform(), thread_proc(), TOOLBAR_GetBitmapFlags(), update_caret(), UpdateControls(), CTextEditWindow::UpdateFont(), UXTHEME_SelectImage(), WebBrowser_OleObject_Init(), xpixels_to_himetric(), and ypixels_to_himetric().

◆ GetDeviceGammaRamp()

BOOL WINAPI GetDeviceGammaRamp ( _In_ HDC  hdc,
_Out_writes_bytes_(3 *256 *2) LPVOID  lpRamp 
)

◆ GetDIBits()

int WINAPI GetDIBits ( _In_ HDC  hdc,
_In_ HBITMAP  hbm,
_In_ UINT  start,
_In_ UINT  cLines,
_Out_opt_ LPVOID  lpvBits,
_At_((LPBITMAPINFOHEADER) lpbmi, _Inout_) LPBITMAPINFO  lpbmi,
_In_ UINT  usage 
)

◆ GetEnhMetaFileA()

HENHMETAFILE WINAPI GetEnhMetaFileA ( _In_  LPCSTR)

Referenced by sync_metafile().

◆ GetEnhMetaFileBits()

◆ GetEnhMetaFileDescriptionA()

UINT WINAPI GetEnhMetaFileDescriptionA ( _In_ HENHMETAFILE  hemf,
_In_ UINT  cchBuffer,
_Out_writes_opt_(cchBuffer) LPSTR  lpDescription 
)

◆ GetEnhMetaFileDescriptionW()

UINT WINAPI GetEnhMetaFileDescriptionW ( _In_ HENHMETAFILE  hemf,
_In_ UINT  cchBuffer,
_Out_writes_opt_(cchBuffer) LPWSTR  lpDescription 
)

◆ GetEnhMetaFileHeader()

◆ GetEnhMetaFilePaletteEntries()

UINT WINAPI GetEnhMetaFilePaletteEntries ( _In_ HENHMETAFILE  hemf,
_In_ UINT  nNumEntries,
_Out_writes_opt_(nNumEntries) LPPALETTEENTRY  lpPaletteEntries 
)

◆ GetEnhMetaFilePixelFormat()

UINT WINAPI GetEnhMetaFilePixelFormat ( _In_ HENHMETAFILE  hemf,
_In_ UINT  cbBuffer,
_Out_writes_bytes_opt_(cbBuffer) PIXELFORMATDESCRIPTOR ppfd 
)

◆ GetEnhMetaFileW()

HENHMETAFILE WINAPI GetEnhMetaFileW ( _In_  LPCWSTR)

◆ GetFontLanguageInfo()

DWORD WINAPI GetFontLanguageInfo ( _In_  HDC)

◆ GetGlyphIndicesA()

◆ GetGlyphIndicesW()

◆ GetGlyphOutlineA()

◆ GetGlyphOutlineW()

◆ GetGraphicsMode()

◆ GetICMProfileA()

BOOL WINAPI GetICMProfileA ( _In_ HDC  hdc,
_Inout_ LPDWORD  pBufSize,
_Out_writes_opt_ *pBufSize LPSTR  pszFilename 
)

◆ GetICMProfileW()

BOOL WINAPI GetICMProfileW ( _In_ HDC  hdc,
_Inout_ LPDWORD  pBufSize,
_Out_writes_opt_ *pBufSize LPWSTR  pszFilename 
)

◆ GetKerningPairsA()

DWORD WINAPI GetKerningPairsA ( _In_ HDC  hdc,
_In_ DWORD  nPairs,
_Out_writes_to_opt_(nPairs, return) LPKERNINGPAIR  lpKernPair 
)

Referenced by GetETM().

◆ GetKerningPairsW()

DWORD WINAPI GetKerningPairsW ( _In_ HDC  hdc,
_In_ DWORD  nPairs,
_Out_writes_to_opt_(nPairs, return) LPKERNINGPAIR  lpKernPair 
)

◆ GetLogColorSpaceA()

BOOL WINAPI GetLogColorSpaceA ( _In_ HCOLORSPACE  hColorSpace,
_Out_writes_bytes_(nSize) LPLOGCOLORSPACEA  lpBuffer,
_In_ DWORD  nSize 
)

Referenced by test_GetCurrentObject().

◆ GetLogColorSpaceW()

BOOL WINAPI GetLogColorSpaceW ( _In_ HCOLORSPACE  hColorSpace,
_Out_writes_bytes_(nSize) LPLOGCOLORSPACEW  lpBuffer,
_In_ DWORD  nSize 
)

◆ GetMapMode()

int WINAPI GetMapMode ( _In_  HDC)

Definition at line 114 of file coord.c.

116{
117 PDC_ATTR pdcattr;
118
119 /* Get the DC attribute */
120 pdcattr = GdiGetDcAttr(hdc);
121 if (pdcattr == NULL)
122 {
124 return 0;
125 }
126
127 /* Return the map mode */
128 return pdcattr->iMapMode;
129}
INT iMapMode
Definition: ntgdihdl.h:338

Referenced by EnumEnhMetaFile(), RealDrawFrameControl(), START_TEST(), Test_CreateCompatibleDC(), test_dc_layout(), and Test_IsSpecialState().

◆ GetMetaFileA()

HMETAFILE WINAPI GetMetaFileA ( _In_  LPCSTR)

◆ GetMetaFileBitsEx()

◆ GetMetaFileW()

HMETAFILE WINAPI GetMetaFileW ( _In_  LPCWSTR)

◆ GetMetaRgn()

int WINAPI GetMetaRgn ( _In_  HDC,
_In_  HRGN 
)

◆ GetMiterLimit()

BOOL WINAPI GetMiterLimit ( _In_  HDC,
_Out_  PFLOAT 
)

◆ GetNearestColor()

◆ GetNearestPaletteIndex()

UINT WINAPI GetNearestPaletteIndex ( _In_  HPALETTE,
_In_  COLORREF 
)

◆ GetObjectA()

◆ GetObjectType()

DWORD WINAPI GetObjectType ( _In_  HGDIOBJ)

◆ GetObjectW()

int WINAPI GetObjectW ( _In_ HANDLE  h,
_In_ int  c,
_Out_writes_bytes_opt_(c) LPVOID  pv 
)

Referenced by _write_bitmap(), add_with_alpha(), AdjustStatusMessageWindow(), ATL::CImage::AttachInternal(), BitBltFromClipboard(), BITMAP_CopyImage(), BitmapToClipboardDIB(), buffer_size(), BUTTON_CalcLabelRect(), C1_OnImeControl(), C1_SetData(), CachedBufferDIB(), check_bitmap_size(), check_icon_size(), COMBO_Init(), COMCTL32_EnsureBitmapSize(), ConvertDDBtoDIB(), ConvertToBlackAndWhite(), CopyMonoImage(), create_alpha_bitmap(), create_dib(), CreateBoldFont(), CreateDerivedFont(), D3DXCreateTextW(), DisplayApplet(), DisplayOnInit(), SelectionModel::DrawSelection(), dup_bitmap(), EDIT_PaintText(), EDIT_WM_SetFont(), emfdc_create_font(), emfdc_create_palette(), emfdc_create_pen(), EMFDRV_CreateFontIndirect(), EMFDRV_CreatePalette(), EMFDRV_CreatePenIndirect(), EMFDRV_StretchBlt(), GdipCreateFontFromDC(), GdipCreateFromHDC2(), get_bitmap_info(), get_graphics_device_bounds(), get_icon_size(), GetClipboardDataDimensions(), GetDIBHeight(), GetDIBWidth(), HBITMAP_UserMarshal(), HEADER_DrawItem(), hf_to_cf(), HH_CreateFont(), ImageList_Add(), ImageList_AddMasked(), ImageList_LoadImageW(), ImageList_Replace(), ImageList_ReplaceIcon(), ImagingFactory_CreateBitmapFromHBITMAP(), ImagingFactory_CreateBitmapFromHICON(), init_script_cache(), IntDrawState(), InternalSelectEx(), SelectionModel::InvertSelection(), IPADDRESS_Create(), IsBitmapBlackAndWhite(), LISTVIEW_SetColumnWidth(), load_picture(), RegistrySettings::LoadPresets(), MainWndProc(), map_font(), ME_DrawOLE(), ME_GetOLEObjectSize(), ME_HandleMessage(), ME_MakeFirstParagraph(), METADC_SelectFont(), METADC_SelectPen(), MFDRV_SelectFont(), MFDRV_SelectPen(), MFDRV_StretchBlt(), NT5_DrawBaseBackground(), NT5_DrawLogoffIcon(), OleDuplicateData(), OLEPictureImpl_SetBitmap(), OLEPictureImpl_SetIcon(), on_wm_initdialog(), OnMainCreate(), prepare_alpha(), prepare_png_alpha(), ProgressDlg::ProcessWindowMessage(), PROPSHEET_Paint(), ScreenSaverProc(), ScriptStringAnalyse(), CBrandBand::SelectImage(), SettingsOnInitDialog(), SHAreIconsEqual(), SHSetDefaultDialogFont(), SIC_OverlayShortcutImage(), SkewDIB(), STATIC_PaintBitmapfn(), STATIC_SetBitmap(), stretch_blt_icon(), SYSLINK_SetFont(), TAB_DrawItemInterior(), Test_Bitmap(), test_bitmap(), test_bitmap_info(), Test_BitmapAttributes(), test_bm_get_set_image(), test_bmBits(), Test_Brush(), test_brush_pens(), test_button_bm_get_set_image(), Test_Colorspace(), test_CreateBitmap(), Test_CreateFontIndirectA(), Test_CreateFontIndirectExA(), Test_CreateFontIndirectExW(), Test_CreateFontIndirectW(), Test_CursorIcon(), test_dib_info(), Test_Dibsection(), test_dibsections(), test_dpi_stock_objects(), Test_ExtPen(), test_ExtractIcon(), Test_Font(), Test_General(), test_GetDIBits(), test_handles_process(), test_hatch_brush(), test_image_format(), test_logpen(), test_MessageBoxFontTest(), test_mono_1x1_bmp_dbg(), Test_Palette(), test_pattern_brush(), Test_Pen(), test_ps_userstyle(), Test_Region(), test_select_object(), test_simple_graphics(), test_solidbrush(), TimeZonePageProc(), TOOLBAR_DrawImage(), TOOLTIPS_SetFont(), TREEVIEW_CreateBoldFont(), TREEVIEW_CreateBoldUnderlineFont(), TREEVIEW_CreateUnderlineFont(), User32CallOBMFromKernel(), UXTHEME_GetImageBackBackgroundRegion(), UXTHEME_LoadImage(), UXTHEME_SelectImage(), WDML_DataHandle2Global(), wglUseFontOutlines_common(), and WinGGetDIBPointer().

◆ GetOutlineTextMetricsA()

◆ GetOutlineTextMetricsW()

◆ GetPath()

◆ GetPixel()

COLORREF WINAPI GetPixel ( _In_  HDC,
_In_ int  ,
_In_ int   
)

◆ GetPixelFormat()

◆ GetPolyFillMode()

◆ GetRandomRgn()

◆ GetRasterizerCaps()

BOOL WINAPI GetRasterizerCaps ( _Out_writes_bytes_(cjBytes) LPRASTERIZER_STATUS  lpraststat,
_In_ UINT  cjBytes 
)

◆ GetRegionData()

◆ GetRgnBox()

◆ GetROP2()

int WINAPI GetROP2 ( _In_  HDC)

Definition at line 1093 of file dc.c.

1095{
1096 PDC_ATTR pdcattr;
1097
1098 /* Get the DC attribute */
1099 pdcattr = GdiGetDcAttr(hdc);
1100 if (pdcattr == NULL)
1101 {
1102 /* Do not set LastError here! */
1103 return 0;
1104 }
1105
1106 return pdcattr->jROP2;
1107}
BYTE jROP2
Definition: ntgdihdl.h:307

Referenced by eto_emf_enum_proc(), Poly(), RectSel(), test_dc_attributes(), test_destroyed_window(), and test_ExtTextOut().

◆ GetStockObject()

HGDIOBJ WINAPI GetStockObject ( _In_ int  )

Referenced by add_ruler_units(), AddDlg_OnInitDialog(), alloc_dc_ptr(), BaseWindowImpl_PrepareWindow(), build_toolbar(), BuildMaskFromPoints(), C1_DrawConvexRect(), C1_DrawDragBorder(), C1_InitBitmap(), C1_OnImeControl(), C1_SetData(), CardImageWndProc(), CC_PaintTriangle(), CFn_WMDrawItem(), check_system_palette_entries(), Child_OnPaint(), ChildWndProc(), cicConvertBlackBKGBitmap(), cicCreateDisabledBitmap(), cicGetIconBitmaps(), ClassTest(), ConfigDlgProc(), Control_DoInterface(), SEALED_::ControlWindowProc(), CSearchBar::Create(), CComboBox::Create(), CRichEdit::Create(), create_monthcal_control(), create_parent(), create_rebar_control(), create_window(), CreateBitmap(), CreateCheckMask(), CreateCompatibleBitmap(), CreateDIBitmap(), CreateDragImage(), CreateLayoutIcon(), CreateMDIMenuBitmap(), CreateMetaFileW(), CreateMonoBitmap(), CreatePen(), CreatePerfWindows(), CreateRadioMask(), CreateStateImageList(), CreateTrayIcon(), CTipbarWnd::CreateVerticalFont(), CUIFObject::CUIFObject(), D3DTests(), DATETIME_Create(), DDTests(), RdpClientUI::Display_DestBlt(), Display_DrawText(), RdpClientUI::Display_DrawText(), Display_InitClass(), Display_OnPaint(), RdpClientUI::Display_Rect(), DlgMainProc(), DllMain(), DoEntry(), DoTestEntry(), Draw(), CardButton::Draw(), draw_diag_edge(), draw_maze_border(), draw_preview(), draw_rect_edge(), SelectionModel::DrawBackgroundPoly(), CToolSettingsWindow::drawBox(), DrawClock(), DrawHands(), DrawHeaderOrFooter(), CUIFButton::DrawIconProc(), DrawProc(), CardButton::DrawRect(), DrawXorRect(), dsm_RegisterWindowClasses(), EDIT_WM_SetFont(), EditDlg_OnInitDialog(), EditGlyphEditWndProc(), emfdc_select_brush(), emfdc_select_font(), emfdc_select_pen(), EMFDC_SelectPalette(), EMFDC_SetDCBrushColor(), EMFDC_SetDCPenColor(), EMFDRV_SelectBrush(), EMFDRV_SelectFont(), EMFDRV_SelectPalette(), EMFDRV_SelectPen(), EMFDRV_SetDCBrushColor(), EMFDRV_SetDCPenColor(), FillFontStyleComboList(), FillGrid(), GetDialogFont(), Graph_DrawCpuUsageGraph(), Graph_DrawMemUsageGraph(), HackFillStaticBg(), HandlePrintPasswdChar(), HEADER_Create(), HEADER_CreateDragImage(), HEADER_Refresh(), HEADER_SetFont(), HEXEDIT_GetFixedFont(), HH_CreateFont(), HOTKEY_Create(), ICONTITLE_Paint(), ImageList_DrawIndirect(), ImageList_ReplaceIcon(), Imm32RegisterSoftKeyboard(), init(), init_procs(), init_texthost(), InitColorButtons(), InitEditWnd(), InitInstance(), InitResources(), InitScreenSaveClass(), IntDrawDiagEdge(), IntDrawRectEdge(), IntDrawState(), IPADDRESS_Create(), LISTVIEW_CreateCheckBoxIL(), RegistrySettings::LoadPresets(), LogOffDialogProc(), MAIN_RegisterMainWinClass(), MainFrameBase::MainFrameBase(), MainWnd_OnCreate(), MainWnd_OnPaint(), MainWndProc(), MCIAVI_WindowProc(), mdi_RegisterWindowClasses(), MDIChildWndProc(), ME_DebugWrite(), ME_DrawTableBorders(), ME_HandleMessage(), ME_MakeFirstParagraph(), ME_RegisterEditorClass(), menu_ownerdraw_wnd_proc(), MONTHCAL_Circle(), MSIText_WndProc(), MyIntDrawRectEdge(), MyRegisterClass_wave(), OnCreate(), CAutoComplete::OnCreate(), CTrayWindow::OnCtlColorBtn(), CCanvasWindow::OnCtlColorEdit(), OnDrawItem(), OnInitDialog(), OnMeasureItem(), OnPaint(), OSK_WndProc(), paint_ruler(), CDrvDefExt::PaintStaticControls(), PaintStaticControls(), PaintText(), PB_Paint(), PlayEnhMetaFileRecord(), PolyPatBlt(), print_preview(), PrintTextXY(), RealDrawFrameControl(), REBAR_NCCreate(), rebuild_toolbar(), register_child_wnd_class(), register_class(), register_classes(), register_parent_class(), register_parent_wnd_class(), RegisterClassHelper(), RegisterImeClass(), registerParentWindowClass(), RegisterScreenSaverClass(), RegisterTestDialog(), RegisterWindowClasses(), restore_dc(), SB_OnPaint(), scrollbar_test_init(), SetMatrixMessage(), SetSpecialDCState2(), ShutdownDialogProc(), START_TEST(), RdpClientUI::Startup(), T1_DrawConvexRect(), T1_DrawDragBorder(), T1_InitBitmap(), TAB_Create(), TAB_DrawItemInterior(), TAB_SetItemBounds(), test_32bit_ddb(), Test_Bitmap(), Test_BitmapAttributes(), test_boundsrect(), Test_Brush(), Test_bug3481(), test_builtinproc(), test_button_messages(), Test_CombineRgn_AND(), Test_CombineRgn_COPY(), Test_CombineRgn_DIFF(), Test_CombineRgn_XOR(), test_combo_setfont(), test_combo_setitemheight(), Test_CreateBitmap(), Test_CreateBitmap_Params(), Test_CreateCompatibleDC(), Test_CreateDIBitmap_CBM_CREATDIB(), test_CreateWindow(), test_csparentdc(), test_desktop_winproc(), test_dialogmode(), test_dpi_stock_objects(), test_DrawState(), test_dtm_set_and_get_mcfont(), test_EM_SETTEXTEX(), test_emf_DCBrush(), test_EN_LINK(), test_eventMask(), test_Expose(), Test_ExtCreatePen_Params(), test_FillRect(), test_font_substitution(), Test_FrameRgn(), test_fullscreen(), test_gdi_objects(), Test_General(), Test_GetCurrentObject(), Test_GetDIBColorTable(), test_GetDIBits(), Test_GetStockObject(), test_GetUpdateRect(), test_halftone_palette(), test_icons(), Test_IsSpecialState(), test_item_count(), test_logpen(), test_menu_messages(), test_mf_DCBrush(), test_NCRedraw(), Test_NtGdiDoPalette_GdiPalAnimate(), Test_NtGdiDoPalette_GdiPalSetEntries(), test_OleCreatePictureIndirect(), Test_PaintRgn(), Test_PatBlt_Params(), Test_Pen(), Test_Rectangle(), test_redrawnow(), test_scrolldc(), test_scrollwindow(), Test_SelectObject(), Test_SetDCPenColor(), test_setfont(), test_setitemheight(), test_SetWinMetaFileBits(), test_smresult(), test_solidbrush(), test_static_messages(), test_stock_fonts(), test_text_position_style(), test_thick_child_size(), test_TxGetNaturalSize(), test_WM_NOTIFY(), test_WM_PAINT(), test_wndproc(), TextProc(), TRACKBAR_DrawChannel(), TreeListDraw(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameButton(), anonymous_namespace{activex.cpp}::win32_create_brush(), WinMain(), WinPrev_OnDraw(), wmain(), WndProc(), HyperlinkCtrl::WndProc(), and wWinMain().

◆ GetStretchBltMode()

int WINAPI GetStretchBltMode ( _In_  HDC)

◆ GetSystemPaletteEntries()

UINT WINAPI GetSystemPaletteEntries ( _In_ HDC  hdc,
_In_ UINT  iStart,
_In_ UINT  cEntries,
_Out_writes_opt_(cEntries) LPPALETTEENTRY  pPalEntries 
)

◆ GetSystemPaletteUse()

UINT WINAPI GetSystemPaletteUse ( _In_  HDC)

◆ GetTextAlign()

UINT WINAPI GetTextAlign ( _In_  HDC)

Definition at line 838 of file text.c.

840{
841 PDC_ATTR pdcattr;
842
843 /* Get the DC attribute */
844 pdcattr = GdiGetDcAttr(hdc);
845 if (pdcattr == NULL)
846 {
847 /* Do not set LastError here! */
848 return GDI_ERROR;
849 }
850
851 return pdcattr->lTextAlign;
852}
LONG lTextAlign
Definition: ntgdihdl.h:325
#define GDI_ERROR
Definition: wingdi.h:1309

Referenced by EMFDC_ExtTextOut(), EMFDRV_ExtTextOut(), eto_emf_enum_proc(), LPK_DrawUnderscore(), LpkExtTextOut(), MainWndProc(), and test_ExtTextOut().

◆ GetTextCharacterExtra()

int WINAPI GetTextCharacterExtra ( _In_  HDC)

Definition at line 165 of file text.c.

167{
168 PDC_ATTR pdcattr;
169
170 /* Get the DC attribute */
171 pdcattr = GdiGetDcAttr(hdc);
172 if (pdcattr == NULL)
173 {
174 /* Do not set LastError here! */
175 return 0x8000000;
176 }
177
178 return pdcattr->lTextExtra;
179}
LONG lTextExtra
Definition: ntgdihdl.h:326

Referenced by test_dc_values().

◆ GetTextCharset()

int WINAPI GetTextCharset ( _In_  HDC)

Definition at line 187 of file text.c.

189{
190 /* MSDN docs say this is equivalent */
192}
__kernel_entry W32KAPI INT APIENTRY NtGdiGetTextCharsetInfo(_In_ HDC hdc, _Out_opt_ LPFONTSIGNATURE lpSig, _In_ DWORD dwFlags)

Referenced by GetKerningPairsA(), map_font(), METADC_ExtTextOut(), MFDRV_ExtTextOut(), test_bitmap_font_metrics(), test_GdiGetCodePage(), test_logfont(), test_nonexistent_font(), and test_oemcharset().

◆ GetTextCharsetInfo()

int WINAPI GetTextCharsetInfo ( _In_  HDC,
_Out_opt_  LPFONTSIGNATURE,
_In_  DWORD 
)

◆ GetTextColor()

◆ GetTextExtentExPointA()

BOOL WINAPI GetTextExtentExPointA ( _In_ HDC  hdc,
_In_reads_(cchString) LPCSTR  lpszString,
_In_ int  cchString,
_In_ int  nMaxExtent,
_Out_opt_ LPINT  lpnFit,
_Out_writes_to_opt_(cchString, *lpnFit) LPINT  lpnDx,
_Out_ LPSIZE  lpSize 
)

◆ GetTextExtentExPointI()

BOOL WINAPI GetTextExtentExPointI ( _In_ HDC  hdc,
_In_reads_(cwchString) LPWORD  lpwszString,
_In_ int  cwchString,
_In_ int  nMaxExtent,
_Out_opt_ LPINT  lpnFit,
_Out_writes_to_opt_(cwchString, *lpnFit) LPINT  lpnDx,
_Out_ LPSIZE  lpSize 
)

Referenced by Test_bug3481().

◆ GetTextExtentExPointW()

◆ GetTextExtentPoint32A()

◆ GetTextExtentPoint32W()

◆ GetTextExtentPointA()

◆ GetTextExtentPointI()

BOOL WINAPI GetTextExtentPointI ( _In_ HDC  hdc,
_In_reads_(cgi) LPWORD  pgiIn,
_In_ int  cgi,
_Out_ LPSIZE  psize 
)

Definition at line 440 of file text.c.

445{
446 return NtGdiGetTextExtent(hdc, pgiIn, cgi, lpSize, GTEF_INDICES);
447}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiGetTextExtent(_In_ HDC hdc, _In_reads_(cwc) LPWSTR lpwsz, _In_ INT cwc, _Out_ LPSIZE psize, _In_ UINT flOpts)
#define GTEF_INDICES
Definition: ntgdityp.h:213

Referenced by Test_bug3481().

◆ GetTextExtentPointW()

◆ GetTextFaceA()

◆ GetTextFaceW()

◆ GetTextMetricsA()

BOOL WINAPI GetTextMetricsA ( _In_  HDC,
_Out_  LPTEXTMETRICA 
)

Definition at line 200 of file text.c.

203{
204 TMW_INTERNAL tmwi;
205
206 if (!NtGdiGetTextMetricsW(hdc, &tmwi, sizeof(TMW_INTERNAL)))
207 {
208 return FALSE;
209 }
210
212 return TRUE;
213}
VOID FASTCALL FONT_TextMetricWToA(const TEXTMETRICW *ptmW, LPTEXTMETRICA ptmA)
Definition: font.c:79
TEXTMETRICW TextMetric
Definition: ntgdityp.h:370
W32KAPI BOOL APIENTRY NtGdiGetTextMetricsW(IN HDC hDC, OUT TMW_INTERNAL *pUnsafeTmwi, IN ULONG cj)
Definition: text.c:590

Referenced by _GdiGetCharDimensions(), check_height_font_enumproc(), check_item_height(), DECLARE_INTERFACE_(), draw_text_2(), DrawTextExA(), font_height(), get_current_font_height(), get_font_dpi(), get_font_height(), get_text_metr_size(), get_tmheight(), ID3DXFontImpl_GetTextMetricsA(), init(), init_system_font_height(), menu_ownerdraw_wnd_proc(), system_font_height(), test_bcm_get_ideal_size(), test_bitmap_font(), test_bitmap_font_glyph_index(), test_bitmap_font_metrics(), test_dtm_get_ideal_size(), test_fake_bold_font(), test_font_caps(), test_font_metrics(), Test_FontSelectionEntry(), test_GetGlyphIndices(), test_GetGlyphOutline(), test_GetGlyphOutline_metric_clipping(), test_GetTextMetrics2(), test_height(), test_ID3DXFont(), test_item_count(), test_item_height(), test_max_height(), test_ScriptGetFontProperties(), test_ScriptGetGlyphABCWidth(), test_TabbedText(), test_text_extents(), test_text_metrics(), test_text_position_style(), and testJustification().

◆ GetTextMetricsW()

BOOL WINAPI GetTextMetricsW ( _In_  HDC,
_Out_  LPTEXTMETRICW 
)

Definition at line 221 of file text.c.

224{
225 TMW_INTERNAL tmwi;
226
227 if (!NtGdiGetTextMetricsW(hdc, &tmwi, sizeof(TMW_INTERNAL)))
228 {
229 return FALSE;
230 }
231
232 *lptm = tmwi.TextMetric;
233 return TRUE;
234}

Referenced by _Success_(), CBGetTextAreaHeight(), CFn_WMMeasureItem(), combo_get_text_height(), COMCTL32_GetFontMetrics(), D3DXCreateFontIndirectW(), DECLARE_INTERFACE_(), dialog_get_sans_serif_height(), DrawTextExWorker(), EDIT_WM_SetFont(), EditTypeDlg_OnMeasureItem(), EMFDC_ExtTextOut(), EMFDRV_ExtTextOut(), FILEDLG95_LOOKIN_DrawItem(), FILEDLG95_LOOKIN_Init(), GB_Paint(), GdiGetCharDimensions(), GdipAddPathString(), GdipDrawString(), GdipMeasureDriverString(), get_font_hfont(), get_tmheightW(), GetPhysicalFontHeight(), GetThemeTextMetrics(), HEADER_Create(), HEADER_SetFont(), HOTKEY_SetFont(), ID3DXFontImpl_GetTextMetricsW(), init_script_cache(), LabelWndProc(), LISTVIEW_Command(), LISTVIEW_EditLabelT(), LISTVIEW_SaveTextMetrics(), LpkGetTextExtentExPoint(), LpkPSMTextOut(), MainWndProc(), MONTHCAL_UpdateSize(), OLEFontImpl_QueryTextMetrics(), realize_font(), select_style(), CACListView::SetFont(), SetFontStylesToCombo2(), SYSLINK_GetIdealHeight(), SYSLINK_Render(), SYSLINK_SetFont(), T1_GetTextMetric(), TAB_Create(), TAB_SetItemBounds(), test_GetGlyphOutline_metric_clipping(), test_ScriptCacheGetHeight(), test_ScriptPlace(), test_ScriptString_pSize(), test_text_metrics(), TEXT_TabbedTextOut(), TOOLBAR_CalcStrings(), TREEVIEW_Command(), TREEVIEW_EditLabel(), TREEVIEW_EnsureVisible(), TREEVIEW_NaturalHeight(), UserLpkPSMTextOut(), and WINHELP_HistoryWndProc().

◆ GetTransform()

BOOL WINAPI GetTransform ( HDC  ,
DWORD  ,
XFORM  
)

◆ GetViewportExtEx()

BOOL WINAPI GetViewportExtEx ( _In_  HDC,
_Out_  LPSIZE 
)

Definition at line 351 of file coord.c.

354{
355 PDC_ATTR pdcattr;
356
357 /* Get the DC attribute */
358 pdcattr = GdiGetDcAttr(hdc);
359 if (pdcattr == NULL)
360 {
361 /* Do not set LastError here! */
362 return FALSE;
363 }
364
365 /* Check if we need to update values */
366 if ((pdcattr->flXform & PAGE_EXTENTS_CHANGED) &&
367 (pdcattr->iMapMode == MM_ISOTROPIC))
368 {
369 /* Call win32k to do the work */
371 }
372
373 /* Nothing to calculate, return the current extension */
374 lpSize->cx = pdcattr->szlViewportExt.cx;
375 lpSize->cy = pdcattr->szlViewportExt.cy;
376
377 return TRUE;
378}
#define PAGE_EXTENTS_CHANGED
Definition: ntgdihdl.h:187
@ GdiGetViewPortExt
Definition: ntgdityp.h:75
SIZEL szlViewportExt
Definition: ntgdihdl.h:344
FLONG flXform
Definition: ntgdihdl.h:345
LONG cy
Definition: kdterminal.h:28
#define MM_ISOTROPIC
Definition: wingdi.h:870

Referenced by check_dc_state(), DoTestEntry(), DrawTextExWorker(), EMFDC_ExtTextOut(), EMFDRV_ExtTextOut(), EnumEnhMetaFile(), savedc_emf_enum_proc(), START_TEST(), test_ExtTextOutScale(), test_gettransform(), test_isotropic_mapping(), Test_IsSpecialState(), test_mf_SaveDC(), test_SaveDC(), Test_SetMapMode(), test_SetViewportExt(), test_setvirtualresolution(), test_SetWindowExt(), and Test_SetWindowExtEx().

◆ GetViewportOrgEx()

BOOL WINAPI GetViewportOrgEx ( _In_  HDC,
_Out_  LPPOINT 
)

Definition at line 383 of file coord.c.

386{
387 PDC_ATTR pdcattr;
388
389 /* Get the DC attribute */
390 pdcattr = GdiGetDcAttr(hdc);
391 if (pdcattr == NULL)
392 {
393 /* Do not set LastError here! */
394 return FALSE;
395 }
396
397 /* Get the current viewport org */
398 lpPoint->x = pdcattr->ptlViewportOrg.x;
399 lpPoint->y = pdcattr->ptlViewportOrg.y;
400
401 /* Handle right-to-left layout */
402 if (pdcattr->dwLayout & LAYOUT_RTL)
403 lpPoint->x = -lpPoint->x;
404
405 return TRUE;
406}
DWORD dwLayout
Definition: ntgdihdl.h:339
POINTL ptlViewportOrg
Definition: ntgdihdl.h:343
#define LAYOUT_RTL
Definition: wingdi.h:1371

Referenced by check_dc_state(), DoTestEntry(), EMFDRV_OffsetViewportOrgEx(), EnumEnhMetaFile(), savedc_emf_enum_proc(), test_buffer_dc_props(), test_dc_layout(), Test_IsSpecialState(), test_mf_SaveDC(), test_SaveDC(), test_SetViewportExt(), and test_SetWindowExt().

◆ GetWindowExtEx()

BOOL WINAPI GetWindowExtEx ( _In_  HDC,
_Out_  LPSIZE 
)

Definition at line 411 of file coord.c.

414{
415 PDC_ATTR pdcattr;
416
417 /* Get the DC attribute */
418 pdcattr = GdiGetDcAttr(hdc);
419 if (pdcattr == NULL)
420 {
421 /* Do not set LastError here! */
422 return FALSE;
423 }
424
425 /* Get the current window extension */
426 lpSize->cx = pdcattr->szlWindowExt.cx;
427 lpSize->cy = pdcattr->szlWindowExt.cy;
428
429 /* Handle right-to-left layout */
430 if (pdcattr->dwLayout & LAYOUT_RTL)
431 lpSize->cx = -lpSize->cx;
432
433 return TRUE;
434}
SIZEL szlWindowExt
Definition: ntgdihdl.h:342

Referenced by check_dc_state(), DoTestEntry(), DrawTextExWorker(), EMFDC_ExtTextOut(), EMFDRV_ExtTextOut(), EnumEnhMetaFile(), savedc_emf_enum_proc(), START_TEST(), test_dc_layout(), test_ExtTextOutScale(), test_gettransform(), test_isotropic_mapping(), Test_IsSpecialState(), Test_SetMapMode(), test_SetViewportExt(), test_setvirtualresolution(), test_SetWindowExt(), and test_world_transform().

◆ GetWindowOrgEx()

BOOL WINAPI GetWindowOrgEx ( _In_  HDC,
_Out_  LPPOINT 
)

Definition at line 439 of file coord.c.

442{
443 PDC_ATTR pdcattr;
444
445 /* Get the DC attribute */
446 pdcattr = GdiGetDcAttr(hdc);
447 if (pdcattr == NULL)
448 {
449 /* Do not set LastError here! */
450 return FALSE;
451 }
452
453 /* Get the current window origin */
454 lpPoint->x = pdcattr->ptlWindowOrg.x;
455 lpPoint->y = pdcattr->ptlWindowOrg.y;
456
457 return TRUE;
458}
POINTL ptlWindowOrg
Definition: ntgdihdl.h:341

Referenced by check_dc_state(), DoTestEntry(), EMFDRV_OffsetWindowOrgEx(), EnumEnhMetaFile(), savedc_emf_enum_proc(), test_buffer_dc_props(), test_dc_layout(), Test_IsSpecialState(), test_SetViewportExt(), and test_SetWindowExt().

◆ GetWinMetaFileBits()

UINT WINAPI GetWinMetaFileBits ( _In_ HENHMETAFILE  hemf,
_In_ UINT  cbData16,
_Out_writes_bytes_opt_(cbData16) LPBYTE  pData16,
_In_ INT  iMapMode,
_In_ HDC  hdcRef 
)

◆ GetWorldTransform()

BOOL WINAPI GetWorldTransform ( _In_  HDC,
_Out_  LPXFORM 
)

Definition at line 278 of file coord.c.

281{
282 PDC_ATTR pdcattr;
283
284 pdcattr = GdiGetDcAttr(hdc);
285 if (!pdcattr)
286 {
288 return FALSE;
289 }
290#if 0
291 if (pdcattr->flXform & ANY_XFORM_INVALID)
292 {
293 GdiFixupTransforms(pdcattr);
294 }
295
296 MatrixToXForm(pxform, &pdcattr->mxWorldToDevice);
297#endif
299}
void MatrixToXForm(XFORM *pxform, const MATRIX *pmx)
Definition: coord.c:15
BOOL APIENTRY NtGdiGetTransform(_In_ HDC hdc, _In_ DWORD iXform, _Out_ LPXFORM pxf)
#define GdiWorldSpaceToPageSpace
Definition: ntgdityp.h:182
MATRIX mxWorldToDevice
Definition: ntgdihdl.h:331

Referenced by check_dc_state(), clip_emf_enum_proc(), enum_emf_WorldTransform(), EnumEnhMetaFile(), font::MakeFont(), PlayEnhMetaFileRecord(), savedc_emf_enum_proc(), START_TEST(), test_buffer_dc_props(), and Test_SetWorldTransform().

◆ IntersectClipRect()

◆ InvertRgn()

BOOL WINAPI InvertRgn ( _In_  HDC,
_In_  HRGN 
)

Definition at line 229 of file painting.c.

232{
233
234 if (hrgn == NULL)
235 return FALSE;
236
238
239 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
240
241 return NtGdiInvertRgn(hdc, hrgn);
242}
BOOL WINAPI InvertRgn(_In_ HDC hdc, _In_ HRGN hrgn)
Definition: painting.c:229
__kernel_entry W32KAPI BOOL APIENTRY NtGdiInvertRgn(_In_ HDC hdc, _In_ HRGN hrgn)
Definition: bitblt.c:1384

Referenced by InvertRgn(), PaintSelectionRect(), PlayEnhMetaFileRecord(), and PlayMetaFileRecord().

◆ LineDDA()

BOOL WINAPI LineDDA ( _In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_  LINEDDAPROC,
_In_opt_  LPARAM 
)

Referenced by test_linedda().

◆ LineTo()

BOOL WINAPI LineTo ( _In_  HDC,
_In_ int  ,
_In_ int   
)

Referenced by add_ruler_units(), CC_PaintCross(), Child_OnPaint(), create_converted_emf(), CreateMDIMenuBitmap(), CreateSinkBmp(), Display_DrawText(), RdpClientUI::Display_Line(), CCanvasWindow::DoDraw(), DoTestEntry(), draw_diag_edge(), draw_graphics(), Pane::draw_item(), draw_margin_lines(), draw_maze_border(), draw_rect_edge(), draw_underline(), draw_wall(), DrawLines(), CardButton::DrawRect(), EditGlyphEditWndProc(), GraphCtrl_AddPoint(), GraphCtrl_Create(), GraphCtrl_RedrawBitmap(), InitColorButtons(), IntDrawDiagEdge(), Line(), LinesHorizontalProc(), LinesProc(), LinesVerticalProc(), LISTVIEW_RefreshReportGrid(), LoadCardBitmapsFromLibrary(), LPK_DrawUnderscore(), MainWndProc(), ME_DrawParaDecoration(), ME_DrawTableBorders(), mi_line(), MONTHCAL_PaintCalendar(), MyDrawMenuBarTemp(), MyIntDrawRectEdge(), OnDrawItem(), OnPaint(), CACSizeBox::OnPaint(), CDrvDefExt::PaintStaticControls(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), PRINTDLG_PagePaintProc(), REBAR_DrawChevron(), SB_OnPaint(), CACSizeBox::SetStatus(), test_all_functions(), test_bitmap_colors(), test_boundsrect(), test_closefigure(), test_emf_clipping(), test_emf_paths(), test_emf_WorldTransform(), test_mf_clipping(), test_mf_GetPath(), test_mf_Graphics(), test_mf_SaveDC(), test_path_state(), test_polydraw(), test_SaveDC(), Test_SetDCPenColor(), TEXT_DrawUnderscore(), TOOLBAR_DrawArrow(), TRACKBAR_DrawOneTic(), TreeListDraw(), TREEVIEW_DrawItem(), TREEVIEW_DrawItemLines(), UserLpkPSMTextOut(), and WndProc_wave().

◆ LPtoDP()

◆ MaskBlt()

◆ ModifyWorldTransform()

◆ MoveToEx()

BOOL WINAPI MoveToEx ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_Out_opt_  LPPOINT 
)

◆ OffsetClipRgn()

◆ OffsetRgn()

int WINAPI OffsetRgn ( _In_  HRGN,
_In_ int  ,
_In_ int   
)

◆ OffsetViewportOrgEx()

BOOL WINAPI OffsetViewportOrgEx ( _In_  HDC,
_In_ int  nXOffset,
_In_ int  nYOffset,
_Out_opt_  LPPOINT 
)

Definition at line 858 of file coord.c.

863{
864 PDC_ATTR pdcattr;
865
866 HANDLE_METADC16(BOOL, OffsetViewportOrgEx, FALSE, hdc, nXOffset, nYOffset);
867
868 /* Get the DC attribute */
869 pdcattr = GdiGetDcAttr(hdc);
870 if (!pdcattr)
871 {
872 /* Do not set LastError here! */
873 return FALSE;
874 }
875
876 if (lpPoint)
877 {
878 *lpPoint = pdcattr->ptlViewportOrg;
879 if ( pdcattr->dwLayout & LAYOUT_RTL) lpPoint->x = -lpPoint->x;
880 }
881
882 if ( nXOffset || nYOffset != nXOffset )
883 {
884 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
885 {
886 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
887 {
888 NtGdiFlush();
889 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
890 }
891 }
892
894 if (pdcattr->dwLayout & LAYOUT_RTL) nXOffset = -nXOffset;
895 pdcattr->ptlViewportOrg.x += nXOffset;
896 pdcattr->ptlViewportOrg.y += nYOffset;
897 }
898
900
901 return TRUE;
902
903// return NtGdiOffsetViewportOrgEx(hdc, nXOffset, nYOffset, lpPoint);
904}
BOOL WINAPI SetViewportOrgEx(_In_ HDC hdc, _In_ int X, _In_ int Y, _Out_opt_ LPPOINT lpPoint)
Definition: coord.c:655
BOOL WINAPI OffsetViewportOrgEx(_In_ HDC hdc, _In_ int nXOffset, _In_ int nYOffset, _Out_opt_ LPPOINT lpPoint)
Definition: coord.c:858
#define HANDLE_METADC16(_RetType, _Func, dwError, hdc,...)
Definition: gdi32p.h:613
#define NtCurrentTeb
#define WORLD_XFORM_CHANGED
Definition: ntgdihdl.h:188
#define DC_MODE_DIRTY
Definition: ntgdihdl.h:144
#define DEVICE_TO_WORLD_INVALID
Definition: ntgdihdl.h:177
#define PAGE_XLATE_CHANGED
Definition: ntgdihdl.h:186

Referenced by ClockWndProc(), DrawThemeParentBackground(), OffsetViewportOrgEx(), PAINTING_DrawStateJam(), PlayMetaFileRecord(), and UXTHEME_DrawImageBackground().

◆ OffsetWindowOrgEx()

BOOL WINAPI OffsetWindowOrgEx ( _In_  HDC,
_In_ int  nXOffset,
_In_ int  nYOffset,
_Out_opt_  LPPOINT 
)

Definition at line 912 of file coord.c.

917{
918 PDC_ATTR pdcattr;
919
920 HANDLE_METADC16(BOOL, OffsetWindowOrgEx, FALSE, hdc, nXOffset, nYOffset);
921
922 /* Get the DC attribute */
923 pdcattr = GdiGetDcAttr(hdc);
924 if (!pdcattr)
925 {
926 /* Do not set LastError here! */
927 return FALSE;
928 }
929
930 if ( lpPoint )
931 {
932 *lpPoint = pdcattr->ptlWindowOrg;
933 //lpPoint->x = pdcattr->lWindowOrgx;
934 }
935
936 if ( nXOffset || nYOffset != nXOffset )
937 {
938 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
939 {
940 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
941 {
942 NtGdiFlush();
943 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
944 }
945 }
946
948 pdcattr->ptlWindowOrg.x += nXOffset;
949 pdcattr->ptlWindowOrg.y += nYOffset;
950 pdcattr->lWindowOrgx += nXOffset;
951 }
952
954
955 return TRUE;
956
957// return NtGdiOffsetWindowOrgEx(hdc, nXOffset, nYOffset, lpPoint);
958}
BOOL WINAPI OffsetWindowOrgEx(_In_ HDC hdc, _In_ int nXOffset, _In_ int nYOffset, _Out_opt_ LPPOINT lpPoint)
Definition: coord.c:912
BOOL WINAPI SetWindowOrgEx(_In_ HDC hdc, _In_ int X, _In_ int Y, _Out_opt_ LPPOINT lpPoint)
Definition: coord.c:532
LONG lWindowOrgx
Definition: ntgdihdl.h:340

Referenced by OffsetWindowOrgEx(), CAddressBand::OnEraseBackground(), PAGER_EraseBackground(), PlayMetaFileRecord(), and TOOLBAR_EraseBackground().

◆ PaintRgn()

BOOL WINAPI PaintRgn ( _In_  HDC,
_In_  HRGN 
)

Definition at line 250 of file painting.c.

253{
255}
HGDIOBJ WINAPI GetCurrentObject(_In_ HDC, _In_ UINT)
Definition: dc.c:428

Referenced by draw_graphics(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), and Test_PaintRgn().

◆ PatBlt()

◆ PathToRegion()

◆ Pie()

◆ PlayEnhMetaFile()

◆ PlayEnhMetaFileRecord()

◆ PlayMetaFile()

◆ PlayMetaFileRecord()

BOOL WINAPI PlayMetaFileRecord ( _In_ HDC  hdc,
_In_reads_(noObjs) LPHANDLETABLE  lpHandleTable,
_In_ LPMETARECORD  lpMR,
_In_ UINT  noObjs 
)

◆ PlgBlt()

BOOL WINAPI PlgBlt ( _In_ HDC  hdcDest,
_In_reads_(3) const POINT lpPoint,
_In_ HDC  hdcSrc,
_In_ int  xSrc,
_In_ int  ySrc,
_In_ int  width,
_In_ int  height,
_In_opt_ HBITMAP  hbmMask,
_In_ int  xMask,
_In_ int  yMask 
)

Referenced by PlayEnhMetaFileRecord().

◆ PolyBezier()

BOOL WINAPI PolyBezier ( _In_ HDC  hdc,
_In_reads_(cpt) const POINT apt,
_In_ DWORD  cpt 
)

Definition at line 263 of file painting.c.

267{
269
270 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
271
272 return NtGdiPolyPolyDraw(hdc ,(PPOINT)apt, &cpt, 1, GdiPolyBezier);
273}
BOOL WINAPI PolyBezier(_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ DWORD cpt)
Definition: painting.c:263
__kernel_entry W32KAPI ULONG_PTR APIENTRY NtGdiPolyPolyDraw(_In_ HDC hdc, _In_ PPOINT ppt, _In_reads_(ccpt) PULONG pcpt, _In_ ULONG ccpt, _In_ INT iFunc)
@ GdiPolyBezier
Definition: ntgdityp.h:40

Referenced by Bezier(), DrawPrimitive(), PlayEnhMetaFileRecord(), PolyBezier(), test_all_functions(), and test_emf_polybezier().

◆ PolyBezierTo()

BOOL WINAPI PolyBezierTo ( _In_ HDC  hdc,
_In_reads_(cpt) const POINT apt,
_In_ DWORD  cpt 
)

Definition at line 281 of file painting.c.

285{
287
288 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
289
290 return NtGdiPolyPolyDraw(hdc , (PPOINT)apt, &cpt, 1, GdiPolyBezierTo);
291}
BOOL WINAPI PolyBezierTo(_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ DWORD cpt)
Definition: painting.c:281
@ GdiPolyBezierTo
Definition: ntgdityp.h:42

Referenced by MainWndProc(), PlayEnhMetaFileRecord(), PolyBezierTo(), test_all_functions(), and test_emf_polybezier().

◆ PolyDraw()

◆ Polygon()

BOOL WINAPI Polygon ( _In_ HDC  hdc,
_In_reads_(cpt) const POINT apt,
_In_ int  cpt 
)

◆ Polyline()

◆ PolylineTo()

BOOL WINAPI PolylineTo ( _In_ HDC  hdc,
_In_reads_(cpt) const POINT apt,
_In_ DWORD  cpt 
)

Definition at line 354 of file painting.c.

358{
360
361 if ( GdiConvertAndCheckDC(hdc) == NULL ) return FALSE;
362
363 return NtGdiPolyPolyDraw(hdc , (PPOINT)apt, &cpt, 1, GdiPolyLineTo);
364}
BOOL WINAPI PolylineTo(_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ DWORD cpt)
Definition: painting.c:354
@ GdiPolyLineTo
Definition: ntgdityp.h:41

Referenced by PlayEnhMetaFileRecord(), PolylineTo(), test_all_functions(), and test_emf_paths().

◆ PolyPolygon()

BOOL WINAPI PolyPolygon ( _In_ HDC  hdc,
_In_ const POINT apt,
_In_reads_(csz) const INT asz,
_In_ int  csz 
)

◆ PolyPolyline()

◆ PolyTextOutA()

BOOL WINAPI PolyTextOutA ( _In_ HDC  hdc,
_In_reads_(nstrings) const POLYTEXTA ppt,
_In_ int  nstrings 
)

Referenced by PlayEnhMetaFileRecord().

◆ PolyTextOutW()

BOOL WINAPI PolyTextOutW ( _In_ HDC  hdc,
_In_reads_(nstrings) const POLYTEXTW ppt,
_In_ int  nstrings 
)

Referenced by PlayEnhMetaFileRecord().

◆ PtInRegion()

BOOL WINAPI PtInRegion ( _In_  HRGN,
_In_ int  ,
_In_ int   
)

◆ PtVisible()

BOOL WINAPI PtVisible ( _In_  HDC,
_In_ int  ,
_In_ int   
)

◆ RealizePalette()

UINT WINAPI RealizePalette ( _In_  HDC)

Definition at line 138 of file palette.c.

140{
142 {
144 }
145
147 {
148 return GDI_ERROR;
149 }
150
151 return UserRealizePalette(hdc);
152}
BOOL METADC_RealizePalette(HDC hdc) DECLSPEC_HIDDEN
Definition: metadc.c:1247
UINT WINAPI UserRealizePalette(HDC hDC)
Definition: painting.c:2346
@ GDILoObjType_LO_DC_TYPE
Definition: gdi_private.h:34

Referenced by DrawDibRealize(), DrawDibSetPalette(), GuiSetActiveScreenBuffer(), GuiSetPalette(), InitBitmap(), OnPaletteChanged(), PlayEnhMetaFileRecord(), RealizeClipboardPalette(), START_TEST(), and UseNicePalette().

◆ Rectangle()

◆ RectInRegion()

BOOL WINAPI RectInRegion ( _In_  HRGN,
_In_  LPCRECT 
)

◆ RectVisible()

◆ RemoveFontResourceA()

BOOL WINAPI RemoveFontResourceA ( _In_  LPCSTR)

Referenced by Test_AddFontResourceA().

◆ RemoveFontResourceW()

BOOL WINAPI RemoveFontResourceW ( _In_  LPCWSTR)

◆ ResetDCA()

HDC WINAPI ResetDCA ( _In_  HDC,
_In_ const DEVMODEA  
)

◆ ResetDCW()

HDC WINAPI ResetDCW ( _In_  HDC,
_In_ const DEVMODEW  
)

◆ ResizePalette()

BOOL WINAPI ResizePalette ( _In_  HPALETTE,
_In_  UINT 
)

Referenced by PlayEnhMetaFileRecord().

◆ RestoreDC()

◆ RoundRect()

◆ SaveDC()

◆ ScaleViewportExtEx()

BOOL WINAPI ScaleViewportExtEx ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_Out_opt_  LPSIZE 
)

Referenced by PlayMetaFileRecord().

◆ ScaleWindowExtEx()

BOOL WINAPI ScaleWindowExtEx ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_In_ int  ,
_Out_opt_  LPSIZE 
)

◆ SelectClipPath()

◆ SelectClipRgn()

◆ SelectObject()

HGDIOBJ WINAPI SelectObject ( _In_  HDC,
_In_  HGDIOBJ 
)

Definition at line 1546 of file dc.c.

1549{
1550 /* Fix up 16 bit handles */
1551 hobj = GdiFixUpHandle(hobj);
1552 if (!GdiValidateHandle(hobj))
1553 {
1554 return NULL;
1555 }
1556
1557 /* Call the appropriate select function */
1558 switch (GDI_HANDLE_GET_TYPE(hobj))
1559 {
1562
1565 return GdiSelectBitmap(hdc, hobj);
1566
1568 return GdiSelectBrush(hdc, hobj);
1569
1572 return GdiSelectPen(hdc, hobj);
1573
1575 return GdiSelectFont(hdc, hobj);
1576
1578 return SetColorSpace(hdc, hobj);
1579
1582
1583 default:
1584 return NULL;
1585 }
1586
1587 return NULL;
1588}
#define UlongToHandle(ul)
Definition: basetsd.h:97
#define ERROR_INVALID_FUNCTION
Definition: dderror.h:6
BOOL WINAPI GdiValidateHandle(HGDIOBJ)
Definition: misc.c:712
HGDIOBJ WINAPI GdiFixUpHandle(HGDIOBJ hGO)
Definition: misc.c:734
@ GDILoObjType_LO_FONT_TYPE
Definition: gdi_private.h:37
@ GDILoObjType_LO_PALETTE_TYPE
Definition: gdi_private.h:36
@ GDILoObjType_LO_BRUSH_TYPE
Definition: gdi_private.h:33
@ GDILoObjType_LO_BITMAP_TYPE
Definition: gdi_private.h:35
@ GDILoObjType_LO_REGION_TYPE
Definition: gdi_private.h:38
@ GDILoObjType_LO_EXTPEN_TYPE
Definition: gdi_private.h:45
@ GDILoObjType_LO_ICMLCS_TYPE
Definition: gdi_private.h:39
@ GDILoObjType_LO_PEN_TYPE
Definition: gdi_private.h:44
@ GDILoObjType_LO_DIBSECTION_TYPE
Definition: gdi_private.h:46
HBRUSH WINAPI GdiSelectBrush(_In_ HDC hdc, _In_ HBRUSH hbr)
Definition: dc.c:1435
HFONT WINAPI GdiSelectFont(_In_ HDC hdc, _In_ HFONT hfont)
Definition: dc.c:1495
HPEN WINAPI GdiSelectPen(_In_ HDC hdc, _In_ HPEN hpen)
Definition: dc.c:1465
HBITMAP WINAPI GdiSelectBitmap(_In_ HDC hdc, _In_ HBITMAP hbmp)
Definition: dc.c:1426
HCOLORSPACE WINAPI SetColorSpace(_In_ HDC, _In_ HCOLORSPACE)
#define RGN_COPY
Definition: wingdi.h:357
int WINAPI ExtSelectClipRgn(_In_ HDC, _In_opt_ HRGN, _In_ int)

Referenced by _find_font_for_range(), CMenuDeskBar::_OnPaint(), _Success_(), AboutDlgProc(), add_ruler_units(), add_with_alpha(), AddDlg_OnInitDialog(), alpha_blend_hdc_pixels(), alpha_blend_image(), AlphaBlendInit(), ANIMATE_PaintFrame(), ANIMATE_TransparentBlt(), AppearancePage_OnInit(), Bezier(), BitBltFromClipboard(), BITMAP_CopyImage(), BITMAP_LoadImageW(), BitmapFromHEMF(), BitmapFromIcon(), BitmapToClipboardDIB(), Brush(), brush_fill_path(), BuildFont(), BuildMaskFromPoints(), BUTTON_CalcLabelRect(), C1_DrawConvexRect(), C1_DrawDragBorder(), C1_DrawLabel(), C1_InitBitmap(), C1_OnButtonDown(), C1_OnButtonUp(), C1_OnCreate(), C1_OnDraw(), C1_OnMouseMove(), C1_SetData(), Pane::calc_single_width(), Pane::calc_widths(), CalculateCharWidth(), CDimmedWindow::Capture(), CaptureScreen(), CardImageWndProc(), CB_Paint(), CB_ThemedPaint(), CBGetTextAreaHeight(), CBPaintText(), CC_PaintCross(), CC_PaintTriangle(), CC_PrepareColorGraph(), cdtDrawExt(), CFn_WMDrawItem(), CFn_WMMeasureItem(), CFn_WMPaint(), check_height_font_enumproc(), check_vertical_font(), check_vertical_metrics(), Child_OnPaint(), cicChangeBitmapColor(), clear_frontbuffer(), ClockWndProc(), ColorKeyedMaskBlt(), combo_get_text_height(), COMBO_Init(), COMBO_Paint(), COMCTL32_DrawInsertMark(), COMCTL32_EnsureBitmapSize(), COMCTL32_GetFontMetrics(), ConfigDlgProc(), ConfirmMsgBox_Init(), ConfirmMsgBox_Paint(), SEALED_::ControlWindowProc(), ConvertBitmapTo32Bpp(), ConWndProc(), CopyMonoImage(), create_alpha_bitmap(), create_bitmap(), create_render_dc(), CCicLibMenuItem::CreateBitmap(), CreateCheckImage(), CreateCheckMask(), CreateColorDIB(), CreateDragImage(), CreateLayoutIcon(), CreateMappedBitmap(), CreateMatrix(), CreateMDIMenuBitmap(), CreateMonoBitmap(), CreateRadioImage(), CreateRadioMask(), CShellLink::CreateShortcutIcon(), CreateSinkBmp(), CreateStarBitmap(), CreateStateImageList(), CreateTrayIcon(), ctrl_resize(), CURSORICON_GetCursorDataFromBMI(), CURSORICON_GetCursorDataFromIconInfo(), D3DXCreateFontIndirectW(), D3DXCreateTextTest(), D3DXCreateTextW(), DATETIME_GetIdealSize(), DATETIME_Refresh(), default_page_paint_hook(), delete_render_dc(), device_load_logo(), DIALOG_CreateIndirect(), dialog_get_sans_serif_height(), RdpClientUI::Display_DestBlt(), RdpClientUI::Display_DrawGlyph(), Display_DrawText(), RdpClientUI::Display_DrawText(), RdpClientUI::Display_Line(), RdpClientUI::Display_MemBlt(), RdpClientUI::Display_PatBlt(), RdpClientUI::Display_Polygon(), RdpClientUI::Display_Polyline(), RdpClientUI::Display_Rect(), Display_SetTypeFace(), RdpClientUI::Display_TriBlt(), DisplayDlgProc(), DlgProc(), DoBlt(), CCanvasWindow::DoDraw(), DoEntry(), DoPrintDocument(), DoPrintPage(), DoTestEntry(), Draw(), CardButton::Draw(), draw_cap(), draw_diag_edge(), draw_graphics(), draw_margin_lines(), draw_maze_border(), draw_rect_edge(), draw_splitbar(), draw_text_2(), draw_underline(), draw_wall(), CUIFMenuItem::DrawArrow(), SelectionModel::DrawBackgroundPoly(), DrawBackgroundPreview(), CToolSettingsWindow::drawBox(), CUIFMenuItem::DrawCheck(), DrawCheckedRect(), DrawClassicFrame(), DrawClock(), DrawDibBegin(), DrawDibEnd(), DrawFace(), DrawFocusRect(), CGridView::DrawGrid(), DrawHands(), DrawHeaderOrFooter(), DrawIconOnOwnerDrawnButtons(), CUIFButton::DrawIconProc(), DrawLeds(), DrawLines(), DrawMines(), DrawProc(), CardButton::DrawRect(), SelectionModel::DrawSelection(), DrawShadowText(), drawSizeBoxes(), CUIFButton::DrawTextProc(), CUIFBalloonButton::DrawTextProc(), DrawThemeTextEx(), DrawTileBitmap(), DrawXorRect(), dup_bitmap(), EDIT_EM_SetMargins(), EDIT_PaintText(), EDIT_UpdateUniscribeData(), EDIT_UpdateUniscribeData_linedef(), EDIT_WM_Paint(), EDIT_WM_SetFont(), EditDlg_OnInitDialog(), EditGlyphEditWndProc(), EditTypeDlg_OnDrawItem(), Ellp(), EnumEnhMetaFile(), EnumMetaFile(), ExtractOneBitmap(), FILEDLG95_LOOKIN_Init(), Fill(), FillGrid(), FillRect(), find_installed_font(), CTextEditWindow::FixEditPos(), SelectionModel::FlipHorizontally(), SelectionModel::FlipVertically(), fnIMLangFontLink2_GetFontCodePages(), font_height(), FrameRect(), GB_Paint(), GB_ThemedPaint(), GDI32_GdipDrawDriverString(), gdi_get_font_metrics(), GdipAddPathString(), GdipCreateFont(), GdipCreateFontFromLogfontW(), GdipDrawImagePointsRect(), GdipDrawString(), GdipGetDC(), GdipGetImageGraphicsContext(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), GdiSelectBrush(), GdiSelectFont(), GdiSelectPen(), GeneralPageProc(), get_bitmap_info(), get_color_format(), get_current_font_height(), get_font_dpi(), get_font_fsselection(), get_font_height(), get_font_hfont(), get_glyph_indices(), get_text_metr_size(), get_tmheight(), get_tmheightW(), GetButtonHeight(), CUIFBalloonWindow::GetButtonSize(), ATL::CImage::GetDC(), GetDiaogTextureBrush(), GetFontMetrics(), GetIdealItemHeight(), GetPhysicalFontHeight(), SelectionModel::GetSelectionContents(), getSubImage(), CTipbarThread::GetTextSize(), CUIFButton::GetTextSize(), GetThemeTextExtent(), GetThemeTextMetrics(), CUIFToolTip::GetTipWindowSize(), Ghost_OnDraw(), Graph_DrawCpuUsageGraph(), Graph_DrawMemUsageGraph(), GraphCtrl_AddPoint(), GraphCtrl_Create(), GraphCtrl_RedrawBitmap(), GraphCtrl_RedrawOnHeightChange(), GuiCopyFromGraphicsBuffer(), GuiPaintCaret(), GuiPaintTextModeBuffer(), CTaskSwitchWnd::HandleItemPaint(), HandlePrintPasswdChar(), HEADER_Create(), HEADER_CreateDragImage(), HEADER_DrawItem(), HEADER_Refresh(), HEADER_SetFont(), HelDdSurfLock(), HelDdSurfUnlock(), HEXEDIT_WM_PAINT(), HEXEDIT_WM_SETFONT(), HLPFILE_RtfAddTransparentBitmap(), HOTKEY_DrawHotKey(), HOTKEY_SetFont(), ICONTITLE_Paint(), ICONTITLE_SetTitlePos(), COpenWithMenu::IconToBitmap(), ImageList_Add(), ImageList_AddMasked(), ImageList_Copy(), ImageList_Create(), ImageList_DragMove(), ImageList_DragShowNolock(), ImageList_DrawIndirect(), ImageList_GetIcon(), IMAGELIST_InternalExpandBitmaps(), ImageList_Remove(), ImageList_Replace(), ImageList_ReplaceIcon(), ImageList_SetIconSize(), ImageList_SetImageCount(), ImageModel::ImageModel(), Imm32DrawBitmap(), InatCreateIconBySize(), init(), InitColorButtons(), InitLogo(), InitPerBitDepth(), InitResources(), IntDrawDiagEdge(), IntDrawScrollInterior(), IntDrawState(), IntGetWindowBitmap(), IntGrayString(), SelectionModel::InvertSelection(), is_font_available(), Line(), LISTBOX_DrawFocusRect(), LISTBOX_Paint(), LISTBOX_RepaintItem(), LISTBOX_SetFont(), LISTVIEW_Command(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_CreateDragImage(), LISTVIEW_EditLabelT(), LISTVIEW_GetItemMetrics(), LISTVIEW_GetStringWidthT(), LISTVIEW_Refresh(), LISTVIEW_RefreshList(), LISTVIEW_RefreshReport(), LISTVIEW_RefreshReportGrid(), LISTVIEW_SaveTextMetrics(), LISTVIEW_SetColumnWidth(), LISTVIEW_ShowFocusRect(), load_picture(), LoadCardBitmapsFromLibrary(), LoadDialog(), LoadIniFile(), ImageModel::LockBitmap(), LPK_DrawUnderscore(), LrgCellWndProc(), MainWndProc(), map_font(), MDI_AugmentFrameMenu(), ME_DebugWrite(), ME_DrawOLE(), ME_DrawParaDecoration(), ME_DrawTableBorders(), CTrayClockWnd::MeasureLines(), menu_ownerdraw_wnd_proc(), mi_line(), mi_paint_rect(), MonSelGetMonitorFont(), MonSelPaint(), MonSelPaintMonitor(), MONTHCAL_Circle(), MONTHCAL_PaintCalendar(), MONTHCAL_PaintTitle(), MONTHCAL_PaintTodayTitle(), MONTHCAL_UpdateSize(), MonthCalPaint(), mstsc_ProtocolIOThread(), MyDrawCaptionTemp(), MyDrawFrameCaption(), MyDrawFrameScroll(), MyDrawMenuBarTemp(), MyIntDrawRectEdge(), NT5_DrawBaseBackground(), NT5_DrawLogoffCaptionText(), NT5_DrawLogoffIcon(), OB_Paint(), OleCreatePropertyFrameIndirect(), OLEFontImpl_QueryTextMetrics(), OleMetafilePictFromIconAndLabel(), OLEPictureImpl_LoadWICSource(), OLEPictureImpl_SelectPicture(), on_wm_initdialog(), CBaseBarSite::OnCustomDraw(), CMenuToolbarBase::OnCustomDraw(), OnDrawItem(), CAutoComplete::OnDrawItem(), OnPaint(), CMiniatureWindow::OnPaint(), CPaletteWindow::OnPaint(), CDownloaderProgress::OnPaint(), CTrayClockWnd::OnPaint(), CBrandBand::OnPaint(), CACSizeBox::OnPaint(), OSK_Paint(), paint_ruler(), PaintBanner(), PaintCells(), PaintControl(), PAINTING_DrawStateJam(), CUIFBalloonWindow::PaintMessageProc(), CAppScrnshotPreview::PaintOnDC(), CDrvDefExt::PaintStaticControls(), PaintText(), parent_wnd_proc(), PathSetDlgItemPathW(), PB_Paint(), PB_ThemedPaint(), PlayEnhMetaFileRecord(), PlayMetaFile(), PlayMetaFileRecord(), PlotCharacter(), plugin_proc(), Poly(), PolygonTest(), PolyPatBlt(), prepare_dc(), CardRegion::PrepareDragBitmaps(), CardRegion::PrepareDragBitmapsThreed(), PressBox(), print_preview(), PRINTDLG_PagePaintProc(), PrintTextXY(), PROPSHEET_Paint(), ImageModel::PushImageForUndo(), putSubImage(), realize_font(), REBAR_DrawBand(), REBAR_DrawChevron(), REBAR_ValidateBand(), Rect(), RectSel(), ImageModel::Redo(), ATL::CImage::ReleaseDC(), render_masked_bitmap(), restore_dc(), RichEditWndProc_common(), RosImageProc(), Rotate90DegreeBlt(), SelectionModel::RotateNTimes90Degrees(), RRect(), SB_OnPaint(), ScreenSaverProc(), ScriptStringAnalyse(), select_style(), CardWindow::SetBackImage(), CUIFBitmapDC::SetBitmap(), CUIFBitmapDC::SetDIB(), SetDIBits(), CGridView::SetFont(), CACListView::SetFont(), SetFont(), SetFontStylesToCombo2(), SetMatrixMessage(), SetSpecialDCState(), SetSpecialDCState2(), SetupControls(), ShowColorSpectrum(), ShowResolutionPreview(), ShowScreenSaverPreview(), SIC_OverlayShortcutImage(), SkewDIB(), SoftModalMessageBox(), SOFTWARE_GdipDrawDriverString(), solid_patblt(), SS_ItemOut(), START_TEST(), STATIC_PaintBitmapfn(), STATIC_PaintOwnerDrawfn(), STATIC_PaintTextfn(), STATUSBAR_Refresh(), StatusDialogProc(), StatusMessageWindowProc(), stretch_blt_icon(), SelectionModel::StretchSkew(), SYSLINK_Draw(), SYSLINK_GetIdealHeight(), SYSLINK_GetIdealSize(), SYSLINK_Render(), T1_DrawConvexRect(), T1_DrawDragBorder(), T1_DrawLabels(), T1_GetTextMetric(), T1_InitBitmap(), T1_OnDraw(), T1_SetData(), TAB_Create(), TAB_DrawItemInterior(), TAB_Refresh(), TAB_SetItemBounds(), taskdialog_get_expando_size(), taskdialog_get_label_size(), taskdialog_init(), test_32bit_ddb(), test_alpha_hdc(), test_bcm_get_ideal_size(), test_BitBlt(), Test_Bitmap(), test_bitmap(), test_bitmap_colors(), test_bitmap_font(), test_bitmap_font_glyph_index(), test_bitmap_font_metrics(), test_bitmap_formats(), test_bitmap_rendering(), test_boundsrect(), Test_BrushOrigin(), test_buffered_paint(), Test_bug3481(), test_button_messages(), test_clipping(), test_CreateBitmap(), Test_CreateCompatibleDC(), test_CreateCompatibleDC(), test_createdibitmap(), Test_CreateDIBitmap_CBM_CREATDIB(), Test_CreateDIBitmap_DIB_PAL_COLORS(), Test_CreateDIBPatternBrushPt(), test_createhbitmap(), test_createtext(), test_D3DKMTCreateDCFromMemory(), test_DC_bitmap(), test_dc_layout(), test_device_caps(), test_DIB_PAL_COLORS(), test_dibsections(), test_DrawDib_sizeimage(), test_DrawIcon(), test_DrawIconEx(), test_DrawState(), test_DrawTextCalcRect(), test_east_asian_font_selection(), test_emf_BitBlt(), test_emf_DCBrush(), test_emf_ExtTextOut_on_path(), test_emfonly(), test_ExtTextOut(), test_fake_bold_font(), test_FillRect(), test_font_caps(), Test_FontSelectionEntry(), test_fstype_fixup(), test_fullname(), test_fullname2_helper(), test_gdi_objects(), test_GdiAlphaBlend(), Test_GdiGetCharDimensions(), test_GdiGetCodePage(), test_GdiGradientFill(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetVisibleClipBounds_memoryDC(), test_gditransform(), test_GetCharABCWidths(), test_GetCharWidth32(), test_GetCharWidthI(), Test_GetCurrentObject(), test_GetCurrentObject(), test_GetCursorFrameInfo(), test_getdc(), test_getdc_scaled(), Test_GetDIBColorTable(), test_GetDIBits_selected_DDB(), test_GetDIBits_selected_DIB(), test_GetFontUnicodeRanges(), test_GetGlyphIndices(), test_GetGlyphOutline(), test_GetGlyphOutline_empty_contour(), test_GetGlyphOutline_metric_clipping(), Test_GetIdealSizeNoThemes(), test_GetKerningPairs(), test_GetOutlineTextMetrics(), Test_GetPixel_1bpp(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_GetSetDIBits_rtl(), test_GetTextFace(), Test_GetTextFaceAliasW(), test_GetTextMetrics2(), test_hdc_caching(), test_height(), test_ImageList_DrawIndirect(), Test_IsSpecialState(), test_item_count(), test_layered_window(), test_margins_default(), test_margins_usefontinfo(), Test_MaskBlt_16bpp(), Test_MaskBlt_1bpp(), Test_MaskBlt_32bpp(), Test_MaskBlt_Brush(), test_max_height(), test_memory_dc_clipping(), test_mf_DCBrush(), test_mf_PatternBrush(), test_mf_SaveDC(), test_mono_bitmap(), test_mono_dibsection(), test_negative_width(), test_nonexistent_font(), Test_NtGdiDoPalette_SetDIBColorTable(), test_nullframerect(), test_oemcharset(), test_orientation(), test_outline_font(), Test_PaintRgn(), test_palette_brush(), Test_PatBlt_Params(), test_path_state(), Test_Pen(), test_printer_dc(), test_ps_alternate(), test_RealizationInfo(), Test_Rectangle(), Test_Region(), test_SaveDC(), test_script_cache_reuse(), test_ScriptCacheGetHeight(), test_ScriptGetFontProperties(), test_ScriptGetGlyphABCWidth(), test_ScriptPlace(), test_ScriptShape(), test_ScriptShapeOpenType(), test_select_object(), Test_SelectObject(), Test_SetDCPenColor(), Test_SetDIBits_1bpp(), test_SetDIBitsToDevice(), test_SetDIBitsToDevice_RLE8(), Test_SetPixel_PAL(), test_SetTextJustification(), test_simple_graphics(), Test_SrcMono(), Test_SrcMono1(), test_StretchBlt(), test_StretchBlt_TopDownOptions(), test_StretchDIBits(), test_tab(), test_text_extents(), test_text_metrics(), test_text_position_style(), test_TxGetNaturalSize(), test_widenpath(), Text(), TEXT_DrawUnderscore(), TextProc(), ThemeDrawCaptionText(), ThemeEndBufferedPaint(), ThemeStartBufferedPaint(), TimeZonePageProc(), TOOLBAR_CalcStrings(), TOOLBAR_CustomizeDialogProc(), TOOLBAR_DrawArrow(), TOOLBAR_DrawMasked(), TOOLBAR_DrawPattern(), TOOLBAR_DrawString(), TOOLBAR_LayoutToolbar(), ToolTipProc(), TOOLTIPS_CalcTipSize(), TOOLTIPS_Refresh(), TRACKBAR_DrawTics(), TRACKBAR_FillThumb(), TRACKBAR_Refresh(), TrayIcon_GetProcessorUsageIcon(), TreeListDraw(), TreeListEditLabel(), TREEVIEW_Command(), TREEVIEW_ComputeTextWidth(), TREEVIEW_CreateDragImage(), TREEVIEW_DrawItem(), TREEVIEW_DrawItemLines(), TREEVIEW_EditLabel(), TREEVIEW_InitCheckboxes(), TREEVIEW_NaturalHeight(), TREEVIEW_UpdateSubTree(), UB_Paint(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameCaption(), UITOOLS95_DrawFrameMenu(), UITOOLS95_DrawFrameScroll(), UITOOLS_DrawCheckedRect(), ImageModel::Undo(), CUIFBitmapDC::Uninit(), ImageModel::UnlockBitmap(), UnpressBox(), update_preview(), UpdateButtonColor(), UpdateCaretPos(), UpdateFont(), UserLpkPSMTextOut(), UXTHEME_DrawBorderRectangle(), UXTHEME_DrawImageBackground(), UXTHEME_DrawThemePartToDib(), UXTHEME_SizedBlt(), VfdToolTip(), wglUseFontOutlines_common(), WinMain(), WndProc(), SDIMainFrame::WndProc(), ChildWindow::WndProc(), WndProc_wave(), write_monocolor_span_frontbuffer(), wWinMain(), ZoomWnd_OnDraw(), CDimmedWindow::~CDimmedWindow(), and ImageModel::~ImageModel().

◆ SelectPalette()

◆ SetAbortProc()

int WINAPI SetAbortProc ( _In_  HDC,
_In_  ABORTPROC 
)

Referenced by Escape(), and test_abort_proc().

◆ SetArcDirection()

◆ SetBitmapBits()

LONG WINAPI SetBitmapBits ( _In_ HBITMAP  hbm,
_In_ DWORD  cb,
_In_reads_bytes_(cb) CONST VOID pvBits 
)

Referenced by HelDdSurfUnlock().

◆ SetBitmapDimensionEx()

BOOL WINAPI SetBitmapDimensionEx ( _In_  HBITMAP,
_In_ int  ,
_In_ int  ,
_Out_opt_  LPSIZE 
)

Referenced by Test_GetDIBits().

◆ SetBkColor()

COLORREF WINAPI SetBkColor ( _In_  HDC,
_In_  COLORREF 
)

Definition at line 999 of file dc.c.

1002{
1003 PDC_ATTR pdcattr;
1004 COLORREF crOldColor;
1005
1007
1008 /* Get the DC attribute */
1009 pdcattr = GdiGetDcAttr(hdc);
1010 if (pdcattr == NULL)
1011 {
1013 return CLR_INVALID;
1014 }
1015
1016 /* Get old color and store the new */
1017 crOldColor = pdcattr->ulBackgroundClr;
1018 pdcattr->ulBackgroundClr = crColor;
1019
1020 if (pdcattr->crBackgroundClr != crColor)
1021 {
1023 pdcattr->crBackgroundClr = crColor;
1024 }
1025
1026 return crOldColor;
1027}
#define DIRTY_FILL
Definition: ntgdihdl.h:123
#define DIRTY_LINE
Definition: ntgdihdl.h:124
#define DIRTY_BACKGROUND
Definition: ntgdihdl.h:126
COLORREF crBackgroundClr
Definition: ntgdihdl.h:297
COLORREF WINAPI SetBkColor(_In_ HDC hdc, _In_ COLORREF crColor)
Definition: dc.c:999
DWORD COLORREF
Definition: windef.h:300

Referenced by AboutProc(), ANIMATE_TransparentBlt(), C1_SetData(), CBPaintText(), cd_wndproc(), cdtDrawExt(), CFn_WMDrawItem(), cicChangeBitmapColor(), cicCreateMaskBmp(), COMBOEX_ComboWndProc(), ConfigDlgProc(), SEALED_::ControlWindowProc(), CreateDragImage(), CreateStateImageList(), DefWndControlColor(), RdpClientUI::Display_DrawGlyph(), RdpClientUI::Display_PatBlt(), RdpClientUI::Display_Polygon(), CardButton::Draw(), draw_graphics(), draw_space(), draw_text(), DrawCheckedRect(), DrawShadowText(), DrawStatusTextW(), EDIT_PaintText(), EditTypeDlg_OnDrawItem(), EnumEnhMetaFile(), FD31_FileOpenDlgProc(), FD31_WMDrawItem(), FILEDLG95_LOOKIN_DrawItem(), FileMenu_DrawItem(), FillSolidRect(), GraphCtrl_Create(), GuiPaintTextModeBuffer(), HEADER_DrawItem(), HLPFILE_RtfAddTransparentBitmap(), HOTKEY_DrawHotKey(), ImageList_AddMasked(), ImageList_DrawIndirect(), InatCreateIconBySize(), IntDrawState(), IntGrayString(), IPADDRESS_Draw(), LISTBOX_PaintItem(), LISTVIEW_DrawFocusRect(), LISTVIEW_Refresh(), MONTHCAL_PaintCalendar(), MONTHCAL_PaintTitle(), MonthCalPaint(), MouseOnCtrlColorStatic(), MyDrawMenuBarTemp(), OLEPictureImpl_LoadWICSource(), OnDrawItem(), OnPaint(), CBrandBand::OnPaint(), PaintControl(), PaintRect(), PaintText(), parent_wnd_proc(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), PlotCharacter(), prepaint_setup(), PROPSHEET_WizardSubclassProc(), REBAR_EraseBkGnd(), render_masked_bitmap(), SetBkColor(), SHFillRectClr(), SS_ItemOut(), START_TEST(), STATIC_PaintBitmapfn(), SYSLINK_Draw(), T1_SetData(), TAB_DrawItem(), TAB_EraseTabInterior(), test_bitmap_colors(), test_dc_values(), test_ExtTextOut(), Test_GetPixel_1bpp(), test_mf_SaveDC(), test_mono_bitmap(), test_SaveDC(), Test_SrcMono1(), test_StretchBlt(), Text(), TOOLBAR_CustomizeDialogProc(), TOOLBAR_DrawButton(), TOOLBAR_DrawFlatHorizontalSeparator(), TOOLBAR_DrawFlatSeparator(), TOOLBAR_DrawMasked(), TOOLBAR_DrawPattern(), TOOLBAR_DrawString(), TRACKBAR_DrawThumb(), TreeListDraw(), TREEVIEW_DrawItem(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS_DrawCheckedRect(), WndProc(), and ZoomWnd_OnDraw().

◆ SetBkMode()

int WINAPI SetBkMode ( _In_  HDC,
_In_ int  iBkMode 
)

Definition at line 1056 of file dc.c.

1059{
1060 PDC_ATTR pdcattr;
1061 INT iOldMode;
1062
1063 /* Avoid bad mode setting */
1064 if ((iBkMode != TRANSPARENT) && (iBkMode != OPAQUE))
1065 {
1066 DPRINT1("SetBkMode: Incorrect value\n");
1067 return 0;
1068 }
1069
1070 HANDLE_METADC(INT, SetBkMode, 0, hdc, iBkMode);
1071
1072 /* Get the DC attribute */
1073 pdcattr = GdiGetDcAttr(hdc);
1074 if (pdcattr == NULL)
1075 {
1077 return 0;
1078 }
1079
1080 iOldMode = pdcattr->lBkMode;
1081 pdcattr->jBkMode = iBkMode; // Processed
1082 pdcattr->lBkMode = iBkMode; // Raw
1083
1084 return iOldMode;
1085}
#define DPRINT1
Definition: precomp.h:8
LONG lBkMode
Definition: ntgdihdl.h:313
BYTE jBkMode
Definition: ntgdihdl.h:308
int32_t INT
Definition: typedefs.h:58
int WINAPI SetBkMode(_In_ HDC hdc, _In_ int iBkMode)
Definition: dc.c:1056
#define TRANSPARENT
Definition: wingdi.h:950
#define OPAQUE
Definition: wingdi.h:949

Referenced by add_ruler_units(), BUTTON_WindowProc(), ButtonWndProc_common(), CaptWndProc(), CFn_WMPaint(), ConfirmMsgBox_Paint(), CreateLayoutIcon(), CreateStateImageList(), CreateTrayIcon(), DATETIME_Refresh(), default_page_paint_hook(), DlgProc(), draw_graphics(), Pane::draw_item(), draw_text_2(), DrawContent(), DrawProc(), DrawShadowText(), DrawStatusTextW(), CUIFButton::DrawTextProc(), CUIFBalloonButton::DrawTextProc(), DrawThemeTextEx(), EDIT_PaintText(), GDI32_GdipDrawDriverString(), HackFillStaticBg(), HEADER_DrawItem(), HEXEDIT_PaintLines(), ICONTITLE_Paint(), LISTVIEW_Refresh(), LogOffDialogProc(), MainWnd_OnDrawItem(), MainWndProc(), ME_PaintContent(), MonSelPaint(), MonthCalPaint(), MSIText_WndProc(), MyDrawCaptionTemp(), MyDrawFrameCaption(), MyDrawFrameScroll(), MyDrawMenuBarTemp(), NT5_DrawLogoffCaptionText(), CTrayWindow::OnCtlColorBtn(), CCanvasWindow::OnCtlColorEdit(), OnCtlColorStatic(), CMenuToolbarBase::OnCustomDraw(), OnDrawItem(), CFontsDialog::OnDrawItem(), CAutoComplete::OnDrawItem(), OnPaint(), CTrayClockWnd::OnPaint(), CUIFBalloonWindow::PaintMessageProc(), PB_Paint(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), prepaint_setup(), ProgressDlg::ProcessWindowMessage(), PROPSHEET_Paint(), RealDrawFrameControl(), REBAR_DrawBand(), RosImageProc(), SetBkMode(), SetupControls(), ShutdownDialogProc(), SS_ItemOut(), START_TEST(), SubclassButtonProc(), SYSLINK_Draw(), TAB_DrawItemInterior(), TabDlgProc(), test_ExtTextOut(), test_ps_alternate(), Test_SrcMono1(), Text(), ThemeDlgPostWindowProc(), TOOLBAR_DrawButton(), TOOLBAR_DrawString(), ToolTipProc(), TOOLTIPS_Refresh(), TreeListDraw(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameCaption(), UITOOLS95_DrawFrameScroll(), WndProc(), ColorStatic::WndProc(), and HyperlinkCtrl::WndProc().

◆ SetBoundsRect()

UINT WINAPI SetBoundsRect ( _In_  HDC,
_In_opt_  LPCRECT,
_In_  UINT 
)

◆ SetBrushOrgEx()

◆ SetColorAdjustment()

BOOL WINAPI SetColorAdjustment ( _In_  HDC,
_In_ const COLORADJUSTMENT  
)

Referenced by PlayEnhMetaFileRecord().

◆ SetColorSpace()

HCOLORSPACE WINAPI SetColorSpace ( _In_  HDC,
_In_  HCOLORSPACE 
)

◆ SetDeviceGammaRamp()

BOOL WINAPI SetDeviceGammaRamp ( _In_ HDC  hdc,
_In_reads_bytes_(3 *256 *2) LPVOID  lpRamp 
)

◆ SetDIBColorTable()

◆ SetDIBits()

◆ SetDIBitsToDevice()

◆ SetEnhMetaFileBits()

◆ SetGraphicsMode()

int WINAPI SetGraphicsMode ( _In_  HDC,
_In_ int  iMode 
)

Definition at line 1233 of file dc.c.

1236{
1237 INT iOldMode;
1238 PDC_ATTR pdcattr;
1239
1240 /* Check parameters */
1241 if ((iMode < GM_COMPATIBLE) || (iMode > GM_ADVANCED))
1242 {
1244 return 0;
1245 }
1246
1247 /* Get the DC attribute */
1248 pdcattr = GdiGetDcAttr(hdc);
1249 if (pdcattr == NULL)
1250 {
1252 return 0;
1253 }
1254
1255 /* Check for trivial case */
1256 if (iMode == pdcattr->iGraphicsMode)
1257 return iMode;
1258
1259 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
1260 {
1261 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
1262 {
1263 NtGdiFlush(); // Sync up pdcattr from Kernel space.
1264 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
1265 }
1266 }
1267
1268 /* One would think that setting the graphics mode to GM_COMPATIBLE
1269 * would also reset the world transformation matrix to the unity
1270 * matrix. However, in Windows, this is not the case. This doesn't
1271 * make a lot of sense to me, but that's the way it is.
1272 */
1273 iOldMode = pdcattr->iGraphicsMode;
1274 pdcattr->iGraphicsMode = iMode;
1275
1276 return iOldMode;
1277}
INT iGraphicsMode
Definition: ntgdihdl.h:306
_In_ ULONG iMode
Definition: winddi.h:3520
#define GM_COMPATIBLE
Definition: wingdi.h:864
#define GM_ADVANCED
Definition: wingdi.h:865

Referenced by DoTestEntry(), EnumEnhMetaFile(), gdi_transform_acquire(), METAFILE_PlaybackUpdateGdiTransform(), PlayEnhMetaFileRecord(), SetSpecialDCState(), SetSpecialDCState2(), START_TEST(), test_ellipse(), test_emf_BitBlt(), test_emf_WorldTransform(), test_ExtTextOutScale(), test_GetCharABCWidths(), test_GetCharWidth32(), test_gettransform(), test_modify_world_transform(), test_outline_font(), Test_PaintRgn(), Test_Rectangle(), test_rectangle(), test_roundrect(), Test_SetWorldTransform(), and test_world_transform().

◆ SetICMMode()

int WINAPI SetICMMode ( _In_  HDC,
_In_ int   
)

◆ SetICMProfileA()

BOOL WINAPI SetICMProfileA ( _In_  HDC,
_In_  LPSTR 
)

Referenced by test_SetICMProfileA().

◆ SetICMProfileW()

BOOL WINAPI SetICMProfileW ( _In_  HDC,
_In_  LPWSTR 
)

Referenced by test_SetICMProfileW().

◆ SetMapMode()

◆ SetMapperFlags()

DWORD WINAPI SetMapperFlags ( _In_  HDC,
_In_  DWORD 
)

◆ SetMetaFileBitsEx()

◆ SetMetaRgn()

int WINAPI SetMetaRgn ( _In_  HDC)

◆ SetMiterLimit()

BOOL WINAPI SetMiterLimit ( _In_  HDC,
_In_  FLOAT,
_Out_opt_  PFLOAT 
)

Referenced by PlayEnhMetaFileRecord().

◆ SetPaletteEntries()

◆ SetPixel()

COLORREF WINAPI SetPixel ( _In_  HDC,
_In_ int  ,
_In_ int  ,
_In_  COLORREF 
)

◆ SetPixelFormat()

◆ SetPixelV()

◆ SetPolyFillMode()

int WINAPI SetPolyFillMode ( _In_  HDC,
_In_ int  iPolyFillMode 
)

Definition at line 1174 of file dc.c.

1177{
1178 INT iOldPolyFillMode;
1179 PDC_ATTR pdcattr;
1180
1181 HANDLE_METADC(INT, SetPolyFillMode, 0, hdc, iPolyFillMode);
1182
1183 /* Get the DC attribute */
1184 pdcattr = GdiGetDcAttr(hdc);
1185 if (pdcattr == NULL)
1186 {
1188 return 0;
1189 }
1190
1191 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
1192 {
1193 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
1194 {
1195 NtGdiFlush(); // Sync up pdcattr from Kernel space.
1196 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
1197 }
1198 }
1199
1200 iOldPolyFillMode = pdcattr->lFillMode;
1201 pdcattr->lFillMode = iPolyFillMode;
1202
1203 return iOldPolyFillMode;
1204}
LONG lFillMode
Definition: ntgdihdl.h:314
int WINAPI SetPolyFillMode(_In_ HDC hdc, _In_ int iPolyFillMode)
Definition: dc.c:1174

Referenced by RdpClientUI::Display_Polygon(), EnumEnhMetaFile(), GDI32_GdipFillPath(), get_path_hrgn(), InitColorButtons(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), PolygonTest(), SetPolyFillMode(), test_ExtTextOut(), test_mf_SaveDC(), test_SaveDC(), and TRACKBAR_FillThumb().

◆ SetRectRgn()

◆ SetRelAbs()

INT WINAPI SetRelAbs ( HDC  hdc,
INT  Mode 
)

Definition at line 733 of file dc.c.

736{
738}
_In_ ULONG Mode
Definition: hubbusif.h:303
@ GdiGetSetRelAbs
Definition: ntgdityp.h:65
DWORD WINAPI GetAndSetDCDWord(_In_ HDC hdc, _In_ UINT u, _In_ DWORD dwIn, _In_ ULONG ulMFId, _In_ USHORT usMF16Id, _In_ DWORD dwError)
Definition: dc.c:746
#define META_SETRELABS
Definition: wingdi.h:214

Referenced by init_function_pointers(), and PlayMetaFileRecord().

◆ SetROP2()

int WINAPI SetROP2 ( _In_  HDC,
_In_ int  rop2 
)

Definition at line 1114 of file dc.c.

1117{
1118 PDC_ATTR pdcattr;
1119 INT rop2Old;
1120
1121 HANDLE_METADC(INT, SetROP2, 0, hdc, rop2);
1122
1123 /* Get the DC attribute */
1124 pdcattr = GdiGetDcAttr(hdc);
1125 if (pdcattr == NULL)
1126 {
1128 return 0;
1129 }
1130
1131 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
1132 {
1133 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
1134 {
1135 NtGdiFlush();
1136 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
1137 }
1138 }
1139
1140 rop2Old = pdcattr->jROP2;
1141 pdcattr->jROP2 = (BYTE)rop2;
1142
1143 return rop2Old;
1144}
int WINAPI SetROP2(_In_ HDC hdc, _In_ int rop2)
Definition: dc.c:1114
unsigned char BYTE
Definition: xxhash.c:193

Referenced by RdpClientUI::Display_Line(), RdpClientUI::Display_Polyline(), draw_graphics(), DrawXorRect(), EnumEnhMetaFile(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), Poly(), RectSel(), SetROP2(), test_dc_attributes(), test_destroyed_window(), and test_ExtTextOut().

◆ SetStretchBltMode()

int WINAPI SetStretchBltMode ( _In_  HDC,
_In_ int  iStretchMode 
)

Definition at line 1373 of file dc.c.

1376{
1377 INT iOldMode;
1378 PDC_ATTR pdcattr;
1379
1380 HANDLE_METADC(INT, SetStretchBltMode, 0, hdc, iStretchMode);
1381
1382 /* Get the DC attribute */
1383 pdcattr = GdiGetDcAttr(hdc);
1384 if (pdcattr == NULL)
1385 {
1387 return 0;
1388 }
1389
1390 iOldMode = pdcattr->lStretchBltMode;
1391 pdcattr->lStretchBltMode = iStretchMode;
1392
1393 // Wine returns an error here. We set the default.
1394 if ((iStretchMode <= 0) || (iStretchMode > MAXSTRETCHBLTMODE)) iStretchMode = WHITEONBLACK;
1395
1396 pdcattr->jStretchBltMode = iStretchMode;
1397
1398 return iOldMode;
1399}
LONG lStretchBltMode
Definition: ntgdihdl.h:315
BYTE jStretchBltMode
Definition: ntgdihdl.h:310
int WINAPI SetStretchBltMode(_In_ HDC hdc, _In_ int iStretchMode)
Definition: dc.c:1373
#define WHITEONBLACK
Definition: wingdi.h:953
#define MAXSTRETCHBLTMODE
Definition: wingdi.h:956

Referenced by RdpClientUI::DisplayWindowProc(), DrawBackgroundPreview(), EnumEnhMetaFile(), MainWndProc(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), SetStretchBltMode(), test_ExtTextOut(), UXTHEME_StretchBlt(), and WinGStretchBlt().

◆ SetSystemPaletteUse()

UINT WINAPI SetSystemPaletteUse ( _In_  HDC,
_In_  UINT 
)

◆ SetTextAlign()

UINT WINAPI SetTextAlign ( _In_  HDC,
_In_  UINT 
)

Definition at line 883 of file text.c.

886{
887 PDC_ATTR pdcattr;
888 UINT fOldMode;
889
891
892 /* Get the DC attribute */
893 pdcattr = GdiGetDcAttr(hdc);
894 if (pdcattr == NULL)
895 {
897 return GDI_ERROR;
898 }
899
900
901 fOldMode = pdcattr->lTextAlign;
902 pdcattr->lTextAlign = fMode; // Raw
903 if (pdcattr->dwLayout & LAYOUT_RTL)
904 {
905 if ((fMode & TA_CENTER) != TA_CENTER) fMode ^= TA_RIGHT;
906 }
907
908 pdcattr->flTextAlign = fMode & TA_MASK;
909 return fOldMode;
910}
unsigned int UINT
Definition: ndis.h:50
FLONG flTextAlign
Definition: ntgdihdl.h:324
UINT WINAPI SetTextAlign(_In_ HDC hdc, _In_ UINT fMode)
Definition: text.c:883
#define TA_RIGHT
Definition: wingdi.h:933
#define TA_MASK
Definition: wingdi.h:937
#define TA_CENTER
Definition: wingdi.h:931

Referenced by add_ruler_units(), DoTestEntry(), draw_text_2(), EnumEnhMetaFile(), GDI32_GdipDrawDriverString(), MainWndProc(), ME_DebugWrite(), ME_DrawParagraph(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), SetTextAlign(), test_ExtTextOut(), TreeListDraw(), and TREEVIEW_DrawItem().

◆ SetTextCharacterExtra()

int WINAPI SetTextCharacterExtra ( _In_  HDC,
_In_ int   
)

◆ SetTextColor()

COLORREF WINAPI SetTextColor ( _In_  HDC,
_In_  COLORREF 
)

Definition at line 918 of file text.c.

921{
922 PDC_ATTR pdcattr;
923 COLORREF crOldColor;
924
926
927 pdcattr = GdiGetDcAttr(hdc);
928 if (pdcattr == NULL)
929 {
931 return CLR_INVALID;
932 }
933
934 crOldColor = (COLORREF) pdcattr->ulForegroundClr;
935 pdcattr->ulForegroundClr = (ULONG)crColor;
936
937 if (pdcattr->crForegroundClr != crColor)
938 {
940 pdcattr->crForegroundClr = crColor;
941 }
942
943 return crOldColor;
944}
#define DIRTY_TEXT
Definition: ntgdihdl.h:125
COLORREF crForegroundClr
Definition: ntgdihdl.h:299
COLORREF WINAPI SetTextColor(_In_ HDC hdc, _In_ COLORREF crColor)
Definition: text.c:918

Referenced by AboutProc(), ANIMATE_TransparentBlt(), CBPaintText(), CFn_WMDrawItem(), CFn_WMPaint(), cicChangeBitmapColor(), cicCreateMaskBmp(), COMBO_PrepareColors(), ConfigDlgProc(), ConfirmMsgBox_Paint(), SEALED_::ControlWindowProc(), CreateDragImage(), CreateLayoutIcon(), CreateTrayIcon(), DATETIME_Refresh(), DefWndControlColor(), RdpClientUI::Display_DrawGlyph(), RdpClientUI::Display_PatBlt(), RdpClientUI::Display_Polygon(), DlgProc(), DoTestEntry(), CardButton::Draw(), draw_graphics(), Pane::draw_item(), draw_para_number(), draw_space(), draw_text(), draw_text_2(), DrawCheckedRect(), DrawContent(), DrawGrayText(), DrawShadowText(), DrawStatusTextW(), CUIFButton::DrawTextProc(), CUIFBalloonButton::DrawTextProc(), DrawThemeTextEx(), EDIT_PaintLine(), EDIT_PaintText(), EDIT_WM_Paint(), EditTypeDlg_OnDrawItem(), EnumEnhMetaFile(), FD31_FileOpenDlgProc(), FD31_WMDrawItem(), FILEDLG95_LOOKIN_DrawItem(), FileMenu_DrawItem(), GDI32_GdipDrawDriverString(), Graph_DrawCpuUsageGraph(), Graph_DrawMemUsageGraph(), GuiPaintTextModeBuffer(), HEADER_DrawItem(), HEXEDIT_PaintLines(), HLPFILE_RtfAddTransparentBitmap(), HOTKEY_DrawHotKey(), ICONTITLE_Paint(), ImageList_DrawIndirect(), InatCreateIconBySize(), IntDrawState(), IntGrayString(), IPADDRESS_Draw(), LISTBOX_DrawFocusRect(), LISTBOX_Paint(), LISTBOX_PaintItem(), LISTBOX_RepaintItem(), LISTVIEW_Refresh(), LogOffDialogProc(), MainWnd_OnDrawItem(), MainWndProc(), ME_DebugWrite(), MonSelPaint(), MonSelPaintMonitor(), MONTHCAL_PaintCalendar(), MONTHCAL_PaintLeadTrailMonths(), MONTHCAL_PaintTitle(), MONTHCAL_PaintTodayTitle(), MonthCalPaint(), MouseOnCtrlColorStatic(), MSIText_WndProc(), MyDrawCaptionTemp(), MyDrawFrameCaption(), MyDrawFrameScroll(), MyDrawMenuBarTemp(), NT5_DrawLogoffCaptionText(), CCanvasWindow::OnCtlColorEdit(), CBaseBarSite::OnCustomDraw(), CMenuToolbarBase::OnCustomDraw(), OnDrawItem(), CFontsDialog::OnDrawItem(), CAutoComplete::OnDrawItem(), CTextEditWindow::OnEraseBkGnd(), OnPaint(), CTrayClockWnd::OnPaint(), PaintControl(), CUIFBalloonWindow::PaintMessageProc(), PaintText(), parent_wnd_proc(), PB_Paint(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), PlotCharacter(), prepaint_setup(), PROPSHEET_Paint(), RealDrawFrameControl(), REBAR_DrawBand(), render_masked_bitmap(), RosImageProc(), SetTextColor(), SetupControls(), ShutdownDialogProc(), SS_ItemOut(), START_TEST(), STATIC_PaintTextfn(), SubclassButtonProc(), SYSLINK_Draw(), T1_SetData(), TAB_DrawItemInterior(), TAB_EraseTabInterior(), TabDlgProc(), test_bitmap_colors(), test_dc_values(), test_ExtTextOut(), Test_GetPixel_1bpp(), test_mono_bitmap(), Test_SrcMono1(), test_StretchBlt(), Text(), ThemeDrawCaptionText(), TOOLBAR_CustomizeDialogProc(), TOOLBAR_DrawPattern(), TOOLBAR_DrawString(), ToolTipProc(), TOOLTIPS_Refresh(), TRACKBAR_DrawThumb(), TreeListDraw(), TREEVIEW_DrawItem(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameCaption(), UITOOLS95_DrawFrameMenu(), UITOOLS95_DrawFrameScroll(), ColorStatic::WndProc(), HyperlinkCtrl::WndProc(), and ZoomWnd_OnDraw().

◆ SetTextJustification()

◆ SetViewportExtEx()

BOOL WINAPI SetViewportExtEx ( _In_  HDC,
_In_ int  nXExtent,
_In_ int  nYExtent,
_Out_opt_  LPSIZE 
)

Definition at line 465 of file coord.c.

470{
471 PDC_ATTR pdcattr;
472
473 HANDLE_METADC(BOOL, SetViewportExtEx, FALSE, hdc, nXExtent, nYExtent);
474
475 /* Get the DC attribute */
476 pdcattr = GdiGetDcAttr(hdc);
477 if (pdcattr == NULL)
478 {
480 return FALSE;
481 }
482
483 /* Check if the caller wants the old extension */
484 if (lpSize)
485 {
486 /* Return the current viewport extension */
487 lpSize->cx = pdcattr->szlViewportExt.cx;
488 lpSize->cy = pdcattr->szlViewportExt.cy;
489 }
490
491 /* Check for trivial case */
492 if ((pdcattr->szlViewportExt.cx == nXExtent) &&
493 (pdcattr->szlViewportExt.cy == nYExtent))
494 return TRUE;
495
496 if (nXExtent == 0 || nYExtent == 0)
497 return TRUE;
498
499 /* Only change viewport extension if we are in iso or aniso mode */
500 if ((pdcattr->iMapMode == MM_ISOTROPIC) ||
501 (pdcattr->iMapMode == MM_ANISOTROPIC))
502 {
503 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
504 {
505 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
506 {
507 NtGdiFlush(); // Sync up pdcattr from Kernel space.
508 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
509 }
510 }
511
512 /* Set the new viewport extension */
513 pdcattr->szlViewportExt.cx = nXExtent;
514 pdcattr->szlViewportExt.cy = nYExtent;
515
516 /* Handle right-to-left layout */
517 if (pdcattr->dwLayout & LAYOUT_RTL)
519
520 /* Update xform flags */
522 }
523
524 return TRUE;
525}
BOOL WINAPI SetViewportExtEx(_In_ HDC hdc, _In_ int nXExtent, _In_ int nYExtent, _Out_opt_ LPSIZE lpSize)
Definition: coord.c:465
__kernel_entry W32KAPI BOOL APIENTRY NtGdiMirrorWindowOrg(_In_ HDC hdc)
#define INVALIDATE_ATTRIBUTES
Definition: ntgdihdl.h:180
#define MM_ANISOTROPIC
Definition: wingdi.h:867

Referenced by ClockWndProc(), DataCache_Draw(), DoTestEntry(), EnumEnhMetaFile(), OLEPictureImpl_Render(), PlayMetaFileFromClipboard(), PlayMetaFileRecord(), render_masked_bitmap(), SetSpecialDCState(), SetSpecialDCState2(), SetViewportExtEx(), SetWinMetaFileBits(), START_TEST(), test_boundsrect(), test_ellipse(), test_emf_BitBlt(), test_ExtTextOutScale(), test_GdiAlphaBlend(), Test_GetClipBox(), test_mf_SaveDC(), Test_OffsetClipRgn(), test_outline_font(), test_rectangle(), test_roundrect(), test_SaveDC(), test_scroll_window(), Test_SetMapMode(), test_SetTextJustification(), test_SetViewportExt(), Test_SetWindowExtEx(), test_StretchBlt(), and test_world_transform().

◆ SetViewportOrgEx()

BOOL WINAPI SetViewportOrgEx ( _In_  HDC,
_In_ int  X,
_In_ int  Y,
_Out_opt_  LPPOINT 
)

Definition at line 655 of file coord.c.

660{
661 PDC_ATTR pdcattr;
662
664
665 /* Get the DC attribute */
666 pdcattr = GdiGetDcAttr(hdc);
667 if (!pdcattr)
668 {
669 /* Do not set LastError here! */
670 return FALSE;
671 }
673 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
674 {
675 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
676 {
677 NtGdiFlush();
678 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
679 }
680 }
682 if (lpPoint)
683 {
684 lpPoint->x = pdcattr->ptlViewportOrg.x;
685 lpPoint->y = pdcattr->ptlViewportOrg.y;
686 if (pdcattr->dwLayout & LAYOUT_RTL) lpPoint->x = -lpPoint->x;
687 }
689 if (pdcattr->dwLayout & LAYOUT_RTL) X = -X;
690 pdcattr->ptlViewportOrg.x = X;
691 pdcattr->ptlViewportOrg.y = Y;
692 return TRUE;
693
694// return NtGdiSetViewportOrgEx(hdc,X,Y,lpPoint);
695}
#define Y(I)
#define X(b, s)

Referenced by ClockWndProc(), DataCache_Draw(), DoTestEntry(), DrawThemeParentBackground(), DrawWindowForNCPreview(), EnumEnhMetaFile(), gdi_transform_acquire(), HEADER_CreateDragImage(), OffsetViewportOrgEx(), OLEPictureImpl_Render(), PlayMetaFileFromClipboard(), PlayMetaFileRecord(), render_masked_bitmap(), SetSpecialDCState(), SetSpecialDCState2(), SetViewportOrgEx(), test_boundsrect(), test_cliphrgn_transform(), test_clipping(), test_emf_BitBlt(), test_gethrgn(), test_hdc_caching(), test_mf_SaveDC(), test_SaveDC(), test_scroll_window(), and UXTHEME_DrawImageBackground().

◆ SetWindowExtEx()

◆ SetWindowOrgEx()

BOOL WINAPI SetWindowOrgEx ( _In_  HDC,
_In_ int  X,
_In_ int  Y,
_Out_opt_  LPPOINT 
)

Definition at line 532 of file coord.c.

537{
538 PDC_ATTR pdcattr;
539
541
542 /* Get the DC attribute */
543 pdcattr = GdiGetDcAttr(hdc);
544 if (pdcattr == NULL)
545 {
546 /* Do not set LastError here! */
547 return FALSE;
548 }
549
550 if (lpPoint)
551 {
552 lpPoint->x = pdcattr->ptlWindowOrg.x;
553 lpPoint->y = pdcattr->ptlWindowOrg.y;
554 }
555
556 if ((pdcattr->ptlWindowOrg.x == X) && (pdcattr->ptlWindowOrg.y == Y))
557 return TRUE;
558
559 if (NtCurrentTeb()->GdiTebBatch.HDC == hdc)
560 {
561 if (pdcattr->ulDirty_ & DC_MODE_DIRTY)
562 {
563 NtGdiFlush(); // Sync up pdcattr from Kernel space.
564 pdcattr->ulDirty_ &= ~DC_MODE_DIRTY;
565 }
566 }
567
568 pdcattr->ptlWindowOrg.x = X;
569 pdcattr->ptlWindowOrg.y = Y;
570
571 pdcattr->lWindowOrgx = X;
574 return TRUE;
575
576// return NtGdiSetWindowOrgEx(hdc, X, Y, lpPoint);
577}

Referenced by DoTestEntry(), EnumEnhMetaFile(), gdi_transform_acquire(), LISTBOX_DrawFocusRect(), LISTBOX_Paint(), LISTBOX_RepaintItem(), OffsetWindowOrgEx(), OleMetafilePictFromIconAndLabel(), OLEPictureImpl_Render(), CAddressBand::OnEraseBackground(), PAGER_EraseBackground(), PlayMetaFileRecord(), render_masked_bitmap(), set_window(), SetSpecialDCState(), SetSpecialDCState2(), SetWindowOrgEx(), test_emf_BitBlt(), test_GdiAlphaBlend(), test_GdipDrawImagePointsRectOnMemoryDC(), test_GdipFillRectanglesOnMemoryDCSolidBrush(), test_GdipFillRectanglesOnMemoryDCTextureBrush(), test_GdipGetVisibleClipBounds_memoryDC(), test_mf_SaveDC(), test_SaveDC(), TOOLBAR_EraseBackground(), and WndProc().

◆ SetWinMetaFileBits()

◆ SetWorldTransform()

◆ StartDocA()

int WINAPI StartDocA ( _In_  HDC,
_In_ const DOCINFOA  
)

◆ StartDocW()

int WINAPI StartDocW ( _In_  HDC,
_In_ const DOCINFOW  
)

Referenced by print().

◆ StartPage()

◆ StretchBlt()

◆ StretchDIBits()

◆ StrokeAndFillPath()

◆ StrokePath()

BOOL WINAPI StrokePath ( _In_  HDC)

◆ SwapBuffers()

BOOL WINAPI SwapBuffers ( HDC  hdc)

Definition at line 187 of file wingl.c.

188{
189 if (glSwapBuffers == NULL)
190 if (OpenGLEnable() == FALSE)
191 return(0);
192
193
194 return(glSwapBuffers(hdc));
195}
static SWAPBUFFERS glSwapBuffers
Definition: wingl.c:40
static BOOL OpenGLEnable(void)
Definition: wingl.c:66

Referenced by DrawScene(), OnPaint(), ScreenSaverProc(), test_destroy(), test_destroy_read(), test_message_window(), and test_setpixelformat().

◆ TextOutA()

◆ TextOutW()

◆ TranslateCharsetInfo()

◆ UnrealizeObject()

BOOL WINAPI UnrealizeObject ( _In_  HGDIOBJ)

◆ UpdateColors()

BOOL WINAPI UpdateColors ( _In_  HDC)

◆ UpdateICMRegKeyA()

BOOL WINAPI UpdateICMRegKeyA ( _Reserved_  DWORD,
_In_  LPSTR,
_In_  LPSTR,
_In_  UINT 
)

◆ UpdateICMRegKeyW()

BOOL WINAPI UpdateICMRegKeyW ( _Reserved_  DWORD,
_In_  LPWSTR,
_In_  LPWSTR,
_In_  UINT 
)

◆ wglCopyContext()

BOOL WINAPI wglCopyContext ( HGLRC  hglrcSrc,
HGLRC  hglrcDst,
UINT  mask 
)

Definition at line 358 of file wgl.c.

359{
360 struct wgl_context* ctx_src = get_context(hglrcSrc);
361 struct wgl_context* ctx_dst = get_context(hglrcDst);
362
363 if(!ctx_src || !ctx_dst)
364 {
366 return FALSE;
367 }
368
369 /* Check this is the same pixel format */
370 if((ctx_dst->icd_data != ctx_src->icd_data) ||
371 (ctx_dst->pixelformat != ctx_src->pixelformat))
372 {
374 return FALSE;
375 }
376
377 if(ctx_src->icd_data)
378 return ctx_src->icd_data->DrvCopyContext(ctx_src->dhglrc, ctx_dst->dhglrc, mask);
379
380 return sw_CopyContext(ctx_src->dhglrc, ctx_dst->dhglrc, mask);
381}
GLenum GLint GLuint mask
Definition: glext.h:6028
BOOL sw_CopyContext(DHGLRC dhglrcSrc, DHGLRC dhglrcDst, UINT mask)
Definition: swimpl.c:498
DHGLRC dhglrc
Definition: opengl32.h:78
struct ICD_Data * icd_data
Definition: opengl32.h:79
INT pixelformat
Definition: opengl32.h:80
struct wgl_context * get_context(HGLRC hglrc)
Definition: wgl.c:102
#define ERROR_INVALID_PIXEL_FORMAT
Definition: winerror.h:1179

◆ wglCreateContext()

HGLRC WINAPI wglCreateContext ( HDC  hdc)

Definition at line 383 of file wgl.c.

384{
385 struct wgl_dc_data* dc_data = get_dc_data(hdc);
386 struct wgl_context* context;
387 DHGLRC dhglrc;
388
389 TRACE("Creating context for %p.\n", hdc);
390
391 if(!dc_data)
392 {
393 WARN("Not a DC handle!\n");
395 return NULL;
396 }
397
398 if(!dc_data->pixelformat)
399 {
400 WARN("Pixel format not set!\n");
402 return NULL;
403 }
404
405 if(!dc_data->icd_data)
406 {
407 TRACE("Calling SW implementation.\n");
408 dhglrc = sw_CreateContext(dc_data);
409 TRACE("done\n");
410 }
411 else
412 {
413 TRACE("Calling ICD.\n");
414 dhglrc = dc_data->icd_data->DrvCreateContext(hdc);
415 }
416
417 if(!dhglrc)
418 {
419 WARN("Failed!\n");
421 return NULL;
422 }
423
424 context = HeapAlloc(GetProcessHeap(), 0, sizeof(*context));
425 if(!context)
426 {
427 WARN("Failed to allocate a context!\n");
428 if(!dc_data->icd_data)
430 else
431 dc_data->icd_data->DrvDeleteContext(dhglrc);
433 return NULL;
434 }
435 /* Copy info from the DC data */
436 context->dhglrc = dhglrc;
437 context->icd_data = dc_data->icd_data;
438 context->pixelformat = dc_data->pixelformat;
439 context->thread_id = 0;
440
441 /* Insert into the list */
443
444 context->magic = 'GLRC';
445 TRACE("Success!\n");
446 return (HGLRC)context;
447}
#define WARN(fmt,...)
Definition: precomp.h:61
#define ERROR_NOT_ENOUGH_MEMORY
Definition: dderror.h:7
#define InsertTailList(ListHead, Entry)
BOOL sw_DeleteContext(DHGLRC dhglrc)
Definition: swimpl.c:448
DHGLRC sw_CreateContext(struct wgl_dc_data *)
Definition: swimpl.c:422
static HGLRC(WINAPI *pwglCreateContextAttribsARB)(HDC hDC
#define TRACE(s)
Definition: solgame.cpp:4
Definition: http.c:7252
INT pixelformat
Definition: opengl32.h:97
struct ICD_Data * icd_data
Definition: opengl32.h:100
LIST_ENTRY ContextListHead
Definition: wgl.c:17
static struct wgl_dc_data * get_dc_data(HDC hdc)
Definition: wgl.c:92

Referenced by context_create(), InitGL(), InitOGLWindow(), OnCreate(), ScreenSaverProc(), START_TEST(), test_bitmap_rendering(), test_deletecontext(), test_destroy(), test_destroy_read(), test_make_current_read(), test_makecurrent(), test_message_window(), test_minimized(), test_opengl3(), test_setpixelformat(), test_sharelists(), test_swap_control(), test_window_dc(), and wined3d_caps_gl_ctx_create().

◆ wglCreateLayerContext()

HGLRC WINAPI wglCreateLayerContext ( HDC  hdc,
int  iLayerPlane 
)

Definition at line 449 of file wgl.c.

450{
451 struct wgl_dc_data* dc_data = get_dc_data(hdc);
452 struct wgl_context* context;
453 DHGLRC dhglrc;
454
455 if(!dc_data)
456 {
458 return NULL;
459 }
460
461 if(!dc_data->pixelformat)
462 {
463 release_dc_data(dc_data);
465 return NULL;
466 }
467
468 if(!dc_data->icd_data)
469 {
470 if(iLayerPlane != 0)
471 {
472 /* Not supported in SW implementation */
473 release_dc_data(dc_data);
475 return NULL;
476 }
477 dhglrc = sw_CreateContext(dc_data);
478 }
479 else
480 {
481 dhglrc = dc_data->icd_data->DrvCreateLayerContext(hdc, iLayerPlane);
482 }
483
484 if(!dhglrc)
485 {
486 release_dc_data(dc_data);
488 return NULL;
489 }
490
491 context = HeapAlloc(GetProcessHeap(), 0, sizeof(*context));
492 if(!context)
493 {
494 if(!dc_data->icd_data)
496 else
497 dc_data->icd_data->DrvDeleteContext(dhglrc);
498 release_dc_data(dc_data);
500 return NULL;
501 }
502 /* Copy info from the DC data */
503 context->dhglrc = dhglrc;
504 context->icd_data = dc_data->icd_data;
505 context->pixelformat = dc_data->pixelformat;
506 context->thread_id = 0;
507
508 context->magic = 'GLRC';
509
510 release_dc_data(dc_data);
511 return (HGLRC)context;
512}
void release_dc_data(struct wgl_dc_data *dc_data)
Definition: wgl.c:97

◆ wglDeleteContext()

BOOL WINAPI wglDeleteContext ( HGLRC  hglrc)

Definition at line 514 of file wgl.c.

515{
518
519 if(!context)
520 {
522 return FALSE;
523 }
524
525 /* Own this context before touching it */
526 if(InterlockedCompareExchange(&context->thread_id, thread_id, 0) != 0)
527 {
528 /* We can't delete a context current to another thread */
529 if(context->thread_id != thread_id)
530 {
532 return FALSE;
533 }
534
535 /* This is in our thread. Release and try again */
537 return FALSE;
538 return wglDeleteContext(hglrc);
539 }
540
541 if(context->icd_data)
542 context->icd_data->DrvDeleteContext(context->dhglrc);
543 else
544 sw_DeleteContext(context->dhglrc);
545
546 context->magic = 0;
547 RemoveEntryList(&context->ListEntry);
549
550 return TRUE;
551}
#define ERROR_BUSY
Definition: dderror.h:12
#define HeapFree(x, y, z)
Definition: compat.h:735
#define RemoveEntryList(Entry)
Definition: env_spec_w32.h:986
#define InterlockedCompareExchange
Definition: interlocked.h:104
static DWORD thread_id
Definition: protocol.c:159
static HDC HGLRC hglrc
Definition: opengl.c:36
long LONG
Definition: pedump.c:60
BOOL WINAPI wglDeleteContext(HGLRC hglrc)
Definition: wgl.c:514
BOOL WINAPI wglMakeCurrent(HDC hdc, HGLRC hglrc)
Definition: wgl.c:650
DWORD WINAPI GetCurrentThreadId(void)
Definition: thread.c:459

Referenced by context_create(), context_destroy_gl_resources(), IntDeleteAllContexts(), OnDestroy(), ScreenSaverProc(), START_TEST(), test_bitmap_rendering(), test_deletecontext(), test_destroy(), test_destroy_read(), test_message_window(), test_minimized(), test_opengl3(), test_sharelists(), test_swap_control(), test_window_dc(), wgl_thread(), wglDeleteContext(), wined3d_caps_gl_ctx_create(), wined3d_caps_gl_ctx_create_attribs(), and wined3d_caps_gl_ctx_destroy().

◆ wglDescribeLayerPlane()

BOOL WINAPI wglDescribeLayerPlane ( HDC  hdc,
int  iPixelFormat,
int  iLayerPlane,
UINT  nBytes,
LPLAYERPLANEDESCRIPTOR  plpd 
)

Definition at line 553 of file wgl.c.

558{
559 struct wgl_dc_data* dc_data = get_dc_data(hdc);
560
561 if(!dc_data)
562 {
564 return FALSE;
565 }
566
567 if(iPixelFormat <= dc_data->nb_icd_formats)
568 return dc_data->icd_data->DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
569
570 /* SW implementation doesn't support this */
571 return FALSE;
572}
INT nb_icd_formats
Definition: opengl32.h:101
_In_ LONG iPixelFormat
Definition: winddi.h:3488

◆ wglGetCurrentContext()

◆ wglGetCurrentDC()

HDC WINAPI wglGetCurrentDC ( void  )

Definition at line 579 of file wgl.c.

580{
581 return IntGetCurrentDC();
582}
FORCEINLINE HDC IntGetCurrentDC(void)
Definition: opengl32.h:149

Referenced by context_destroy_gl_resources(), context_enter(), wined3d_adapter_init_gl_caps(), and wined3d_caps_gl_ctx_create().

◆ wglGetLayerPaletteEntries()

int WINAPI wglGetLayerPaletteEntries ( HDC  hdc,
int  iLayerPlane,
int  iStart,
int  cEntries,
COLORREF pcr 
)

Definition at line 590 of file wgl.c.

591{
592 struct wgl_dc_data* dc_data = get_dc_data(hdc);
593
594 if(!dc_data)
595 {
597 return 0;
598 }
599
600 if(!dc_data->pixelformat)
601 {
603 return 0;
604 }
605
606 if(dc_data->icd_data)
607 return dc_data->icd_data->DrvGetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr);
608
609 /* SW implementation doesn't support this */
610 return 0;
611}
_In_ UINT _In_ UINT cEntries
Definition: wingdi.h:3621
_In_ UINT iStart
Definition: wingdi.h:3620

◆ wglGetProcAddress()

PROC WINAPI wglGetProcAddress ( LPCSTR  name)

Definition at line 629 of file wgl.c.

630{
632 if(!context)
633 return NULL;
634
635 /* This shall fail for opengl 1.1 functions */
636#define USE_GL_FUNC(func, w, x, y, z) if(!strcmp(name, "gl" #func)) return NULL;
637#include "glfuncs.h"
638
639 /* Forward */
640 if(context->icd_data)
641 return context->icd_data->DrvGetProcAddress(name);
642 return sw_GetProcAddress(name);
643}
PROC sw_GetProcAddress(LPCSTR name)
Definition: swimpl.c:478
Definition: name.c:39

Referenced by test_getprocaddress(), and wined3d_caps_gl_ctx_create_attribs().

◆ wglMakeCurrent()

BOOL WINAPI wglMakeCurrent ( HDC  hdc,
HGLRC  hglrc 
)

Definition at line 650 of file wgl.c.

651{
652 struct wgl_context* ctx = get_context(hglrc);
653 struct wgl_context* old_ctx = get_context(IntGetCurrentRC());
654 const GLCLTPROCTABLE* apiTable;
656
657 if(ctx)
658 {
659 struct wgl_dc_data* dc_data = get_dc_data(hdc);
660 if(!dc_data)
661 {
662 ERR("wglMakeCurrent was passed an invalid DC handle.\n");
664 return FALSE;
665 }
666
667 /* Check compatibility */
668 if((ctx->icd_data != dc_data->icd_data) || (ctx->pixelformat != dc_data->pixelformat))
669 {
670 /* That's bad, man */
671 ERR("HGLRC %p and HDC %p are not compatible.\n", hglrc, hdc);
672 release_dc_data(dc_data);
674 return FALSE;
675 }
676
677 /* Set the thread ID */
678 if(InterlockedCompareExchange(&ctx->thread_id, thread_id, 0) != 0)
679 {
680 /* Already current for a thread. Maybe it's us ? */
681 release_dc_data(dc_data);
682 if(ctx->thread_id != thread_id)
684 return (ctx->thread_id == thread_id);
685 }
686
687 if(old_ctx)
688 {
689 /* Unset it */
690 if(old_ctx->icd_data)
691 old_ctx->icd_data->DrvReleaseContext(old_ctx->dhglrc);
692 else
693 sw_ReleaseContext(old_ctx->dhglrc);
694 InterlockedExchange(&old_ctx->thread_id, 0);
695 }
696
697 /* Call the ICD or SW implementation */
698 if(ctx->icd_data)
699 {
700 apiTable = ctx->icd_data->DrvSetContext(hdc, ctx->dhglrc, set_api_table);
701 if(!apiTable)
702 {
703 ERR("DrvSetContext failed!\n");
704 /* revert */
705 InterlockedExchange(&ctx->thread_id, 0);
708 return FALSE;
709 }
710 set_api_table(apiTable);
711 /* Make it current */
712 IntMakeCurrent(hglrc, hdc, dc_data);
713 }
714 else
715 {
716 /* We must set current before, SW implementation relies on it */
717 IntMakeCurrent(hglrc, hdc, dc_data);
718 if(!sw_SetContext(dc_data, ctx->dhglrc))
719 {
720 ERR("sw_SetContext failed!\n");
721 /* revert */
723 InterlockedExchange(&ctx->thread_id, 0);
725 return FALSE;
726 }
727 }
728 }
729 else if(old_ctx)
730 {
731 if(old_ctx->icd_data)
732 old_ctx->icd_data->DrvReleaseContext(old_ctx->dhglrc);
733 else
734 sw_ReleaseContext(old_ctx->dhglrc);
735 InterlockedExchange(&old_ctx->thread_id, 0);
736 /* Unset it */
739 /* Test conformance (extreme cases) */
740 return hglrc == NULL;
741 }
742 else
743 {
744 /* Winetest conformance */
745 DWORD objType = GetObjectType(hdc);
746 if (objType != OBJ_DC && objType != OBJ_MEMDC)
747 {
748 if (hdc)
749 {
750 ERR("hdc (%p) is not a DC handle (ObjectType: %d)!\n", hdc, objType);
751 }
753 return FALSE;
754 }
755 }
756
757 return TRUE;
758}
static POBJECT_TYPE GetObjectType(IN PCWSTR TypeName)
Definition: ObTypes.c:15
#define InterlockedExchange
Definition: armddk.h:54
#define ERR(fmt,...)
Definition: precomp.h:57
#define OBJ_DC
Definition: objidl.idl:1411
#define OBJ_MEMDC
Definition: objidl.idl:1418
FORCEINLINE void IntSetCurrentDispatchTable(const GLDISPATCHTABLE *table)
Definition: opengl32.h:124
BOOL sw_SetContext(struct wgl_dc_data *dc_data, DHGLRC dhglrc)
Definition: swimpl.c:1390
FORCEINLINE void IntMakeCurrent(HGLRC hglrc, HDC hdc, struct wgl_dc_data *dc_data)
Definition: opengl32.h:131
void sw_ReleaseContext(DHGLRC hglrc)
Definition: swimpl.c:1477
volatile LONG thread_id
Definition: opengl32.h:81
void APIENTRY set_api_table(const GLCLTPROCTABLE *table)
Definition: wgl.c:645

Referenced by context_destroy_gl_resources(), context_restore_gl_context(), context_set_current(), context_set_gl_context(), DllMain(), InitGL(), InitOGLWindow(), OnCreate(), OnDestroy(), ScreenSaverProc(), START_TEST(), test_bitmap_rendering(), test_deletecontext(), test_destroy(), test_destroy_read(), test_getprocaddress(), test_make_current_read(), test_makecurrent(), test_message_window(), test_minimized(), test_opengl3(), test_sharelists(), test_swap_control(), test_window_dc(), wgl_thread(), wglDeleteContext(), wined3d_caps_gl_ctx_create(), wined3d_caps_gl_ctx_create_attribs(), and wined3d_caps_gl_ctx_destroy().

◆ wglRealizeLayerPalette()

BOOL WINAPI wglRealizeLayerPalette ( HDC  hdc,
int  iLayerPlane,
BOOL  bRealize 
)

Definition at line 760 of file wgl.c.

763{
764 struct wgl_dc_data* dc_data = get_dc_data(hdc);
765
766 if(!dc_data)
767 {
769 return FALSE;
770 }
771
772 if(!dc_data->pixelformat)
773 {
775 return FALSE;
776 }
777
778 if(dc_data->icd_data)
779 return dc_data->icd_data->DrvRealizeLayerPalette(hdc, iLayerPlane, bRealize);
780
781 /* SW implementation doesn't support this */
782 return FALSE;
783}

◆ wglSetLayerPaletteEntries()

int WINAPI wglSetLayerPaletteEntries ( HDC  hdc,
int  iLayerPlane,
int  iStart,
int  cEntries,
const COLORREF pcr 
)

Definition at line 785 of file wgl.c.

790{
791 struct wgl_dc_data* dc_data = get_dc_data(hdc);
792
793 if(!dc_data)
794 {
796 return 0;
797 }
798
799 if(!dc_data->pixelformat)
800 {
802 return 0;
803 }
804
805 if(dc_data->icd_data)
806 return dc_data->icd_data->DrvSetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr);
807
808 /* SW implementation doesn't support this */
809 return 0;
810}

◆ wglShareLists()

BOOL WINAPI wglShareLists ( HGLRC  hglrcSrc,
HGLRC  hglrcDst 
)

Definition at line 872 of file wgl.c.

873{
874 struct wgl_context* ctx_src = get_context(hglrcSrc);
875 struct wgl_context* ctx_dst = get_context(hglrcDst);
876
877 if(!ctx_src || !ctx_dst)
878 {
880 return FALSE;
881 }
882
883 /* Check this is the same pixel format */
884 if((ctx_dst->icd_data != ctx_src->icd_data) ||
885 (ctx_dst->pixelformat != ctx_src->pixelformat))
886 {
888 return FALSE;
889 }
890
891 if(ctx_src->icd_data)
892 return ctx_src->icd_data->DrvShareLists(ctx_src->dhglrc, ctx_dst->dhglrc);
893
894 return sw_ShareLists(ctx_src->dhglrc, ctx_dst->dhglrc);
895}
BOOL sw_ShareLists(DHGLRC dhglrcSrc, DHGLRC dhglrcDst)
Definition: swimpl.c:504

Referenced by context_create(), and test_sharelists().

◆ wglSwapLayerBuffers()

BOOL WINAPI wglSwapLayerBuffers ( HDC  hdc,
UINT  fuPlanes 
)

Definition at line 919 of file wgl.c.

920{
921 return FALSE;
922}

◆ wglUseFontBitmapsA()

BOOL WINAPI wglUseFontBitmapsA ( HDC  hdc,
DWORD  first,
DWORD  count,
DWORD  listBase 
)

Definition at line 132 of file wgl_font.c.

133{
134 return wglUseFontBitmaps_common( hdc, first, count, listBase, FALSE );
135}
GLuint GLuint GLsizei count
Definition: gl.h:1545
const GLint * first
Definition: glext.h:5794
static BOOL wglUseFontBitmaps_common(HDC hdc, DWORD first, DWORD count, DWORD listBase, BOOL unicode)
Definition: wgl_font.c:30

◆ wglUseFontBitmapsW()

BOOL WINAPI wglUseFontBitmapsW ( HDC  hdc,
DWORD  first,
DWORD  count,
DWORD  listBase 
)

Definition at line 140 of file wgl_font.c.

141{
142 return wglUseFontBitmaps_common( hdc, first, count, listBase, TRUE );
143}

◆ wglUseFontOutlinesA()

BOOL WINAPI wglUseFontOutlinesA ( HDC  hdc,
DWORD  first,
DWORD  count,
DWORD  listBase,
FLOAT  deviation,
FLOAT  extrusion,
int  format,
LPGLYPHMETRICSFLOAT  lpgmf 
)

Definition at line 545 of file wgl_font.c.

553{
554 return wglUseFontOutlines_common(hdc, first, count, listBase, deviation, extrusion, format, lpgmf, FALSE);
555}
Definition: format.c:58
static BOOL wglUseFontOutlines_common(HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf, BOOL unicode)
Definition: wgl_font.c:294

◆ wglUseFontOutlinesW()

BOOL WINAPI wglUseFontOutlinesW ( HDC  hdc,
DWORD  first,
DWORD  count,
DWORD  listBase,
FLOAT  deviation,
FLOAT  extrusion,
int  format,
LPGLYPHMETRICSFLOAT  lpgmf 
)

Definition at line 560 of file wgl_font.c.

568{
569 return wglUseFontOutlines_common(hdc, first, count, listBase, deviation, extrusion, format, lpgmf, TRUE);
570}

◆ WidenPath()

Variable Documentation

◆ cEntries

◆ cjBuffer

Definition at line 3688 of file wingdi.h.

◆ dwOffset

_In_ DWORD _In_ DWORD dwOffset

Definition at line 3686 of file wingdi.h.

◆ dwTable

_In_ DWORD dwTable

Definition at line 3685 of file wingdi.h.

◆ hSection

◆ iStart

◆ offset

◆ pbmi

Definition at line 3234 of file wingdi.h.

◆ usage

Definition at line 3235 of file wingdi.h.