IDirectMusicPerformance::GetLatencyTime

This method retrieves the current latency time. Latency time is the time being heard from the speakers plus the time required to queue and render messages into the IDirectMusicPort. For an overview of this topic, see Timing.

HRESULT GetLatencyTime(
  REFERENCE_TIME* prtTime
);

Parameters

  • prtTime
    Address of a variable to receive the current latency time.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return one of the following error values:

E_POINTER
DMUS_E_NO_MASTER_CLOCK

Requirements

OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusici.h.
Link Library: Dmusic.lib.

 Last updated on Monday, April 12, 2004

© 1992-2002 Microsoft Corporation. All rights reserved.