Export (0) Print
Expand All

CMediaSample.IsPreroll method

The IsPreroll method determines if this sample is a preroll sample. A preroll sample should not be displayed. This method implements the IMediaSample::IsPreroll method.

Syntax


HRESULT IsPreroll();

Parameters

This method has no parameters.

Return value

Returns S_OK if the sample is a preroll sample, and S_FALSE otherwise.

Remarks

The CMediaSample::m_dwFlags member variable specifies this property.

Requirements

Header

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaSample Class

 

 

Community Additions

ADD
Show:
© 2015 Microsoft