nn::friends::CTR::GetMyFriendKey Function

Syntax

Result GetMyFriendKey(
     FriendKey * pFriendKey
);

Arguments

Name Description
out pFriendKey Specifies a pointer to a structure that stores the friend key.

Return Values

Returns the result of the operation.

Description

Gets the local host's friend key.

The value of the principal ID is nn::friends::CTR::INVALID_PRINCIPAL_ID if the library is uninitialized or if the local host has never connected to any server. The value of the local friend code is nn::friends::CTR::INVALID_LOCAL_FRIEND_CODE if the library is uninitialized.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL