nn::gd::CTR::System::SetCallbackFunctionError Member Function

Syntax

static void SetCallbackFunctionError(
     gdCallbackfunctionErrorPtr callbackFunctionError
);

Parameters

Name Description
in callbackFunctionError Specifies the callback function to be called if an error occurs.

Return Values

None.

Description

Sets the callback function.

The definition of gdCallbackfunctionErrorPtr is as shown below.

typedef void (*gdCallbackfunctionErrorPtr)(nnResult result, const char* functionName);
NameDescription
outresultErrors from the gd function are passed.
infunctionNameIn the debug mode or development mode, this specifies the pointer that stores the gd function that generated the error. In the release mode, specifies a null.

Revision History

2012/08/08
Added a description of the gdCallbackfunctionErrorPtr.
2011/02/17
Initial version.

CONFIDENTIAL