Microsoft DirectX 8.0 (C++)

IDirectMusicPort8::GetNumChannelGroups

Retrieves the number of channel groups on the port.

HRESULT GetNumChannelGroups(
  LPDWORD pdwChannelGroups
);

Parameters

pdwChannelGroups
Address of a variable that receives the number of channel groups.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method can return one of the following error values:

E_FAIL
E_INVALIDARG
E_NOTIMPL
E_OUTOFMEMORY

Requirements

  Header: Declared in dmusicc.h.

See Also

IDirectMusicPort8::SetNumChannelGroups, Channels