# NNS_McsGetServerErrorCode

## Syntax

      #include <nnsys/mcs.h>

      u32 NNS_McsGetServerErrorCode(NNSMcsFile* pFile);

## Arguments

pFile | Pointer to the file information structure

## Return Values

Returns the error code of a file operation-based error that occurred on that mcs server side.

## Description

Gets the MCS server-side error code when the return value after calling the MCS library file input/output functions or the directory search functions is `NNS_MCS_FILEIO_ERROR_SERVERERROR`. This error code is a Win32 system error code.

## See Also

`NNS_McsOpenFile`

## Revision History

2004/12/24 Initial version.

CONFIDENTIAL