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:** Dmusicc.h

See Also

© 2004 Microsoft Corporation. All rights reserved.