# WM_GetSharedDataAddress

## C Specification

      #include <nitro/wm.h>

      u16* WM_GetSharedDataAddress(
              WMDataSharingInfo*  dsInfo ,
              WMDataSet*          receiveData ,
              u16                 aid );

## Description

This function extracts each terminal's data from within the data structure that is obtained by data sharing. This function returns a value of NULL if the extraction process fails.

## Arguments

`dsInfo` | Specifies the pointer to the `WMDataSharingInfo*` data sharing information structure. The `dsInfo` argument must first be initialized using the `WM_StartDataSharing` function.
`receiveData` | Specifies the pointer to the received data that is the source of extracted data. The `receiveData` argument must first be initialized using the `WM_StepDataSharing` function.
`aid` | Specifies the AID terminal that extracts the data.

## Return Values

Returns the address for data that is received from the specified terminal. Returns a value of NULL if no data is received from the specified terminal.

## See Also

`WM_StartDataSharing`, `WM_StepDataSharing`

## Revision History

08/11/2004 Initial version