CSourceSeeking::GetPreroll

 
Microsoft DirectShow 9.0

CSourceSeeking::GetPreroll

The GetPreroll method retrieves the preroll time. This method implements the IMediaSeeking::GetPreroll method.

Syntax

  HRESULT GetPreroll(
    LONGLONG *pPreroll
);

Parameters

pPreroll

Pointer to a variable that receives the preroll time. The value is set to zero.

Return Value

Returns one of the HRESULT values listed in the following table.

Value Description
S_OK Success
E_POINTER NULL pointer value

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also