Microsoft DirectX 8.1 (C++)

IAMMediaTypeSample::SetPreroll

The SetPreroll method specifies whether this is a preroll sample. A preroll sample should not be displayed.

Syntax

HRESULT SetPreroll(
    BOOL bIsPreroll
);

Parameters

bIsPreroll

Boolean value that specifies whether the sample is a preroll sample. If TRUE, it is for preroll and should not be displayed.

Return Value

Returns S_OK.

See Also