# WBT_PutUserData

## C Specification

      #include <nitro/wbt.h>

      BOOL WBT_PutUserData(u16 target, const void *user_data, int size, WBTCallback callback);

## Description

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

## Arguments

`target` | The target AID bitmap that sends data. The target can specify multiple parents or children at once.
`user_data` | The 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` | The send size of the data. Any size less than `WBT_SIZE_USER_DATA` can be specified.
`callback` | The `WBTCallback` type of function that receives notification when the command finishes.

## Return Values

This function issues a command and returns TRUE if no command is currently processing. Otherwise, it does nothing and returns FALSE.

## See Also

`WBT_RequestSync, WBT_GetBlockInfo, WBT_GetBlock`

## Revision History

09/21/2004 Initial version