nn::friends::CTR::GetMyMii Function

Syntax

Result GetMyMii(
     MiiData * pMiiData
);

Arguments

Name Description
out pMiiData Specifies a pointer to a structure storing the local host's Mii data.

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 user's own Mii data.

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

To use the acquired Mii data, the separate "Mii Library" is required.

Revision History

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

CONFIDENTIAL