nn::friends::CTR::GetMyMii Function

Syntax

Result GetMyMii(
     MiiData * pMiiData
);

Parameters

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

This function gets an empty Mii data file if the user has not configured a Personal Mii with Mii Maker. In this case the function still returns success.

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

Revision History

2011/03/11
Noted that the function still returns success even if an empty Mii is returned.
Added specific examples of return values.
2010/08/16
Initial version.

CONFIDENTIAL