' ########################################################################################
' Microsoft Windows
' File: SDPErr.inc
' Contents: SDP error codes
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_SDPErr_PBI)
#DEFINE PBX_SDPErr_PBI
%EQUATE `SDPERR_INC = 1
'// First four bits - SEVERITY(11), CUSTOMER FLAG(1), RESERVED(0)
%EQUATE `SDP_INVALID_FORMAT = &He0000400&
%EQUATE `SDP_INVALID_CHARACTER_SET_FORMAT = (%SDP_INVALID_FORMAT + 1)
%EQUATE `SDP_INVALID_CHARACTER_SET = (%SDP_INVALID_FORMAT + 2)
%EQUATE `SDP_INVALID_NUMERICAL_VALUE = (%SDP_INVALID_FORMAT + 3)
%EQUATE `SDP_INVALID_VERSION_FIELD = (%SDP_INVALID_FORMAT + 4)
%EQUATE `SDP_INVALID_ORIGIN_FIELD = (%SDP_INVALID_FORMAT + 5)
%EQUATE `SDP_INVALID_SESSION_NAME = (%SDP_INVALID_FORMAT + 6)
%EQUATE `SDP_INVALID_SESSION_TITLE = (%SDP_INVALID_FORMAT + 7)
%EQUATE `SDP_INVALID_URI = (%SDP_INVALID_FORMAT + 8)
%EQUATE `SDP_INVALID_EMAIL_FIELD = (%SDP_INVALID_FORMAT + 9)
%EQUATE `SDP_INVALID_PHONE_FIELD = (%SDP_INVALID_FORMAT + 10)
%EQUATE `SDP_INVALID_CONNECTION_FIELD = (%SDP_INVALID_FORMAT + 11)
%EQUATE `SDP_INVALID_BANDWIDTH_FIELD = (%SDP_INVALID_FORMAT + 12)
%EQUATE `SDP_INVALID_ADDRESS = (%SDP_INVALID_FORMAT + 13)
%EQUATE `SDP_INVALID_TIME_PERIOD = (%SDP_INVALID_FORMAT + 14)
%EQUATE `SDP_INVALID_TIME_FIELD = (%SDP_INVALID_FORMAT + 15)
%EQUATE `SDP_INVALID_REPEAT_FIELD = (%SDP_INVALID_FORMAT + 16)
%EQUATE `SDP_INVALID_ADJUSTMENT_FIELD = (%SDP_INVALID_FORMAT + 17)
%EQUATE `SDP_INVALID_ENCRYPTION_KEY_FIELD = (%SDP_INVALID_FORMAT + 18)
%EQUATE `SDP_INVALID_ATTRIBUTE = (%SDP_INVALID_FORMAT + 19)
%EQUATE `SDP_INVALID_MEDIA_FIELD = (%SDP_INVALID_FORMAT + 20)
%EQUATE `SDP_INVALID_MEDIA_NAME = (%SDP_INVALID_FORMAT + 21)
%EQUATE `SDP_INVALID_MEDIA_TITLE = (%SDP_INVALID_FORMAT + 22)
%EQUATE `SDP_INTERNAL_ERROR = (%SDP_INVALID_FORMAT + 23)
%EQUATE `UNABLE_TO_FREE_BSTR = (%SDP_INVALID_FORMAT + 24)
%EQUATE `SDP_ALREADY_PARSED = (%SDP_INVALID_FORMAT + 25)
%EQUATE `SDP_INVALID_PARAMETER = (%SDP_INVALID_FORMAT + 26)
%EQUATE `SDP_INVALID_VALUE = (%SDP_INVALID_FORMAT + 27)
%EQUATE `SDP_OUTPUT_ERROR = (%SDP_INVALID_FORMAT + 28)
#ENDIF
