NNS_McsCloseFile

Syntax

#include <nnsys/mcs.h>
u32 NNS_McsCloseFile(NNSMcsFile* pFile);

Arguments

pFile Pointer to the file information structure.

Return Values

An error occurred with the file operation on the MCS server. The return value is one of the following:

Description

Closes an open file on the PC.

The return value takes one of the following values.

NNS_MCS_FILEIO_ERROR_SUCCESS (0) The function was successful.
NNS_MCS_FILEIO_ERROR_COMERROR A communications error occurred.
NNS_MCS_FILEIO_ERROR_NOTCONNECT Not connected to the mcs server.
NNS_MCS_FILEIO_ERROR_SERVERERROR A error has occurred due to a file operation on the mcs server side. The error code is a Win32 system error code that can be obtained using the NNS_McsGetServerErrorCode function.

See Also

NNS_McsOpenFile

Revision History

2005/01/24 Added description regarding error codes.
2004/07/01 Initial version.


CONFIDENTIAL