Go to the documentation of this file. 28 #ifndef INCLUDED_BLPAPI_DEFS 29 #define INCLUDED_BLPAPI_DEFS 51 #define BLPAPI_CORRELATION_TYPE_UNSET 0 52 #define BLPAPI_CORRELATION_TYPE_INT 1 53 #define BLPAPI_CORRELATION_TYPE_POINTER 2 54 #define BLPAPI_CORRELATION_TYPE_AUTOGEN 3 55 #define BLPAPI_CORRELATION_MAX_CLASS_ID ((1 << 16) - 1) 57 #define BLPAPI_MANAGEDPTR_COPY 1 58 #define BLPAPI_MANAGEDPTR_DESTROY (-1) 59 #define BLPAPI_MANAGEDPTR_IMPOSSIBLE_OPERATION 0 61 #define BLPAPI_DATETIME_YEAR_PART 0x1 62 #define BLPAPI_DATETIME_MONTH_PART 0x2 63 #define BLPAPI_DATETIME_DAY_PART 0x4 64 #define BLPAPI_DATETIME_OFFSET_PART 0x8 65 #define BLPAPI_DATETIME_HOURS_PART 0x10 66 #define BLPAPI_DATETIME_MINUTES_PART 0x20 67 #define BLPAPI_DATETIME_SECONDS_PART 0x40 68 #define BLPAPI_DATETIME_MILLISECONDS_PART 0x80 69 #define BLPAPI_DATETIME_FRACSECONDS_PART 0x80 70 #define BLPAPI_DATETIME_DATE_PART \ 71 (BLPAPI_DATETIME_YEAR_PART | BLPAPI_DATETIME_MONTH_PART \ 72 | BLPAPI_DATETIME_DAY_PART) 73 #define BLPAPI_DATETIME_TIME_PART \ 74 (BLPAPI_DATETIME_HOURS_PART | BLPAPI_DATETIME_MINUTES_PART \ 75 | BLPAPI_DATETIME_SECONDS_PART) 76 #define BLPAPI_DATETIME_TIMEMILLI_PART \ 77 (BLPAPI_DATETIME_TIME_PART | BLPAPI_DATETIME_MILLISECONDS_PART) 78 #define BLPAPI_DATETIME_TIMEFRACSECONDS_PART \ 79 (BLPAPI_DATETIME_TIME_PART | BLPAPI_DATETIME_FRACSECONDS_PART) 81 #define BLPAPI_EVENTTYPE_ADMIN 1 82 #define BLPAPI_EVENTTYPE_SESSION_STATUS 2 83 #define BLPAPI_EVENTTYPE_SUBSCRIPTION_STATUS 3 84 #define BLPAPI_EVENTTYPE_REQUEST_STATUS 4 85 #define BLPAPI_EVENTTYPE_RESPONSE 5 86 #define BLPAPI_EVENTTYPE_PARTIAL_RESPONSE 6 87 #define BLPAPI_EVENTTYPE_SUBSCRIPTION_DATA 8 88 #define BLPAPI_EVENTTYPE_SERVICE_STATUS 9 89 #define BLPAPI_EVENTTYPE_TIMEOUT 10 90 #define BLPAPI_EVENTTYPE_AUTHORIZATION_STATUS 11 91 #define BLPAPI_EVENTTYPE_RESOLUTION_STATUS 12 92 #define BLPAPI_EVENTTYPE_TOPIC_STATUS 13 93 #define BLPAPI_EVENTTYPE_TOKEN_STATUS 14 94 #define BLPAPI_EVENTTYPE_REQUEST 15 96 #define BLPAPI_ELEMENT_INDEX_END 0xffffffff 98 #define BLPAPI_STATUS_ACTIVE 0 99 #define BLPAPI_STATUS_DEPRECATED 1 100 #define BLPAPI_STATUS_INACTIVE 2 101 #define BLPAPI_STATUS_PENDING_DEPRECATION 3 103 #define BLPAPI_SUBSCRIPTIONSTATUS_UNSUBSCRIBED 0 104 #define BLPAPI_SUBSCRIPTIONSTATUS_SUBSCRIBING 1 105 #define BLPAPI_SUBSCRIPTIONSTATUS_SUBSCRIBED 2 106 #define BLPAPI_SUBSCRIPTIONSTATUS_CANCELLED 3 107 #define BLPAPI_SUBSCRIPTIONSTATUS_PENDING_CANCELLATION 4 109 #define BLPAPI_CLIENTMODE_AUTO 0 110 #define BLPAPI_CLIENTMODE_DAPI 1 111 #define BLPAPI_CLIENTMODE_SAPI 2 112 #define BLPAPI_CLIENTMODE_COMPAT_33X 16 114 #define BLPAPI_ELEMENTDEFINITION_UNBOUNDED -1 116 #define BLPAPI_RESOLVEMODE_DONT_REGISTER_SERVICES 0 117 #define BLPAPI_RESOLVEMODE_AUTO_REGISTER_SERVICES 1 119 #define BLPAPI_SEATTYPE_INVALID_SEAT -1 120 #define BLPAPI_SEATTYPE_BPS 0 121 #define BLPAPI_SEATTYPE_NONBPS 1 123 #define BLPAPI_SERVICEREGISTRATIONOPTIONS_PRIORITY_LOW 0 124 #define BLPAPI_SERVICEREGISTRATIONOPTIONS_PRIORITY_MEDIUM INT_MAX / 2 125 #define BLPAPI_SERVICEREGISTRATIONOPTIONS_PRIORITY_HIGH INT_MAX 127 #define BLPAPI_REGISTRATIONPARTS_DEFAULT 0x1 128 #define BLPAPI_REGISTRATIONPARTS_PUBLISHING 0x2 129 #define BLPAPI_REGISTRATIONPARTS_OPERATIONS 0x4 130 #define BLPAPI_REGISTRATIONPARTS_SUBSCRIBER_RESOLUTION 0x8 131 #define BLPAPI_REGISTRATIONPARTS_PUBLISHER_RESOLUTION 0x10 133 #define BLPAPI_TOPICLIST_NOT_CREATED 0 134 #define BLPAPI_TOPICLIST_CREATED 1 135 #define BLPAPI_TOPICLIST_FAILURE 2 137 #define BLPAPI_RESOLUTIONLIST_UNRESOLVED 0 138 #define BLPAPI_RESOLUTIONLIST_RESOLVED 1 139 #define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_BAD_SERVICE 2 140 #define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_SERVICE_AUTHORIZATION_FAILED 3 141 #define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_BAD_TOPIC 4 142 #define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_TOPIC_AUTHORIZATION_FAILED 5 144 #define BLPAPI_MESSAGE_FRAGMENT_NONE 0 145 #define BLPAPI_MESSAGE_FRAGMENT_START 1 146 #define BLPAPI_MESSAGE_FRAGMENT_INTERMEDIATE 2 147 #define BLPAPI_MESSAGE_FRAGMENT_END 3 149 #define BLPAPI_MESSAGE_RECAPTYPE_NONE 0 150 #define BLPAPI_MESSAGE_RECAPTYPE_SOLICITED 1 151 #define BLPAPI_MESSAGE_RECAPTYPE_UNSOLICITED 2 153 #define BLPAPI_ZFPUTIL_REMOTE_8194 8194 154 #define BLPAPI_ZFPUTIL_REMOTE_8196 8196 156 #define BLPAPI_IDENTITYUTIL_USERTYPE_UNKNOWN (-2) 157 #define BLPAPI_IDENTITYUTIL_USERTYPE_APP_PORTAL 8 158 #define BLPAPI_IDENTITYUTIL_USERTYPE_SANDBOX_EXCEL 9 160 #define BLPAPI_SUBSCRIPTIONPREPROCESS_INVALID_SUBSCRIPTION_STRING 1 161 #define BLPAPI_SUBSCRIPTIONPREPROCESS_CORRELATIONID_ERROR 2 163 #if defined(_WIN32) \ 164 || defined(__WIN32__) && !(defined(cygwin) || defined(__cygwin)) 166 #define BLPAPI_EXPORT __declspec(dllexport) 168 #define BLPAPI_EXPORT __declspec(dllimport) 171 #define BLPAPI_EXPORT 174 #endif // #ifndef INCLUDED_BLPAPI_DEFS