nn::camera::CTR::Initialize Function

Syntax

nn::Result Initialize();

Arguments

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.

Value Description
ResultSuccess Process was successful.
ResultAlreadyInitialized Already initialized.
ResultUsingOtherProcess Unusable because another process has already been initialized.
ResultIsSleeping Unusable because the system's cover is closed.
ResultFatalError There may be something physically wrong with the camera.

Description

Initializes the CAMERA library and makes the cameras available for use.

Note: This function may block for an extended period if a camera is restarting.

Revision History

2010/07/17
Added explanation about operation during restart.
2010/01/07
Initial version.

CONFIDENTIAL