DWC_GetLastError

Syntax

#include <dwc.h>
DWCError DWC_GetLastError(int *errorCode);

Arguments

errorCode Pointer to the error code storage location. If the error code is not required, specify NULL.

Return Values

Description
Corresponding error handling type
DWC_ERROR_NONENo error.DWC_ETYPE_NO_ERROR
DWC_ERROR_FRIENDS_SHORTAGETried to begin matchmaking by specifying friends without enough valid friends for the specified number.DWC_ETYPE_LIGHT
DWC_ERROR_NOT_FRIEND_SERVERWith server-client matchmaking, either the friends specified in the server DS are not mutual friends or the server is down.DWC_ETYPE_LIGHT
DWC_ERROR_SC_CONNECT_BLOCKThe server denied client connection during server-client matchmaking.DWC_ETYPE_LIGHT
DWC_ERROR_SERVER_FULLThe server-client matchmaking server DS has exceeded the maximum number of participants.DWC_ETYPE_LIGHT
DWC_ERROR_SVL_ANYSome other error occured while service locator information is being obtained. DWC_ETYPE_SHOW_ERROR
DWC_ERROR_PROF_ANYSome other error by the Illegal Character String Check libraryDWC_ETYPE_SHOW_ERROR
DWC_ERROR_GDB_ANYGDB library error. Normally does not occur with DWC.DWC_ETYPE_SHOW_ERROR
DWC_ERROR_NETWORKOther network error.DWC_ETYPE_SHUTDOWN_FM
DWC_ERROR_GHTTP_ANYHTTP communications (GameSpy HTTP) error.DWC_ETYPE_SHUTDOWN_GHTTP
DWC_ERROR_ND_ANYSome other error by the download library.DWC_ETYPE_SHUTDOWN_ND
DWC_ERROR_AUTH_ANYAuthentication-related error.DWC_ETYPE_DISCONNECT
DWC_ERROR_AUTH_OUT_OF_SERVICEService terminated.DWC_ETYPE_DISCONNECT
DWC_ERROR_AUTH_STOP_SERVICEService being halted temporarily.DWC_ETYPE_DISCONNECT
DWC_ERROR_AC_ANYError related to automatic connection.DWC_ETYPE_DISCONNECT
DWC_ERROR_DISCONNECTEDDisconnected.DWC_ETYPE_DISCONNECT
DWC_ERROR_ND_HTTPDownload library HTTP communications error.DWC_ETYPE_DISCONNECT
DWC_ERROR_SVL_HTTPHTTP communications error occured while service locator information is being obtained.DWC_ETYPE_DISCONNECT
DWC_ERROR_PROF_HTTPHTTP communications error by the Illegal Character String Check library.DWC_ETYPE_DISCONNECT
DWC_ERROR_DS_MEMORY_ANYError related to system save data.DWC_ETYPE_FATAL
DWC_ERROR_FATALFatal error.DWC_ETYPE_FATAL

Description

Gets the most recent communication error classification. This function does not include the capability of getting the error processing type from the DWC_GetLastErrorEx function.
We recommend that you use the DWC_GetLastErrorEx function, which can also get the error processing type (DWCErrorType) at the same time.

See Also

DWC_ClearError
DWC_ShutdownFriendsMatch
DWC_NdCleanupAsync
DWC_GetLastErrorEx

Revision History

5.1 PR2
Added DWC_ERROR_NETWORK_LIGHT to the description of return values.

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL