Initialize

nn::cec::CTR::Initialize Function

Syntax

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

nn::Result Initialize();

List of Overloaded Member Functions

Initialize(nn::fnd::IAllocator &) Connects to the CEC daemon. This must be called first to all access to the CEC functions.
Initialize() Connects to the CEC daemon. This must be called first in order to use CEC features.
Note: The version of Initialize that does not specify an allocator as an argument will be deprecated.

Description of Initialize(nn::fnd::IAllocator &)

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.

Description of Initialize

Initializing with the version of Initialize that does not specify an allocator results in no memory being allocated for the library, and does not allow box access.
Initialize instead by using Initialize(nn::fnd::IAllocator& cecAllocFunc).


CONFIDENTIAL