nn::friends::CTR::ResultToErrorCode Function

Syntax

u32 ResultToErrorCode(
     Result & result
);

Arguments

Name Description
in result Specifies a result obtained from a FRIENDS library function.

Return Values

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

Description

Gets an error code from a FRIENDS library function result.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL