次の方法で共有


CMediaSample::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 and S_FALSE if not; otherwise, returns an HRESULT error value.

Remarks

This member function implements the IMediaSample::IsPreroll method.

It returns the value of the m_dwFlags Sample_Preroll property flag. Preroll samples are not meant to be rendered.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMediaSample Class