Microsoft DirectX 9.0

CMediaSample::IsDiscontinuity

The IsDiscontinuity method determines if this sample represents a break in the data stream. This method implements the IMediaSample::IsDiscontinuity method.

Syntax

HRESULT IsDiscontinuity(void);

Return Value

Returns S_OK if the sample is a break in the data stream, and S_FALSE otherwise.

Remarks

The CMediaSample::m_dwFlags member variable specifies this property.

See Also