Microsoft DirectX 9.0 SDK Update (October 2004)

IDirectMusicStyle8::GetChordMap

The GetChordMap method retrieves a chordmap specified by name.

Syntax

HRESULT GetChordMap(
  WCHAR* pwszName,
  IDirectMusicChordMap** ppChordMap
);

Parameters

pwszName

Name of the chordmap to retrieve. This name is created by the author of the style.

ppChordMap

Address of a variable that receives a pointer to the IDirectMusicChordMap8 interface.

Return Values

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

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

Remarks

DirectMusic Producer does not support embedding chordmap references in style files.

Requirements

  Header: Dmusici.h
  Library: Dmstyle.dll, Dmstyled.dll

See Also


© 2004 Microsoft Corporation. All rights reserved.