nn::friends::CTR::ResultToErrorCode Function

Syntax

u32 ResultToErrorCode(
     const Result & result
);

Arguments

Name Description
in result Specifies a result obtained from a friend presence library API.

Return Values

Returns the error code corresponding to the specified result. Returns 0 for results that either do not need to display an error code or that are from functions not in the FRIENDS library.

Description

Gets an error code from a friend presence library function result.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL