nn::camera::CTR::Initialize Function

Syntax

nn::Result Initialize();

Parameters

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Process was successful.
ResultAlreadyInitialized Already initialized.
ResultUsingOtherProcess Cannot be used because another process is currently being used.
ResultIsSleeping This function is unusable because the system 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