Share via


IAMMediaTypeSample::SetPreroll

 
Microsoft DirectShow 9.0

IAMMediaTypeSample::SetPreroll

  • Note   This interface is deprecated. New applications should not use it.

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