#include <dwc.h>
DWCError DWC_GetLastError(int *errorCode);| errorCode | Pointer to the error code storage location. If the error code is not required, specify NULL. |
Description | Corresponding error handling type | |
DWC_ERROR_NONE | No error. | DWC_ETYPE_NO_ERROR |
DWC_ERROR_FRIENDS_SHORTAGE | Tried to begin matchmaking by specifying friends without enough valid friends for the specified number. | DWC_ETYPE_LIGHT |
DWC_ERROR_NOT_FRIEND_SERVER | With 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_BLOCK | The server denied client connection during server-client matchmaking. | DWC_ETYPE_LIGHT |
DWC_ERROR_SERVER_FULL | The server-client matchmaking server DS has exceeded the maximum number of participants. | DWC_ETYPE_LIGHT |
DWC_ERROR_SVL_ANY | Some other error occured while service locator information is being obtained. | DWC_ETYPE_SHOW_ERROR |
DWC_ERROR_PROF_ANY | Some other error by the Illegal Character String Check library | DWC_ETYPE_SHOW_ERROR |
DWC_ERROR_GDB_ANY | GDB library error. Normally does not occur with DWC. | DWC_ETYPE_SHOW_ERROR |
DWC_ERROR_NETWORK | Other network error. | DWC_ETYPE_SHUTDOWN_FM |
DWC_ERROR_GHTTP_ANY | HTTP communications (GameSpy HTTP) error. | DWC_ETYPE_SHUTDOWN_GHTTP |
DWC_ERROR_ND_ANY | Some other error by the download library. | DWC_ETYPE_SHUTDOWN_ND |
DWC_ERROR_AUTH_ANY | Authentication-related error. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_AUTH_OUT_OF_SERVICE | Service terminated. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_AUTH_STOP_SERVICE | Service being halted temporarily. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_AC_ANY | Error related to automatic connection. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_DISCONNECTED | Disconnected. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_ND_HTTP | Download library HTTP communications error. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_SVL_HTTP | HTTP communications error occured while service locator information is being obtained. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_PROF_HTTP | HTTP communications error by the Illegal Character String Check library. | DWC_ETYPE_DISCONNECT |
DWC_ERROR_DS_MEMORY_ANY | Error related to system save data. | DWC_ETYPE_FATAL |
DWC_ERROR_FATAL | Fatal error. | DWC_ETYPE_FATAL |
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.
DWC_ClearError
DWC_ShutdownFriendsMatch
DWC_NdCleanupAsync
DWC_GetLastErrorEx
DWC_ERROR_NETWORK_LIGHT to the description of return values.For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL