WBT_MpChildRecvHook

C Specification

#include <nitro/wbt.h>

void WBT_MpChildRecvHook(const void *recv_buf, int recv_size);

Arguments

recv_buf The child receive buffer that MP communicates by the WM_SetMPDataToPort function for WBT.
recv_size The size of recv_buf.

Return Values

None.

Description

Notifies the WBT library of data that the WBT library child received by MP communication. Data based on the WBT library protocol is extracted from the receive buffer. Various commands are executed by repeating this function during MP communication.
Note: This function merely processes data based on the WBT protocol.
Call this function inside the MP data receive callback that is specified by WM_SetPortCallback, etc.j

The completion callback generates in this call when any command is executed. Also, the WBT_CMD_SYSTEM_CALLBACK callback may occur in this call when any command is received from a communication destination.

See Also


Revision History

03/14/2005 Corrected link destination error.
02/18/2005 Added cautionary notes about the relationship with the WM library
09/21/2004 Initial version