Windows Media Format SDK banner art
PreviousNext

IWMReaderStreamClock::GetTime

The GetTime method retrieves the current value of the stream clock.

Syntax

HRESULT GetTime(
  QWORD*  pcnsNow
);

Parameters

  pcnsNow

[in]  Specifies a pointer to the current time of the stream clock, in nanoseconds.

Return Values

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

Return code Description
E_INVALIDARG pcnsNow is NULL.

Remarks

This interface is implemented by the IWMReader object.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.