#include <nitro/wbt.h>
int WBT_MpParentSendHook(void *sendbuf, int send_size);
sendbuf | The parent send buffer that MP communicates by the WM_SetMPDataToPort function for WBT. |
Note: This function merely stores data in the buffer. |
Returns the byte size stored by the actual data to send.
Stores in the send buffer the data the WBT library parent sends by MP communication. Data based on the WBT library protocol is set in the send buffer. Various commands are executed by repeating this function during the MP transmission. Note: This function merely stores data in the buffer. Afterwards, send the buffer using WM_SetMPDataToPort
, etc.j
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).
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