IMediaPosition::get_PrerollTime method

The get_PrerollTime method retrieves the amount of data that will be queued before the start position.

Syntax


HRESULT get_PrerollTime(
  [out] REFTIME *pllTime
);

Parameters

pllTime [out]

Pointer to a variable that receives the preroll time, in seconds.

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
S_OK

Success.

E_NOTIMPL

Not implemented.

E_POINTER

NULL pointer argument.

 

Remarks

The preroll is the time prior to the start position at which nonrandom access devices, such as tape players, should start rolling.

If no filter in the graph implements this method, the Filter Graph Manager sets the value of *pllTime to zero and returns S_OK.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IMediaPosition Interface

 

 

Show: