nn::friends::CTR::GetLastResponseResult Function

Syntax

Result GetLastResponseResult();

Parameters

None.

Return Values

Returns the result of the asynchronous operation.

Value Description
Result::IsSuccess Process succeeded.
ResultNotInitialized The friend presence library is not initialized.
Other Another result may be returned, depending on the internal state of the daemon, communication state, and other factors.

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