nn::friends::CTR::GetLastResponseResult Function

Syntax

Result GetLastResponseResult();

Arguments

None.

Return Values

Returns the result of the asynchronous operation.
Value Description
ResultSuccess Process succeeded.
ResultNotInitialized The friend presence library has not been initialized.
Other Some other result may be returned as a result of factors such as communication status and the daemon's internal state.

Description

Gets the result of the completed asynchronous operation.

When multiple asynchronous processes are running, the acquired result is overwritten with that of the asynchronous process that was last started. When a separate asynchronous process begins before a specific asynchronous process completes, the result for the first asynchronous process cannot be acquired even if it completes before the the latter one completes. In principle, running several asynchronous processes in parallel should be avoided.

Revision History

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

CONFIDENTIAL