win下RPC编程小tips1-error编码含义

       RpcStringBindingCompose、RpcBindingFromStringBinding等函数会返回一个RPC_STATUS 类型变量,可以直接cout查看但是是10进制数字,看起来不方便。在msdn没找到对应,在http://www.lifeasbob.com/Code/ErrorCodes.aspx上比较详细的给了对照。编程比较常见1700左右的,做个笔记。其它的可以倒回去看。


668       1640 Only administrators have permission to add, remove, or configure server software during a Terminal services remote session. If you want to install or configure software on the server, contact your network administrator
     669       1641 The requested operation completed successfully.  The system will be restarted so the changes can take effect
     66B       1643 The patch package is not permitted by software restriction policy
     66C       1644 One or more customizations are not permitted by software restriction policy
     6A4       1700 The string binding is invalid
     6A5       1701 The binding handle is not the correct type
     6A6       1702 The binding handle is invalid
     6A7       1703 The RPC protocol sequence is not supported
     6A8       1704 The RPC protocol sequence is invalid
     6A9       1705 The string universal unique identifier (UUID) is invalid
     6AA       1706 The endpoint format is invalid
     6AB       1707 The network address is invalid
     6AC       1708 No endpoint was found
     6AD       1709 The timeout value is invalid
     6AE       1710 The object universal unique identifier (UUID) was not found
     6AF       1711 The object universal unique identifier (UUID) has already been registered
     6B0       1712 The type universal unique identifier (UUID) has already been registered
     6B1       1713 The RPC server is already listening
     6B2       1714 No protocol sequences have been registered
     6B3       1715 The RPC server is not listening
     6B4       1716 The manager type is unknown
     6B5       1717 The interface is unknown
     6B6       1718 There are no bindings
     6B7       1719 There are no protocol sequences
     6B8       1720 The endpoint cannot be created
     6B9       1721 Not enough resources are available to complete this operation
     6BA       1722 The RPC server is unavailable
     6BB       1723 The RPC server is too busy to complete this operation
     6BC       1724 The network options are invalid
     6BD       1725 There are no remote procedure calls active on this thread
     6BE       1726 The remote procedure call failed
     6BF       1727 The remote procedure call failed and did not execute
     6C0       1728 A remote procedure call (RPC) protocol error occurred
     6C2       1730 The transfer syntax is not supported by the RPC server
     6C4       1732 The universal unique identifier (UUID) type is not supported
     6C5       1733 The tag is invalid
     6C6       1734 The array bounds are invalid
     6C7       1735 The binding does not contain an entry name
     6C8       1736 The name syntax is invalid
     6C9       1737 The name syntax is not supported
     6CB       1739 No network address is available to use to construct a universal unique identifier (UUID)
     6CC       1740 The endpoint is a duplicate
     6CD       1741 The authentication type is unknown
     6CE       1742 The maximum number of calls is too small
     6CF       1743 The string is too long
     6D0       1744 The RPC protocol sequence was not found
     6D1       1745 The procedure number is out of range
     6D2       1746 The binding does not contain any authentication information
     6D3       1747 The authentication service is unknown
     6D4       1748 The authentication level is unknown
     6D5       1749 The security context is invalid
     6D6       1750 The authorization service is unknown
     6D7       1751 The entry is invalid
     6D8       1752 The server endpoint cannot perform the operation
     6D9       1753 There are no more endpoints available from the endpoint mapper
     6DA       1754 No interfaces have been exported
     6DB       1755 The entry name is incomplete
     6DC       1756 The version option is invalid
     6DD       1757 There are no more members
     6DE       1758 There is nothing to unexport
     6DF       1759 The interface was not found
     6E0       1760 The entry already exists
     6E1       1761 The entry is not found
     6E2       1762 The name service is unavailable
     6E3       1763 The network address family is invalid
     6E4       1764 The requested operation is not supported
     6E5       1765 No security context is available to allow impersonation
     6E6       1766 An internal error occurred in a remote procedure call (RPC)
     6E7       1767 The RPC server attempted an integer division by zero
     6E8       1768 An addressing error occurred in the RPC server
     6E9       1769 A floating-point operation at the RPC server caused a division by zero
     6EA       1770 A floating-point underflow occurred at the RPC server
     6EB       1771 A floating-point overflow occurred at the RPC server
     6EC       1772 The list of RPC servers available for the binding of auto handles has been exhausted
     6ED       1773 Unable to open the character translation table file
     6EE       1774 The file containing the character translation table has fewer than 512 bytes
     6EF       1775 A null context handle was passed from the client to the host during a remote procedure call
     6F1       1777 The context handle changed during a remote procedure call
     6F2       1778 The binding handles passed to a remote procedure call do not match
     6F3       1779 The stub is unable to get the remote procedure call handle
     6F4       1780 A null reference pointer was passed to the stub
     6F5       1781 The enumeration value is out of range
     6F6       1782 The byte count is too small
     6F7       1783 The stub received bad data
     6F8       1784 INVALID_USER_BUFFER: The supplied user buffer is not valid for the requested operation
     6F9       1785 UNRECOGNIZED_MEDIA: The disk media is not recognized. It may not be formatted
     6FA       1786 NO_TRUST_LSA_SECRET: The workstation does not have a trust secret
     6FB       1787 NO_TRUST_SAM_ACCOUNT: The security database on the server does not have a computer account for this workstation trust relationship
     6FC       1788 TRUSTED_DOMAIN_FAILURE: The trust relationship between the primary domain and the trusted domain failed
     6FD       1789 TRUSTED_RELATIONSHIP_FAILURE: The trust relationship between this workstation and the primary domain failed
     6FE       1790 TRUST_FAILURE: The network logon failed

资源来自 http://www.lifeasbob.com/Code/ErrorCodes.aspx


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值