Platform SDK: DirectX

IDirectMusicPerformance::GetResolvedTime

The IDirectMusicPerformance::GetResolvedTime method resolves a given time to a given boundary.

HRESULT GetResolvedTime(
  REFERENCE_TIME rtTime,
  REFERENCE_TIME* prtResolved,
  DWORD dwTimeResolveFlags
);

Parameters

rtTime
Time to resolve. If this is less than the current time, the current time is used.
prtResolved
Address of a variable to receive the resolved time.
dwTimeResolveFlags
One or more DMUS_TIME_RESOLVE_FLAGS describing the resolution desired.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

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

Timing