PNRP NSP Error Codes

If the Namespace Provider (NSP) function returns a SOCKET_ERROR, WSAGetLastError must be used to obtain more error information. The PNRP NSP returns the following error codes:

Term Description
WSA_E_CANCELLED
An operation is canceled.
WSA_E_NO_MORE
The results of a resolved request are not ready. This may not be an error.
WSA_IO_PENDING
An operation is not complete.
WSA_NOT_ENOUGH_MEMORY
There is not enough memory to complete a specified action.
WSA_OPERATION_ABORTED
An operation is canceled.
WSA_PNRP_CLOUD_DISABLED
A specified cloud name is disabled.
WSA_PNRP_CLOUD_NOT_FOUND
A specified cloud name is not available.
WSA_PNRP_CLOUD_IS_SEARCH_ONLY
An attempt has been made to register a name in a cloud that has been configured to be resolve only.
WSA_PNRP_CLIENT_INVALID_COMPARTMENT_ID
Using PNRP in a compartment outside of the default. PNRP will only work in the default compartment.
WSA_PNRP_INVALID_IDENTITY
A specified identity cannot be accessed.
WSA_PNRP_TOO_MUCH_LOAD
A peer name cannot be created because the computer does not have the resources to process the request.
WSAEFAULT
A operation is not allowed in the current state.
WSAEINVAL
An invalid parameter or combination of parameters is specified.
WSAENETUNREACH
A connection to the network is lost.
WSAENOTIMPLEMENTED
A specified functionality is not implemented by PNRP.
WSAEOPNOTSUPP
A specified functionality is not supported by PNRP.
WSAEWOULDBLOCK
An operation is not complete.
WSASERVICE_NOT_FOUND
A specified provider, namespace, or service ID are not supported.
WSASYSNOTREADY
The service is not started.