CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_PIPE_MESSAGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPHOBJECT const hMessage, ObjectTypes const messageType, CPENDPOINT const *const pPeer)

Called on message reception other than Event, Modifier, Text, Selector and MidiSysEx. Actually only Data Transfer Message are handled this way.

Parameters
[in]hPipeHandle to the notified pipe.
[in]dwPipeUserDataThe user data associated to the pipe handle during its creation.
[in]hMessageHandle to the message. This handle is only valid during notification. If application needs to keep this handle it must acquire it with HookedObject_Acquire and release it with HookedObject_Release when it is no longer used.
[in]messageTypeThe message type. See ObjectTypes enumeration in CLC_Enums.h
[in]pPeerPointer to the message's source
Remarks
Data Transfer Message can be manipulated using DataTransferMessage_* functions.
This notification is activated by using Pipe_RegisterNotificationHandler.