# WMDataSet

## Definitions

  `#include <nitro/wm.h>`

      typedef struct WMDataSet
      {
      u16 aidBitmap;
      u16 receivedBitmap;
      u16 data[WM_DS_DATA_SIZE/sizeof(u16)];

      } WMDataSet;

## Elements

aidBitmap | The AID bitmap of device performing data sharing. Determines the data structure of `data`.
receivedBitmap | The bitmap of AID with valid data in `data`. For unconnected children, the bit is 0.
data | The shared data array. The shared data of aidBitmap-enabled device is packed in order from low AID of each shared size. The shared size is not held in `WMDataSet`, so you need to get it separately when dividing.

## Description

This is the structure showing the shared data obtained with the data sharing function of WM. In general, access this structure with the `WM_GetSharedDataAddress` function.

## Revision History

09/21/2004 Initial version