CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode VMIDILinkOut_SendModifierToChannel ( CPHOBJECT const  hVMIDILinkOut,
CPUINT8 const  bChannel,
CPMODIFIERMSG const *const  pMessageData 
)

Send a modifier message to the specified MIDI channel. This is acting exactly like the Output_SendModifierMessage funtion.

Remarks
If some destination is not yet validated, the method returns CPNS::Enums::ERR_SentToNotYetValidatedDestination. The message delivery is not guaranteed for those destinations.
Parameters
[in]hVMIDILinkOutHandle to the VMIDILink Out local device.
[in]bChannelMIDI channel
[in]pMessageDataPointer to the modifier message data (see CPMODIFIERMSG structure in CLCm_Defines.h)
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.