IDirectMusicStyle::GetTempo

The IDirectMusicStyle::GetTempo method retrieves the recommended tempo of the style.

HRESULT GetTempo(
  double* pTempo
);
 

Parameters

pTempo
Recommended tempo of the style.

Return Values

If the method succeeds, the return value is S_OK.

If pTempo is not a valid pointer, the method returns E_POINTER.

QuickInfo

  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.