DirectX SDK

IDirectMusicStyle::GetTempo

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

HRESULT GetTempo(
  double* pTempo
);

Parameters

pTempo
Address of a variable to receive the 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.

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.