Microsoft DirectX 9.0

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 Values

Returns S_OK.

See Also