Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

940 lines
54 KiB

  1. Public Const LINEADDRCAPFLAGS_FWDNUMRINGS =&H00000001
  2. Public Const LINEADDRCAPFLAGS_PICKUPGROUPID =&H00000002
  3. Public Const LINEADDRCAPFLAGS_SECURE =&H00000004
  4. Public Const LINEADDRCAPFLAGS_BLOCKIDDEFAULT =&H00000008
  5. Public Const LINEADDRCAPFLAGS_BLOCKIDOVERRIDE =&H00000010
  6. Public Const LINEADDRCAPFLAGS_DIALED =&H00000020
  7. Public Const LINEADDRCAPFLAGS_ORIGOFFHOOK =&H00000040
  8. Public Const LINEADDRCAPFLAGS_DESTOFFHOOK =&H00000080
  9. Public Const LINEADDRCAPFLAGS_FWDCONSULT =&H00000100
  10. Public Const LINEADDRCAPFLAGS_SETUPCONFNULL =&H00000200
  11. Public Const LINEADDRCAPFLAGS_AUTORECONNECT =&H00000400
  12. Public Const LINEADDRCAPFLAGS_COMPLETIONID =&H00000800
  13. Public Const LINEADDRCAPFLAGS_TRANSFERHELD =&H00001000
  14. Public Const LINEADDRCAPFLAGS_TRANSFERMAKE =&H00002000
  15. Public Const LINEADDRCAPFLAGS_CONFERENCEHELD =&H00004000
  16. Public Const LINEADDRCAPFLAGS_CONFERENCEMAKE =&H00008000
  17. Public Const LINEADDRCAPFLAGS_PARTIALDIAL =&H00010000
  18. Public Const LINEADDRCAPFLAGS_FWDSTATUSVALID =&H00020000
  19. Public Const LINEADDRCAPFLAGS_FWDINTEXTADDR =&H00040000
  20. Public Const LINEADDRCAPFLAGS_FWDBUSYNAADDR =&H00080000
  21. Public Const LINEADDRCAPFLAGS_ACCEPTTOALERT =&H00100000
  22. Public Const LINEADDRCAPFLAGS_CONFDROP =&H00200000
  23. Public Const LINEADDRCAPFLAGS_PICKUPCALLWAIT =&H00400000
  24. Public Const LINEADDRCAPFLAGS_PREDICTIVEDIALER =&H00800000
  25. Public Const LINEADDRCAPFLAGS_QUEUE =&H01000000
  26. Public Const LINEADDRCAPFLAGS_ROUTEPOINT =&H02000000
  27. Public Const LINEADDRCAPFLAGS_HOLDMAKESNEW =&H04000000
  28. Public Const LINEADDRCAPFLAGS_NOINTERNALCALLS =&H08000000
  29. Public Const LINEADDRCAPFLAGS_NOEXTERNALCALLS =&H10000000
  30. Public Const LINEADDRCAPFLAGS_SETCALLINGID =&H20000000
  31. Public Const LINEADDRCAPFLAGS_ACDGROUP =&H40000000
  32. Public Const LINEADDRESSMODE_ADDRESSID =&H00000001
  33. Public Const LINEADDRESSMODE_DIALABLEADDR =&H00000002
  34. Public Const LINEADDRESSSHARING_PRIVATE =&H00000001
  35. Public Const LINEADDRESSSHARING_BRIDGEDEXCL =&H00000002
  36. Public Const LINEADDRESSSHARING_BRIDGEDNEW =&H00000004
  37. Public Const LINEADDRESSSHARING_BRIDGEDSHARED =&H00000008
  38. Public Const LINEADDRESSSHARING_MONITORED =&H00000010
  39. Public Const LINEADDRESSSTATE_OTHER =&H00000001
  40. Public Const LINEADDRESSSTATE_DEVSPECIFIC =&H00000002
  41. Public Const LINEADDRESSSTATE_INUSEZERO =&H00000004
  42. Public Const LINEADDRESSSTATE_INUSEONE =&H00000008
  43. Public Const LINEADDRESSSTATE_INUSEMANY =&H00000010
  44. Public Const LINEADDRESSSTATE_NUMCALLS =&H00000020
  45. Public Const LINEADDRESSSTATE_FORWARD =&H00000040
  46. Public Const LINEADDRESSSTATE_TERMINALS =&H00000080
  47. Public Const LINEADDRESSSTATE_CAPSCHANGE =&H00000100
  48. Public Const LINEADDRESSTYPE_PHONENUMBER =&H00000001
  49. Public Const LINEADDRESSTYPE_SDP =&H00000002
  50. Public Const LINEADDRESSTYPE_EMAILNAME =&H00000004
  51. Public Const LINEADDRESSTYPE_DOMAINNAME =&H00000008
  52. Public Const LINEADDRESSTYPE_IPADDRESS =&H00000010
  53. Public Const LINEADDRFEATURE_FORWARD =&H00000001
  54. Public Const LINEADDRFEATURE_MAKECALL =&H00000002
  55. Public Const LINEADDRFEATURE_PICKUP =&H00000004
  56. Public Const LINEADDRFEATURE_SETMEDIACONTROL =&H00000008
  57. Public Const LINEADDRFEATURE_SETTERMINAL =&H00000010
  58. Public Const LINEADDRFEATURE_SETUPCONF =&H00000020
  59. Public Const LINEADDRFEATURE_UNCOMPLETECALL =&H00000040
  60. Public Const LINEADDRFEATURE_UNPARK =&H00000080
  61. Public Const LINEADDRFEATURE_PICKUPHELD =&H00000100
  62. Public Const LINEADDRFEATURE_PICKUPGROUP =&H00000200
  63. Public Const LINEADDRFEATURE_PICKUPDIRECT =&H00000400
  64. Public Const LINEADDRFEATURE_PICKUPWAITING =&H00000800
  65. Public Const LINEADDRFEATURE_FORWARDFWD =&H00001000
  66. Public Const LINEADDRFEATURE_FORWARDDND =&H00002000
  67. Public Const LINEAGENTFEATURE_SETAGENTGROUP =&H00000001
  68. Public Const LINEAGENTFEATURE_SETAGENTSTATE =&H00000002
  69. Public Const LINEAGENTFEATURE_SETAGENTACTIVITY =&H00000004
  70. Public Const LINEAGENTFEATURE_AGENTSPECIFIC =&H00000008
  71. Public Const LINEAGENTFEATURE_GETAGENTACTIVITYLIST =&H00000010
  72. Public Const LINEAGENTFEATURE_GETAGENTGROUP =&H00000020
  73. Public Const LINEAGENTSTATE_LOGGEDOFF =&H00000001
  74. Public Const LINEAGENTSTATE_NOTREADY =&H00000002
  75. Public Const LINEAGENTSTATE_READY =&H00000004
  76. Public Const LINEAGENTSTATE_BUSYACD =&H00000008
  77. Public Const LINEAGENTSTATE_BUSYINCOMING =&H00000010
  78. Public Const LINEAGENTSTATE_BUSYOUTBOUND =&H00000020
  79. Public Const LINEAGENTSTATE_BUSYOTHER =&H00000040
  80. Public Const LINEAGENTSTATE_WORKINGAFTERCALL =&H00000080
  81. Public Const LINEAGENTSTATE_UNKNOWN =&H00000100
  82. Public Const LINEAGENTSTATE_UNAVAIL =&H00000200
  83. Public Const LINEAGENTSTATUS_GROUP =&H00000001
  84. Public Const LINEAGENTSTATUS_STATE =&H00000002
  85. Public Const LINEAGENTSTATUS_NEXTSTATE =&H00000004
  86. Public Const LINEAGENTSTATUS_ACTIVITY =&H00000008
  87. Public Const LINEAGENTSTATUS_ACTIVITYLIST =&H00000010
  88. Public Const LINEAGENTSTATUS_GROUPLIST =&H00000020
  89. Public Const LINEAGENTSTATUS_CAPSCHANGE =&H00000040
  90. Public Const LINEAGENTSTATUS_VALIDSTATES =&H00000080
  91. Public Const LINEAGENTSTATUS_VALIDNEXTSTATES =&H00000100
  92. Public Const LINEAGENTSTATEEX_NOTREADY =&H00000001
  93. Public Const LINEAGENTSTATEEX_READY =&H00000002
  94. Public Const LINEAGENTSTATEEX_BUSYACD =&H00000004
  95. Public Const LINEAGENTSTATEEX_BUSYINCOMING =&H00000008
  96. Public Const LINEAGENTSTATEEX_BUSYOUTGOING =&H00000010
  97. Public Const LINEAGENTSTATEEX_UNKNOWN =&H00000020
  98. Public Const LINEAGENTSTATEEX_RELEASED =&H00000040
  99. Public Const LINEAGENTSTATUSEX_NEWAGENT =&H00000001
  100. Public Const LINEAGENTSTATUSEX_STATE =&H00000002
  101. Public Const LINEAGENTSTATUSEX_UPDATEINFO =&H00000004
  102. Public Const LINEAGENTSESSIONSTATE_NOTREADY =&H00000001
  103. Public Const LINEAGENTSESSIONSTATE_READY =&H00000002
  104. Public Const LINEAGENTSESSIONSTATE_BUSYONCALL =&H00000004
  105. Public Const LINEAGENTSESSIONSTATE_BUSYWRAPUP =&H00000008
  106. Public Const LINEAGENTSESSIONSTATE_ENDED =&H00000010
  107. Public Const LINEAGENTSESSIONSTATE_RELEASED =&H00000020
  108. Public Const LINEAGENTSESSIONSTATUS_NEWSESSION =&H00000001
  109. Public Const LINEAGENTSESSIONSTATUS_STATE =&H00000002
  110. Public Const LINEAGENTSESSIONSTATUS_UPDATEINFO =&H00000004
  111. Public Const LINEQUEUESTATUS_UPDATEINFO =&H00000001
  112. Public Const LINEQUEUESTATUS_NEWQUEUE =&H00000002
  113. Public Const LINEQUEUESTATUS_QUEUEREMOVED =&H00000004
  114. Public Const LINEGROUPSTATUS_NEWGROUP =&H00000001
  115. Public Const LINEGROUPSTATUS_GROUPREMOVED =&H00000002
  116. Public Const LINEPROXYSTATUS_OPEN =&H00000001
  117. Public Const LINEPROXYSTATUS_CLOSE =&H00000002
  118. Public Const LINEPROXYSTATUS_ALLOPENFORACD =&H00000004
  119. Public Const LINEANSWERMODE_NONE =&H00000001
  120. Public Const LINEANSWERMODE_DROP =&H00000002
  121. Public Const LINEANSWERMODE_HOLD =&H00000004
  122. Public Const LINEBEARERMODE_VOICE =&H00000001
  123. Public Const LINEBEARERMODE_SPEECH =&H00000002
  124. Public Const LINEBEARERMODE_MULTIUSE =&H00000004
  125. Public Const LINEBEARERMODE_DATA =&H00000008
  126. Public Const LINEBEARERMODE_ALTSPEECHDATA =&H00000010
  127. Public Const LINEBEARERMODE_NONCALLSIGNALING =&H00000020
  128. Public Const LINEBEARERMODE_PASSTHROUGH =&H00000040
  129. Public Const LINEBEARERMODE_RESTRICTEDDATA =&H00000080
  130. Public Const LINEBUSYMODE_STATION =&H00000001
  131. Public Const LINEBUSYMODE_TRUNK =&H00000002
  132. Public Const LINEBUSYMODE_UNKNOWN =&H00000004
  133. Public Const LINEBUSYMODE_UNAVAIL =&H00000008
  134. Public Const LINECALLCOMPLCOND_BUSY =&H00000001
  135. Public Const LINECALLCOMPLCOND_NOANSWER =&H00000002
  136. Public Const LINECALLCOMPLMODE_CAMPON =&H00000001
  137. Public Const LINECALLCOMPLMODE_CALLBACK =&H00000002
  138. Public Const LINECALLCOMPLMODE_INTRUDE =&H00000004
  139. Public Const LINECALLCOMPLMODE_MESSAGE =&H00000008
  140. Public Const LINECALLFEATURE_ACCEPT =&H00000001
  141. Public Const LINECALLFEATURE_ADDTOCONF =&H00000002
  142. Public Const LINECALLFEATURE_ANSWER =&H00000004
  143. Public Const LINECALLFEATURE_BLINDTRANSFER =&H00000008
  144. Public Const LINECALLFEATURE_COMPLETECALL =&H00000010
  145. Public Const LINECALLFEATURE_COMPLETETRANSF =&H00000020
  146. Public Const LINECALLFEATURE_DIAL =&H00000040
  147. Public Const LINECALLFEATURE_DROP =&H00000080
  148. Public Const LINECALLFEATURE_GATHERDIGITS =&H00000100
  149. Public Const LINECALLFEATURE_GENERATEDIGITS =&H00000200
  150. Public Const LINECALLFEATURE_GENERATETONE =&H00000400
  151. Public Const LINECALLFEATURE_HOLD =&H00000800
  152. Public Const LINECALLFEATURE_MONITORDIGITS =&H00001000
  153. Public Const LINECALLFEATURE_MONITORMEDIA =&H00002000
  154. Public Const LINECALLFEATURE_MONITORTONES =&H00004000
  155. Public Const LINECALLFEATURE_PARK =&H00008000
  156. Public Const LINECALLFEATURE_PREPAREADDCONF =&H00010000
  157. Public Const LINECALLFEATURE_REDIRECT =&H00020000
  158. Public Const LINECALLFEATURE_REMOVEFROMCONF =&H00040000
  159. Public Const LINECALLFEATURE_SECURECALL =&H00080000
  160. Public Const LINECALLFEATURE_SENDUSERUSER =&H00100000
  161. Public Const LINECALLFEATURE_SETCALLPARAMS =&H00200000
  162. Public Const LINECALLFEATURE_SETMEDIACONTROL =&H00400000
  163. Public Const LINECALLFEATURE_SETTERMINAL =&H00800000
  164. Public Const LINECALLFEATURE_SETUPCONF =&H01000000
  165. Public Const LINECALLFEATURE_SETUPTRANSFER =&H02000000
  166. Public Const LINECALLFEATURE_SWAPHOLD =&H04000000
  167. Public Const LINECALLFEATURE_UNHOLD =&H08000000
  168. Public Const LINECALLFEATURE_RELEASEUSERUSERINFO =&H10000000
  169. Public Const LINECALLFEATURE_SETTREATMENT =&H20000000
  170. Public Const LINECALLFEATURE_SETQOS =&H40000000
  171. Public Const LINECALLFEATURE_SETCALLDATA =&H80000000
  172. Public Const LINECALLFEATURE2_NOHOLDCONFERENCE =&H00000001
  173. Public Const LINECALLFEATURE2_ONESTEPTRANSFER =&H00000002
  174. Public Const LINECALLFEATURE2_COMPLCAMPON =&H00000004
  175. Public Const LINECALLFEATURE2_COMPLCALLBACK =&H00000008
  176. Public Const LINECALLFEATURE2_COMPLINTRUDE =&H00000010
  177. Public Const LINECALLFEATURE2_COMPLMESSAGE =&H00000020
  178. Public Const LINECALLFEATURE2_TRANSFERNORM =&H00000040
  179. Public Const LINECALLFEATURE2_TRANSFERCONF =&H00000080
  180. Public Const LINECALLFEATURE2_PARKDIRECT =&H00000100
  181. Public Const LINECALLFEATURE2_PARKNONDIRECT =&H00000200
  182. Public Const LINECALLHUBTRACKING_NONE =&H00000000
  183. Public Const LINECALLHUBTRACKING_PROVIDERLEVEL =&H00000001
  184. Public Const LINECALLHUBTRACKING_ALLCALLS =&H00000002
  185. Public Const LINECALLINFOSTATE_OTHER =&H00000001
  186. Public Const LINECALLINFOSTATE_DEVSPECIFIC =&H00000002
  187. Public Const LINECALLINFOSTATE_BEARERMODE =&H00000004
  188. Public Const LINECALLINFOSTATE_RATE =&H00000008
  189. Public Const LINECALLINFOSTATE_MEDIAMODE =&H00000010
  190. Public Const LINECALLINFOSTATE_APPSPECIFIC =&H00000020
  191. Public Const LINECALLINFOSTATE_CALLID =&H00000040
  192. Public Const LINECALLINFOSTATE_RELATEDCALLID =&H00000080
  193. Public Const LINECALLINFOSTATE_ORIGIN =&H00000100
  194. Public Const LINECALLINFOSTATE_REASON =&H00000200
  195. Public Const LINECALLINFOSTATE_COMPLETIONID =&H00000400
  196. Public Const LINECALLINFOSTATE_NUMOWNERINCR =&H00000800
  197. Public Const LINECALLINFOSTATE_NUMOWNERDECR =&H00001000
  198. Public Const LINECALLINFOSTATE_NUMMONITORS =&H00002000
  199. Public Const LINECALLINFOSTATE_TRUNK =&H00004000
  200. Public Const LINECALLINFOSTATE_CALLERID =&H00008000
  201. Public Const LINECALLINFOSTATE_CALLEDID =&H00010000
  202. Public Const LINECALLINFOSTATE_CONNECTEDID =&H00020000
  203. Public Const LINECALLINFOSTATE_REDIRECTIONID =&H00040000
  204. Public Const LINECALLINFOSTATE_REDIRECTINGID =&H00080000
  205. Public Const LINECALLINFOSTATE_DISPLAY =&H00100000
  206. Public Const LINECALLINFOSTATE_USERUSERINFO =&H00200000
  207. Public Const LINECALLINFOSTATE_HIGHLEVELCOMP =&H00400000
  208. Public Const LINECALLINFOSTATE_LOWLEVELCOMP =&H00800000
  209. Public Const LINECALLINFOSTATE_CHARGINGINFO =&H01000000
  210. Public Const LINECALLINFOSTATE_TERMINAL =&H02000000
  211. Public Const LINECALLINFOSTATE_DIALPARAMS =&H04000000
  212. Public Const LINECALLINFOSTATE_MONITORMODES =&H08000000
  213. Public Const LINECALLINFOSTATE_TREATMENT =&H10000000
  214. Public Const LINECALLINFOSTATE_QOS =&H20000000
  215. Public Const LINECALLINFOSTATE_CALLDATA =&H40000000
  216. Public Const LINECALLORIGIN_OUTBOUND =&H00000001
  217. Public Const LINECALLORIGIN_INTERNAL =&H00000002
  218. Public Const LINECALLORIGIN_EXTERNAL =&H00000004
  219. Public Const LINECALLORIGIN_UNKNOWN =&H00000010
  220. Public Const LINECALLORIGIN_UNAVAIL =&H00000020
  221. Public Const LINECALLORIGIN_CONFERENCE =&H00000040
  222. Public Const LINECALLORIGIN_INBOUND =&H00000080
  223. Public Const LINECALLPARAMFLAGS_SECURE =&H00000001
  224. Public Const LINECALLPARAMFLAGS_IDLE =&H00000002
  225. Public Const LINECALLPARAMFLAGS_BLOCKID =&H00000004
  226. Public Const LINECALLPARAMFLAGS_ORIGOFFHOOK =&H00000008
  227. Public Const LINECALLPARAMFLAGS_DESTOFFHOOK =&H00000010
  228. Public Const LINECALLPARAMFLAGS_NOHOLDCONFERENCE =&H00000020
  229. Public Const LINECALLPARAMFLAGS_PREDICTIVEDIAL =&H00000040
  230. Public Const LINECALLPARAMFLAGS_ONESTEPTRANSFER =&H00000080
  231. Public Const LINECALLPARTYID_BLOCKED =&H00000001
  232. Public Const LINECALLPARTYID_OUTOFAREA =&H00000002
  233. Public Const LINECALLPARTYID_NAME =&H00000004
  234. Public Const LINECALLPARTYID_ADDRESS =&H00000008
  235. Public Const LINECALLPARTYID_PARTIAL =&H00000010
  236. Public Const LINECALLPARTYID_UNKNOWN =&H00000020
  237. Public Const LINECALLPARTYID_UNAVAIL =&H00000040
  238. Public Const LINECALLPRIVILEGE_NONE =&H00000001
  239. Public Const LINECALLPRIVILEGE_MONITOR =&H00000002
  240. Public Const LINECALLPRIVILEGE_OWNER =&H00000004
  241. Public Const LINECALLREASON_DIRECT =&H00000001
  242. Public Const LINECALLREASON_FWDBUSY =&H00000002
  243. Public Const LINECALLREASON_FWDNOANSWER =&H00000004
  244. Public Const LINECALLREASON_FWDUNCOND =&H00000008
  245. Public Const LINECALLREASON_PICKUP =&H00000010
  246. Public Const LINECALLREASON_UNPARK =&H00000020
  247. Public Const LINECALLREASON_REDIRECT =&H00000040
  248. Public Const LINECALLREASON_CALLCOMPLETION =&H00000080
  249. Public Const LINECALLREASON_TRANSFER =&H00000100
  250. Public Const LINECALLREASON_REMINDER =&H00000200
  251. Public Const LINECALLREASON_UNKNOWN =&H00000400
  252. Public Const LINECALLREASON_UNAVAIL =&H00000800
  253. Public Const LINECALLREASON_INTRUDE =&H00001000
  254. Public Const LINECALLREASON_PARKED =&H00002000
  255. Public Const LINECALLREASON_CAMPEDON =&H00004000
  256. Public Const LINECALLREASON_ROUTEREQUEST =&H00008000
  257. Public Const LINECALLSELECT_LINE =&H00000001
  258. Public Const LINECALLSELECT_ADDRESS =&H00000002
  259. Public Const LINECALLSELECT_CALL =&H00000004
  260. Public Const LINECALLSELECT_DEVICEID =&H00000008
  261. Public Const LINECALLSELECT_CALLID =&H00000010
  262. Public Const LINECALLSTATE_IDLE =&H00000001
  263. Public Const LINECALLSTATE_OFFERING =&H00000002
  264. Public Const LINECALLSTATE_ACCEPTED =&H00000004
  265. Public Const LINECALLSTATE_DIALTONE =&H00000008
  266. Public Const LINECALLSTATE_DIALING =&H00000010
  267. Public Const LINECALLSTATE_RINGBACK =&H00000020
  268. Public Const LINECALLSTATE_BUSY =&H00000040
  269. Public Const LINECALLSTATE_SPECIALINFO =&H00000080
  270. Public Const LINECALLSTATE_CONNECTED =&H00000100
  271. Public Const LINECALLSTATE_PROCEEDING =&H00000200
  272. Public Const LINECALLSTATE_ONHOLD =&H00000400
  273. Public Const LINECALLSTATE_CONFERENCED =&H00000800
  274. Public Const LINECALLSTATE_ONHOLDPENDCONF =&H00001000
  275. Public Const LINECALLSTATE_ONHOLDPENDTRANSFER =&H00002000
  276. Public Const LINECALLSTATE_DISCONNECTED =&H00004000
  277. Public Const LINECALLSTATE_UNKNOWN =&H00008000
  278. Public Const LINECALLTREATMENT_SILENCE =&H00000001
  279. Public Const LINECALLTREATMENT_RINGBACK =&H00000002
  280. Public Const LINECALLTREATMENT_BUSY =&H00000003
  281. Public Const LINECALLTREATMENT_MUSIC =&H00000004
  282. Public Const LINECARDOPTION_PREDEFINED =&H00000001
  283. Public Const LINECARDOPTION_HIDDEN =&H00000002
  284. Public Const LINECONNECTEDMODE_ACTIVE =&H00000001
  285. Public Const LINECONNECTEDMODE_INACTIVE =&H00000002
  286. Public Const LINECONNECTEDMODE_ACTIVEHELD =&H00000004
  287. Public Const LINECONNECTEDMODE_INACTIVEHELD =&H00000008
  288. Public Const LINECONNECTEDMODE_CONFIRMED =&H00000010
  289. Public Const LINEDEVCAPFLAGS_CROSSADDRCONF =&H00000001
  290. Public Const LINEDEVCAPFLAGS_HIGHLEVCOMP =&H00000002
  291. Public Const LINEDEVCAPFLAGS_LOWLEVCOMP =&H00000004
  292. Public Const LINEDEVCAPFLAGS_MEDIACONTROL =&H00000008
  293. Public Const LINEDEVCAPFLAGS_MULTIPLEADDR =&H00000010
  294. Public Const LINEDEVCAPFLAGS_CLOSEDROP =&H00000020
  295. Public Const LINEDEVCAPFLAGS_DIALBILLING =&H00000040
  296. Public Const LINEDEVCAPFLAGS_DIALQUIET =&H00000080
  297. Public Const LINEDEVCAPFLAGS_DIALDIALTONE =&H00000100
  298. Public Const LINEDEVCAPFLAGS_MSP =&H00000200
  299. Public Const LINEDEVCAPFLAGS_CALLHUB =&H00000400
  300. Public Const LINEDEVCAPFLAGS_CALLHUBTRACKING =&H00000800
  301. Public Const LINEDEVCAPFLAGS_PRIVATEOBJECTS =&H00001000
  302. Public Const LINEDEVSTATE_OTHER =&H00000001
  303. Public Const LINEDEVSTATE_RINGING =&H00000002
  304. Public Const LINEDEVSTATE_CONNECTED =&H00000004
  305. Public Const LINEDEVSTATE_DISCONNECTED =&H00000008
  306. Public Const LINEDEVSTATE_MSGWAITON =&H00000010
  307. Public Const LINEDEVSTATE_MSGWAITOFF =&H00000020
  308. Public Const LINEDEVSTATE_INSERVICE =&H00000040
  309. Public Const LINEDEVSTATE_OUTOFSERVICE =&H00000080
  310. Public Const LINEDEVSTATE_MAINTENANCE =&H00000100
  311. Public Const LINEDEVSTATE_OPEN =&H00000200
  312. Public Const LINEDEVSTATE_CLOSE =&H00000400
  313. Public Const LINEDEVSTATE_NUMCALLS =&H00000800
  314. Public Const LINEDEVSTATE_NUMCOMPLETIONS =&H00001000
  315. Public Const LINEDEVSTATE_TERMINALS =&H00002000
  316. Public Const LINEDEVSTATE_ROAMMODE =&H00004000
  317. Public Const LINEDEVSTATE_BATTERY =&H00008000
  318. Public Const LINEDEVSTATE_SIGNAL =&H00010000
  319. Public Const LINEDEVSTATE_DEVSPECIFIC =&H00020000
  320. Public Const LINEDEVSTATE_REINIT =&H00040000
  321. Public Const LINEDEVSTATE_LOCK =&H00080000
  322. Public Const LINEDEVSTATE_CAPSCHANGE =&H00100000
  323. Public Const LINEDEVSTATE_CONFIGCHANGE =&H00200000
  324. Public Const LINEDEVSTATE_TRANSLATECHANGE =&H00400000
  325. Public Const LINEDEVSTATE_COMPLCANCEL =&H00800000
  326. Public Const LINEDEVSTATE_REMOVED =&H01000000
  327. Public Const LINEDEVSTATUSFLAGS_CONNECTED =&H00000001
  328. Public Const LINEDEVSTATUSFLAGS_MSGWAIT =&H00000002
  329. Public Const LINEDEVSTATUSFLAGS_INSERVICE =&H00000004
  330. Public Const LINEDEVSTATUSFLAGS_LOCKED =&H00000008
  331. Public Const LINEDIALTONEMODE_NORMAL =&H00000001
  332. Public Const LINEDIALTONEMODE_SPECIAL =&H00000002
  333. Public Const LINEDIALTONEMODE_INTERNAL =&H00000004
  334. Public Const LINEDIALTONEMODE_EXTERNAL =&H00000008
  335. Public Const LINEDIALTONEMODE_UNKNOWN =&H00000010
  336. Public Const LINEDIALTONEMODE_UNAVAIL =&H00000020
  337. Public Const LINEDIGITMODE_PULSE =&H00000001
  338. Public Const LINEDIGITMODE_DTMF =&H00000002
  339. Public Const LINEDIGITMODE_DTMFEND =&H00000004
  340. Public Const LINEDISCONNECTMODE_NORMAL =&H00000001
  341. Public Const LINEDISCONNECTMODE_UNKNOWN =&H00000002
  342. Public Const LINEDISCONNECTMODE_REJECT =&H00000004
  343. Public Const LINEDISCONNECTMODE_PICKUP =&H00000008
  344. Public Const LINEDISCONNECTMODE_FORWARDED =&H00000010
  345. Public Const LINEDISCONNECTMODE_BUSY =&H00000020
  346. Public Const LINEDISCONNECTMODE_NOANSWER =&H00000040
  347. Public Const LINEDISCONNECTMODE_BADADDRESS =&H00000080
  348. Public Const LINEDISCONNECTMODE_UNREACHABLE =&H00000100
  349. Public Const LINEDISCONNECTMODE_CONGESTION =&H00000200
  350. Public Const LINEDISCONNECTMODE_INCOMPATIBLE =&H00000400
  351. Public Const LINEDISCONNECTMODE_UNAVAIL =&H00000800
  352. Public Const LINEDISCONNECTMODE_NODIALTONE =&H00001000
  353. Public Const LINEDISCONNECTMODE_NUMBERCHANGED =&H00002000
  354. Public Const LINEDISCONNECTMODE_OUTOFORDER =&H00004000
  355. Public Const LINEDISCONNECTMODE_TEMPFAILURE =&H00008000
  356. Public Const LINEDISCONNECTMODE_QOSUNAVAIL =&H00010000
  357. Public Const LINEDISCONNECTMODE_BLOCKED =&H00020000
  358. Public Const LINEDISCONNECTMODE_DONOTDISTURB =&H00040000
  359. Public Const LINEDISCONNECTMODE_CANCELLED =&H00080000
  360. Public Const LINEERR_ALLOCATED =&H80000001
  361. Public Const LINEERR_BADDEVICEID =&H80000002
  362. Public Const LINEERR_BEARERMODEUNAVAIL =&H80000003
  363. Public Const LINEERR_CALLUNAVAIL =&H80000005
  364. Public Const LINEERR_COMPLETIONOVERRUN =&H80000006
  365. Public Const LINEERR_CONFERENCEFULL =&H80000007
  366. Public Const LINEERR_DIALBILLING =&H80000008
  367. Public Const LINEERR_DIALDIALTONE =&H80000009
  368. Public Const LINEERR_DIALPROMPT =&H8000000A
  369. Public Const LINEERR_DIALQUIET =&H8000000B
  370. Public Const LINEERR_INCOMPATIBLEAPIVERSION =&H8000000C
  371. Public Const LINEERR_INCOMPATIBLEEXTVERSION =&H8000000D
  372. Public Const LINEERR_INIFILECORRUPT =&H8000000E
  373. Public Const LINEERR_INUSE =&H8000000F
  374. Public Const LINEERR_INVALADDRESS =&H80000010
  375. Public Const LINEERR_INVALADDRESSID =&H80000011
  376. Public Const LINEERR_INVALADDRESSMODE =&H80000012
  377. Public Const LINEERR_INVALADDRESSSTATE =&H80000013
  378. Public Const LINEERR_INVALAPPHANDLE =&H80000014
  379. Public Const LINEERR_INVALAPPNAME =&H80000015
  380. Public Const LINEERR_INVALBEARERMODE =&H80000016
  381. Public Const LINEERR_INVALCALLCOMPLMODE =&H80000017
  382. Public Const LINEERR_INVALCALLHANDLE =&H80000018
  383. Public Const LINEERR_INVALCALLPARAMS =&H80000019
  384. Public Const LINEERR_INVALCALLPRIVILEGE =&H8000001A
  385. Public Const LINEERR_INVALCALLSELECT =&H8000001B
  386. Public Const LINEERR_INVALCALLSTATE =&H8000001C
  387. Public Const LINEERR_INVALCALLSTATELIST =&H8000001D
  388. Public Const LINEERR_INVALCARD =&H8000001E
  389. Public Const LINEERR_INVALCOMPLETIONID =&H8000001F
  390. Public Const LINEERR_INVALCONFCALLHANDLE =&H80000020
  391. Public Const LINEERR_INVALCONSULTCALLHANDLE =&H80000021
  392. Public Const LINEERR_INVALCOUNTRYCODE =&H80000022
  393. Public Const LINEERR_INVALDEVICECLASS =&H80000023
  394. Public Const LINEERR_INVALDEVICEHANDLE =&H80000024
  395. Public Const LINEERR_INVALDIALPARAMS =&H80000025
  396. Public Const LINEERR_INVALDIGITLIST =&H80000026
  397. Public Const LINEERR_INVALDIGITMODE =&H80000027
  398. Public Const LINEERR_INVALDIGITS =&H80000028
  399. Public Const LINEERR_INVALEXTVERSION =&H80000029
  400. Public Const LINEERR_INVALGROUPID =&H8000002A
  401. Public Const LINEERR_INVALLINEHANDLE =&H8000002B
  402. Public Const LINEERR_INVALLINESTATE =&H8000002C
  403. Public Const LINEERR_INVALLOCATION =&H8000002D
  404. Public Const LINEERR_INVALMEDIALIST =&H8000002E
  405. Public Const LINEERR_INVALMEDIAMODE =&H8000002F
  406. Public Const LINEERR_INVALMESSAGEID =&H80000030
  407. Public Const LINEERR_INVALPARAM =&H80000032
  408. Public Const LINEERR_INVALPARKID =&H80000033
  409. Public Const LINEERR_INVALPARKMODE =&H80000034
  410. Public Const LINEERR_INVALPOINTER =&H80000035
  411. Public Const LINEERR_INVALPRIVSELECT =&H80000036
  412. Public Const LINEERR_INVALRATE =&H80000037
  413. Public Const LINEERR_INVALREQUESTMODE =&H80000038
  414. Public Const LINEERR_INVALTERMINALID =&H80000039
  415. Public Const LINEERR_INVALTERMINALMODE =&H8000003A
  416. Public Const LINEERR_INVALTIMEOUT =&H8000003B
  417. Public Const LINEERR_INVALTONE =&H8000003C
  418. Public Const LINEERR_INVALTONELIST =&H8000003D
  419. Public Const LINEERR_INVALTONEMODE =&H8000003E
  420. Public Const LINEERR_INVALTRANSFERMODE =&H8000003F
  421. Public Const LINEERR_LINEMAPPERFAILED =&H80000040
  422. Public Const LINEERR_NOCONFERENCE =&H80000041
  423. Public Const LINEERR_NODEVICE =&H80000042
  424. Public Const LINEERR_NODRIVER =&H80000043
  425. Public Const LINEERR_NOMEM =&H80000044
  426. Public Const LINEERR_NOREQUEST =&H80000045
  427. Public Const LINEERR_NOTOWNER =&H80000046
  428. Public Const LINEERR_NOTREGISTERED =&H80000047
  429. Public Const LINEERR_OPERATIONFAILED =&H80000048
  430. Public Const LINEERR_OPERATIONUNAVAIL =&H80000049
  431. Public Const LINEERR_RATEUNAVAIL =&H8000004A
  432. Public Const LINEERR_RESOURCEUNAVAIL =&H8000004B
  433. Public Const LINEERR_REQUESTOVERRUN =&H8000004C
  434. Public Const LINEERR_STRUCTURETOOSMALL =&H8000004D
  435. Public Const LINEERR_TARGETNOTFOUND =&H8000004E
  436. Public Const LINEERR_TARGETSELF =&H8000004F
  437. Public Const LINEERR_UNINITIALIZED =&H80000050
  438. Public Const LINEERR_USERUSERINFOTOOBIG =&H80000051
  439. Public Const LINEERR_REINIT =&H80000052
  440. Public Const LINEERR_ADDRESSBLOCKED =&H80000053
  441. Public Const LINEERR_BILLINGREJECTED =&H80000054
  442. Public Const LINEERR_INVALFEATURE =&H80000055
  443. Public Const LINEERR_NOMULTIPLEINSTANCE =&H80000056
  444. Public Const LINEERR_INVALAGENTID =&H80000057
  445. Public Const LINEERR_INVALAGENTGROUP =&H80000058
  446. Public Const LINEERR_INVALPASSWORD =&H80000059
  447. Public Const LINEERR_INVALAGENTSTATE =&H8000005A
  448. Public Const LINEERR_INVALAGENTACTIVITY =&H8000005B
  449. Public Const LINEERR_DIALVOICEDETECT =&H8000005C
  450. Public Const LINEERR_USERCANCELLED =&H8000005D
  451. Public Const LINEERR_INVALADDRESSTYPE =&H8000005E
  452. Public Const LINEERR_INVALAGENTSESSIONSTATE =&H8000005F
  453. Public Const LINEERR_DISCONNECTED =&H80000060
  454. Public Const LINEERR_LASTERRORVALUE =&H80000060
  455. Public Const LINEFEATURE_DEVSPECIFIC =&H00000001
  456. Public Const LINEFEATURE_DEVSPECIFICFEAT =&H00000002
  457. Public Const LINEFEATURE_FORWARD =&H00000004
  458. Public Const LINEFEATURE_MAKECALL =&H00000008
  459. Public Const LINEFEATURE_SETMEDIACONTROL =&H00000010
  460. Public Const LINEFEATURE_SETTERMINAL =&H00000020
  461. Public Const LINEFEATURE_SETDEVSTATUS =&H00000040
  462. Public Const LINEFEATURE_FORWARDFWD =&H00000080
  463. Public Const LINEFEATURE_FORWARDDND =&H00000100
  464. Public Const LINEFORWARDMODE_UNCOND =&H00000001
  465. Public Const LINEFORWARDMODE_UNCONDINTERNAL =&H00000002
  466. Public Const LINEFORWARDMODE_UNCONDEXTERNAL =&H00000004
  467. Public Const LINEFORWARDMODE_UNCONDSPECIFIC =&H00000008
  468. Public Const LINEFORWARDMODE_BUSY =&H00000010
  469. Public Const LINEFORWARDMODE_BUSYINTERNAL =&H00000020
  470. Public Const LINEFORWARDMODE_BUSYEXTERNAL =&H00000040
  471. Public Const LINEFORWARDMODE_BUSYSPECIFIC =&H00000080
  472. Public Const LINEFORWARDMODE_NOANSW =&H00000100
  473. Public Const LINEFORWARDMODE_NOANSWINTERNAL =&H00000200
  474. Public Const LINEFORWARDMODE_NOANSWEXTERNAL =&H00000400
  475. Public Const LINEFORWARDMODE_NOANSWSPECIFIC =&H00000800
  476. Public Const LINEFORWARDMODE_BUSYNA =&H00001000
  477. Public Const LINEFORWARDMODE_BUSYNAINTERNAL =&H00002000
  478. Public Const LINEFORWARDMODE_BUSYNAEXTERNAL =&H00004000
  479. Public Const LINEFORWARDMODE_BUSYNASPECIFIC =&H00008000
  480. Public Const LINEFORWARDMODE_UNKNOWN =&H00010000
  481. Public Const LINEFORWARDMODE_UNAVAIL =&H00020000
  482. Public Const LINEGATHERTERM_BUFFERFULL =&H00000001
  483. Public Const LINEGATHERTERM_TERMDIGIT =&H00000002
  484. Public Const LINEGATHERTERM_FIRSTTIMEOUT =&H00000004
  485. Public Const LINEGATHERTERM_INTERTIMEOUT =&H00000008
  486. Public Const LINEGATHERTERM_CANCEL =&H00000010
  487. Public Const LINEGENERATETERM_DONE =&H00000001
  488. Public Const LINEGENERATETERM_CANCEL =&H00000002
  489. Public Const LINEINITIALIZEEXOPTION_USEHIDDENWINDOW =&H00000001
  490. Public Const LINEINITIALIZEEXOPTION_USEEVENT =&H00000002
  491. Public Const LINEINITIALIZEEXOPTION_USECOMPLETIONPORT =&H00000003
  492. Public Const LINEINITIALIZEEXOPTION_CALLHUBTRACKING =&H80000000
  493. Public Const LINELOCATIONOPTION_PULSEDIAL =&H00000001
  494. Public Const LINEMAPPER =&HFFFFFFFF
  495. Public Const LINEMEDIACONTROL_NONE =&H00000001
  496. Public Const LINEMEDIACONTROL_START =&H00000002
  497. Public Const LINEMEDIACONTROL_RESET =&H00000004
  498. Public Const LINEMEDIACONTROL_PAUSE =&H00000008
  499. Public Const LINEMEDIACONTROL_RESUME =&H00000010
  500. Public Const LINEMEDIACONTROL_RATEUP =&H00000020
  501. Public Const LINEMEDIACONTROL_RATEDOWN =&H00000040
  502. Public Const LINEMEDIACONTROL_RATENORMAL =&H00000080
  503. Public Const LINEMEDIACONTROL_VOLUMEUP =&H00000100
  504. Public Const LINEMEDIACONTROL_VOLUMEDOWN =&H00000200
  505. Public Const LINEMEDIACONTROL_VOLUMENORMAL =&H00000400
  506. Public Const LINEMEDIAMODE_UNKNOWN =&H00000002
  507. Public Const LINEMEDIAMODE_INTERACTIVEVOICE =&H00000004
  508. Public Const LINEMEDIAMODE_AUTOMATEDVOICE =&H00000008
  509. Public Const LINEMEDIAMODE_DATAMODEM =&H00000010
  510. Public Const LINEMEDIAMODE_G3FAX =&H00000020
  511. Public Const LINEMEDIAMODE_TDD =&H00000040
  512. Public Const LINEMEDIAMODE_G4FAX =&H00000080
  513. Public Const LINEMEDIAMODE_DIGITALDATA =&H00000100
  514. Public Const LINEMEDIAMODE_TELETEX =&H00000200
  515. Public Const LINEMEDIAMODE_VIDEOTEX =&H00000400
  516. Public Const LINEMEDIAMODE_TELEX =&H00000800
  517. Public Const LINEMEDIAMODE_MIXED =&H00001000
  518. Public Const LINEMEDIAMODE_ADSI =&H00002000
  519. Public Const LINEMEDIAMODE_VOICEVIEW =&H00004000
  520. Public Const LINEMEDIAMODE_VIDEO =&H00008000
  521. Public Const LAST_LINEMEDIAMODE =&H00008000
  522. Public Const LINEOFFERINGMODE_ACTIVE =&H00000001
  523. Public Const LINEOFFERINGMODE_INACTIVE =&H00000002
  524. Public Const LINEOPENOPTION_SINGLEADDRESS =&H80000000
  525. Public Const LINEOPENOPTION_PROXY =&H40000000
  526. Public Const LINEPARKMODE_DIRECTED =&H00000001
  527. Public Const LINEPARKMODE_NONDIRECTED =&H00000002
  528. Public Const LINEPROXYREQUEST_SETAGENTGROUP =&H00000001
  529. Public Const LINEPROXYREQUEST_SETAGENTSTATE =&H00000002
  530. Public Const LINEPROXYREQUEST_SETAGENTACTIVITY =&H00000003
  531. Public Const LINEPROXYREQUEST_GETAGENTCAPS =&H00000004
  532. Public Const LINEPROXYREQUEST_GETAGENTSTATUS =&H00000005
  533. Public Const LINEPROXYREQUEST_AGENTSPECIFIC =&H00000006
  534. Public Const LINEPROXYREQUEST_GETAGENTACTIVITYLIST =&H00000007
  535. Public Const LINEPROXYREQUEST_GETAGENTGROUPLIST =&H00000008
  536. Public Const LINEPROXYREQUEST_CREATEAGENT =&H00000009
  537. Public Const LINEPROXYREQUEST_SETAGENTMEASUREMENTPERIOD =&H0000000A
  538. Public Const LINEPROXYREQUEST_GETAGENTINFO =&H0000000B
  539. Public Const LINEPROXYREQUEST_CREATEAGENTSESSION =&H0000000C
  540. Public Const LINEPROXYREQUEST_GETAGENTSESSIONLIST =&H0000000D
  541. Public Const LINEPROXYREQUEST_SETAGENTSESSIONSTATE =&H0000000E
  542. Public Const LINEPROXYREQUEST_GETAGENTSESSIONINFO =&H0000000F
  543. Public Const LINEPROXYREQUEST_GETQUEUELIST =&H00000010
  544. Public Const LINEPROXYREQUEST_SETQUEUEMEASUREMENTPERIOD =&H00000011
  545. Public Const LINEPROXYREQUEST_GETQUEUEINFO =&H00000012
  546. Public Const LINEPROXYREQUEST_GETGROUPLIST =&H00000013
  547. Public Const LINEPROXYREQUEST_SETAGENTSTATEEX =&H00000014
  548. Public Const LINEREMOVEFROMCONF_NONE =&H00000001
  549. Public Const LINEREMOVEFROMCONF_LAST =&H00000002
  550. Public Const LINEREMOVEFROMCONF_ANY =&H00000003
  551. Public Const LINEREQUESTMODE_MAKECALL =&H00000001
  552. Public Const LINEREQUESTMODE_MEDIACALL =&H00000002
  553. Public Const LINEREQUESTMODE_DROP =&H00000004
  554. Public Const LAST_LINEREQUESTMODE =LINEREQUESTMODE_MEDIACALL
  555. Public Const LINEROAMMODE_UNKNOWN =&H00000001
  556. Public Const LINEROAMMODE_UNAVAIL =&H00000002
  557. Public Const LINEROAMMODE_HOME =&H00000004
  558. Public Const LINEROAMMODE_ROAMA =&H00000008
  559. Public Const LINEROAMMODE_ROAMB =&H00000010
  560. Public Const LINESPECIALINFO_NOCIRCUIT =&H00000001
  561. Public Const LINESPECIALINFO_CUSTIRREG =&H00000002
  562. Public Const LINESPECIALINFO_REORDER =&H00000004
  563. Public Const LINESPECIALINFO_UNKNOWN =&H00000008
  564. Public Const LINESPECIALINFO_UNAVAIL =&H00000010
  565. Public Const LINETERMDEV_PHONE =&H00000001
  566. Public Const LINETERMDEV_HEADSET =&H00000002
  567. Public Const LINETERMDEV_SPEAKER =&H00000004
  568. Public Const LINETERMMODE_BUTTONS =&H00000001
  569. Public Const LINETERMMODE_LAMPS =&H00000002
  570. Public Const LINETERMMODE_DISPLAY =&H00000004
  571. Public Const LINETERMMODE_RINGER =&H00000008
  572. Public Const LINETERMMODE_HOOKSWITCH =&H00000010
  573. Public Const LINETERMMODE_MEDIATOLINE =&H00000020
  574. Public Const LINETERMMODE_MEDIAFROMLINE =&H00000040
  575. Public Const LINETERMMODE_MEDIABIDIRECT =&H00000080
  576. Public Const LINETERMSHARING_PRIVATE =&H00000001
  577. Public Const LINETERMSHARING_SHAREDEXCL =&H00000002
  578. Public Const LINETERMSHARING_SHAREDCONF =&H00000004
  579. Public Const LINETOLLLISTOPTION_ADD =&H00000001
  580. Public Const LINETOLLLISTOPTION_REMOVE =&H00000002
  581. Public Const LINETONEMODE_CUSTOM =&H00000001
  582. Public Const LINETONEMODE_RINGBACK =&H00000002
  583. Public Const LINETONEMODE_BUSY =&H00000004
  584. Public Const LINETONEMODE_BEEP =&H00000008
  585. Public Const LINETONEMODE_BILLING =&H00000010
  586. Public Const LINETRANSFERMODE_TRANSFER =&H00000001
  587. Public Const LINETRANSFERMODE_CONFERENCE =&H00000002
  588. Public Const LINETRANSLATEOPTION_CARDOVERRIDE =&H00000001
  589. Public Const LINETRANSLATEOPTION_CANCELCALLWAITING =&H00000002
  590. Public Const LINETRANSLATEOPTION_FORCELOCAL =&H00000004
  591. Public Const LINETRANSLATEOPTION_FORCELD =&H00000008
  592. Public Const LINETRANSLATERESULT_CANONICAL =&H00000001
  593. Public Const LINETRANSLATERESULT_INTERNATIONAL =&H00000002
  594. Public Const LINETRANSLATERESULT_LONGDISTANCE =&H00000004
  595. Public Const LINETRANSLATERESULT_LOCAL =&H00000008
  596. Public Const LINETRANSLATERESULT_INTOLLLIST =&H00000010
  597. Public Const LINETRANSLATERESULT_NOTINTOLLLIST =&H00000020
  598. Public Const LINETRANSLATERESULT_DIALBILLING =&H00000040
  599. Public Const LINETRANSLATERESULT_DIALQUIET =&H00000080
  600. Public Const LINETRANSLATERESULT_DIALDIALTONE =&H00000100
  601. Public Const LINETRANSLATERESULT_DIALPROMPT =&H00000200
  602. Public Const LINETRANSLATERESULT_VOICEDETECT =&H00000400
  603. Public Const PHONEBUTTONFUNCTION_UNKNOWN =&H00000000
  604. Public Const PHONEBUTTONFUNCTION_CONFERENCE =&H00000001
  605. Public Const PHONEBUTTONFUNCTION_TRANSFER =&H00000002
  606. Public Const PHONEBUTTONFUNCTION_DROP =&H00000003
  607. Public Const PHONEBUTTONFUNCTION_HOLD =&H00000004
  608. Public Const PHONEBUTTONFUNCTION_RECALL =&H00000005
  609. Public Const PHONEBUTTONFUNCTION_DISCONNECT =&H00000006
  610. Public Const PHONEBUTTONFUNCTION_CONNECT =&H00000007
  611. Public Const PHONEBUTTONFUNCTION_MSGWAITON =&H00000008
  612. Public Const PHONEBUTTONFUNCTION_MSGWAITOFF =&H00000009
  613. Public Const PHONEBUTTONFUNCTION_SELECTRING =&H0000000A
  614. Public Const PHONEBUTTONFUNCTION_ABBREVDIAL =&H0000000B
  615. Public Const PHONEBUTTONFUNCTION_FORWARD =&H0000000C
  616. Public Const PHONEBUTTONFUNCTION_PICKUP =&H0000000D
  617. Public Const PHONEBUTTONFUNCTION_RINGAGAIN =&H0000000E
  618. Public Const PHONEBUTTONFUNCTION_PARK =&H0000000F
  619. Public Const PHONEBUTTONFUNCTION_REJECT =&H00000010
  620. Public Const PHONEBUTTONFUNCTION_REDIRECT =&H00000011
  621. Public Const PHONEBUTTONFUNCTION_MUTE =&H00000012
  622. Public Const PHONEBUTTONFUNCTION_VOLUMEUP =&H00000013
  623. Public Const PHONEBUTTONFUNCTION_VOLUMEDOWN =&H00000014
  624. Public Const PHONEBUTTONFUNCTION_SPEAKERON =&H00000015
  625. Public Const PHONEBUTTONFUNCTION_SPEAKEROFF =&H00000016
  626. Public Const PHONEBUTTONFUNCTION_FLASH =&H00000017
  627. Public Const PHONEBUTTONFUNCTION_DATAON =&H00000018
  628. Public Const PHONEBUTTONFUNCTION_DATAOFF =&H00000019
  629. Public Const PHONEBUTTONFUNCTION_DONOTDISTURB =&H0000001A
  630. Public Const PHONEBUTTONFUNCTION_INTERCOM =&H0000001B
  631. Public Const PHONEBUTTONFUNCTION_BRIDGEDAPP =&H0000001C
  632. Public Const PHONEBUTTONFUNCTION_BUSY =&H0000001D
  633. Public Const PHONEBUTTONFUNCTION_CALLAPP =&H0000001E
  634. Public Const PHONEBUTTONFUNCTION_DATETIME =&H0000001F
  635. Public Const PHONEBUTTONFUNCTION_DIRECTORY =&H00000020
  636. Public Const PHONEBUTTONFUNCTION_COVER =&H00000021
  637. Public Const PHONEBUTTONFUNCTION_CALLID =&H00000022
  638. Public Const PHONEBUTTONFUNCTION_LASTNUM =&H00000023
  639. Public Const PHONEBUTTONFUNCTION_NIGHTSRV =&H00000024
  640. Public Const PHONEBUTTONFUNCTION_SENDCALLS =&H00000025
  641. Public Const PHONEBUTTONFUNCTION_MSGINDICATOR =&H00000026
  642. Public Const PHONEBUTTONFUNCTION_REPDIAL =&H00000027
  643. Public Const PHONEBUTTONFUNCTION_SETREPDIAL =&H00000028
  644. Public Const PHONEBUTTONFUNCTION_SYSTEMSPEED =&H00000029
  645. Public Const PHONEBUTTONFUNCTION_STATIONSPEED =&H0000002A
  646. Public Const PHONEBUTTONFUNCTION_CAMPON =&H0000002B
  647. Public Const PHONEBUTTONFUNCTION_SAVEREPEAT =&H0000002C
  648. Public Const PHONEBUTTONFUNCTION_QUEUECALL =&H0000002D
  649. Public Const PHONEBUTTONFUNCTION_NONE =&H0000002E
  650. Public Const PHONEBUTTONMODE_DUMMY =&H00000001
  651. Public Const PHONEBUTTONMODE_CALL =&H00000002
  652. Public Const PHONEBUTTONMODE_FEATURE =&H00000004
  653. Public Const PHONEBUTTONMODE_KEYPAD =&H00000008
  654. Public Const PHONEBUTTONMODE_LOCAL =&H00000010
  655. Public Const PHONEBUTTONMODE_DISPLAY =&H00000020
  656. Public Const PHONEBUTTONSTATE_UP =&H00000001
  657. Public Const PHONEBUTTONSTATE_DOWN =&H00000002
  658. Public Const PHONEBUTTONSTATE_UNKNOWN =&H00000004
  659. Public Const PHONEBUTTONSTATE_UNAVAIL =&H00000008
  660. Public Const PHONEERR_ALLOCATED =&H90000001
  661. Public Const PHONEERR_BADDEVICEID =&H90000002
  662. Public Const PHONEERR_INCOMPATIBLEAPIVERSION =&H90000003
  663. Public Const PHONEERR_INCOMPATIBLEEXTVERSION =&H90000004
  664. Public Const PHONEERR_INIFILECORRUPT =&H90000005
  665. Public Const PHONEERR_INUSE =&H90000006
  666. Public Const PHONEERR_INVALAPPHANDLE =&H90000007
  667. Public Const PHONEERR_INVALAPPNAME =&H90000008
  668. Public Const PHONEERR_INVALBUTTONLAMPID =&H90000009
  669. Public Const PHONEERR_INVALBUTTONMODE =&H9000000A
  670. Public Const PHONEERR_INVALBUTTONSTATE =&H9000000B
  671. Public Const PHONEERR_INVALDATAID =&H9000000C
  672. Public Const PHONEERR_INVALDEVICECLASS =&H9000000D
  673. Public Const PHONEERR_INVALEXTVERSION =&H9000000E
  674. Public Const PHONEERR_INVALHOOKSWITCHDEV =&H9000000F
  675. Public Const PHONEERR_INVALHOOKSWITCHMODE =&H90000010
  676. Public Const PHONEERR_INVALLAMPMODE =&H90000011
  677. Public Const PHONEERR_INVALPARAM =&H90000012
  678. Public Const PHONEERR_INVALPHONEHANDLE =&H90000013
  679. Public Const PHONEERR_INVALPHONESTATE =&H90000014
  680. Public Const PHONEERR_INVALPOINTER =&H90000015
  681. Public Const PHONEERR_INVALPRIVILEGE =&H90000016
  682. Public Const PHONEERR_INVALRINGMODE =&H90000017
  683. Public Const PHONEERR_NODEVICE =&H90000018
  684. Public Const PHONEERR_NODRIVER =&H90000019
  685. Public Const PHONEERR_NOMEM =&H9000001A
  686. Public Const PHONEERR_NOTOWNER =&H9000001B
  687. Public Const PHONEERR_OPERATIONFAILED =&H9000001C
  688. Public Const PHONEERR_OPERATIONUNAVAIL =&H9000001D
  689. Public Const PHONEERR_RESOURCEUNAVAIL =&H9000001F
  690. Public Const PHONEERR_REQUESTOVERRUN =&H90000020
  691. Public Const PHONEERR_STRUCTURETOOSMALL =&H90000021
  692. Public Const PHONEERR_UNINITIALIZED =&H90000022
  693. Public Const PHONEERR_REINIT =&H90000023
  694. Public Const PHONEERR_DISCONNECTED =&H90000024
  695. Public Const PHONEERR_LASTERRORVALUE =&H90000024
  696. Public Const PHONEFEATURE_GETBUTTONINFO =&H00000001
  697. Public Const PHONEFEATURE_GETDATA =&H00000002
  698. Public Const PHONEFEATURE_GETDISPLAY =&H00000004
  699. Public Const PHONEFEATURE_GETGAINHANDSET =&H00000008
  700. Public Const PHONEFEATURE_GETGAINSPEAKER =&H00000010
  701. Public Const PHONEFEATURE_GETGAINHEADSET =&H00000020
  702. Public Const PHONEFEATURE_GETHOOKSWITCHHANDSET =&H00000040
  703. Public Const PHONEFEATURE_GETHOOKSWITCHSPEAKER =&H00000080
  704. Public Const PHONEFEATURE_GETHOOKSWITCHHEADSET =&H00000100
  705. Public Const PHONEFEATURE_GETLAMP =&H00000200
  706. Public Const PHONEFEATURE_GETRING =&H00000400
  707. Public Const PHONEFEATURE_GETVOLUMEHANDSET =&H00000800
  708. Public Const PHONEFEATURE_GETVOLUMESPEAKER =&H00001000
  709. Public Const PHONEFEATURE_GETVOLUMEHEADSET =&H00002000
  710. Public Const PHONEFEATURE_SETBUTTONINFO =&H00004000
  711. Public Const PHONEFEATURE_SETDATA =&H00008000
  712. Public Const PHONEFEATURE_SETDISPLAY =&H00010000
  713. Public Const PHONEFEATURE_SETGAINHANDSET =&H00020000
  714. Public Const PHONEFEATURE_SETGAINSPEAKER =&H00040000
  715. Public Const PHONEFEATURE_SETGAINHEADSET =&H00080000
  716. Public Const PHONEFEATURE_SETHOOKSWITCHHANDSET =&H00100000
  717. Public Const PHONEFEATURE_SETHOOKSWITCHSPEAKER =&H00200000
  718. Public Const PHONEFEATURE_SETHOOKSWITCHHEADSET =&H00400000
  719. Public Const PHONEFEATURE_SETLAMP =&H00800000
  720. Public Const PHONEFEATURE_SETRING =&H01000000
  721. Public Const PHONEFEATURE_SETVOLUMEHANDSET =&H02000000
  722. Public Const PHONEFEATURE_SETVOLUMESPEAKER =&H04000000
  723. Public Const PHONEFEATURE_SETVOLUMEHEADSET =&H08000000
  724. Public Const PHONEHOOKSWITCHDEV_HANDSET =&H00000001
  725. Public Const PHONEHOOKSWITCHDEV_SPEAKER =&H00000002
  726. Public Const PHONEHOOKSWITCHDEV_HEADSET =&H00000004
  727. Public Const PHONEHOOKSWITCHMODE_ONHOOK =&H00000001
  728. Public Const PHONEHOOKSWITCHMODE_MIC =&H00000002
  729. Public Const PHONEHOOKSWITCHMODE_SPEAKER =&H00000004
  730. Public Const PHONEHOOKSWITCHMODE_MICSPEAKER =&H00000008
  731. Public Const PHONEHOOKSWITCHMODE_UNKNOWN =&H00000010
  732. Public Const PHONEINITIALIZEEXOPTION_USEHIDDENWINDOW =&H00000001
  733. Public Const PHONEINITIALIZEEXOPTION_USEEVENT =&H00000002
  734. Public Const PHONEINITIALIZEEXOPTION_USECOMPLETIONPORT =&H00000003
  735. Public Const PHONELAMPMODE_DUMMY =&H00000001
  736. Public Const PHONELAMPMODE_OFF =&H00000002
  737. Public Const PHONELAMPMODE_STEADY =&H00000004
  738. Public Const PHONELAMPMODE_WINK =&H00000008
  739. Public Const PHONELAMPMODE_FLASH =&H00000010
  740. Public Const PHONELAMPMODE_FLUTTER =&H00000020
  741. Public Const PHONELAMPMODE_BROKENFLUTTER =&H00000040
  742. Public Const PHONELAMPMODE_UNKNOWN =&H00000080
  743. Public Const PHONEPRIVILEGE_MONITOR =&H00000001
  744. Public Const PHONEPRIVILEGE_OWNER =&H00000002
  745. Public Const PHONESTATE_OTHER =&H00000001
  746. Public Const PHONESTATE_CONNECTED =&H00000002
  747. Public Const PHONESTATE_DISCONNECTED =&H00000004
  748. Public Const PHONESTATE_OWNER =&H00000008
  749. Public Const PHONESTATE_MONITORS =&H00000010
  750. Public Const PHONESTATE_DISPLAY =&H00000020
  751. Public Const PHONESTATE_LAMP =&H00000040
  752. Public Const PHONESTATE_RINGMODE =&H00000080
  753. Public Const PHONESTATE_RINGVOLUME =&H00000100
  754. Public Const PHONESTATE_HANDSETHOOKSWITCH =&H00000200
  755. Public Const PHONESTATE_HANDSETVOLUME =&H00000400
  756. Public Const PHONESTATE_HANDSETGAIN =&H00000800
  757. Public Const PHONESTATE_SPEAKERHOOKSWITCH =&H00001000
  758. Public Const PHONESTATE_SPEAKERVOLUME =&H00002000
  759. Public Const PHONESTATE_SPEAKERGAIN =&H00004000
  760. Public Const PHONESTATE_HEADSETHOOKSWITCH =&H00008000
  761. Public Const PHONESTATE_HEADSETVOLUME =&H00010000
  762. Public Const PHONESTATE_HEADSETGAIN =&H00020000
  763. Public Const PHONESTATE_SUSPEND =&H00040000
  764. Public Const PHONESTATE_RESUME =&H00080000
  765. Public Const PHONESTATE_DEVSPECIFIC =&H00100000
  766. Public Const PHONESTATE_REINIT =&H00200000
  767. Public Const PHONESTATE_CAPSCHANGE =&H00400000
  768. Public Const PHONESTATE_REMOVED =&H00800000
  769. Public Const PHONESTATUSFLAGS_CONNECTED =&H00000001
  770. Public Const PHONESTATUSFLAGS_SUSPENDED =&H00000002
  771. Public Const STRINGFORMAT_ASCII =&H00000001
  772. Public Const STRINGFORMAT_DBCS =&H00000002
  773. Public Const STRINGFORMAT_UNICODE =&H00000003
  774. Public Const STRINGFORMAT_BINARY =&H00000004
  775. Public Const TAPI_E_NOTENOUGHMEMORY =&H80040001
  776. Public Const TAPI_E_NOITEMS =&H80040002
  777. Public Const TAPI_E_NOTSUPPORTED =&H80040003
  778. Public Const TAPI_E_INVALIDMEDIATYPE =&H80040004
  779. Public Const TAPI_E_OPERATIONFAILED =&H80040005
  780. Public Const TAPI_E_ALLOCATED =&H80040006
  781. Public Const TAPI_E_CALLUNAVAIL =&H80040007
  782. Public Const TAPI_E_COMPLETIONOVERRUN =&H80040008
  783. Public Const TAPI_E_CONFERENCEFULL =&H80040009
  784. Public Const TAPI_E_DIALMODIFIERNOTSUPPORTED =&H8004000A
  785. Public Const TAPI_E_INUSE =&H8004000B
  786. Public Const TAPI_E_INVALADDRESS =&H8004000C
  787. Public Const TAPI_E_INVALADDRESSSTATE =&H8004000D
  788. Public Const TAPI_E_INVALCALLPARAMS =&H8004000E
  789. Public Const TAPI_E_INVALCALLPRIVILEGE =&H8004000F
  790. Public Const TAPI_E_INVALCALLSTATE =&H80040010
  791. Public Const TAPI_E_INVALCARD =&H80040011
  792. Public Const TAPI_E_INVALCOMPLETIONID =&H80040012
  793. Public Const TAPI_E_INVALCOUNTRYCODE =&H80040013
  794. Public Const TAPI_E_INVALDEVICECLASS =&H80040014
  795. Public Const TAPI_E_INVALDIALPARAMS =&H80040015
  796. Public Const TAPI_E_INVALDIGITS =&H80040016
  797. Public Const TAPI_E_INVALGROUPID =&H80040017
  798. Public Const TAPI_E_INVALLOCATION =&H80040018
  799. Public Const TAPI_E_INVALMESSAGEID =&H80040019
  800. Public Const TAPI_E_INVALPARKID =&H8004001A
  801. Public Const TAPI_E_INVALRATE =&H8004001B
  802. Public Const TAPI_E_INVALTIMEOUT =&H8004001C
  803. Public Const TAPI_E_INVALTONE =&H8004001D
  804. Public Const TAPI_E_INVALLIST =&H8004001E
  805. Public Const TAPI_E_INVALMODE =&H8004001F
  806. Public Const TAPI_E_NOCONFERENCE =&H80040020
  807. Public Const TAPI_E_NODEVICE =&H80040021
  808. Public Const TAPI_E_NOREQUEST =&H80040022
  809. Public Const TAPI_E_NOTOWNER =&H80040023
  810. Public Const TAPI_E_NOTREGISTERED =&H80040024
  811. Public Const TAPI_E_REQUESTOVERRUN =&H80040025
  812. Public Const TAPI_E_TARGETNOTFOUND =&H80040026
  813. Public Const TAPI_E_TARGETSELF =&H80040027
  814. Public Const TAPI_E_USERUSERINFOTOOBIG =&H80040028
  815. Public Const TAPI_E_REINIT =&H80040029
  816. Public Const TAPI_E_ADDRESSBLOCKED =&H8004002A
  817. Public Const TAPI_E_BILLINGREJECTED =&H8004002B
  818. Public Const TAPI_E_INVALFEATURE =&H8004002C
  819. Public Const TAPI_E_INVALBUTTONLAMPID =&H8004002D
  820. Public Const TAPI_E_INVALBUTTONSTATE =&H8004002E
  821. Public Const TAPI_E_INVALDATAID =&H8004002F
  822. Public Const TAPI_E_INVALHOOKSWITCHDEV =&H80040030
  823. Public Const TAPI_E_DROPPED =&H80040031
  824. Public Const TAPI_E_NOREQUESTRECIPIENT =&H80040032
  825. Public Const TAPI_E_REQUESTQUEUEFULL =&H80040033
  826. Public Const TAPI_E_DESTBUSY =&H80040034
  827. Public Const TAPI_E_DESTNOANSWER =&H80040035
  828. Public Const TAPI_E_DESTUNAVAIL =&H80040036
  829. Public Const TAPI_E_REQUESTFAILED =&H80040037
  830. Public Const TAPI_E_REQUESTCANCELLED =&H80040038
  831. Public Const TAPI_E_INVALPRIVILEGE =&H80040039
  832. Public Const TAPI_E_INVALIDDIRECTION =&H8004003A
  833. Public Const TAPI_E_INVALIDTERMINAL =&H8004003B
  834. Public Const TAPI_E_INVALIDTERMINALCLASS =&H8004003C
  835. Public Const TAPI_E_NODRIVER =&H8004003D
  836. Public Const TAPI_E_MAXSTREAMS =&H8004003E
  837. Public Const TAPI_E_NOTERMINALSELECTED =&H8004003F
  838. Public Const TAPI_E_TERMINALINUSE =&H80040040
  839. Public Const TAPI_E_NOTSTOPPED =&H80040041
  840. Public Const TAPI_E_MAXTERMINALS =&H80040042
  841. Public Const TAPI_E_INVALIDSTREAM =&H80040043
  842. Public Const TAPI_E_TIMEOUT =&H80040044
  843. Public Const TAPI_E_CALLCENTER_GROUP_REMOVED =&H80040045
  844. Public Const TAPI_E_CALLCENTER_QUEUE_REMOVED =&H80040046
  845. Public Const TAPI_E_CALLCENTER_NO_AGENT_ID =&H80040047
  846. Public Const TAPI_E_CALLCENTER_INVALAGENTID =&H80040048
  847. Public Const TAPI_E_CALLCENTER_INVALAGENTGROUP =&H80040049
  848. Public Const TAPI_E_CALLCENTER_INVALPASSWORD =&H8004004A
  849. Public Const TAPI_E_CALLCENTER_INVALAGENTSTATE =&H8004004B
  850. Public Const TAPI_E_CALLCENTER_INVALAGENTACTIVITY =&H8004004C
  851. Public Const TAPI_E_REGISTRY_SETTING_CORRUPT =&H8004004D
  852. Public Const TAPI_E_TERMINAL_PEER =&H8004004E
  853. Public Const TAPI_E_PEER_NOT_SET =&H8004004F
  854. Public Const TAPI_E_NOEVENT =&H80040050
  855. Public Const TAPI_E_INVALADDRESSTYPE =&H80040051
  856. Public Const TAPI_E_RESOURCEUNAVAIL =&H80040052