DirectX SDK

IDirectMusicPerformance::GetQueueTime

The IDirectMusicPerformance::GetQueueTime method retrieves the current flush time, which is the earliest time in the queue at which messages can be flushed. Messages that have time stamps earlier than this time have already been sent to the port and cannot be invalidated.

HRESULT GetQueueTime(
  REFERENCE_TIME * prtTime
);

Parameters

prtTime
Address of a variable to receive the current flush 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

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusici.h.

See Also

Latency and Bumper Time