IMediaSample::IsPreroll (Compact 2013)
3/26/2014
Preroll property. If TRUE, this sample is for preroll only and should not be displayed.
Syntax
HRESULT IsPreroll(void);
Parameters
None.
Return Value
Returns S_OK if the sample is a preroll sample, or S_FALSE if not; otherwise, returns an HRESULT error value.
While calling SetPreroll with a value of TRUE (1) sets the preroll property, calling IsPreroll on a preroll sample returns S_OK (0).
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |