Microsoft DirectX 9.0

CDrawImage::SetTargetRect

The SetTargetRect method sets the target rectangle.

Syntax

void SetTargetRect(
    RECT *pTargetRect
);

Parameters

pTargetRect

Pointer to a RECT structure that defines the new target rectangle.

Return Value

No return value.

Remarks

The owning filter should call this method if the source rectangle changes; for example, in response to an IBasicVideo::SetDestinationPosition call.

Before calling this method, validate the rectangle given in pTargetRect, relative to the video window.

See Also