nn::friends::CTR::GetMyPreference Function

Syntax

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

Arguments

Name Description
out pIsPublicMode Specifies a pointer to a buffer storing the public mode.
out pIsShowGameName Specifies a pointer to a buffer storing whether to disclose what game the local user is currently playing.
out pIsShowPlayedGame Specifies a pointer to a buffer storing whether to disclose the local user's game history.

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 the disclosure level of the local host's information.

Revision History

2011/03/11
Added specific examples of return values.
2010/08/16
Initial version.

CONFIDENTIAL