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 );
Address of a variable to receive the current latency time.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Link Library: Dmusic.lib.
Last updated on Monday, April 12, 2004
© 1992-2002 Microsoft Corporation. All rights reserved.