Initialize

nn::cec::CTR::Initialize Function

Syntax

nn::Result Initialize(
     nn::fnd::IAllocator & cecAllocFunc
);

Arguments

Name Description
in cecAllocFunc Specifies an allocator for use by the CEC library.

Return Values

nn::Result

Value Description
Result::IsSuccess Process succeeded.
A value other than the above. Process failed.

Description

Connects to the CEC daemon. This must be called first to all access to the CEC functions.

This performs allocation when using the MessageBox class.
This function allocates the memory needed to process message data. As a guideline, memory about 20 to 40KB larger than the maximum Message size (<= 100KB) used by applications is simultaneously used.


CONFIDENTIAL