DWC_IsValidAID

Syntax

#include <dwc.h>
BOOL DWC_IsValidAID(u8 aid);

Arguments

aid AID to be checked.

Return Values

TRUE The specified AID is connected to the assigned host.
FALSE The specified AID is not connected to the assigned host.

Description

Checks whether the AID specified by aid is currently connected to the network.

This function always returns FALSE if the local host's own AID has been specified.

The AID is a numeric value between zero and the number of devices making up the network minus one. It is used to identify each host in the group formed by matchmaking. For example, if four people have completed matchmaking, there are four devices: 0, 1, 2, and 3. If the person with AID = 1 leaves the network, the remaining devices are 0, 2, and 3.

Revision History

5.1 PR2
Added that FALSE is always returned when the local host's AID has been specified.

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL