|Microsoft DirectX 9.0|
The SetChannelPriority method sets the priority of a MIDI channel. For an overview, see Channels.
HRESULT SetChannelPriority( DWORD dwChannelGroup, DWORD dwChannel, DWORD dwPriority );
Group that the channel is in. This value must be 1 or greater.
Index of the channel on the group.
The priority ranking. See Remarks for IDirectMusicPort8::GetChannelPriority.
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.
Header: Declared in dmusicc.h.