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
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

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