IMediaSample::SetPreroll

 
Microsoft DirectShow 9.0

IMediaSample::SetPreroll

The SetPreroll method specifies whether this sample is a preroll sample.

Syntax

  HRESULT SetPreroll(
  BOOL bIsPreroll
);

Parameters

bIsPreroll

Boolean value that specifies whether this is a preroll sample. If TRUE, this is a preroll sample.

Return Values

Returns S_OK, or an HRESULT value indicating the cause of the error.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also