nn::friends::CTR::GetMyScreenName Function

Syntax

Result GetMyScreenName(
     char16 screenName[SCREEN_NAME_SIZE]
);

Arguments

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
ResultSuccess Process succeeded.
ResultInvalidPointer An invalid pointer was passed in as an argument.
ResultNotInitialized The friend presence library has not been initialized.
Other Some other result may be returned as a result of factors such as the daemon's internal state.

Description

Obtains the user's own screen name.

This function gets an empty screen name if the user has not configured a Personal Mii in Mii Maker. Even in this case, the function itself returns a value indicating success.

Revision History

2011/03/11
Noted that this function returns a value indicating success even when it returns an empty screen name.
Added specific examples of return values.
2010/11/10
Initial version.

CONFIDENTIAL