nn::friends::CTR::GetMyPreference Function

Syntax

Result GetMyPreference(
     bool * pIsPublicMode,
     bool * pIsShowGameName
);

Parameters

Name Description
out pIsPublicMode Specifies a pointer to a buffer that stores whether friends are notified of the user's online status.
out pIsShowGameName Specifies a pointer to a buffer that stores whether friends are notified of the software that the user is playing.

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

Gets values that indicate how much personal information is disclosed.

Revision History

2011/09/07
Deleted the pIsShowPlayedGame argument.
Adjusted argument descriptions.
2011/03/11
Added specific examples of return values.
2010/08/16
Initial version.

CONFIDENTIAL