IDirectMusicStyle8::GetDefaultBand

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

IDirectMusicStyle8::GetDefaultBand

The GetDefaultBand method retrieves the style's default band.

Syntax

HRESULT GetDefaultBand(
  IDirectMusicBand ** ppBand
);

Parameters

ppBand

Address of a variable that receives the IDirectMusicBand8 interface pointer for 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

  Header: Declared in dmusici.h.

See Also


© 2004 Microsoft Corporation. All rights reserved.