Windows Media Format SDK banner art
PreviousNext

IWMReaderAdvanced::DeliverTime

The DeliverTime method provides the reader with a clock time. This is used only when a user-driven clock is specified.

Syntax

HRESULT DeliverTime(
  QWORD  cnsTime
);

Parameters

  cnsTime

[in]  QWORD containing the time.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_UNEXPECTED The method failed for an unspecified reason.

Remarks

After DeliverTime is called, the reader reads data as fast as possible until it reaches the specified time, sending samples to the callback.  When the reader reaches that time, it sends an OnTime call to the IWMReaderAdvancedCallback.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.