IMediaSample::IsPreroll

Preroll property. If TRUE, this sample is for preroll only and should not be displayed.

HRESULT IsPreroll(void);

Return Values

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).

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.