nn::y2r::CTR::Initialize Function

Syntax

bool Initialize();

Parameters

None.

Return Values

Returns true on success; otherwise, returns false on failure due to being in use by another process.

Description

Initializes the Y2R library.

You must call this function before calling any of the functions in the nn::y2r::CTR namespace.

This function may return FALSE for a short while, immediately after the nn::y2r::CTR::Finalize function is called. If this happens, insert a small wait time of about 1 millisecond, and call this function again.

Revision History

2012/01/23
Added the fact that this function may return false for a short time after the nn::y2r::CTR::Finalize function has been called.
2011/12/19
Noted that false is not returned as a return value.
2011/01/14
Added explanation that the function can return false.
2010/01/07
Initial version.

CONFIDENTIAL