IDirectMusicPort8::SetChannelPriority
The SetChannelPriority method sets the priority of a MIDI channel. For an overview, see Channels.
Syntax
HRESULT SetChannelPriority(
DWORD
dwChannelGroup
,
DWORD dwChannel,
DWORD dwPriority
);
Parameters
dwChannelGroup
Group that the channel is in. This value must be 1 or greater.
dwChannel
Index of the channel on the group.
dwPriority
The priority ranking. See Remarks for IDirectMusicPort8::GetChannelPriority.
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_OUTOFMEMORY |
E_NOTIMPL |
Requirements
** Minimum Supported Client:** Windows 2000.
** Minimum Supported Server:** Windows 2000 Server.
** Header:** Dmusicc.h
See Also