# WXC_RegisterCommonData

## Syntax

  `#include <nitro/wxc.h>`
  `void WXC_RegisterCommonData(u32 ggid, WXCCallback callback, u8 *send_ptr, u32 send_size, u8 *recv_ptr, u32 recv_size);`

## Arguments

ggid | GGID of the data to register.
callback | User callback function. It is invoked when the data exchange is complete.
send_ptr | Pointer to the data to register.
send_size | Size of the data to register.
recv_ptr | Pointer to the receive buffer.
recv_size | Size of the receive buffer.

## Return Values

None.

## Description

Registers data to be exchanged. You can use the `WXC_SetInitialData` function to reconfigure the data set by this function.

## See Also

`WXC_SetInitialData`

## Revision History

2009/04/21 Initial version.

CONFIDENTIAL