_D3DDDIARG_BLT structure

The D3DDDIARG_BLT structure describes the parameters of a bit-block transfer (bitblt).

Syntax

typedef struct _D3DDDIARG_BLT {
  HANDLE          hSrcResource;
  UINT            SrcSubResourceIndex;
  RECT            SrcRect;
  HANDLE          hDstResource;
  UINT            DstSubResourceIndex;
  RECT            DstRect;
  UINT            ColorKey;
  D3DDDI_BLTFLAGS Flags;
} D3DDDIARG_BLT;

Members

ColorKey

[in] A value for the color key. Note that the SrcColorKey and DstColorKey bit-field flags are never set simultaneously in the Flags member.

DstRect

[in] A RECT structure for the destination rectangle.

DstSubResourceIndex

[in] The index to the destination surface within the resource.

Flags

[in] A D3DDDI_BLTFLAGS structure that identifies the type of bitblt to perform. Note that some bit-field flags in this structure are mutually exclusive with other flags. For more information about these flags, see the following Remarks section.

hDstResource

[in] A handle to the destination resource.

hSrcResource

[in] A handle to the source resource.

SrcRect

[in] A RECT structure for the source rectangle.

SrcSubResourceIndex

[in] The index to the source surface within the resource.

Remarks

If a filtering option (for example, the Point or Linear bit-field flag) is not specified in the Flags member, the driver can use its own filtering technique.

The SrcColorKey and DstColorKey bit-field flags are never set simultaneously. Similarly, the Point bit-field flag is not simultaneously set with the Linear bit-field flag.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See Also

RECT

Blt

D3DDDI_BLTFLAGS

Send comments about this topic to Microsoft