Edit

Share via


wingdi.h header

This header is used by multiple technologies. For more information, see:

wingdi.h contains the following programming interfaces:

Functions

 
AbortDoc

The AbortDoc function stops the current print job and erases everything drawn since the last call to the StartDoc function.
AbortPath

The AbortPath function closes and discards any paths in the specified device context.
AddFontMemResourceEx

The AddFontMemResourceEx function adds the font resource from a memory image to the system.
AddFontResourceA

The AddFontResource function adds the font resource from the specified file to the system font table. The font can subsequently be used for text output by any application. (ANSI)
AddFontResourceExA

The AddFontResourceEx function adds the font resource from the specified file to the system. Fonts added with the AddFontResourceEx function can be marked as private and not enumerable. (ANSI)
AddFontResourceExW

The AddFontResourceEx function adds the font resource from the specified file to the system. Fonts added with the AddFontResourceEx function can be marked as private and not enumerable. (Unicode)
AddFontResourceW

The AddFontResource function adds the font resource from the specified file to the system font table. The font can subsequently be used for text output by any application. (Unicode)
AlphaBlend

The AlphaBlend function displays bitmaps that have transparent or semitransparent pixels.
AngleArc

The AngleArc function draws a line segment and an arc.
AnimatePalette

The AnimatePalette function replaces entries in the specified logical palette.
Arc

The Arc function draws an elliptical arc.
ArcTo

The ArcTo function draws an elliptical arc.
BeginPath

The BeginPath function opens a path bracket in the specified device context.
BitBlt

The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
CancelDC

The CancelDC function cancels any pending operation on the specified device context (DC).
CheckColorsInGamut

The CheckColorsInGamut function determines whether a specified set of RGB triples lies in the output gamut of a specified device. The RGB triples are interpreted in the input logical color space.
ChoosePixelFormat

The ChoosePixelFormat function attempts to match an appropriate pixel format supported by a device context to a given pixel format specification.
Chord

The Chord function draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush.
CloseEnhMetaFile

The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile.
CloseFigure

The CloseFigure function closes an open figure in a path.
CloseMetaFile

The CloseMetaFile function closes a metafile device context and returns a handle that identifies a Windows-format metafile.
CMYK

The CMYK macro creates a CMYK color value by combining the specified cyan, magenta, yellow, and black values.
ColorCorrectPalette

The ColorCorrectPalette function corrects the entries of a palette using the WCS 1.0 parameters in the specified device context.
ColorMatchToTarget

The ColorMatchToTarget function enables you to preview colors as they would appear on the target device.
CombineRgn

The CombineRgn function combines two regions and stores the result in a third region. The two regions are combined according to the specified mode.
CombineTransform

The CombineTransform function concatenates two world-space to page-space transformations.
CopyEnhMetaFileA

The CopyEnhMetaFile function copies the contents of an enhanced-format metafile to a specified file. (ANSI)
CopyEnhMetaFileW

The CopyEnhMetaFile function copies the contents of an enhanced-format metafile to a specified file. (Unicode)
CopyMetaFileA

The CopyMetaFile function copies the content of a Windows-format metafile to the specified file. (ANSI)
CopyMetaFileW

The CopyMetaFile function copies the content of a Windows-format metafile to the specified file. (Unicode)
CreateBitmap

The CreateBitmap function creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel).
CreateBitmapIndirect

The CreateBitmapIndirect function creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel).
CreateBrushIndirect

The CreateBrushIndirect function creates a logical brush that has the specified style, color, and pattern.
CreateColorSpaceA

The CreateColorSpace function creates a logical color space. (ANSI)
CreateColorSpaceW

The CreateColorSpace function creates a logical color space. (Unicode)
CreateCompatibleBitmap

The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context.
CreateCompatibleDC

The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
CreateDCA

The CreateDC function creates a device context (DC) for a device using the specified name. (ANSI)
CreateDCW

The CreateDC function creates a device context (DC) for a device using the specified name. (Unicode)
CreateDIBitmap

The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits.
CreateDIBPatternBrush

The CreateDIBPatternBrush function creates a logical brush that has the pattern specified by the specified device-independent bitmap (DIB).
CreateDIBPatternBrushPt

The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB).
CreateDIBSection

The CreateDIBSection function creates a DIB that applications can write to directly.
CreateDiscardableBitmap

The CreateDiscardableBitmap function creates a discardable bitmap that is compatible with the specified device.
CreateEllipticRgn

The CreateEllipticRgn function creates an elliptical region.
CreateEllipticRgnIndirect

The CreateEllipticRgnIndirect function creates an elliptical region.
CreateEnhMetaFileA

The CreateEnhMetaFile function creates a device context for an enhanced-format metafile. This device context can be used to store a device-independent picture. (ANSI)
CreateEnhMetaFileW

The CreateEnhMetaFile function creates a device context for an enhanced-format metafile. This device context can be used to store a device-independent picture. (Unicode)
CreateFontA

The CreateFont function creates a logical font with the specified characteristics. The logical font can subsequently be selected as the font for any device. (ANSI)
CreateFontIndirectA

The CreateFontIndirect function creates a logical font that has the specified characteristics. The font can subsequently be selected as the current font for any device context. (ANSI)
CreateFontIndirectExA

The CreateFontIndirectEx function specifies a logical font that has the characteristics in the specified structure. The font can subsequently be selected as the current font for any device context. (ANSI)
CreateFontIndirectExW

The CreateFontIndirectEx function specifies a logical font that has the characteristics in the specified structure. The font can subsequently be selected as the current font for any device context. (Unicode)
CreateFontIndirectW

The CreateFontIndirect function creates a logical font that has the specified characteristics. The font can subsequently be selected as the current font for any device context. (Unicode)
CreateFontW

The CreateFont function creates a logical font with the specified characteristics. The logical font can subsequently be selected as the font for any device. (Unicode)
CreateHalftonePalette

The CreateHalftonePalette function creates a halftone palette for the specified device context (DC).
CreateHatchBrush

The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color.
CreateICA

The CreateIC function creates an information context for the specified device. (ANSI)
CreateICW

The CreateIC function creates an information context for the specified device. (Unicode)
CreateMetaFileA

The CreateMetaFile function creates a device context for a Windows-format metafile. (ANSI)
CreateMetaFileW

The CreateMetaFile function creates a device context for a Windows-format metafile. (Unicode)
CreatePalette

The CreatePalette function creates a logical palette.
CreatePatternBrush

The CreatePatternBrush function creates a logical brush with the specified bitmap pattern. The bitmap can be a DIB section bitmap, which is created by the CreateDIBSection function, or it can be a device-dependent bitmap.
CreatePen

The CreatePen function creates a logical pen that has the specified style, width, and color. The pen can subsequently be selected into a device context and used to draw lines and curves.
CreatePenIndirect

The CreatePenIndirect function creates a logical cosmetic pen that has the style, width, and color specified in a structure.
CreatePolygonRgn

The CreatePolygonRgn function creates a polygonal region.
CreatePolyPolygonRgn

The CreatePolyPolygonRgn function creates a region consisting of a series of polygons. The polygons can overlap.
CreateRectRgn

The CreateRectRgn function creates a rectangular region.
CreateRectRgnIndirect

The CreateRectRgnIndirect function creates a rectangular region.
CreateRoundRectRgn

The CreateRoundRectRgn function creates a rectangular region with rounded corners.
CreateScalableFontResourceA

The CreateScalableFontResource function creates a font resource file for a scalable font. (ANSI)
CreateScalableFontResourceW

The CreateScalableFontResource function creates a font resource file for a scalable font. (Unicode)
CreateSolidBrush

The CreateSolidBrush function creates a logical brush that has the specified solid color.
DeleteColorSpace

The DeleteColorSpace function removes and destroys a specified color space.
DeleteDC

The DeleteDC function deletes the specified device context (DC).
DeleteEnhMetaFile

The DeleteEnhMetaFile function deletes an enhanced-format metafile or an enhanced-format metafile handle.
DeleteMetaFile

The DeleteMetaFile function deletes a Windows-format metafile or Windows-format metafile handle.
DeleteObject

The DeleteObject function deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid.
DescribePixelFormat

The DescribePixelFormat function obtains information about the pixel format identified by iPixelFormat of the device associated with hdc. The function sets the members of the PIXELFORMATDESCRIPTOR structure pointed to by ppfd with that pixel format data.
DeviceCapabilitiesA

The DeviceCapabilities function retrieves the capabilities of a printer driver. (ANSI)
DeviceCapabilitiesW

The DeviceCapabilities function retrieves the capabilities of a printer driver. (Unicode)
DPtoLP

The DPtoLP function converts device coordinates into logical coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation.
DrawEscape

The DrawEscape function provides drawing capabilities of the specified video display that are not directly available through the graphics device interface (GDI).
Ellipse

The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.
EndDoc

The EndDoc function ends a print job.
EndPage

The EndPage function notifies the device that the application has finished writing to a page. This function is typically used to direct the device driver to advance to a new page.
EndPath

The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context.
EnumEnhMetaFile

The EnumEnhMetaFile function enumerates the records within an enhanced-format metafile by retrieving each record and passing it to the specified callback function.
EnumFontFamiliesA

The EnumFontFamilies function enumerates the fonts in a specified font family that are available on a specified device. (ANSI)
EnumFontFamiliesExA

The EnumFontFamiliesEx function enumerates all uniquely-named fonts in the system that match the font characteristics specified by the LOGFONT structure. EnumFontFamiliesEx enumerates fonts based on typeface name, character set, or both. (ANSI)
EnumFontFamiliesExW

The EnumFontFamiliesEx function enumerates all uniquely-named fonts in the system that match the font characteristics specified by the LOGFONT structure. EnumFontFamiliesEx enumerates fonts based on typeface name, character set, or both. (Unicode)
EnumFontFamiliesW

The EnumFontFamilies function enumerates the fonts in a specified font family that are available on a specified device. (Unicode)
EnumFontsA

The EnumFonts function enumerates the fonts available on a specified device. (ANSI)
EnumFontsW

The EnumFonts function enumerates the fonts available on a specified device. (Unicode)
EnumICMProfilesA

The EnumICMProfiles function enumerates the different output color profiles that the system supports for a given device context. (ANSI)
EnumICMProfilesW

The EnumICMProfiles function enumerates the different output color profiles that the system supports for a given device context. (Unicode)
EnumMetaFile

The EnumMetaFile function enumerates the records within a Windows-format metafile by retrieving each record and passing it to the specified callback function.
EnumObjects

The EnumObjects function enumerates the pens or brushes available for the specified device context (DC).
EqualRgn

The EqualRgn function checks the two specified regions to determine whether they are identical. The function considers two regions identical if they are equal in size and shape.
Escape

Enables an application to access the system-defined device capabilities that are not available through GDI.
ExcludeClipRect

The ExcludeClipRect function creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
ExtCreatePen

The ExtCreatePen function creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.
ExtCreateRegion

The ExtCreateRegion function creates a region from the specified region and transformation data.
ExtEscape

The ExtEscape function enables an application to access device capabilities that are not available through GDI.
ExtFloodFill

The ExtFloodFill function fills an area of the display surface with the current brush.
ExtSelectClipRgn

The ExtSelectClipRgn function combines the specified region with the current clipping region using the specified mode.
ExtTextOutA

The ExtTextOut function draws text using the currently selected font, background color, and text color. You can optionally provide dimensions to be used for clipping, opaquing, or both. (ANSI)
ExtTextOutW

The ExtTextOut function draws text using the currently selected font, background color, and text color. You can optionally provide dimensions to be used for clipping, opaquing, or both. (Unicode)
FillPath

The FillPath function closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode.
FillRgn

The FillRgn function fills a region by using the specified brush.
FlattenPath

The FlattenPath function transforms any curves in the path that is selected into the current device context (DC), turning each curve into a sequence of lines.
FloodFill

The FloodFill function fills an area of the display surface with the current brush. The area is assumed to be bounded as specified by the color parameter.
FrameRgn

The FrameRgn function draws a border around the specified region by using the specified brush.
GdiAlphaBlend

The GdiAlphaBlend function displays bitmaps that have transparent or semitransparent pixels.
GdiComment

The GdiComment function copies a comment from a buffer into a specified enhanced-format metafile.
GdiFlush

The GdiFlush function flushes the calling thread's current batch.
GdiGetBatchLimit

The GdiGetBatchLimit function returns the maximum number of function calls that can be accumulated in the calling thread's current batch. The system flushes the current batch whenever this limit is exceeded.
GdiGradientFill

The GdiGradientFill function fills rectangle and triangle structures.
GdiSetBatchLimit

The GdiSetBatchLimit function sets the maximum number of function calls that can be accumulated in the calling thread's current batch. The system flushes the current batch whenever this limit is exceeded.
GdiTransparentBlt

The GdiTransparentBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
GetArcDirection

The GetArcDirection function retrieves the current arc direction for the specified device context. Arc and rectangle functions use the arc direction.
GetAspectRatioFilterEx

The GetAspectRatioFilterEx function retrieves the setting for the current aspect-ratio filter.
GetBitmapBits

The GetBitmapBits function copies the bitmap bits of a specified device-dependent bitmap into a buffer.
GetBitmapDimensionEx

The GetBitmapDimensionEx function retrieves the dimensions of a compatible bitmap. The retrieved dimensions must have been set by the SetBitmapDimensionEx function.
GetBkColor

The GetBkColor function returns the current background color for the specified device context.
GetBkMode

The GetBkMode function returns the current background mix mode for a specified device context. The background mix mode of a device context affects text, hatched brushes, and pen styles that are not solid lines.
GetBoundsRect

The GetBoundsRect function obtains the current accumulated bounding rectangle for a specified device context.
GetBrushOrgEx

The GetBrushOrgEx function retrieves the current brush origin for the specified device context. This function replaces the GetBrushOrg function.
GetBValue

The GetBValue macro retrieves an intensity value for the blue component of a red, green, blue (RGB) value.
GetCharABCWidthsA

The GetCharABCWidths function retrieves the widths, in logical units, of consecutive characters in a specified range from the current TrueType font. This function succeeds only with TrueType fonts. (ANSI)
GetCharABCWidthsFloatA

The GetCharABCWidthsFloat function retrieves the widths, in logical units, of consecutive characters in a specified range from the current font. (ANSI)
GetCharABCWidthsFloatW

The GetCharABCWidthsFloat function retrieves the widths, in logical units, of consecutive characters in a specified range from the current font. (Unicode)
GetCharABCWidthsI

The GetCharABCWidthsI function retrieves the widths, in logical units, of consecutive glyph indices in a specified range from the current TrueType font. This function succeeds only with TrueType fonts.
GetCharABCWidthsW

The GetCharABCWidths function retrieves the widths, in logical units, of consecutive characters in a specified range from the current TrueType font. This function succeeds only with TrueType fonts. (Unicode)
GetCharacterPlacementA

The GetCharacterPlacement function retrieves information about a character string, such as character widths, caret positioning, ordering within the string, and glyph rendering. (ANSI)
GetCharacterPlacementW

The GetCharacterPlacement function retrieves information about a character string, such as character widths, caret positioning, ordering within the string, and glyph rendering. (Unicode)
GetCharWidth32A

The GetCharWidth32 function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (ANSI)
GetCharWidth32W

The GetCharWidth32 function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (Unicode)
GetCharWidthA

The GetCharWidth function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (ANSI)
GetCharWidthFloatA

The GetCharWidthFloat function retrieves the fractional widths of consecutive characters in a specified range from the current font. (ANSI)
GetCharWidthFloatW

The GetCharWidthFloat function retrieves the fractional widths of consecutive characters in a specified range from the current font. (Unicode)
GetCharWidthI

The GetCharWidthI function retrieves the widths, in logical coordinates, of consecutive glyph indices in a specified range from the current font.
GetCharWidthW

The GetCharWidth function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (Unicode)
GetClipBox

The GetClipBox function retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device.
GetClipRgn

The GetClipRgn function retrieves a handle identifying the current application-defined clipping region for the specified device context.
GetColorAdjustment

The GetColorAdjustment function retrieves the color adjustment values for the specified device context (DC).
GetColorSpace

The GetColorSpace function retrieves the handle to the input color space from a specified device context.
GetCurrentObject

The GetCurrentObject function retrieves a handle to an object of the specified type that has been selected into the specified device context (DC).
GetCurrentPositionEx

The GetCurrentPositionEx function retrieves the current position in logical coordinates.
GetCValue

The GetCValue macro retrieves the cyan color value from a CMYK color value.
GetDCBrushColor

The GetDCBrushColor function retrieves the current brush color for the specified device context (DC).
GetDCOrgEx

The GetDCOrgEx function retrieves the final translation origin for a specified device context (DC).
GetDCPenColor

The GetDCPenColor function retrieves the current pen color for the specified device context (DC).
GetDeviceCaps

The GetDeviceCaps function retrieves device-specific information for the specified device.
GetDeviceGammaRamp

The GetDeviceGammaRamp function gets the gamma ramp on direct color display boards having drivers that support downloadable gamma ramps in hardware.
GetDIBColorTable

The GetDIBColorTable function retrieves RGB (red, green, blue) color values from a range of entries in the color table of the DIB section bitmap that is currently selected into a specified device context.
GetDIBits

The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format.
GetEnhMetaFileA

The GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored in the specified file. (ANSI)
GetEnhMetaFileBits

The GetEnhMetaFileBits function retrieves the contents of the specified enhanced-format metafile and copies them into a buffer.
GetEnhMetaFileDescriptionA

The GetEnhMetaFileDescription function retrieves an optional text description from an enhanced-format metafile and copies the string to the specified buffer. (ANSI)
GetEnhMetaFileDescriptionW

The GetEnhMetaFileDescription function retrieves an optional text description from an enhanced-format metafile and copies the string to the specified buffer. (Unicode)
GetEnhMetaFileHeader

The GetEnhMetaFileHeader function retrieves the record containing the header for the specified enhanced-format metafile.
GetEnhMetaFilePaletteEntries

The GetEnhMetaFilePaletteEntries function retrieves optional palette entries from the specified enhanced metafile.
GetEnhMetaFilePixelFormat

The GetEnhMetaFilePixelFormat function retrieves pixel format information for an enhanced metafile.
GetEnhMetaFileW

The GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored in the specified file. (Unicode)
GetFontData

The GetFontData function retrieves font metric data for a TrueType font.
GetFontLanguageInfo

The GetFontLanguageInfo function returns information about the currently selected font for the specified display context. Applications typically use this information and the GetCharacterPlacement function to prepare a character string for display.
GetFontUnicodeRanges

The GetFontUnicodeRanges function returns information about which Unicode characters are supported by a font. The information is returned as a GLYPHSET structure.
GetGlyphIndicesA

The GetGlyphIndices function translates a string into an array of glyph indices. The function can be used to determine whether a glyph exists in a font. (ANSI)
GetGlyphIndicesW

The GetGlyphIndices function translates a string into an array of glyph indices. The function can be used to determine whether a glyph exists in a font. (Unicode)
GetGlyphOutlineA

The GetGlyphOutline function retrieves the outline or bitmap for a character in the TrueType font that is selected into the specified device context. (ANSI)
GetGlyphOutlineW

The GetGlyphOutline function retrieves the outline or bitmap for a character in the TrueType font that is selected into the specified device context. (Unicode)
GetGraphicsMode

The GetGraphicsMode function retrieves the current graphics mode for the specified device context.
GetGValue

The GetGValue macro retrieves an intensity value for the green component of a red, green, blue (RGB) value.
GetICMProfileA

The GetICMProfile function retrieves the file name of the current output color profile for a specified device context. (ANSI)
GetICMProfileW

The GetICMProfile function retrieves the file name of the current output color profile for a specified device context. (Unicode)
GetKerningPairsA

The GetKerningPairs function retrieves the character-kerning pairs for the currently selected font for the specified device context. (ANSI)
GetKerningPairsW

The GetKerningPairs function retrieves the character-kerning pairs for the currently selected font for the specified device context. (Unicode)
GetKValue

The GetKValue macro retrieves the black color value from a CMYK color value.
GetLayout

The GetLayout function returns the layout of a device context (DC).
GetLogColorSpaceA

The GetLogColorSpace function retrieves the color space definition identified by a specified handle. (ANSI)
GetLogColorSpaceW

The GetLogColorSpace function retrieves the color space definition identified by a specified handle. (Unicode)
GetMapMode

The GetMapMode function retrieves the current mapping mode.
GetMetaFileA

The GetMetaFile function creates a handle that identifies the metafile stored in the specified file. (ANSI)
GetMetaFileBitsEx

The GetMetaFileBitsEx function retrieves the contents of a Windows-format metafile and copies them into the specified buffer.
GetMetaFileW

The GetMetaFile function creates a handle that identifies the metafile stored in the specified file. (Unicode)
GetMetaRgn

The GetMetaRgn function retrieves the current metaregion for the specified device context.
GetMiterLimit

The GetMiterLimit function retrieves the miter limit for the specified device context.
GetMValue

The GetMValue macro retrieves the magenta color value from a CMYK color value.
GetNearestColor

The GetNearestColor function retrieves a color value identifying a color from the system palette that will be displayed when the specified color value is used.
GetNearestPaletteIndex

The GetNearestPaletteIndex function retrieves the index for the entry in the specified logical palette most closely matching a specified color value.
GetObject

The GetObject function (wingdi.h) retrieves information for the specified graphics object.
GetObjectA

The GetObject function retrieves information for the specified graphics object. (GetObjectA)
GetObjectType

The GetObjectType retrieves the type of the specified object.
GetObjectW

The GetObjectW (Unicode) function (wingdi.h) retrieves information for the specified graphics object.
GetOutlineTextMetricsA

The GetOutlineTextMetrics function retrieves text metrics for TrueType fonts. (ANSI)
GetOutlineTextMetricsW

The GetOutlineTextMetrics function retrieves text metrics for TrueType fonts. (Unicode)
GetPaletteEntries

The GetPaletteEntries function retrieves a specified range of palette entries from the given logical palette.
GetPath

The GetPath function retrieves the coordinates defining the endpoints of lines and the control points of curves found in the path that is selected into the specified device context.
GetPixel

The GetPixel function retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.
GetPixelFormat

The GetPixelFormat function obtains the index of the currently selected pixel format of the specified device context.
GetPolyFillMode

The GetPolyFillMode function retrieves the current polygon fill mode.
GetRandomRgn

The GetRandomRgn function copies the system clipping region of a specified device context to a specific region.
GetRasterizerCaps

The GetRasterizerCaps function returns flags indicating whether TrueType fonts are installed in the system.
GetRegionData

The GetRegionData function fills the specified buffer with data describing a region. This data includes the dimensions of the rectangles that make up the region.
GetRgnBox

The GetRgnBox function retrieves the bounding rectangle of the specified region.
GetROP2

The GetROP2 function retrieves the foreground mix mode of the specified device context. The mix mode specifies how the pen or interior color and the color already on the screen are combined to yield a new color.
GetRValue

The GetRValue macro retrieves an intensity value for the red component of a red, green, blue (RGB) value.
GetStockObject

The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes.
GetStretchBltMode

The GetStretchBltMode function retrieves the current stretching mode. The stretching mode defines how color data is added to or removed from bitmaps that are stretched or compressed when the StretchBlt function is called.
GetSystemPaletteEntries

The GetSystemPaletteEntries function retrieves a range of palette entries from the system palette that is associated with the specified device context (DC).
GetSystemPaletteUse

The GetSystemPaletteUse function retrieves the current state of the system (physical) palette for the specified device context (DC).
GetTextAlign

The GetTextAlign function retrieves the text-alignment setting for the specified device context.
GetTextCharacterExtra

The GetTextCharacterExtra function retrieves the current intercharacter spacing for the specified device context.
GetTextCharset

Retrieves a character set identifier for the font that is currently selected into a specified device context.
GetTextCharsetInfo

Retrieves information about the character set of the font that is currently selected into a specified device context.
GetTextColor

The GetTextColor function retrieves the current text color for the specified device context.
GetTextExtentExPointA

The GetTextExtentExPoint function retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters. (ANSI)
GetTextExtentExPointI

The GetTextExtentExPointI function retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters.
GetTextExtentExPointW

The GetTextExtentExPoint function retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters. (Unicode)
GetTextExtentPoint32A

The GetTextExtentPoint32 function computes the width and height of the specified string of text. (ANSI)
GetTextExtentPoint32W

The GetTextExtentPoint32 function computes the width and height of the specified string of text. (Unicode)
GetTextExtentPointA

The GetTextExtentPoint function computes the width and height of the specified string of text. (ANSI)
GetTextExtentPointI

The GetTextExtentPointI function computes the width and height of the specified array of glyph indices.
GetTextExtentPointW

The GetTextExtentPoint function computes the width and height of the specified string of text. (Unicode)
GetTextFaceA

The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context. (ANSI)
GetTextFaceW

The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context. (Unicode)
GetTextMetrics

The GetTextMetrics function (wingdi.h) fills the specified buffer with the metrics for the currently selected font.
GetTextMetricsA

The GetTextMetrics function fills the specified buffer with the metrics for the currently selected font. (GetTextMetricsA)
GetTextMetricsW

The GetTextMetricsW (Unicode) function (wingdi.h) fills the specified buffer with the metrics for the currently selected font.
GetViewportExtEx

The GetViewportExtEx function retrieves the x-extent and y-extent of the current viewport for the specified device context.
GetViewportOrgEx

The GetViewportOrgEx function retrieves the x-coordinates and y-coordinates of the viewport origin for the specified device context.
GetWindowExtEx

This function retrieves the x-extent and y-extent of the window for the specified device context.
GetWindowOrgEx

The GetWindowOrgEx function retrieves the x-coordinates and y-coordinates of the window origin for the specified device context.
GetWinMetaFileBits

The GetWinMetaFileBits function converts the enhanced-format records from a metafile into Windows-format records and stores the converted records in the specified buffer.
GetWorldTransform

The GetWorldTransform function retrieves the current world-space to page-space transformation.
GetYValue

The GetYValue macro retrieves the yellow color value from a CMYK color value.
GradientFill

The GradientFill function fills rectangle and triangle structures.
IntersectClipRect

The IntersectClipRect function creates a new clipping region from the intersection of the current clipping region and the specified rectangle.
InvertRgn

The InvertRgn function inverts the colors in the specified region.
LineDDA

The LineDDA function determines which pixels should be highlighted for a line defined by the specified starting and ending points.
LineTo

The LineTo function draws a line from the current position up to, but not including, the specified point.
LPtoDP

The LPtoDP function converts logical coordinates into device coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation.
MAKEPOINTS

The MAKEPOINTS macro converts a value that contains the x- and y-coordinates of a point into a POINTS structure.
MAKEROP4

The MAKEROP4 macro creates a quaternary raster operation code for use with the MaskBlt function.
MaskBlt

The MaskBlt function combines the color data for the source and destination bitmaps using the specified mask and raster operation.
ModifyWorldTransform

The ModifyWorldTransform function changes the world transformation for a device context using the specified mode.
MoveToEx

The MoveToEx function updates the current position to the specified point and optionally returns the previous position.
OffsetClipRgn

The OffsetClipRgn function moves the clipping region of a device context by the specified offsets.
OffsetRgn

The OffsetRgn function moves a region by the specified offsets.
OffsetViewportOrgEx

The OffsetViewportOrgEx function modifies the viewport origin for a device context using the specified horizontal and vertical offsets.
OffsetWindowOrgEx

The OffsetWindowOrgEx function modifies the window origin for a device context using the specified horizontal and vertical offsets.
PaintRgn

The PaintRgn function paints the specified region by using the brush currently selected into the device context.
PALETTEINDEX

The PALETTEINDEX macro accepts an index to a logical-color palette entry and returns a palette-entry specifier consisting of a COLORREF value that specifies the color associated with the given index.
PALETTERGB

The PALETTERGB macro accepts three values that represent the relative intensities of red, green, and blue and returns a palette-relative red, green, blue (RGB) specifier consisting of 2 in the high-order byte and an RGB value in the three low-order bytes. An application using a color palette can pass this specifier, instead of an explicit RGB value, to functions that expect a color.
PatBlt

The PatBlt function paints the specified rectangle using the brush that is currently selected into the specified device context. The brush color and the surface color or colors are combined by using the specified raster operation.
PathToRegion

The PathToRegion function creates a region from the path that is selected into the specified device context. The resulting region uses device coordinates.
Pie

The Pie function draws a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush.
PlayEnhMetaFile

The PlayEnhMetaFile function displays the picture stored in the specified enhanced-format metafile.
PlayEnhMetaFileRecord

The PlayEnhMetaFileRecord function plays an enhanced-metafile record by executing the graphics device interface (GDI) functions identified by the record.
PlayMetaFile

The PlayMetaFile function displays the picture stored in the given Windows-format metafile on the specified device.
PlayMetaFileRecord

The PlayMetaFileRecord function plays a Windows-format metafile record by executing the graphics device interface (GDI) function contained within that record.
PlgBlt

The PlgBlt function performs a bit-block transfer of the bits of color data from the specified rectangle in the source device context to the specified parallelogram in the destination device context.
PolyBezier

The PolyBezier function draws one or more Bézier curves.
PolyBezierTo

The PolyBezierTo function draws one or more Bézier curves.
PolyDraw

The PolyDraw function draws a set of line segments and Bézier curves.
Polygon

The Polygon function draws a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
Polyline

The Polyline function draws a series of line segments by connecting the points in the specified array.
PolylineTo

The PolylineTo function draws one or more straight lines.
PolyPolygon

The PolyPolygon function draws a series of closed polygons. Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygons drawn by this function can overlap.
PolyPolyline

The PolyPolyline function draws multiple series of connected line segments.
PolyTextOutA

The PolyTextOut function draws several strings using the font and text colors currently selected in the specified device context. (ANSI)
PolyTextOutW

The PolyTextOut function draws several strings using the font and text colors currently selected in the specified device context. (Unicode)
PtInRegion

The PtInRegion function determines whether the specified point is inside the specified region.
PtVisible

The PtVisible function determines whether the specified point is within the clipping region of a device context.
RealizePalette

The RealizePalette function maps palette entries from the current logical palette to the system palette.
Rectangle

The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
RectInRegion

The RectInRegion function determines whether any part of the specified rectangle is within the boundaries of a region.
RectVisible

The RectVisible function determines whether any part of the specified rectangle lies within the clipping region of a device context.
RemoveFontMemResourceEx

The RemoveFontMemResourceEx function removes the fonts added from a memory image file.
RemoveFontResourceA

The RemoveFontResource function removes the fonts in the specified file from the system font table. (ANSI)
RemoveFontResourceExA

The RemoveFontResourceEx function removes the fonts in the specified file from the system font table. (ANSI)
RemoveFontResourceExW

The RemoveFontResourceEx function removes the fonts in the specified file from the system font table. (Unicode)
RemoveFontResourceW

The RemoveFontResource function removes the fonts in the specified file from the system font table. (Unicode)
ResetDCA

The ResetDC function updates the specified printer or plotter device context (DC) using the specified information. (ANSI)
ResetDCW

The ResetDC function updates the specified printer or plotter device context (DC) using the specified information. (Unicode)
ResizePalette

The ResizePalette function increases or decreases the size of a logical palette based on the specified value.
RestoreDC

The RestoreDC function restores a device context (DC) to the specified state. The DC is restored by popping state information off a stack created by earlier calls to the SaveDC function.
RGB

The RGB macro selects a red, green, blue (RGB) color based on the arguments supplied and the color capabilities of the output device.
RoundRect

The RoundRect function draws a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.
SaveDC

The SaveDC function saves the current state of the specified device context (DC) by copying data describing selected objects and graphic modes (such as the bitmap, brush, palette, font, pen, region, drawing mode, and mapping mode) to a context stack.
ScaleViewportExtEx

The ScaleViewportExtEx function modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.
ScaleWindowExtEx

The ScaleWindowExtEx function modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.
SelectClipPath

The SelectClipPath function selects the current path as a clipping region for a device context, combining the new region with any existing clipping region using the specified mode.
SelectClipRgn

The SelectClipRgn function selects a region as the current clipping region for the specified device context.
SelectObject

The SelectObject function selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
SelectPalette

The SelectPalette function selects the specified logical palette into a device context.
SetAbortProc

The SetAbortProc function sets the application-defined abort function that allows a print job to be canceled during spooling.
SetArcDirection

The SetArcDirection sets the drawing direction to be used for arc and rectangle functions.
SetBitmapBits

The SetBitmapBits function sets the bits of color data for a bitmap to the specified values.
SetBitmapDimensionEx

The SetBitmapDimensionEx function assigns preferred dimensions to a bitmap. These dimensions can be used by applications; however, they are not used by the system.
SetBkColor

The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.
SetBkMode

The SetBkMode function sets the background mix mode of the specified device context. The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.
SetBoundsRect

The SetBoundsRect function controls the accumulation of bounding rectangle information for the specified device context.
SetBrushOrgEx

The SetBrushOrgEx function sets the brush origin that GDI assigns to the next brush an application selects into the specified device context.
SetColorAdjustment

The SetColorAdjustment function sets the color adjustment values for a device context (DC) using the specified values.
SetColorSpace

The SetColorSpace function defines the input color space for a given device context.
SetDCBrushColor

SetDCBrushColor function sets the current device context (DC) brush color to the specified color value. If the device cannot represent the specified color value, the color is set to the nearest physical color.
SetDCPenColor

SetDCPenColor function sets the current device context (DC) pen color to the specified color value. If the device cannot represent the specified color value, the color is set to the nearest physical color.
SetDeviceGammaRamp

The SetDeviceGammaRamp function sets the gamma ramp on direct color display boards having drivers that support downloadable gamma ramps in hardware.
SetDIBColorTable

The SetDIBColorTable function sets RGB (red, green, blue) color values in a range of entries in the color table of the DIB that is currently selected into a specified device context.
SetDIBits

The SetDIBits function sets the pixels in a compatible bitmap (DDB) using the color data found in the specified DIB.
SetDIBitsToDevice

The SetDIBitsToDevice function sets the pixels in the specified rectangle on the device that is associated with the destination device context using color data from a DIB, JPEG, or PNG image.
SetEnhMetaFileBits

The SetEnhMetaFileBits function creates a memory-based enhanced-format metafile from the specified data.
SetGraphicsMode

The SetGraphicsMode function sets the graphics mode for the specified device context.
SetICMMode

The SetICMMode function causes Image Color Management to be enabled, disabled, or queried on a given device context (DC).
SetICMProfileA

The SetICMProfile function sets a specified color profile as the output profile for a specified device context (DC). (ANSI)
SetICMProfileW

The SetICMProfile function sets a specified color profile as the output profile for a specified device context (DC). (Unicode)
SetLayout

The SetLayout function changes the layout of a device context (DC).
SetMapMode

The SetMapMode function sets the mapping mode of the specified device context. The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes.
SetMapperFlags

The SetMapperFlags function alters the algorithm the font mapper uses when it maps logical fonts to physical fonts.
SetMetaFileBitsEx

The SetMetaFileBitsEx function creates a memory-based Windows-format metafile from the supplied data.
SetMetaRgn

The SetMetaRgn function intersects the current clipping region for the specified device context with the current metaregion and saves the combined region as the new metaregion for the specified device context.
SetMiterLimit

The SetMiterLimit function sets the limit for the length of miter joins for the specified device context.
SetPaletteEntries

The SetPaletteEntries function sets RGB (red, green, blue) color values and flags in a range of entries in a logical palette.
SetPixel

The SetPixel function sets the pixel at the specified coordinates to the specified color.
SetPixelFormat

The SetPixelFormat function sets the pixel format of the specified device context to the format specified by the iPixelFormat index.
SetPixelV

The SetPixelV function sets the pixel at the specified coordinates to the closest approximation of the specified color. The point must be in the clipping region and the visible part of the device surface.
SetPolyFillMode

The SetPolyFillMode function sets the polygon fill mode for functions that fill polygons.
SetRectRgn

The SetRectRgn function converts a region into a rectangular region with the specified coordinates.
SetROP2

The SetROP2 function sets the current foreground mix mode.
SetStretchBltMode

The SetStretchBltMode function sets the bitmap stretching mode in the specified device context.
SetSystemPaletteUse

The SetSystemPaletteUse function allows an application to specify whether the system palette contains 2 or 20 static colors.
SetTextAlign

The SetTextAlign function sets the text-alignment flags for the specified device context.
SetTextCharacterExtra

The SetTextCharacterExtra function sets the intercharacter spacing. Intercharacter spacing is added to each character, including break characters, when the system writes a line of text.
SetTextColor

The SetTextColor function sets the text color for the specified device context to the specified color.
SetTextJustification

The SetTextJustification function specifies the amount of space the system should add to the break characters in a string of text. The space is added when an application calls the TextOut or ExtTextOut functions.
SetViewportExtEx

Sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
SetViewportOrgEx

The SetViewportOrgEx function specifies which device point maps to the window origin (0,0).
SetWindowExtEx

The SetWindowExtEx function sets the horizontal and vertical extents of the window for a device context by using the specified values.
SetWindowOrgEx

The SetWindowOrgEx function specifies which window point maps to the viewport origin (0,0).
SetWinMetaFileBits

The SetWinMetaFileBits function converts a metafile from the older Windows format to the new enhanced format and stores the new metafile in memory.
SetWorldTransform

The SetWorldTransform function sets a two-dimensional linear transformation between world space and page space for the specified device context. This transformation can be used to scale, rotate, shear, or translate graphics output.
StartDocA

The StartDoc function starts a print job. (ANSI)
StartDocW

The StartDoc function starts a print job. (Unicode)
StartPage

The StartPage function prepares the printer driver to accept data.
StretchBlt

The StretchBlt function copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
StretchDIBits

The StretchDIBits function copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle.
StrokeAndFillPath

The StrokeAndFillPath function closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush.
StrokePath

The StrokePath function renders the specified path by using the current pen.
SwapBuffers

The SwapBuffers function exchanges the front and back buffers if the current pixel format for the window referenced by the specified device context includes a back buffer.
TextOutA

The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color. (ANSI)
TextOutW

The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color. (Unicode)
TranslateCharsetInfo

Translates character set information and sets all members of a destination structure to appropriate values.
TransparentBlt

The TransparentBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
UnrealizeObject

The UnrealizeObject function resets the origin of a brush or resets a logical palette.
UpdateColors

The UpdateColors function updates the client area of the specified device context by remapping the current colors in the client area to the currently realized logical palette.
UpdateICMRegKeyA

The UpdateICMRegKey function manages color profiles and Color Management Modules in the system. (ANSI)
UpdateICMRegKeyW

The UpdateICMRegKey function manages color profiles and Color Management Modules in the system. (Unicode)
wglCopyContext

The wglCopyContext function copies selected groups of rendering states from one OpenGL rendering context to another.
wglCreateContext

The wglCreateContext function creates a new OpenGL rendering context, which is suitable for drawing on the device referenced by hdc. The rendering context has the same pixel format as the device context.
wglCreateLayerContext

The wglCreateLayerContext function creates a new OpenGL rendering context for drawing to a specified layer plane on a device context.
wglDeleteContext

The wglDeleteContext function deletes a specified OpenGL rendering context.
wglDescribeLayerPlane

The wglDescribeLayerPlane function obtains information about the layer planes of a given pixel format.
wglGetCurrentContext

The wglGetCurrentContext function obtains a handle to the current OpenGL rendering context of the calling thread.
wglGetCurrentDC

The wglGetCurrentDC function obtains a handle to the device context that is associated with the current OpenGL rendering context of the calling thread.
wglGetLayerPaletteEntries

Retrieves the palette entries from a given color-index layer plane for a specified device context.
wglGetProcAddress

The wglGetProcAddress function returns the address of an OpenGL extension function for use with the current OpenGL rendering context.
wglMakeCurrent

The wglMakeCurrent function makes a specified OpenGL rendering context the calling thread's current rendering context.
wglRealizeLayerPalette

The wglRealizeLayerPalette function maps palette entries from a given color-index layer plane into the physical palette or initializes the palette of an RGBA layer plane.
wglSetLayerPaletteEntries

Sets the palette entries in a given color-index layer plane for a specified device context.
wglShareLists

The wglShareLists function enables multiple OpenGL rendering contexts to share a single display-list space.
wglSwapLayerBuffers

The wglSwapLayerBuffers function swaps the front and back buffers in the overlay, underlay, and main planes of the window referenced by a specified device context.
wglUseFontBitmapsA

The wglUseFontBitmaps function creates a set of bitmap display lists for use in the current OpenGL rendering context. (ANSI)
wglUseFontBitmapsW

The wglUseFontBitmaps function creates a set of bitmap display lists for use in the current OpenGL rendering context. (Unicode)
wglUseFontOutlinesA

The wglUseFontOutlines function creates a set of display lists, one for each glyph of the currently selected outline font of a device context, for use with the current rendering context. (ANSI)
wglUseFontOutlinesW

The wglUseFontOutlines function creates a set of display lists, one for each glyph of the currently selected outline font of a device context, for use with the current rendering context. (Unicode)
WidenPath

The WidenPath function redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the given device context.

Callback functions

 
ABORTPROC

The AbortProc function is an application-defined callback function used with the SetAbortProc function.
ENHMFENUMPROC

The EnhMetaFileProc function is an application-defined callback function used with the EnumEnhMetaFile function.
GOBJENUMPROC

The EnumObjectsProc function is an application-defined callback function used with the EnumObjects function.
ICMENUMPROCA

The EnumICMProfilesProcCallback callback is an application-defined callback function that processes color profile data from EnumICMProfiles . (ANSI)
ICMENUMPROCW

The EnumICMProfilesProcCallback callback is an application-defined callback function that processes color profile data from EnumICMProfiles . (Unicode)
LINEDDAPROC

The LineDDAProc function is an application-defined callback function used with the LineDDA function.
MFENUMPROC

The EnumMetaFileProc function is an application-defined callback function that processes Windows-format metafile records.

Structures

 
ABC

The ABC structure contains the width of a character in a TrueType font.
ABCFLOAT

The ABCFLOAT structure contains the A, B, and C widths of a font character.
AXESLISTA

The AXESLIST structure contains information on all the axes of a multiple master font. (ANSI)
AXESLISTW

The AXESLIST structure contains information on all the axes of a multiple master font. (Unicode)
AXISINFOA

The AXISINFO structure contains information about an axis of a multiple master font. (ANSI)
AXISINFOW

The AXISINFO structure contains information about an axis of a multiple master font. (Unicode)
BITMAP

The BITMAP structure defines the type, width, height, color format, and bit values of a bitmap.
BITMAPCOREHEADER

The BITMAPCOREHEADER structure contains information about the dimensions and color format of a DIB.
BITMAPCOREINFO

The BITMAPCOREINFO structure defines the dimensions and color information for a DIB.
BITMAPFILEHEADER

The BITMAPFILEHEADER structure contains information about the type, size, and layout of a file that contains a DIB.
BITMAPINFO

The BITMAPINFO structure defines the dimensions and color information for a DIB.
BITMAPINFOHEADER

The BITMAPINFOHEADER structure contains information about the dimensions and color format of a device-independent bitmap (DIB).
BITMAPV4HEADER

The BITMAPV4HEADER structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure.Applications can use the BITMAPV5HEADER structure for added functionality.
BITMAPV5HEADER

The BITMAPV5HEADER structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure.
BLENDFUNCTION

The BLENDFUNCTION structure controls blending by specifying the blending functions for source and destination bitmaps.
CHARSETINFO

Contains information about a character set.
CIEXYZ

The CIEXYZ structure contains the x,y, and z coordinates of a specific color in a specified color space.
CIEXYZTRIPLE

The CIEXYZTRIPLE structure contains the x,y, and z coordinates of the three colors that correspond to the red, green, and blue endpoints for a specified logical color space.
COLORADJUSTMENT

The COLORADJUSTMENT structure defines the color adjustment values used by the StretchBlt and StretchDIBits functions when the stretch mode is HALFTONE. You can set the color adjustment values by calling the SetColorAdjustment function.
DESIGNVECTOR

The DESIGNVECTOR structure is used by an application to specify values for the axes of a multiple master font.
DEVMODEA

The DEVMODE data structure contains information about the initialization and environment of a printer or a display device.
DEVMODEW

The DEVMODEW structure is used for specifying characteristics of display and print devices in the Unicode (wide) character set.
DIBSECTION

The DIBSECTION structure contains information about a DIB created by calling the CreateDIBSection function.
DISPLAY_DEVICEA

The DISPLAY_DEVICE structure receives information about the display device specified by the iDevNum parameter of the EnumDisplayDevices function. (ANSI)
DISPLAY_DEVICEW

The DISPLAY_DEVICE structure receives information about the display device specified by the iDevNum parameter of the EnumDisplayDevices function. (Unicode)
DISPLAYCONFIG_2DREGION

The DISPLAYCONFIG_2DREGION structure represents a point or an offset in a two-dimensional space.
DISPLAYCONFIG_ADAPTER_NAME

The DISPLAYCONFIG_ADAPTER_NAME structure contains information about the display adapter.
DISPLAYCONFIG_DESKTOP_IMAGE_INFO

The DISPLAYCONFIG_DESKTOP_IMAGE_INFO structure contains information about the image displayed on the desktop.
DISPLAYCONFIG_DEVICE_INFO_HEADER

The DISPLAYCONFIG_DEVICE_INFO_HEADER structure contains display information about the device.
DISPLAYCONFIG_MODE_INFO

The DISPLAYCONFIG_MODE_INFO structure contains either source mode or target mode information.
DISPLAYCONFIG_PATH_INFO

The DISPLAYCONFIG_PATH_INFO structure is used to describe a single path from a target to a source.
DISPLAYCONFIG_PATH_SOURCE_INFO

The DISPLAYCONFIG_PATH_SOURCE_INFO structure contains source information for a single path.
DISPLAYCONFIG_PATH_TARGET_INFO

The DISPLAYCONFIG_PATH_TARGET_INFO structure contains target information for a single path.
DISPLAYCONFIG_RATIONAL

The DISPLAYCONFIG_RATIONAL structure describes a fractional value that represents vertical and horizontal frequencies of a video mode (that is, vertical sync and horizontal sync).
DISPLAYCONFIG_SDR_WHITE_LEVEL

The DISPLAYCONFIG_SDR_WHITE_LEVEL structure (wingdi.h) contains information about a display's current SDR white level.
DISPLAYCONFIG_SET_TARGET_PERSISTENCE

The DISPLAYCONFIG_SET_TARGET_PERSISTENCE structure contains information about setting the display.
DISPLAYCONFIG_SOURCE_DEVICE_NAME

The DISPLAYCONFIG_SOURCE_DEVICE_NAME structure contains the GDI device name for the source or view.
DISPLAYCONFIG_SOURCE_MODE

The DISPLAYCONFIG_SOURCE_MODE structure represents a point or an offset in a two-dimensional space.
DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION

The DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION structure contains information on the state of virtual resolution support for the monitor.
DISPLAYCONFIG_TARGET_BASE_TYPE

Specifies base output technology info for a given target ID.
DISPLAYCONFIG_TARGET_DEVICE_NAME

The DISPLAYCONFIG_TARGET_DEVICE_NAME structure contains information about the target.
DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS

The DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS structure contains information about a target device.
DISPLAYCONFIG_TARGET_MODE

The DISPLAYCONFIG_TARGET_MODE structure describes a display path target mode.
DISPLAYCONFIG_TARGET_PREFERRED_MODE

The DISPLAYCONFIG_TARGET_PREFERRED_MODE structure contains information about the preferred mode of a display.
DISPLAYCONFIG_VIDEO_SIGNAL_INFO

The DISPLAYCONFIG_VIDEO_SIGNAL_INFO structure contains information about the video signal for a display.
DOCINFOA

The DOCINFO structure contains the input and output file names and other information used by the StartDoc function. (ANSI)
DOCINFOW

The DOCINFO structure contains the input and output file names and other information used by the StartDoc function. (Unicode)
DRAWPATRECT

The DRAWPATRECT structure defines a rectangle to be created.
EMR

The EMR structure provides the base structure for all enhanced metafile records. An enhanced metafile record contains the parameters for a specific GDI function used to create part of a picture in an enhanced format metafile.
EMRABORTPATH

Contains data for the AbortPath, BeginPath, EndPath, CloseFigure, FlattenPath, WidenPath, SetMetaRgn, SaveDC, and RealizePalette enhanced metafile records.
EMRALPHABLEND

The EMRALPHABLEND structure contains members for the AlphaBlend enhanced metafile record.
EMRANGLEARC

The EMRANGLEARC structure contains members for the AngleArc enhanced metafile record.
EMRARC

The EMRARC, EMRARCTO, EMRCHORD, and EMRPIE structures contain members for the Arc, ArcTo, Chord, and Pie enhanced metafile records.
EMRBITBLT

The EMRBITBLT structure contains members for the BitBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record.
EMRCOLORCORRECTPALETTE

The EMRCOLORCORRECTPALETTE structure contains members for the ColorCorrectPalette enhanced metafile record.
EMRCOLORMATCHTOTARGET

The EMRCOLORMATCHTOTARGET structure contains members for the ColorMatchToTarget enhanced metafile record.
EMRCREATEBRUSHINDIRECT

The EMRCREATEBRUSHINDIRECT structure contains members for the CreateBrushIndirect enhanced metafile record.
EMRCREATECOLORSPACE

The EMRCREATECOLORSPACE structure contains members for the CreateColorSpace enhanced metafile record.
EMRCREATECOLORSPACEW

The EMRCREATECOLORSPACEW structure contains members for the CreateColorSpace enhanced metafile record. It differs from EMRCREATECOLORSPACE in that it has a Unicode logical color space and also has an optional array containing raw source profile data.
EMRCREATEDIBPATTERNBRUSHPT

The EMRCREATEDIBPATTERNBRUSHPT structure contains members for the CreateDIBPatternBrushPt enhanced metafile record. The BITMAPINFO structure is followed by the bitmap bits that form a packed device-independent bitmap (DIB).
EMRCREATEMONOBRUSH

The EMRCREATEMONOBRUSH structure contains members for the CreatePatternBrush (when passed a monochrome bitmap) or CreateDIBPatternBrush (when passed a monochrome DIB) enhanced metafile records.
EMRCREATEPALETTE

The EMRCREATEPALETTE structure contains members for the CreatePalette enhanced metafile record.
EMRCREATEPEN

The EMRCREATEPEN structure contains members for the CreatePen enhanced metafile record.
EMRELLIPSE

The EMRELLIPSE and EMRRECTANGLE structures contain members for the Ellipse and Rectangle enhanced metafile records.
EMREOF

The EMREOF structure contains data for the enhanced metafile record that indicates the end of the metafile.
EMREXCLUDECLIPRECT

The EMREXCLUDECLIPRECT and EMRINTERSECTCLIPRECT structures contain members for the ExcludeClipRect and IntersectClipRect enhanced metafile records.
EMREXTCREATEFONTINDIRECTW

The EMREXTCREATEFONTINDIRECTW structure contains members for the CreateFontIndirect enhanced metafile record.
EMREXTCREATEPEN

The EMREXTCREATEPEN structure contains members for the ExtCreatePen enhanced metafile record. If the record contains a BITMAPINFO structure, it is followed by the bitmap bits that form a packed device-independent bitmap (DIB).
EMREXTFLOODFILL

The EMREXTFLOODFILL structure contains members for the ExtFloodFill enhanced metafile record.
EMREXTSELECTCLIPRGN

The EMREXTSELECTCLIPRGN structure contains members for the ExtSelectClipRgn enhanced metafile record.
EMREXTTEXTOUTA

The EMREXTTEXTOUTA and EMREXTTEXTOUTW structures contain members for the ExtTextOut, TextOut, or DrawText enhanced metafile records.
EMRFILLPATH

The EMRFILLPATH,�EMRSTROKEANDFILLPATH,� and EMRSTROKEPATH structures contain members for the FillPath, StrokeAndFillPath, and StrokePath enhanced metafile records.
EMRFILLRGN

The EMRFILLRGN structure contains members for the FillRgn enhanced metafile record.
EMRFORMAT

The EMRFORMAT structure contains information that identifies graphics data in an enhanced metafile. A GDICOMMENT_MULTIFORMATS enhanced metafile public comment contains an array of EMRFORMAT structures.
EMRFRAMERGN

The EMRFRAMERGN structure contains members for the FrameRgn enhanced metafile record.
EMRGDICOMMENT

The EMRGDICOMMENT structure contains application-specific data.
EMRGLSBOUNDEDRECORD

The EMRGLSBOUNDEDRECORD structure contains members for an enhanced metafile record generated by OpenGL functions. It contains data for OpenGL functions with information in pixel units that must be scaled when playing the metafile.
EMRGLSRECORD

The EMRGLSRECORD structure contains members for an enhanced metafile record generated by OpenGL functions. It contains data for OpenGL functions that scale automatically to the OpenGL viewport.
EMRGRADIENTFILL

The EMRGRADIENTFILL structure contains members for the GradientFill enhanced metafile record.
EMRINVERTRGN

The EMRINVERTRGN and EMRPAINTRGN structures contain members for the InvertRgn and PaintRgn enhanced metafile records.
EMRLINETO

The EMRLINETO and EMRMOVETOEX structures contains members for the LineTo and MoveToEx enhanced metafile records.
EMRMASKBLT

The EMRMASKBLT structure contains members for the MaskBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record.
EMRMODIFYWORLDTRANSFORM

The EMRMODIFYWORLDTRANSFORM structure contains members for the ModifyWorldTransform enhanced metafile record.
EMROFFSETCLIPRGN

The EMROFFSETCLIPRGN structure contains members for the OffsetClipRgn enhanced metafile record.
EMRPIXELFORMAT

The EMRPIXELFORMAT structure contains the members for the SetPixelFormat enhanced metafile record. The pixel format information in ENHMETAHEADER refers to this structure.
EMRPLGBLT

The EMRPLGBLT structure contains members for the PlgBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record.
EMRPOLYDRAW

The EMRPOLYDRAW structure contains members for the PolyDraw enhanced metafile record.
EMRPOLYDRAW16

The EMRPOLYDRAW16 structure contains members for the PolyDraw enhanced metafile record.
EMRPOLYLINE

The EMRPOLYLINE, EMRPOLYBEZIER, EMRPOLYGON, EMRPOLYBEZIERTO, and EMRPOLYLINETO structures contain members for the Polyline, PolyBezier, Polygon, PolyBezierTo, and PolylineTo enhanced metafile records.
EMRPOLYLINE16

The EMRPOLYLINE16, EMRPOLYBEZIER16, EMRPOLYGON16, EMRPOLYBEZIERTO16, and EMRPOLYLINETO16 structures contain members for the Polyline, PolyBezier, Polygon, PolyBezierTo, and PolylineTo enhanced metafile records.
EMRPOLYPOLYLINE

The EMRPOLYPOLYLINE and EMRPOLYPOLYGON structures contain members for the PolyPolyline and PolyPolygon enhanced metafile records.
EMRPOLYPOLYLINE16

The EMRPOLYPOLYLINE16 and EMRPOLYPOLYGON16 structures contain members for the PolyPolyline and PolyPolygon enhanced metafile records.
EMRPOLYTEXTOUTA

The EMRPOLYTEXTOUTA and EMRPOLYTEXTOUTW structures contain members for the PolyTextOut enhanced metafile record.
EMRRESIZEPALETTE

The EMRRESIZEPALETTE structure contains members for the ResizePalette enhanced metafile record.
EMRRESTOREDC

The EMRRESTOREDC structure contains members for the RestoreDC enhanced metafile record.
EMRROUNDRECT

The EMRROUNDRECT structure contains members for the RoundRect enhanced metafile record.
EMRSCALEVIEWPORTEXTEX

The EMRSCALEVIEWPORTEXTEX and EMRSCALEWINDOWEXTEX structures contain members for the ScaleViewportExtEx and ScaleWindowExtEx enhanced metafile records.
EMRSELECTCLIPPATH

Contains parameters for the SelectClipPath, SetBkMode, SetMapMode, SetPolyFillMode, SetROP2, SetStretchBltMode, SetTextAlign, SetICMMode , and SetLayout enhanced metafile records.
EMRSELECTOBJECT

The EMRSELECTOBJECT and EMRDELETEOBJECT structures contain members for the SelectObject and DeleteObject enhanced metafile records.
EMRSELECTPALETTE

The EMRSELECTPALETTE structure contains members for the SelectPalette enhanced metafile record. Note that the bForceBackground parameter in SelectPalette is always recorded as TRUE, which causes the palette to be realized as a background palette.
EMRSETARCDIRECTION

The EMRSETARCDIRECTION structure contains members for the SetArcDirection enhanced metafile record.
EMRSETBKCOLOR

The EMRSETBKCOLOR and EMRSETTEXTCOLOR structures contain members for the SetBkColor and SetTextColor enhanced metafile records.
EMRSETCOLORADJUSTMENT

The EMRSETCOLORADJUSTMENT structure contains members for the SetColorAdjustment enhanced metafile record.
EMRSETCOLORSPACE

The EMRSETCOLORSPACE, EMRSELECTCOLORSPACE, and EMRDELETECOLORSPACE structures contain members for the SetColorSpace and DeleteColorSpace enhanced metafile records.
EMRSETDIBITSTODEVICE

The EMRSETDIBITSTODEVICE structure contains members for the SetDIBitsToDevice enhanced metafile record.
EMRSETICMPROFILE

The EMRSETICMPROFILE structure contains members for the SetICMProfile enhanced metafile record.
EMRSETMAPPERFLAGS

The EMRSETMAPPERFLAGS structure contains members for the SetMapperFlags enhanced metafile record.
EMRSETMITERLIMIT

The EMRSETMITERLIMIT structure contains members for the SetMiterLimit enhanced metafile record.
EMRSETPALETTEENTRIES

The EMRSETPALETTEENTRIES structure contains members for the SetPaletteEntries enhanced metafile record.
EMRSETPIXELV

The EMRSETPIXELV structure contains members for the SetPixelV enhanced metafile record. When an enhanced metafile is created, calls to SetPixel are also recorded in this record.
EMRSETVIEWPORTEXTEX

The EMRSETVIEWPORTEXTEX and EMRSETWINDOWEXTEX structures contains members for the SetViewportExtEx and SetWindowExtEx enhanced metafile records.
EMRSETVIEWPORTORGEX

The EMRSETVIEWPORTORGEX, EMRSETWINDOWORGEX, and EMRSETBRUSHORGEX structures contain members for the SetViewportOrgEx, SetWindowOrgEx, and SetBrushOrgEx enhanced metafile records.
EMRSETWORLDTRANSFORM

The EMRSETWORLDTRANSFORM structure contains members for the SetWorldTransform enhanced metafile record.
EMRSTRETCHBLT

The EMRSTRETCHBLT structure contains members for the StretchBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record.
EMRSTRETCHDIBITS

The EMRSTRETCHDIBITS structure contains members for the StretchDIBits enhanced metafile record.
EMRTEXT

The EMRTEXT structure contains members for text output.
EMRTRANSPARENTBLT

The EMRTRANSPARENTBLT structure contains members for the TransparentBLT enhanced metafile record.
ENHMETAHEADER

The ENHMETAHEADER structure contains enhanced-metafile data such as the dimensions of the picture stored in the enhanced metafile, the count of records in the enhanced metafile, the resolution of the device on which the picture was created, and so on.This structure is always the first record in an enhanced metafile.
ENHMETARECORD

The ENHMETARECORD structure contains data that describes a graphics device interface (GDI) function used to create part of a picture in an enhanced-format metafile.
ENUMLOGFONTA

The ENUMLOGFONT structure defines the attributes of a font, the complete name of a font, and the style of a font. (ANSI)
ENUMLOGFONTEXA

The ENUMLOGFONTEX structure contains information about an enumerated font. (ANSI)
ENUMLOGFONTEXDVA

The ENUMLOGFONTEXDV structure contains the information used to create a font. (ANSI)
ENUMLOGFONTEXDVW

The ENUMLOGFONTEXDV structure contains the information used to create a font. (Unicode)
ENUMLOGFONTEXW

The ENUMLOGFONTEX structure contains information about an enumerated font. (Unicode)
ENUMLOGFONTW

The ENUMLOGFONT structure defines the attributes of a font, the complete name of a font, and the style of a font. (Unicode)
ENUMTEXTMETRICA

The ENUMTEXTMETRIC structure contains information about a physical font. (ANSI)
ENUMTEXTMETRICW

The ENUMTEXTMETRIC structure contains information about a physical font. (Unicode)
EXTLOGFONTA

The EXTLOGFONT structure defines the attributes of a font. (ANSI)
EXTLOGFONTW

The EXTLOGFONT structure defines the attributes of a font. (Unicode)
EXTLOGPEN

The EXTLOGPEN structure defines the pen style, width, and brush attributes for an extended pen.
FIXED

The FIXED structure contains the integral and fractional parts of a fixed-point real number.
FONTSIGNATURE

Contains information identifying the code pages and Unicode subranges for which a given font provides glyphs.
GCP_RESULTSA

The GCP_RESULTS structure contains information about characters in a string. This structure receives the results of the GetCharacterPlacement function. For some languages, the first element in the arrays may contain more, language-dependent information. (ANSI)
GCP_RESULTSW

The GCP_RESULTS structure contains information about characters in a string. This structure receives the results of the GetCharacterPlacement function. For some languages, the first element in the arrays may contain more, language-dependent information. (Unicode)
GLYPHMETRICS

The GLYPHMETRICS structure contains information about the placement and orientation of a glyph in a character cell.
GLYPHMETRICSFLOAT

The GLYPHMETRICSFLOAT structure contains information about the placement and orientation of a glyph in a character cell.
GLYPHSET

The GLYPHSET structure contains information about a range of Unicode code points.
GRADIENT_RECT

The GRADIENT_RECT structure specifies the index of two vertices in the pVertex array in the GradientFill function. These two vertices form the upper-left and lower-right boundaries of a rectangle.
GRADIENT_TRIANGLE

The GRADIENT_TRIANGLE structure specifies the index of three vertices in the pVertex array in the GradientFill function. These three vertices form one triangle.
HANDLETABLE

The HANDLETABLE structure is an array of handles, each of which identifies a graphics device interface (GDI) object.
KERNINGPAIR

The KERNINGPAIR structure defines a kerning pair.
LAYERPLANEDESCRIPTOR

The LAYERPLANEDESCRIPTOR structure describes the pixel format of a drawing surface.
LOCALESIGNATURE

Contains extended font signature information, including two code page bitfields (CPBs) that define the default and supported character sets and code pages. This structure is typically used to represent the relationships between font coverage and locales.
LOGBRUSH

The LOGBRUSH structure defines the style, color, and pattern of a physical brush. It is used by the CreateBrushIndirect and ExtCreatePen functions.
LOGBRUSH32

The LOGBRUSH32 structure defines the style, color, and pattern of a physical brush.
LOGCOLORSPACEA

The LOGCOLORSPACE structure contains information that defines a logical color space. (ANSI)
LOGCOLORSPACEW

The LOGCOLORSPACE structure contains information that defines a logical color space. (Unicode)
LOGFONTA

The LOGFONT structure defines the attributes of a font. (ANSI)
LOGFONTW

The LOGFONT structure defines the attributes of a font. (Unicode)
LOGPALETTE

The LOGPALETTE structure defines a logical palette.
LOGPEN

The LOGPEN structure defines the style, width, and color of a pen. The CreatePenIndirect function uses the LOGPEN structure.
MAT2

The MAT2 structure contains the values for a transformation matrix used by the GetGlyphOutline function.
METAFILEPICT

Defines the metafile picture format used for exchanging metafile data through the clipboard.
METAHEADER

The METAHEADER structure contains information about a Windows-format metafile.
METARECORD

The METARECORD structure contains a Windows-format metafile record.
NEWTEXTMETRICA

The NEWTEXTMETRIC structure contains data that describes a physical font. (ANSI)
NEWTEXTMETRICEXA

The NEWTEXTMETRICEX structure contains information about a physical font. (ANSI)
NEWTEXTMETRICEXW

The NEWTEXTMETRICEX structure contains information about a physical font. (Unicode)
NEWTEXTMETRICW

The NEWTEXTMETRIC structure contains data that describes a physical font. (Unicode)
OUTLINETEXTMETRICA

The OUTLINETEXTMETRIC structure contains metrics describing a TrueType font. (ANSI)
OUTLINETEXTMETRICW

The OUTLINETEXTMETRIC structure contains metrics describing a TrueType font. (Unicode)
PALETTEENTRY

Specifies the color and usage of an entry in a logical palette.
PANOSE

The PANOSE structure describes the PANOSE font-classification values for a TrueType font. These characteristics are then used to associate the font with other fonts of similar appearance but different names.
PIXELFORMATDESCRIPTOR

The PIXELFORMATDESCRIPTOR structure describes the pixel format of a drawing surface.
POINTFLOAT

The POINTFLOAT structure contains the x and y coordinates of a point.
POINTFX

The POINTFX structure contains the coordinates of points that describe the outline of a character in a TrueType font.
POLYTEXTA

The POLYTEXT structure describes how the PolyTextOut function should draw a string of text. (ANSI)
POLYTEXTW

The POLYTEXT structure describes how the PolyTextOut function should draw a string of text. (Unicode)
PSFEATURE_CUSTPAPER

The PSFEATURE_CUSTPAPER structure contains information about a custom paper size for a PostScript driver. This structure is used with the GET_PS_FEATURESETTING printer escape function.
PSFEATURE_OUTPUT

The PSFEATURE_OUTPUT structure contains information about PostScript driver output options. This structure is used with the GET_PS_FEATURESETTING printer escape function.
PSINJECTDATA

The PSINJECTDATA structure is a header for the input buffer used with the POSTSCRIPT_INJECTION printer escape function.
RASTERIZER_STATUS

The RASTERIZER_STATUS structure contains information about whether TrueType is installed. This structure is filled when an application calls the GetRasterizerCaps function.
RGBQUAD

The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue.
RGBTRIPLE

The RGBTRIPLE structure describes a color consisting of relative intensities of red, green, and blue. The bmciColors member of the BITMAPCOREINFO structure consists of an array of RGBTRIPLE structures.
RGNDATA

The RGNDATA structure contains a header and an array of rectangles that compose a region. The rectangles are sorted top to bottom, left to right. They do not overlap.
RGNDATAHEADER

The RGNDATAHEADER structure describes the data returned by the GetRegionData function.
TEXTMETRICA

The TEXTMETRIC structure contains basic information about a physical font. All sizes are specified in logical units; that is, they depend on the current mapping mode of the display context. (ANSI)
TEXTMETRICW

The TEXTMETRIC structure contains basic information about a physical font. All sizes are specified in logical units; that is, they depend on the current mapping mode of the display context. (Unicode)
TRIVERTEX

The TRIVERTEX structure contains color information and position information.
TTPOLYCURVE

The TTPOLYCURVE structure contains information about a curve in the outline of a TrueType character.
TTPOLYGONHEADER

The TTPOLYGONHEADER structure specifies the starting position and type of a contour in a TrueType character outline.
WCRANGE

The WCRANGE structure specifies a range of Unicode characters.
XFORM

The XFORM structure specifies a world-space to page-space transformation.

Enumerations

 
DISPLAYCONFIG_DEVICE_INFO_TYPE

The DISPLAYCONFIG_DEVICE_INFO_TYPE enumeration specifies the type of display device info to configure or obtain through the DisplayConfigSetDeviceInfo or DisplayConfigGetDeviceInfo function.
DISPLAYCONFIG_MODE_INFO_TYPE

The DISPLAYCONFIG_MODE_INFO_TYPE enumeration specifies that the information that is contained within the DISPLAYCONFIG_MODE_INFO structure is either source or target mode.
DISPLAYCONFIG_PIXELFORMAT

The DISPLAYCONFIG_PIXELFORMAT enumeration specifies pixel format in various bits per pixel (BPP) values.
DISPLAYCONFIG_ROTATION

The DISPLAYCONFIG_ROTATION enumeration specifies the clockwise rotation of the display.
DISPLAYCONFIG_SCALING

The DISPLAYCONFIG_SCALING enumeration specifies the scaling transformation applied to content displayed on a video present network (VidPN) present path.
DISPLAYCONFIG_SCANLINE_ORDERING

The DISPLAYCONFIG_SCANLINE_ORDERING enumeration specifies the method that the display uses to create an image on a screen.
DISPLAYCONFIG_TOPOLOGY_ID

The DISPLAYCONFIG_TOPOLOGY_ID enumeration specifies the type of display topology.
DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY

The DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY enumeration specifies the target's connector type.