nn::hio::CTR::SerialChannel::GetWritableSize Member Function

Syntax

#include <nn/hio.h>

Result GetWritableSize(
     size_t * pSize,
     bit32 attr = ATTRIBUTE_NONE
);

Arguments

Name Description
out pSize Location where the data size is stored.
in attr Receive attribute.
When ATTRIBUTE_NONE is specified, gets the writable size to the buffer in the CTR.
When ATTRIBUTE_IN_PC is specified, gets the sum of the writable sizes to the buffers in the CTR and the PC.

Return Values

Returns the result of the operation.

Description

Gets the size that can be written to the buffer(s) and returns the result of the operation.


CONFIDENTIAL