Microsoft DirectX 8.1 (C++)

IDirectMusicStyle8::GetBand

The GetBand method retrieves the named band.

Syntax

HRESULT GetBand(
  WCHAR* pwszName, 
  IDirectMusicBand** ppBand
);

Parameters

pwszName

Name of the band to be retrieved. This name is assigned by the author of the style.

ppBand

Address of a variable that receives the IDirectMusicBand8 interface.

Return Values

If the method succeeds, the return value is S_OK if a band is returned, or S_FALSE if there is no band with that name.

If the method fails, the return value can be E_POINTER.

Requirements

  Header: Declared in dmusici.h.

See Also