WBT_MpChildSendHook


C Specification

#include <nitro/wbt.h>

int WBT_MpChildSendHook(void *sendbuf, int send_size);

Description

The send buffer stores the data the WBT library child sends by MP communication. Data based on the WBT library protocol is set in the send buffer. Various commands are executed by repeating this during MP transmission.

When data received from any communication destination is requested with WBT_GetBlock, the WBT_CMD_PREPARE_SEND_DATA callback is generated in this call, depending on the settings.

Arguments

sendbuf The child send buffer that MP communicates by the WM_SetMPDataToPort function for WBT.
send_size The sendbuf child packet size allocated for WBT. This value must be larger than WBT_PACKET_SIZE_MIN.

Return Values

Returns the byte size stored by the actual data to send.

See Also

None.

Revision History

09/21/2004 Initial version