IDirectMusicBuffer8::TotalTime

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicBuffer8::TotalTime

The TotalTime method retrieves 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


© 2004 Microsoft Corporation. All rights reserved.