# WBT_PutUserData

## Syntax

  `#include <nitro/wbt.h>`
  `BOOL WBT_PutUserData(u16 target, const void *user_data, int size, WBTCallback callback);`

## Arguments

`target` | Target AID bitmap that sends data. When child, only parent `1` can be specified.
`user_data` | Buffer where send data is stored. This buffer is copied to separate memory during the function call, so you can use it freely after this function.
`size` | Send size of the data. Any size less than `WBT_SIZE_USER_DATA` can be specified.
`callback` | `WBTCallback` format function that receives notifications when commands are completed. This callback is called from within the `WBT_MpParentRecvHook` or WBT_MpChildRecvHook function.

## Return Values

If no command is currently processing, the function issues a command and returns `TRUE`. Otherwise, the function does nothing and returns `FALSE`.

## Description

Sends an arbitrary small-scale data block to the specified target device.
The call fails if a command is still processing.

## See Also

`WBT_RequestSync`
`WBT_GetBlockInfo`
`WBT_GetBlock`

## Revision History

2006/03/13 Revised description of target argument.
2005/06/01 Added text indicating that the callback is called from the `WBT_MpParentRecvHook` or `WBT_MpChildRecvHook` function.
2004/09/31 Initial version.

CONFIDENTIAL