Distributed Routing Table Return Values

Header: drt.h

The following error codes are commonly returned by the Distributed Routing Technology:

Note

The DRT can also return Winsock Error Codes.

SymbolicCodeDescription
FACILITY_DRT0x98
DRT_E_TIMEOUT0x1001The DRT operation has timed out.
DRT_E_INVALID_KEY_SIZE0x1002The specified key does not meet, or exceeds, the allowed DRT key size.
DRT_E_INVALID_CERT_CHAIN0x1004There is no certificate store attached or there is an error in the certificate chain.
DRT_E_INVALID_MESSAGE0x1005The message exceeds the allowed character limit or is in an incorrect format.
DRT_E_NO_MORE0x1006There is no more event data available.
DRT_E_INVALID_MAX_ADDRESSES0x1007No addresses are available or the number of addresses exceeds 20.
DRT_E_SEARCH_IN_PROGRESS0x1008A search operation is already in progress.
DRT_E_INVALID_KEY0x1009Supplied key does not match generated key.
DRT_S_RETRY0x1010The operation could not complete, but may be successful in a second attempt.
DRT_E_INVALID_MAX_ENDPOINTS0x1011The number of endpoints exceeds maximum allowed endpoints.
DRT_E_INVALID_SEARCH_RANGE0x1012Min and max key values are equal, but target is different.
DRT_E_INVALID_PORT0x2000The specified port value is NULL .
DRT_E_INVALID_TRANSPORT_PROVIDER0x2001The specified transport provider is invalid.
DRT_E_INVALID_SECURITY_PROVIDER0x2002The specified security provider is invalid.
DRT_E_STILL_IN_USE0x2003The DRT infrastructure is currently busy and cannot complete the operation.
DRT_E_INVALID_BOOTSTRAP_PROVIDER0x2004The specified bootstrap provider is invalid.
DRT_E_INVALID_ADDRESS0x2005The supplied address is not in the accepted and complete format, or is NULL .
DRT_E_INVALID_SCOPE0x2006The specified scope is not one of the values defined in DRT_SCOPE .
DRT_E_TRANSPORT_SHUTTING_DOWN0x2007The specified transport is in the process of shutting down.
DRT_E_NO_ADDRESSES_AVAILABLE0x2008There are currently no remote nodes present in the DRT.
DRT_E_DUPLICATE_KEY0x2009This key already exists within the DRT infrastructure.
DRT_E_TRANSPORTPROVIDER_IN_USE0x200aThe specified transport provider is already in use.
DRT_E_TRANSPORTPROVIDER_NOT_ATTACHED0x200bThe transport provider is not attached.
DRT_E_SECURITYPROVIDER_IN_USE0x200cThe specified security provider is already in use.
DRT_E_SECURITYPROVIDER_NOT_ATTACHED0x200dThe security provider is not attached.
DRT_E_BOOTSTRAPPROVIDER_IN_USE0x200eThe specified security provider is already in use.
DRT_E_BOOTSTRAPPROVIDER_NOT_ATTACHED0x200fThe bootstrap provider is not attached.
DRT_E_TRANSPORT_ALREADY_BOUND0x2101The transport is already bound.
DRT_E_TRANSPORT_NOT_BOUND0x2102The transport is not bound.
DRT_E_TRANSPORT_UNEXPECTED0x2103The transport has encountered an unexpected error.
DRT_E_TRANSPORT_INVALID_ARGUMENT0x2104An invalid argument was passed to the transport.
DRT_E_TRANSPORT_NO_DEST_ADDRESSES0x2105Destination addresses have not been supplied to the transport.
DRT_E_TRANSPORT_EXECUTING_CALLBACK0x2106The transport is currently executing a callback operation.
DRT_E_TRANSPORT_ALREADY_EXISTS_FOR_SCOPE0x2107A transport already exists for this DRT scope.
DRT_E_INVALID_SETTINGS0x2108The data contained in DRT SETTINGS structure is invalid or the relevant parameter value is NULL .
DRT_E_INVALID_SEARCH_INFO0x2109The data contained in DRT_SEARCH_INFO structure is invalid or the relevant parameter value is NULL .
DRT_E_FAULTED0x210aThe DRT infrastructure has faulted. The DrtClose function must be called, after which an attempt to re-open the DRT can be made.
DRT_E_TRANSPORT_STILL_BOUND0x210bThe transport is currently bound.
DRT_E_INSUFFICIENT_BUFFER0x210cThe size of the buffer is insufficient for the operation.
DRT_E_INVALID_INSTANCE_PREFIX0x210dThe DRT instance prefix is invalid.
DRT_E_INVALID_SECURITY_MODE0x210eThe specified security mode is not one of the values defined in DRT_SECURITY_MODE .
DRT_E_CAPABILITY_MISMATCH0x210fThe requested security algorithms are not available.
43 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.