nn::friends::CTR::GetApproachContextScreenName FunctionResult GetApproachContextScreenName( char16 screenName[SCREEN_NAME_SIZE], const ApproachContext & approachContext, bool replaceForeignCharacters = true, u8 * pFontRegion = NULL );
| Name | Description | |
|---|---|---|
| out | screenName[SCREEN_NAME_SIZE] | Specifies a pointer to a buffer that stores acquired screen names. |
| in | approachContext | Specifies the approach context of the user for which to get the display name. |
| in | replaceForeignCharacters | Specifies whether to convert non-ASCII characters to ? when the local host's font region differs from the one for the display name included in the approach context. |
| pFontRegion | ||
| in | pFontRegionList | Specifies a pointer to a buffer that stores the font region of the display name included in the approach context. Specify NULL if not needed. |
| Value | Description |
|---|---|
Result::IsSuccess |
Process succeeded. |
ResultInvalidPointer |
Invalid pointer passed as argument. |
ResultNotInitialized |
The friend presence library is not initialized. |
ResultInvalidArgument |
Approach context decryption failed. |
| Other | Another result may be returned, depending on the internal state of the daemon and other factors. |
Gets the user's display name included in the approach context.
CONFIDENTIAL