DWC_GetMyAID

C Specification


#include <dwc.h>

u8   DWC_GetMyAID( void );

				

Description

Obtains own AID.

AID is a device ID between 0 and the number of devices making up the network minus 1, that identifies each DS in the mesh type network. For example, if four people have completed matchmaking, there are four devices: 0, 1, 2, and 3. If the person whose device uses AID 1 leaves the network, the remaining devices will be 0, 2, and 3.
For server-client matchmaking, the AID for the server DS will always be 0.

Arguments

None.

Return Values

Own AID. If this function is called when the FriendsMatch Library is not running, a 0 will be returned.

See Also

DWC_GetAIDList

Revision History

02/22/2006 Added description of AID during server-client matchmaking.
01/31/2006 Devised the Return Values section with information on the FriendsMatch Library.
12/16/2005 Added AID and return value descriptions.
07/22/2005 Initial version.