nn::friends::CTR::FriendCodeToPrincipalId Function

Syntax

PrincipalId FriendCodeToPrincipalId(
     u64 friendCode
);

Arguments

Name Description
in friendCode Specifies the friend code to convert to a principal ID.

Return Values

Returns the principal ID corresponding to the specified friend code.

Returns nn::friends::CTR::INVALID_PRINCIPAL_ID if the library is uninitialized or if an invalid friend code was passed.

Description

Gets the principal ID from a friend code.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL