Skip to content

Latest commit

 

History

History
118 lines (75 loc) · 4.53 KB

ns-d3dumddi-_d3dddi_overlayinfo.md

File metadata and controls

118 lines (75 loc) · 4.53 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dumddi._D3DDDI_OVERLAYINFO
_D3DDDI_OVERLAYINFO (d3dumddi.h)
The D3DDDI_OVERLAYINFO structure describes information about an overlay.
display\d3dddi_overlayinfo.htm
display
05/10/2018
D3DDDI_OVERLAYINFO structure
D3DDDI_OVERLAYINFO, D3DDDI_OVERLAYINFO structure [Display Devices], D3D_other_Structs_b9046736-50b8-46b1-92c9-5d879ee7c64d.xml, _D3DDDI_OVERLAYINFO, d3dumddi/D3DDDI_OVERLAYINFO, display.d3dddi_overlayinfo
d3dumddi.h
D3dumddi.h
Windows
Available in Windows Vista and later versions of the Windows operating systems.
Windows
D3DDDI_OVERLAYINFO
_D3DDDI_OVERLAYINFO
d3dumddi/_D3DDDI_OVERLAYINFO
D3DDDI_OVERLAYINFO
d3dumddi/D3DDDI_OVERLAYINFO
APIRef
kbSyntax
HeaderDef
d3dumddi.h
_D3DDDI_OVERLAYINFO
D3DDDI_OVERLAYINFO

_D3DDDI_OVERLAYINFO structure

-description

The D3DDDI_OVERLAYINFO structure describes information about an overlay.

-struct-fields

-field hResource [in]

A handle to the resource that is displayed by using the overlay. The resource is created through a call to the CreateResource function with the Overlay bit-field flag set in the Flags member of the D3DDDIARG_CREATERESOURCE structure that is pointed to by the pResource parameter.

-field SubResourceIndex [in]

The index to the subresource if the resource that is specified by the hResource member contains a list of allocations.

-field DstRect [in]

A RECT structure for the destination rectangle, which contains the output coordinates for the display.

-field SrcRect [in]

A RECT structure for the source rectangle that is displayed.

-field DstColorKeyLow [in]

A value for the destination color key when the DstColorKey bit-field flag is set in the Flags member. If the color key is a range, DstColorKeyLow contains the low end of the range. The value is in the native format of the primary surface that is overlayed.

-field DstColorKeyHigh [in]

The high end of the destination color key range when the DstColorKeyRange bit-field flag is set in Flags. The value is in the native format of the primary surface that is overlayed.

-field SrcColorKeyLow [in]

A value for the source color key when the SrcColorKey bit-field flag is set in the Flags member. If the color key is a range, SrcColorKeyLow contains the low end of the range. The value is in the native format of the overlay resource that is displayed.

-field SrcColorKeyHigh [in]

The high end of the source color key range when the SrcColorKeyRange bit-field flag is set in Flags. The value is in the native format of the overlay resource that is displayed.

-field Flags [in]

A D3DDDI_OVERLAYINFOFLAGS structure that identifies the type of overlay operation to perform. Note that some flags are mutually exclusive with other flags. For more information, see the following Remarks section.

-remarks

The SrcColorKey, SrcColorKeyRange, DstColorKey, and DstColorKeyRange bit-field flags are never set simultaneously in the Flags member.

-see-also

CreateOverlay

CreateResource

D3DDDIARG_CREATERESOURCE

D3DDDI_OVERLAYINFOFLAGS

RECT

UpdateOverlay