Microsoft DirectX 8.0 (C++)

IDirectMusicStyle8::GetChordMap

Retrieves a named chordmap.

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

Parameters

pwszName
Name of the chordmap to be retrieved.
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.

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicStyle8::GetDefaultChordMap, Using Chordmaps