Microsoft DirectX 8.1 (C++)

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. Possible values include the following:

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

See Also