Microsoft DirectX 8.1 (C++)

IDirectMusicBuffer8::TotalTime

The TotalTime method returns the total time spanned by the data in the buffer.

Syntax

HRESULT TotalTime(
  LPREFERENCE_TIME prtTime
);

Parameters

prtTime

Address of a variable that receives the total time spanned by the buffer, in units of 100 nanoseconds.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return E_POINTER.

Requirements

  Header: Declared in dmusicc.h.

See Also