nn::dsp::CTR::ReadPipeIfPossible Function

Syntax

nn::Result ReadPipeIfPossible(
     int port,
     void * buffer,
     u16 length,
     u16 * pLengthRead
);

Arguments

Name Description
in port Port number.
in buffer Address of the buffer into which to load data.
in length Length of the data to load.
out pLengthRead Location at which to store the length of data that was actually loaded.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultNotInitialized The library is not initialized.

Description

Reads data from a DSP pipe.

Revision History

2010/02/02
Initial version.

CONFIDENTIAL