CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_CP2MIDI_MIDIMESSAGE)(CPHOBJECT const hLocalDevice, ObjectTypes const deviceType, CPUINT32 const dwDeviceUserData, CPUINT8 const bSize, CPBYTE const *const pData, CPENDPOINT const *const pSource)

Incoming MIDI message notification for CP2Midi, VMIDILinkIn, HybridMidi and VMIDILinkHybrid devices.

Parameters
[in]hLocalDeviceHandle to the notified device.
[in]deviceTypeType of the notified local device. See ObjectTypes
[in]dwDeviceUserDataThe user data associated to the device handle during its creation.
[in]bSizeData length, can be [1, 2, 3, 6]
[in]pDataPointer to data buffer
[in]pSourcePointer to the message's source
Remarks
This notification is activated by using CP2MIDI_RegisterNotificationHandler function for CP2Midi, VMIDILinkIn, HybridMidi and VMIDILinkHybrid devices.