NWC24CheckUserIdRegion

Syntax

#include <revolution/nwc24.h>
NWC24Err NWC24CheckUserIdRegion( NWC24UserId userId );

Description

Checks whether the user ID (Wii number) specified by userId is valid and belongs to a Wii console in the same region as the local Wii console.

Apart from determining the region, this function behaves identically to NWC24CheckUserId.

Arguments

userId User ID to be checked for validity.

Return Values

NWC24_OK: The user ID is valid (userId is a valid user ID and belongs to a Wii console in the same region).
NWC24_ERR_ID_GENERATED: The userId value matches the local console's own ID.
NWC24_ERR_PROTECTED: Even though the userId is valid, communication is not possible (this error will be returned if a retail Wii console's ID is checked on a development console).
NWC24_ERR_ID_CRC: CRC error (CRC of the userId is wrong).
NWC24_ERR_OTHER_REGION: userId belongs to a Wii console in a different region.

See Also

NWC24CheckUserId

Revision History

2008/04/30 Initial version.


CONFIDENTIAL