GetMyScreenName

nn::friends::CTR::GetMyScreenName Function

Syntax

Result GetMyScreenName(
     char16 screenName[SCREEN_NAME_SIZE]
);

Parameters

Name Description
out screenName[SCREEN_NAME_SIZE] Specifies the buffer that stores own's own screen name.

Return Values

Returns the result of the operation.

Value Description
Result::IsSuccess Process succeeded.
ResultInvalidPointer Invalid pointer passed as argument.
ResultNotInitialized The friend presence library is not initialized.
Other Another result may be returned, depending on the internal state of the daemon and other factors.

Description

Obtains the user's own screen name.

This function retrieves an empty display name if the user has not configured a Personal Mii in Mii Maker. The function still returns success in this case.

Revision History

2011/03/11
Noted that the function will still return success even if an empty display name is returned.
Added specific examples of return values.
2010/11/10
Initial version.

CONFIDENTIAL