IDirectMusicPort8::GetNumChannelGroups
The GetNumChannelGroups method retrieves the number of channel groups on the port.
Syntax
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 error values shown in the following table.
Return code |
E_FAIL |
E_INVALIDARG |
E_NOTIMPL |
E_OUTOFMEMORY |
Requirements
** Header:** Dmusicc.h
See Also