CMediaSample::IsPreroll
Microsoft DirectShow 9.0 |
CMediaSample::IsPreroll
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(void);
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:** Declared in Amfilter.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also