Platform SDK: DirectX

IDirectMusicStyle::GetChordMap

The IDirectMusicStyle::GetChordMap method retrieves a named chord map.

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

Parameters

pwszName
Name of the chord map to be retrieved.
ppChordMap
Address of a variable to receive a pointer to the IDirectMusicChordMap interface.

Return Values

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

If ppChordMap is not a valid pointer, the method returns 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::GetDefaultChordMap, Using Chord Maps