Microsoft DirectX 9.0

IAMTimelineSrc::GetStretchMode

The GetStretchMode method retrieves the stretch mode. The stretch mode determines how a video source is rendered if its size does not match the output dimensions.

Syntax

HRESULT GetStretchMode(
    int *pnStretchMode
);

Parameters

pnStretchMode

Pointer to a variable that receives a flag indicating the current stretch mode. For a list of possible values, see Resize Flags.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also