GDI Structures
The following table shows the GDI structures with a description of the purpose of each.
Programming element | PPC | SP | Description |
---|---|---|---|
BITMAP | X | X | This structure defines the type, width, height, color format, and bit values of a bitmap. |
BITMAPCOREHEADER | X | X | This structure contains information about the dimensions and color format of a device-independent bitmap (DIB). |
BITMAPCOREINFO | X | X | This structure defines the dimensions and color information for a device independent bitmap (DIB). |
BITMAPFILEHEADER | X | X | This structure contains information about the type, size, and layout of a file that containing a device-independent bitmap (DIB). |
BITMAPINFO | X | X | This structure defines the dimensions and color information of a Windows-based device-independent bitmap (DIB). |
BITMAPINFOHEADER | X | X | This structure contains information about the dimensions and color format of a device-independent bitmap (DIB). |
COLORREF | X | X | This value is a 32-bit value used to specify an RGB color. |
DEVMODE | X | X | This structure contains information about a printer environment and device initialization. |
DIBSECTION | X | X | This structure contains information about a device-independent bitmap (DIB). |
DISPLAY_DEVICE | X | X | This structure receives information about the display device specified by the iDevNum parameter of the EnumDisplayDevices function. |
OUTLINETEXTMETRICW | X | X | This structure contains metrics describing a TrueType font. |
GRADIENT_RECT | X | X | This structure specifies the index of two vertices in the pVertex array in the GradientFill function. |
LOGBRUSH | X | X | This structure defines the style, color, and pattern of a logical brush. |
LOGPALETTE | X | X | This structure defines a logical color palette. |
LOGPEN | X | X | This structure defines the style, width, and color of a pen. |
PAINTSTRUCT | X | X | This structure contains information that an application uses to paint the client area of a window owned by that application. |
PALETTEENTRY | X | X | This structure specifies the color and usage of a logical palette entry. |
PALETTERGB | X | X | This macro accepts three values that represent the relative intensities of red, green, and blue and returns a palette-relative RGB specifier consisting of 2 in the high-order byte and an RGB value in the three low-order bytes (with a value representing the intensity of red, green, or blue in each of the bytes). |
POINT | X | X | This structure defines the x- and y-coordinates of a point. |
POINTS | X | X | This structure defines the coordinates of a point. |
RECT | X | X | This structure defines the coordinates of the upper-left and lower-right corners of a rectangle. |
RECTL | X | X | This structure defines the coordinates of the upper-left and lower-right corners of a rectangle. |
RGBQUAD | X | X | This structure describes a color consisting of relative intensities of red, green, and blue. |
RGBTRIPLE | X | X | This structure describes a color consisting of relative intensities of red, green, and blue. |
RGNDATA | X | X | This structure contains a header and an array of rectangles that make up a region. |
RGNDATAHEADER | X | X | This structure describes the data returned by the GetRegionData function. |
SIZE | X | X | This structure specifies the width and height of a rectangle. |
TRIVERTEX | X | X | This structure defines the screen position, color, and alpha information for a point. |
VIDEOPARAMETERS | X | X | This structure contains information for a video connection. |
See Also
Send Feedback on this topic to the authors