#include <nnsys/mcs.h>
BOOL NNS_McsWriteStream( u16 channel , const void* data, u32 size);
| channel | Value for identifying a stream. You can specify in the range 0-0x3FFF. 0x4000-0x7FFF is reserved for NITRO-System applications. 0x8000-0xFFFF is reserved for the MCS system. |
| data | Pointer to the buffer storing the data being transmitted. |
| size | Size of the data being transmitted. |
TRUE if the function operates successfully. FALSE if it fails.
This function transmits data. When using the function NNS_McsWriteStream to write the data that exceeds the size that can be sent at once, the function calls will be blocked until the PC reads the written data, and the control will not be returned.
If the device opened with the function NNS_McsOpen is IS-NITRO-UIC, and the MCS server is not connected to the Nintendo DS hardware, this function call will not return control until the MCS server connects to the Nintendo DS hardware. Use the function NNS_McsIsServerConnect to determine whether the MCS server is connected to the Nintendo DS hardware.
NNS_McsReadStream, NNS_McsGetStreamWritableLength, NNS_McsIsServerConnect
01/24/2005 Added description. 11/30/2004 Added description. 10/08/2004 Added a description of the channel argument. 08/26/2004 Changed the argument channel type. 06/01/2004 Initial version.
CONFIDENTIAL