Error codes

The functions in the SDK API can return a variety of error codes to describe problems encountered during execution. This section lists the error codes and provides a brief description of what each error code means. Refer to the documentation for each function for a description of what an error code means in that context.

o UPNP_E_SUCCESS [0]
o UPNP_E_INVALID_HANDLE [-100]
o UPNP_E_INVALID_PARAM [-101]
o UPNP_E_OUTOF_HANDLE [-102]
o UPNP_E_OUTOF_MEMORY [-104]
o UPNP_E_INIT [-105]
o UPNP_E_INVALID_DESC [-107]
o UPNP_E_INVALID_URL [-108]
o UPNP_E_INVALID_SERVICE [-111]
o UPNP_E_BAD_RESPONSE [-113]
o UPNP_E_INVALID_ACTION [-115]
o UPNP_E_FINISH [-116]
o UPNP_E_INIT_FAILED [-117]
o UPNP_E_BAD_HTTPMSG [-119]
o UPNP_E_ALREADY_REGISTERED [-120]
o UPNP_E_NETWORK_ERROR [-200]
o UPNP_E_SOCKET_WRITE [-201]
o UPNP_E_SOCKET_READ [-202]
o UPNP_E_SOCKET_BIND [-203]
o UPNP_E_SOCKET_CONNECT [-204]
o UPNP_E_OUTOF_SOCKET [-205]
o UPNP_E_LISTEN [-206]
o UPNP_E_TIMEDOUT [-207]
o UPNP_E_SOCKET_ERROR [-208]
o UPNP_E_CANCELED [-210]
o UPNP_E_SUBSCRIBE_UNACCEPTED [-301]
o UPNP_E_UNSUBSCRIBE_UNACCAPTED [-302]
o UPNP_E_NOTIFY_UNACCEPTED [-303]
o UPNP_E_INVALID_ARGUMENT [-501]
o UPNP_E_FILE_NOT_FOUND [-502]
o UPNP_E_FILE_READ_ERROR [-503]
o UPNP_E_EXT_NOT_XML [-504]
o UPNP_E_NOT_FOUND [-507]
o UPNP_E_INTERNAL_ERROR [-911]

Alphabetic index



This page was generated with the help of DOC++.