// d3dumddi.h
typedef struct _D3DDDIARG_COLORFILL {
[in] HANDLE hResource;
[in] UINT SubResourceIndex;
[in] RECT DstRect;
D3DCOLOR Color;
[in] D3DDDI_COLORFILLFLAGS Flags;
} D3DDDIARG_COLORFILL;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_COLORFILL structure describes the parameters of a color-fill operation.
hResource [in]A handle to the resource.
SubResourceIndex [in]The zero-based index into the resource, which is specified by the handle in the hResource member. This index indicates the subresource, or surface, on which a rectangular area is color-filled.
DstRect [in]A RECTL structure that indicates the upper-left and lower-right points of a rectangle on the surface to color fill.
ColorA D3DCOLOR data type for the A8R8G8B8 fill color.
Flags [in]A D3DDDI_COLORFILLFLAGS structure that identifies the type of color-fill operation to perform.