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 size of the data is stored.
in attr Reception attribute.
When ATTRIBUTE_NONE is specified, this function gets only the size that is writable to the CTR-side buffer.
When ATTRIBUTE_IN_PC is specified, this function gets the sum of the sizes that are writable to both the CTR-side and PC-side buffers.

Return Values

Returns the result of the operation.

Description

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

Revision History

2010/11/10
Initial version.

CONFIDENTIAL