Microsoft DirectX 8.1 (C++)

IDirectMusicStyle8::EnumChordMap

The EnumChordMap method retrieves the name of the chordmap with the given index value.

Syntax

HRESULT EnumChordMap(
  DWORD dwIndex, 
  WCHAR * pwszName
);

Parameters

dwIndex

Zero-based index of the chordmap in the style's chordmap list.

pwszName

Address of a buffer that receives the chordmap name. This should be of size MAX_PATH.

Return Values

If the method succeeds, the return value is S_OK, S_FALSE if there is no chordmap with the given index value, or DMUS_S_STRING_TRUNCATED if the length of the name is greater than MAX_PATH.

If it fails, the method can return one of the error values shown in the following table.

Return code
DMUS_E_TYPE_UNSUPPORTED
E_POINTER

Requirements

  Header: Declared in dmusici.h.

See Also