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

Description

Connects to the CEC daemon. This must be called first to allow access to a CEC message box.

This function allocates the memory needed for the CEC library to process message data. The memory amount is equal to roughly twice the maximum message data size.


CONFIDENTIAL