Windows Media Format SDK banner art
PreviousNext

IWMWriterAdvanced::GetWriterTime

The GetWriterTime method retrieves the clock time that the writer is working to.

Syntax

HRESULT GetWriterTime(
  QWORD*  pcnsCurrentTime
);

Parameters

  pcnsCurrentTime

[out] Pointer to a variable containing the current time in 100-nanosecond units.

Return Values

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

Return code Meaning
E_INVALIDARG pqwCurrentTime is NULL.

Remarks

The time returned is the number of 100-nanosecond units between a call to BeginWriting (see the IWMWriter interface) and a call to this method.

The writer can be running in real time (call the IsRealTime method, from the IWMWriterAdvanced object, to retrieve a flag indicating whether this is true or not).

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.