DirectX SDK

IDirectMusicStyle::GetDefaultBand

The IDirectMusicStyle::GetDefaultBand method retrieves the style's default band.

HRESULT GetDefaultBand(
  IDirectMusicBand ** ppBand
);

Parameters

ppBand
Address of a variable to receive a pointer to the default band.

Return Values

If the method succeeds, the return value is S_OK if a band is returned, or S_FALSE if the style does not have a default band.

If it fails, the method can return 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.

See Also

IDirectMusicStyle::GetBand, Using Bands