NNS_McsCloseFind

Syntax

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

Arguments

pFile Pointer to the file information structure.

Return Values

0 if the function succeeds. A non-zero value otherwise. The return value is one of the following:

Description

Ends the search started by NNS_McsFindFirstFile().

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_McsFindFirstFile, NNS_McsFindNextFile

Revision History

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


CONFIDENTIAL