nn::friends::CTR::FriendKeyToFriendCode Function

Syntax

u64 FriendKeyToFriendCode(
     const FriendKey & friendKey
);

Arguments

Name Description
in friendKey Specifies the friend key to convert to a friend code.

Return Values

Returns the friend code corresponding to the specified friend key.

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

Description

Generates a friend code from a friend key.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL