1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #define FACILITY_SIP_STATUS_CODE 0xEF 7 #define FACILITY_RTC_INTERFACE 0xEE 8 #define FACILITY_PINT_STATUS_CODE 0xF0 9 10 #define STATUS_SEVERITY_SUCCESS 0x0 11 #define STATUS_SEVERITY_RTC_ERROR 0x2 12 13 #define RTC_E_SIP_CODECS_DO_NOT_MATCH ((HRESULT)0x80EE0000) 14 #define RTC_E_SIP_STREAM_PRESENT ((HRESULT)0x80EE0001) 15 #define RTC_E_SIP_STREAM_NOT_PRESENT ((HRESULT)0x80EE0002) 16 #define RTC_E_SIP_NO_STREAM ((HRESULT)0x80EE0003) 17 #define RTC_E_SIP_PARSE_FAILED ((HRESULT)0x80EE0004) 18 #define RTC_E_SIP_HEADER_NOT_PRESENT ((HRESULT)0x80EE0005) 19 #define RTC_E_SDP_NOT_PRESENT ((HRESULT)0x80EE0006) 20 #define RTC_E_SDP_PARSE_FAILED ((HRESULT)0x80EE0007) 21 #define RTC_E_SDP_UPDATE_FAILED ((HRESULT)0x80EE0008) 22 #define RTC_E_SDP_MULTICAST ((HRESULT)0x80EE0009) 23 #define RTC_E_SDP_CONNECTION_ADDR ((HRESULT)0x80EE000A) 24 #define RTC_E_SDP_NO_MEDIA ((HRESULT)0x80EE000B) 25 #define RTC_E_SIP_TIMEOUT ((HRESULT)0x80EE000C) 26 #define RTC_E_SDP_FAILED_TO_BUILD ((HRESULT)0x80EE000D) 27 #define RTC_E_SIP_INVITE_TRANSACTION_PENDING ((HRESULT)0x80EE000E) 28 #define RTC_E_SIP_AUTH_HEADER_SENT ((HRESULT)0x80EE000F) 29 #define RTC_E_SIP_AUTH_TYPE_NOT_SUPPORTED ((HRESULT)0x80EE0010) 30 #define RTC_E_SIP_AUTH_FAILED ((HRESULT)0x80EE0011) 31 #define RTC_E_INVALID_SIP_URL ((HRESULT)0x80EE0012) 32 #define RTC_E_DESTINATION_ADDRESS_LOCAL ((HRESULT)0x80EE0013) 33 #define RTC_E_INVALID_ADDRESS_LOCAL ((HRESULT)0x80EE0014) 34 #define RTC_E_DESTINATION_ADDRESS_MULTICAST ((HRESULT)0x80EE0015) 35 #define RTC_E_INVALID_PROXY_ADDRESS ((HRESULT)0x80EE0016) 36 #define RTC_E_SIP_TRANSPORT_NOT_SUPPORTED ((HRESULT)0x80EE0017) 37 #define RTC_E_SIP_NEED_MORE_DATA ((HRESULT)0x80EE0018) 38 #define RTC_E_SIP_CALL_DISCONNECTED ((HRESULT)0x80EE0019) 39 #define RTC_E_SIP_REQUEST_DESTINATION_ADDR_NOT_PRESENT ((HRESULT)0x80EE001A) 40 #define RTC_E_SIP_UDP_SIZE_EXCEEDED ((HRESULT)0x80EE001B) 41 #define RTC_E_SIP_SSL_TUNNEL_FAILED ((HRESULT)0x80EE001C) 42 #define RTC_E_SIP_SSL_NEGOTIATION_TIMEOUT ((HRESULT)0x80EE001D) 43 #define RTC_E_SIP_STACK_SHUTDOWN ((HRESULT)0x80EE001E) 44 #define RTC_E_MEDIA_CONTROLLER_STATE ((HRESULT)0x80EE001F) 45 #define RTC_E_MEDIA_NEED_TERMINAL ((HRESULT)0x80EE0020) 46 #define RTC_E_MEDIA_AUDIO_DEVICE_NOT_AVAILABLE ((HRESULT)0x80EE0021) 47 #define RTC_E_MEDIA_VIDEO_DEVICE_NOT_AVAILABLE ((HRESULT)0x80EE0022) 48 #define RTC_E_START_STREAM ((HRESULT)0x80EE0023) 49 #define RTC_E_MEDIA_AEC ((HRESULT)0x80EE0024) 50 #define RTC_E_CLIENT_NOT_INITIALIZED ((HRESULT)0x80EE0025) 51 #define RTC_E_CLIENT_ALREADY_INITIALIZED ((HRESULT)0x80EE0026) 52 #define RTC_E_CLIENT_ALREADY_SHUT_DOWN ((HRESULT)0x80EE0027) 53 #define RTC_E_PRESENCE_NOT_ENABLED ((HRESULT)0x80EE0028) 54 #define RTC_E_INVALID_SESSION_TYPE ((HRESULT)0x80EE0029) 55 #define RTC_E_INVALID_SESSION_STATE ((HRESULT)0x80EE002A) 56 #define RTC_E_NO_PROFILE ((HRESULT)0x80EE002B) 57 #define RTC_E_LOCAL_PHONE_NEEDED ((HRESULT)0x80EE002C) 58 #define RTC_E_NO_DEVICE ((HRESULT)0x80EE002D) 59 #define RTC_E_INVALID_PROFILE ((HRESULT)0x80EE002E) 60 #define RTC_E_PROFILE_NO_PROVISION ((HRESULT)0x80EE002F) 61 #define RTC_E_PROFILE_NO_KEY ((HRESULT)0x80EE0030) 62 #define RTC_E_PROFILE_NO_NAME ((HRESULT)0x80EE0031) 63 #define RTC_E_PROFILE_NO_USER ((HRESULT)0x80EE0032) 64 #define RTC_E_PROFILE_NO_USER_URI ((HRESULT)0x80EE0033) 65 #define RTC_E_PROFILE_NO_SERVER ((HRESULT)0x80EE0034) 66 #define RTC_E_PROFILE_NO_SERVER_ADDRESS ((HRESULT)0x80EE0035) 67 #define RTC_E_PROFILE_NO_SERVER_PROTOCOL ((HRESULT)0x80EE0036) 68 #define RTC_E_PROFILE_INVALID_SERVER_PROTOCOL ((HRESULT)0x80EE0037) 69 #define RTC_E_PROFILE_INVALID_SERVER_AUTHMETHOD ((HRESULT)0x80EE0038) 70 #define RTC_E_PROFILE_INVALID_SERVER_ROLE ((HRESULT)0x80EE0039) 71 #define RTC_E_PROFILE_MULTIPLE_REGISTRARS ((HRESULT)0x80EE003A) 72 #define RTC_E_PROFILE_INVALID_SESSION ((HRESULT)0x80EE003B) 73 #define RTC_E_PROFILE_INVALID_SESSION_PARTY ((HRESULT)0x80EE003C) 74 #define RTC_E_PROFILE_INVALID_SESSION_TYPE ((HRESULT)0x80EE003D) 75 #define RTC_E_OPERATION_WITH_TOO_MANY_PARTICIPANTS ((HRESULT)0x80EE003E) 76 #define RTC_E_BASIC_AUTH_SET_TLS ((HRESULT)0x80EE003F) 77 #define RTC_E_SIP_HIGH_SECURITY_SET_TLS ((HRESULT)0x80EE0040) 78 #define RTC_S_ROAMING_NOT_SUPPORTED ((HRESULT)0x00EE0041) 79 #define RTC_E_PROFILE_SERVER_UNAUTHORIZED ((HRESULT)0x80EE0042) 80 #define RTC_E_DUPLICATE_REALM ((HRESULT)0x80EE0043) 81 #define RTC_E_POLICY_NOT_ALLOW ((HRESULT)0x80EE0044) 82 #define RTC_E_PORT_MAPPING_UNAVAILABLE ((HRESULT)0x80EE0045) 83 #define RTC_E_PORT_MAPPING_FAILED ((HRESULT)0x80EE0046) 84 #define RTC_E_SECURITY_LEVEL_NOT_COMPATIBLE ((HRESULT)0x80EE0047) 85 #define RTC_E_SECURITY_LEVEL_NOT_DEFINED ((HRESULT)0x80EE0048) 86 #define RTC_E_SECURITY_LEVEL_NOT_SUPPORTED_BY_PARTICIPANT ((HRESULT)0x80EE0049) 87 #define RTC_E_DUPLICATE_BUDDY ((HRESULT)0x80EE004A) 88 #define RTC_E_DUPLICATE_WATCHER ((HRESULT)0x80EE004B) 89 #define RTC_E_MALFORMED_XML ((HRESULT)0x80EE004C) 90 #define RTC_E_ROAMING_OPERATION_INTERRUPTED ((HRESULT)0x80EE004D) 91 #define RTC_E_ROAMING_FAILED ((HRESULT)0x80EE004E) 92 #define RTC_E_INVALID_BUDDY_LIST ((HRESULT)0x80EE004F) 93 #define RTC_E_INVALID_ACL_LIST ((HRESULT)0x80EE0050) 94 #define RTC_E_NO_GROUP ((HRESULT)0x80EE0051) 95 #define RTC_E_DUPLICATE_GROUP ((HRESULT)0x80EE0052) 96 #define RTC_E_TOO_MANY_GROUPS ((HRESULT)0x80EE0053) 97 #define RTC_E_NO_BUDDY ((HRESULT)0x80EE0054) 98 #define RTC_E_NO_WATCHER ((HRESULT)0x80EE0055) 99 #define RTC_E_NO_REALM ((HRESULT)0x80EE0056) 100 #define RTC_E_NO_TRANSPORT ((HRESULT)0x80EE0057) 101 #define RTC_E_NOT_EXIST ((HRESULT)0x80EE0058) 102 #define RTC_E_INVALID_PREFERENCE_LIST ((HRESULT)0x80EE0059) 103 #define RTC_E_MAX_PENDING_OPERATIONS ((HRESULT)0x80EE005A) 104 #define RTC_E_TOO_MANY_RETRIES ((HRESULT)0x80EE005B) 105 #define RTC_E_INVALID_PORTRANGE ((HRESULT)0x80EE005C) 106 #define RTC_E_SIP_CALL_CONNECTION_NOT_ESTABLISHED ((HRESULT)0x80EE005D) 107 #define RTC_E_SIP_ADDITIONAL_PARTY_IN_TWO_PARTY_SESSION ((HRESULT)0x80EE005E) 108 #define RTC_E_SIP_PARTY_ALREADY_IN_SESSION ((HRESULT)0x80EE005F) 109 #define RTC_E_SIP_OTHER_PARTY_JOIN_IN_PROGRESS ((HRESULT)0x80EE0060) 110 #define RTC_E_INVALID_OBJECT_STATE ((HRESULT)0x80EE0061) 111 #define RTC_E_PRESENCE_ENABLED ((HRESULT)0x80EE0062) 112 #define RTC_E_ROAMING_ENABLED ((HRESULT)0x80EE0063) 113 #define RTC_E_SIP_TLS_INCOMPATIBLE_ENCRYPTION ((HRESULT)0x80EE0064) 114 #define RTC_E_SIP_INVALID_CERTIFICATE ((HRESULT)0x80EE0065) 115 #define RTC_E_SIP_DNS_FAIL ((HRESULT)0x80EE0066) 116 #define RTC_E_SIP_TCP_FAIL ((HRESULT)0x80EE0067) 117 #define RTC_E_TOO_SMALL_EXPIRES_VALUE ((HRESULT)0x80EE0068) 118 #define RTC_E_SIP_TLS_FAIL ((HRESULT)0x80EE0069) 119 #define RTC_E_NOT_PRESENCE_PROFILE ((HRESULT)0x80EE006A) 120 #define RTC_E_SIP_INVITEE_PARTY_TIMEOUT ((HRESULT)0x80EE006B) 121 #define RTC_E_SIP_AUTH_TIME_SKEW ((HRESULT)0x80EE006C) 122 #define RTC_E_INVALID_REGISTRATION_STATE ((HRESULT)0x80EE006D) 123 #define RTC_E_MEDIA_DISABLED ((HRESULT)0x80EE006E) 124 #define RTC_E_MEDIA_ENABLED ((HRESULT)0x80EE006F) 125 #define RTC_E_REFER_NOT_ACCEPTED ((HRESULT)0x80EE0070) 126 #define RTC_E_REFER_NOT_ALLOWED ((HRESULT)0x80EE0071) 127 #define RTC_E_REFER_NOT_EXIST ((HRESULT)0x80EE0072) 128 #define RTC_E_SIP_HOLD_OPERATION_PENDING ((HRESULT)0x80EE0073) 129 #define RTC_E_SIP_UNHOLD_OPERATION_PENDING ((HRESULT)0x80EE0074) 130 #define RTC_E_MEDIA_SESSION_NOT_EXIST ((HRESULT)0x80EE0075) 131 #define RTC_E_MEDIA_SESSION_IN_HOLD ((HRESULT)0x80EE0076) 132 #define RTC_E_ANOTHER_MEDIA_SESSION_ACTIVE ((HRESULT)0x80EE0077) 133 #define RTC_E_MAX_REDIRECTS ((HRESULT)0x80EE0078) 134 #define RTC_E_REDIRECT_PROCESSING_FAILED ((HRESULT)0x80EE0079) 135 #define RTC_E_LISTENING_SOCKET_NOT_EXIST ((HRESULT)0x80EE007A) 136 #define RTC_E_INVALID_LISTEN_SOCKET ((HRESULT)0x80EE007B) 137 #define RTC_E_PORT_MANAGER_ALREADY_SET ((HRESULT)0x80EE007C) 138 #define RTC_E_SECURITY_LEVEL_ALREADY_SET ((HRESULT)0x80EE007D) 139 #define RTC_E_UDP_NOT_SUPPORTED ((HRESULT)0x80EE007E) 140 #define RTC_E_SIP_REFER_OPERATION_PENDING ((HRESULT)0x80EE007F) 141 #define RTC_E_PLATFORM_NOT_SUPPORTED ((HRESULT)0x80EE0080) 142 #define RTC_E_SIP_PEER_PARTICIPANT_IN_MULTIPARTY_SESSION ((HRESULT)0x80EE0081) 143 #define RTC_E_NOT_ALLOWED ((HRESULT)0x80EE0082) 144 #define RTC_E_REGISTRATION_DEACTIVATED ((HRESULT)0x80EE0083) 145 #define RTC_E_REGISTRATION_REJECTED ((HRESULT)0x80EE0084) 146 #define RTC_E_REGISTRATION_UNREGISTERED ((HRESULT)0x80EE0085) 147 #define RTC_E_STATUS_INFO_TRYING ((HRESULT)0x00EF0064) 148 #define RTC_E_STATUS_INFO_RINGING ((HRESULT)0x00EF00B4) 149 #define RTC_E_STATUS_INFO_CALL_FORWARDING ((HRESULT)0x00EF00B5) 150 #define RTC_E_STATUS_INFO_QUEUED ((HRESULT)0x00EF00B6) 151 #define RTC_E_STATUS_SESSION_PROGRESS ((HRESULT)0x00EF00B7) 152 #define RTC_E_STATUS_SUCCESS ((HRESULT)0x00EF00C8) 153 #define RTC_E_STATUS_REDIRECT_MULTIPLE_CHOICES ((HRESULT)0x80EF012C) 154 #define RTC_E_STATUS_REDIRECT_MOVED_PERMANENTLY ((HRESULT)0x80EF012D) 155 #define RTC_E_STATUS_REDIRECT_MOVED_TEMPORARILY ((HRESULT)0x80EF012E) 156 #define RTC_E_STATUS_REDIRECT_SEE_OTHER ((HRESULT)0x80EF012F) 157 #define RTC_E_STATUS_REDIRECT_USE_PROXY ((HRESULT)0x80EF0131) 158 #define RTC_E_STATUS_REDIRECT_ALTERNATIVE_SERVICE ((HRESULT)0x80EF017C) 159 #define RTC_E_STATUS_CLIENT_BAD_REQUEST ((HRESULT)0x80EF0190) 160 #define RTC_E_STATUS_CLIENT_UNAUTHORIZED ((HRESULT)0x80EF0191) 161 #define RTC_E_STATUS_CLIENT_PAYMENT_REQUIRED ((HRESULT)0x80EF0192) 162 #define RTC_E_STATUS_CLIENT_FORBIDDEN ((HRESULT)0x80EF0193) 163 #define RTC_E_STATUS_CLIENT_NOT_FOUND ((HRESULT)0x80EF0194) 164 #define RTC_E_STATUS_CLIENT_METHOD_NOT_ALLOWED ((HRESULT)0x80EF0195) 165 #define RTC_E_STATUS_CLIENT_NOT_ACCEPTABLE ((HRESULT)0x80EF0196) 166 #define RTC_E_STATUS_CLIENT_PROXY_AUTHENTICATION_REQUIRED ((HRESULT)0x80EF0197) 167 #define RTC_E_STATUS_CLIENT_REQUEST_TIMEOUT ((HRESULT)0x80EF0198) 168 #define RTC_E_STATUS_CLIENT_CONFLICT ((HRESULT)0x80EF0199) 169 #define RTC_E_STATUS_CLIENT_GONE ((HRESULT)0x80EF019A) 170 #define RTC_E_STATUS_CLIENT_LENGTH_REQUIRED ((HRESULT)0x80EF019B) 171 #define RTC_E_STATUS_CLIENT_REQUEST_ENTITY_TOO_LARGE ((HRESULT)0x80EF019D) 172 #define RTC_E_STATUS_CLIENT_REQUEST_URI_TOO_LARGE ((HRESULT)0x80EF019E) 173 #define RTC_E_STATUS_CLIENT_UNSUPPORTED_MEDIA_TYPE ((HRESULT)0x80EF019F) 174 #define RTC_E_STATUS_CLIENT_BAD_EXTENSION ((HRESULT)0x80EF01A4) 175 #define RTC_E_STATUS_CLIENT_TEMPORARILY_NOT_AVAILABLE ((HRESULT)0x80EF01E0) 176 #define RTC_E_STATUS_CLIENT_TRANSACTION_DOES_NOT_EXIST ((HRESULT)0x80EF01E1) 177 #define RTC_E_STATUS_CLIENT_LOOP_DETECTED ((HRESULT)0x80EF01E2) 178 #define RTC_E_STATUS_CLIENT_TOO_MANY_HOPS ((HRESULT)0x80EF01E3) 179 #define RTC_E_STATUS_CLIENT_ADDRESS_INCOMPLETE ((HRESULT)0x80EF01E4) 180 #define RTC_E_STATUS_CLIENT_AMBIGUOUS ((HRESULT)0x80EF01E5) 181 #define RTC_E_STATUS_CLIENT_BUSY_HERE ((HRESULT)0x80EF01E6) 182 #define RTC_E_STATUS_REQUEST_TERMINATED ((HRESULT)0x80EF01E7) 183 #define RTC_E_STATUS_NOT_ACCEPTABLE_HERE ((HRESULT)0x80EF01E8) 184 #define RTC_E_STATUS_SERVER_INTERNAL_ERROR ((HRESULT)0x80EF01F4) 185 #define RTC_E_STATUS_SERVER_NOT_IMPLEMENTED ((HRESULT)0x80EF01F5) 186 #define RTC_E_STATUS_SERVER_BAD_GATEWAY ((HRESULT)0x80EF01F6) 187 #define RTC_E_STATUS_SERVER_SERVICE_UNAVAILABLE ((HRESULT)0x80EF01F7) 188 #define RTC_E_STATUS_SERVER_SERVER_TIMEOUT ((HRESULT)0x80EF01F8) 189 #define RTC_E_STATUS_SERVER_VERSION_NOT_SUPPORTED ((HRESULT)0x80EF01F9) 190 #define RTC_E_STATUS_GLOBAL_BUSY_EVERYWHERE ((HRESULT)0x80EF0258) 191 #define RTC_E_STATUS_GLOBAL_DECLINE ((HRESULT)0x80EF025B) 192 #define RTC_E_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE ((HRESULT)0x80EF025C) 193 #define RTC_E_STATUS_GLOBAL_NOT_ACCEPTABLE ((HRESULT)0x80EF025E) 194 #define RTC_E_PINT_STATUS_REJECTED_BUSY ((HRESULT)0x80F00005) 195 #define RTC_E_PINT_STATUS_REJECTED_NO_ANSWER ((HRESULT)0x80F00006) 196 #define RTC_E_PINT_STATUS_REJECTED_ALL_BUSY ((HRESULT)0x80F00007) 197 #define RTC_E_PINT_STATUS_REJECTED_PL_FAILED ((HRESULT)0x80F00008) 198 #define RTC_E_PINT_STATUS_REJECTED_SW_FAILED ((HRESULT)0x80F00009) 199 #define RTC_E_PINT_STATUS_REJECTED_CANCELLED ((HRESULT)0x80F0000A) 200 #define RTC_E_PINT_STATUS_REJECTED_BADNUMBER ((HRESULT)0x80F0000B) 201