RPC functions can return the following Win32 error codes:
| Manifest | Description | 
|---|---|
| EPT_S_CANT_CREATE | The endpoint-map database cannot be created. | 
| EPT_S_CANT_PERFORM_OP | The operation cannot be performed. | 
| EPT_S_INVALID_ENTRY | The entry is invalid. | 
| EPT_S_NOT_REGISTERED | There are no more endpoints available from the endpoint-map database. | 
| RPC_S_ACCESS_DENIED | The user does not have sufficient privilege to complete the operation. | 
| RPC_S_ADDRESS_ERROR | An addressing error has occurred on the server. | 
| RPC_S_ALREADY_LISTENING | The server is already listening. | 
| RPC_S_ALREADY_REGISTERED | The object UUID has already been registered. | 
| RPC_S_BINDING_HAS_NO_AUTH | The binding does not contain any authentication information. | 
| RPC_S_BINDING_INCOMPLETE | The binding handle is a required parameter. | 
| RPC_S_BUFFER_TOO_SMALL | The buffer used to transmit data is too small. | 
| RPC_S_CALL_CANCELLED | The remote procedure call exceeded the cancel timeout and was cancelled. | 
| RPC_S_CALL_FAILED | The remote procedure call failed. | 
| RPC_S_CALL_FAILED_DNE | The remote procedure call failed and did not execute. | 
| RPC_S_CALL_IN_PROGRESS | A remote procedure call is already in progress for this thread. | 
| RPC_S_CANNOT_SUPPORT | The requested operation is not supported. | 
| RPC_S_CANT_CREATE_ENDPOINT | The endpoint cannot be created. | 
| RPC_S_COMM_FAILURE | Unable to communicate with the server. | 
| RPC_S_DUPLICATE_ENDPOINT | The endpoint is a duplicate. | 
| RPC_S_ENTRY_ALREADY_EXISTS | The entry already exists. | 
| RPC_S_ENTRY_NOT_FOUND | The entry is not found. | 
| RPC_S_FP_DIV_ZERO | A floating-point operation at the server has caused a divide by zero. | 
| RPC_S_FP_OVERFLOW | A floating-point overflow has occurred at the server. | 
| RPC_S_FP_UNDERFLOW | A floating-point underflow occurred at the server. | 
| RPC_S_GROUP_MEMBER_NOT_FOUND | The group member has not been found. | 
| RPC_S_INCOMPLETE_NAME | The entry name is incomplete. | 
| RPC_S_INTERFACE_NOT_FOUND | The interface has not been found. | 
| RPC_S_INTERNAL_ERROR | An internal error has occurred in a remote procedure call. | 
| RPC_S_INVALID_ARG | The specified argument is not valid. | 
| RPC_S_INVALID_AUTH_IDENTITY | The security context is invalid. | 
| RPC_S_INVALID_BINDING | The binding handle is invalid. | 
| RPC_S_INVALID_BOUND | The array bounds are invalid. | 
| RPC_S_INVALID_ENDPOINT_FORMAT | The endpoint format is invalid. | 
| RPC_S_INVALID_LEVEL | The level parameter is invalid. | 
| RPC_S_INVALID_NAF_ID | The network-address family is invalid. | 
| RPC_S_INVALID_NAME_SYNTAX | The name syntax is invalid. | 
| RPC_S_INVALID_NET_ADDR | The network address is invalid. | 
| RPC_S_INVALID_NETWORK_OPTIONS | The network options are invalid. | 
| RPC_S_INVALID_OBJECT | The object is invalid. | 
| RPC_S_INVALID_RPC_PROTSEQ | The RPC protocol sequence is invalid. | 
| RPC_S_INVALID_SECURITY_DESC | The security descriptor is not in the valid format. | 
| RPC_S_INVALID_STRING_BINDING | The string binding is invalid. | 
| RPC_S_INVALID_STRING_UUID | The string UUID is invalid. | 
| RPC_S_INVALID_TAG | The discriminant value does not match any of the case values. There is no default case. | 
| RPC_S_INVALID_TIMEOUT | The timeout value is invalid. | 
| RPC_S_INVALID_VERS_OPTION | The version option is invalid. | 
| RPC_S_MAX_CALLS_TOO_SMALL | The maximum number of calls is too small. | 
| RPC_S_NAME_SERVICE_UNAVAILABLE | The name service is unavailable. | 
| RPC_S_NO_BINDINGS | There are no bindings. | 
| RPC_S_NO_CALL_ACTIVE | There is no remote procedure call active in this thread. | 
| RPC_S_NO_CONTEXT_AVAILABLE | No security context is available to allow impersonation. | 
| RPC_S_NO_ENDPOINT_FOUND | No endpoint has been found. | 
| RPC_S_NO_ENTRY_NAME | The binding does not contain an entry name. | 
| RPC_S_NO_ENV_SETUP | No environment variable is set up. | 
| RPC_S_NO_INTERFACES | No interfaces are registered. | 
| RPC_S_NO_INTERFACES_EXPORTED | No interfaces have been exported. | 
| RPC_S_NO_MORE_BINDINGS | There are no more bindings. | 
| RPC_S_NO_MORE_ELEMENTS | There are no more elements. | 
| RPC_S_NO_MORE_MEMBERS | There are no more members. | 
| RPC_S_NO_NS_PRIVILEGE | There is no privilege for a name-service operation. | 
| RPC_S_NO_PRINC_NAME | No principal name is registered. | 
| RPC_S_NO_PROTSEQS | There are no protocol sequences. | 
| RPC_S_NO_PROTSEQS_REGISTERED | No protocol sequences have been registered. | 
| RPC_S_NOT_ALL_OBJS_UNEXPORTED | Not all objects are unexported. | 
| RPC_S_NOT_CANCELLED | The thread is not cancelled. | 
| RPC_S_NOT_LISTENING | The server is not listening. | 
| RPC_S_NOT_RPC_ERROR | The status code requested is not valid. | 
| RPC_S_NOTHING_TO_EXPORT | There is nothing to export. | 
| RPC_S_OBJECT_NOT_FOUND | The object UUID has not been found. | 
| RPC_S_OK | The call has completed successfully. | 
| RPC_S_OUT_OF_MEMORY | The needed memory is not available. | 
| RPC_S_OUT_OF_RESOURCES | Not enough resources are available to complete this operation. | 
| RPC_S_OUT_OF_THREADS | The RPC run-time library was not able to create another thread. | 
| RPC_S_PROCNUM_OUT_OF_RANGE | The procedure number is out of range. | 
| RPC_S_PROTOCOL_ERROR | An RPC protocol error has occurred. | 
| RPC_S_PROTSEQ_NOT_FOUND | The RPC protocol sequence has not been found. | 
| RPC_S_PROTSEQ_NOT_SUPPORTED | The RPC protocol sequence is not supported. | 
| RPC_S_SEC_PKG_ERROR | There is an error with the security package. | 
| RPC_S_SERVER_NOT_LISTENING | The server is not listening for remote procedure calls. | 
| RPC_S_SERVER_OUT_OF_MEMORY | The server has insufficient memory to complete this operation. | 
| RPC_S_SERVER_TOO_BUSY | The server is too busy to complete this operation. | 
| RPC_S_SERVER_UNAVAILABLE | The server is unavailable. | 
| RPC_S_STRING_TOO_LONG | The string is too long. | 
| RPC_S_TYPE_ALREADY_REGISTERED | The type UUID has already been registered. | 
| RPC_S_UNKNOWN_AUTHN_LEVEL | The authentication level is unknown. | 
| RPC_S_UNKNOWN_AUTHN_SERVICE | The authentication service is unknown. | 
| RPC_S_UNKNOWN_AUTHN_TYPE | The authentication type is unknown. | 
| RPC_S_UNKNOWN_AUTHZ_SERVICE | The authorization service is unknown. | 
| RPC_S_UNKNOWN_IF | The interface is unknown. | 
| RPC_S_UNKNOWN_MGR_TYPE | The manager type is unknown. | 
| RPC_S_UNSUPPORTED_AUTHN_LEVEL | The authentication level is not supported. | 
| RPC_S_UNSUPPORTED_NAME_SYNTAX | The name syntax is not supported. | 
| RPC_S_UNSUPPORTED_TRANS_SYN | The transfer syntax is not supported by the server. | 
| RPC_S_UNSUPPORTED_TYPE | The type UUID is not supported. | 
| RPC_S_UUID_LOCAL_ONLY | The UUID that is only valid for this computer has been allocated. | 
| RPC_S_UUID_NO_ADDRESS | No network address is available for constructing a UUID. | 
| RPC_S_WRONG_KIND_OF_BINDING | The binding handle is not the correct type. | 
| RPC_S_ZERO_DIVIDE | The server has attempted an integer divide by zero. | 
| RPC_X_BAD_STUB_DATA | The stub has received bad data. | 
| RPC_X_BYTE_COUNT_TOO_SMAL | The byte count is too small. | 
| RPC_X_ENUM_VALUE_OUT_OF_RANGE | The enumeration value is out of range. | 
| RPC_X_ENUM_VALUE_TOO_LARGE | The enumeration constant must be less than 65535. | 
| RPC_X_INVALID_BOUND | The specified bounds of an array are inconsistent. | 
| RPC_X_INVALID_TAG | The discriminant value does not match any of the case values. There is no default case. | 
| RPC_X_NO_MEMORY | Insufficient memory is available. | 
| RPC_X_NO_MORE_ENTRIES | The list of servers available for the auto_handle binding has been exhausted. | 
| RPC_X_NULL_REF_POINTER | A null reference pointer has been passed to the stub. | 
| RPC_X_SS_BAD_ES_VERSION | The operation for the serializing handle is not valid. | 
| RPC_X_SS_CANNOT_GET_CALL_HANDLE | The stub is unable to get the call handle. | 
| RPC_X_SS_CHAR_TRANS_OPEN_FAIL | The file designated by DCERPCCHARTRANS cannot be opened. | 
| RPC_X_SS_CHAR_TRANS_SHORT_FILE | The file containing the character-translation table has fewer than 512 bytes. | 
| RPC_X_SS_CONTEXT_DAMAGED | The context handle changed during a call. Only raised on the client side. | 
| RPC_X_SS_CONTEXT_MISMATCH | The context handle does not match any known context handles. | 
| RPC_X_SS_HANDLES_MISMATCH | The binding handles passed to a remote procedure call do not match. | 
| RPC_X_SS_IN_NULL_CONTEXT | A null context handle is passed in an in parameter position. | 
| RPC_X_SS_INVALID_BUFFER | The buffer is not valid for the operation. | 
| RPC_X_SS_WRONG_ES_VERSION | The software version is incorrect. | 
| RPC_X_SS_WRONG_STUB_VERSION | The stub version is incorrect. |