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.

775 lines
14 KiB

  1. ;/*****************************************************************************
  2. ;*
  3. ;* Copyright (c) Microsoft Corporation. All rights reserved.
  4. ;*
  5. ;* Module Name:
  6. ;*
  7. ;* tapi3err.h
  8. ;*
  9. ;* Abstract:
  10. ;*
  11. ;* Error Notifications for TAPI 3.0
  12. ;*
  13. ;*****************************************************************************/
  14. ;
  15. ;#if _MSC_VER >= 1000
  16. ;#pragma once
  17. ;#endif // _MSC_VER >= 1000
  18. ;
  19. ;#ifndef __TAPI3ERR_H__
  20. ;#define __TAPI3ERR_H__
  21. ;
  22. MessageIdTypedef=HRESULT
  23. SeverityNames=(Success=0x0
  24. CoError=0x2
  25. )
  26. FacilityNames=(Null=0x0
  27. Rpc=0x1
  28. Dispatch=0x2
  29. Storage=0x3
  30. Interface=0x4
  31. Win32=0x7
  32. Windows=0x8
  33. )
  34. ;//--------------------------------------------------------------------------
  35. ;// Core TAPI Error messages
  36. ;//--------------------------------------------------------------------------
  37. ;
  38. MessageId=
  39. Facility=Interface
  40. Severity=CoError
  41. SymbolicName=TAPI_E_NOTENOUGHMEMORY
  42. Language=English
  43. The buffer passed in to this method was not big enough.
  44. .
  45. MessageId=
  46. Facility=Interface
  47. Severity=CoError
  48. SymbolicName=TAPI_E_NOITEMS
  49. Language=English
  50. No items exist that match the request.
  51. .
  52. MessageId=
  53. Facility=Interface
  54. Severity=CoError
  55. SymbolicName=TAPI_E_NOTSUPPORTED
  56. Language=English
  57. This method is not supported.
  58. .
  59. MessageId=
  60. Facility=Interface
  61. Severity=CoError
  62. SymbolicName=TAPI_E_INVALIDMEDIATYPE
  63. Language=English
  64. The MEDIATYPE passed in to this method was invalid.
  65. .
  66. MessageId=
  67. Facility=Interface
  68. Severity=CoError
  69. SymbolicName=TAPI_E_OPERATIONFAILED
  70. Language=English
  71. The operation failed for an unspecified reason.
  72. .
  73. MessageId=
  74. Facility=Interface
  75. Severity=CoError
  76. SymbolicName=TAPI_E_ALLOCATED
  77. Language=English
  78. The device is already in use.
  79. .
  80. MessageId=
  81. Facility=Interface
  82. Severity=CoError
  83. SymbolicName=TAPI_E_CALLUNAVAIL
  84. Language=English
  85. No call appearance available.
  86. .
  87. MessageId=
  88. Facility=Interface
  89. Severity=CoError
  90. SymbolicName=TAPI_E_COMPLETIONOVERRUN
  91. Language=English
  92. Too many call completions outstanding.
  93. .
  94. MessageId=
  95. Facility=Interface
  96. Severity=CoError
  97. SymbolicName=TAPI_E_CONFERENCEFULL
  98. Language=English
  99. The conference is full.
  100. .
  101. MessageId=
  102. Facility=Interface
  103. Severity=CoError
  104. SymbolicName=TAPI_E_DIALMODIFIERNOTSUPPORTED
  105. Language=English
  106. The dial modifier is not supported.
  107. .
  108. MessageId=
  109. Facility=Interface
  110. Severity=CoError
  111. SymbolicName=TAPI_E_INUSE
  112. Language=English
  113. The device is already in use.
  114. .
  115. MessageId=
  116. Facility=Interface
  117. Severity=CoError
  118. SymbolicName=TAPI_E_INVALADDRESS
  119. Language=English
  120. The phone number is invalid or not properly formatted.
  121. .
  122. MessageId=
  123. Facility=Interface
  124. Severity=CoError
  125. SymbolicName=TAPI_E_INVALADDRESSSTATE
  126. Language=English
  127. Operation not permitted in current address state.
  128. .
  129. MessageId=
  130. Facility=Interface
  131. Severity=CoError
  132. SymbolicName=TAPI_E_INVALCALLPARAMS
  133. Language=English
  134. Invalid LINECALLPARAMS structure.
  135. .
  136. MessageId=
  137. Facility=Interface
  138. Severity=CoError
  139. SymbolicName=TAPI_E_INVALCALLPRIVILEGE
  140. Language=English
  141. Invalid call privilege.
  142. .
  143. MessageId=
  144. Facility=Interface
  145. Severity=CoError
  146. SymbolicName=TAPI_E_INVALCALLSTATE
  147. Language=English
  148. Operation not permitted in current call state.
  149. .
  150. MessageId=
  151. Facility=Interface
  152. Severity=CoError
  153. SymbolicName=TAPI_E_INVALCARD
  154. Language=English
  155. Invalid calling card.
  156. .
  157. MessageId=
  158. Facility=Interface
  159. Severity=CoError
  160. SymbolicName=TAPI_E_INVALCOMPLETIONID
  161. Language=English
  162. Invalid call completion ID.
  163. .
  164. MessageId=
  165. Facility=Interface
  166. Severity=CoError
  167. SymbolicName=TAPI_E_INVALCOUNTRYCODE
  168. Language=English
  169. Invalid country code.
  170. .
  171. MessageId=
  172. Facility=Interface
  173. Severity=CoError
  174. SymbolicName=TAPI_E_INVALDEVICECLASS
  175. Language=English
  176. Invalid device class identifier
  177. .
  178. MessageId=
  179. Facility=Interface
  180. Severity=CoError
  181. SymbolicName=TAPI_E_INVALDIALPARAMS
  182. Language=English
  183. Invalid dialing parameters
  184. .
  185. MessageId=
  186. Facility=Interface
  187. Severity=CoError
  188. SymbolicName=TAPI_E_INVALDIGITS
  189. Language=English
  190. Invalid digits.
  191. .
  192. MessageId=
  193. Facility=Interface
  194. Severity=CoError
  195. SymbolicName=TAPI_E_INVALGROUPID
  196. Language=English
  197. Invalid group pickup ID.
  198. .
  199. MessageId=
  200. Facility=Interface
  201. Severity=CoError
  202. SymbolicName=TAPI_E_INVALLOCATION
  203. Language=English
  204. Invalid location ID.
  205. .
  206. MessageId=
  207. Facility=Interface
  208. Severity=CoError
  209. SymbolicName=TAPI_E_INVALMESSAGEID
  210. Language=English
  211. Invalid message ID.
  212. .
  213. MessageId=
  214. Facility=Interface
  215. Severity=CoError
  216. SymbolicName=TAPI_E_INVALPARKID
  217. Language=English
  218. Invalid park ID.
  219. .
  220. MessageId=
  221. Facility=Interface
  222. Severity=CoError
  223. SymbolicName=TAPI_E_INVALRATE
  224. Language=English
  225. Invalid rate.
  226. .
  227. MessageId=
  228. Facility=Interface
  229. Severity=CoError
  230. SymbolicName=TAPI_E_INVALTIMEOUT
  231. Language=English
  232. Invalid timeout value.
  233. .
  234. MessageId=
  235. Facility=Interface
  236. Severity=CoError
  237. SymbolicName=TAPI_E_INVALTONE
  238. Language=English
  239. Invalid tone.
  240. .
  241. MessageId=
  242. Facility=Interface
  243. Severity=CoError
  244. SymbolicName=TAPI_E_INVALLIST
  245. Language=English
  246. Invalid list passed as a parameter
  247. .
  248. MessageId=
  249. Facility=Interface
  250. Severity=CoError
  251. SymbolicName=TAPI_E_INVALMODE
  252. Language=English
  253. Invalide mode passed as a parameter
  254. .
  255. MessageId=
  256. Facility=Interface
  257. Severity=CoError
  258. SymbolicName=TAPI_E_NOCONFERENCE
  259. Language=English
  260. The call is not part of a conference.
  261. .
  262. MessageId=
  263. Facility=Interface
  264. Severity=CoError
  265. SymbolicName=TAPI_E_NODEVICE
  266. Language=English
  267. The device was removed, or the device class is not recognized.
  268. .
  269. MessageId=
  270. Facility=Interface
  271. Severity=CoError
  272. SymbolicName=TAPI_E_NOREQUEST
  273. Language=English
  274. No Assisted Telephony requests are pending.
  275. .
  276. MessageId=
  277. Facility=Interface
  278. Severity=CoError
  279. SymbolicName=TAPI_E_NOTOWNER
  280. Language=English
  281. The application is does not have OWNER privilege on the call.
  282. .
  283. MessageId=
  284. Facility=Interface
  285. Severity=CoError
  286. SymbolicName=TAPI_E_NOTREGISTERED
  287. Language=English
  288. The application is not registered to handle requests.
  289. .
  290. MessageId=
  291. Facility=Interface
  292. Severity=CoError
  293. SymbolicName=TAPI_E_REQUESTOVERRUN
  294. Language=English
  295. The request queue is already full.
  296. .
  297. MessageId=
  298. Facility=Interface
  299. Severity=CoError
  300. SymbolicName=TAPI_E_TARGETNOTFOUND
  301. Language=English
  302. The call handoff failed because the specified target was not found.
  303. .
  304. MessageId=
  305. Facility=Interface
  306. Severity=CoError
  307. SymbolicName=TAPI_E_TARGETSELF
  308. Language=English
  309. No higher priority target exists for the call handoff.
  310. .
  311. MessageId=
  312. Facility=Interface
  313. Severity=CoError
  314. SymbolicName=TAPI_E_USERUSERINFOTOOBIG
  315. Language=English
  316. The amount of user-user info exceeds the maximum permitted.
  317. .
  318. MessageId=
  319. Facility=Interface
  320. Severity=CoError
  321. SymbolicName=TAPI_E_REINIT
  322. Language=English
  323. The operation cannot be completed until all TAPI applications shutdown and reinitialize.
  324. .
  325. MessageId=
  326. Facility=Interface
  327. Severity=CoError
  328. SymbolicName=TAPI_E_ADDRESSBLOCKED
  329. Language=English
  330. You are not permitted to call this number.
  331. .
  332. MessageId=
  333. Facility=Interface
  334. Severity=CoError
  335. SymbolicName=TAPI_E_BILLINGREJECTED
  336. Language=English
  337. The calling card number or other billing information was rejected.
  338. .
  339. MessageId=
  340. Facility=Interface
  341. Severity=CoError
  342. SymbolicName=TAPI_E_INVALFEATURE
  343. Language=English
  344. Invalid device-specific feature.
  345. .
  346. MessageId=
  347. Facility=Interface
  348. Severity=CoError
  349. SymbolicName=TAPI_E_INVALBUTTONLAMPID
  350. Language=English
  351. Invalid button or lamp ID.
  352. .
  353. MessageId=
  354. Facility=Interface
  355. Severity=CoError
  356. SymbolicName=TAPI_E_INVALBUTTONSTATE
  357. Language=English
  358. Invalid button state.
  359. .
  360. MessageId=
  361. Facility=Interface
  362. Severity=CoError
  363. SymbolicName=TAPI_E_INVALDATAID
  364. Language=English
  365. Invalid data segment ID.
  366. .
  367. MessageId=
  368. Facility=Interface
  369. Severity=CoError
  370. SymbolicName=TAPI_E_INVALHOOKSWITCHDEV
  371. Language=English
  372. Invalid hookswitch device ID.
  373. .
  374. MessageId=
  375. Facility=Interface
  376. Severity=CoError
  377. SymbolicName=TAPI_E_DROPPED
  378. Language=English
  379. The call was disconnected.
  380. .
  381. MessageId=
  382. Facility=Interface
  383. Severity=CoError
  384. SymbolicName=TAPI_E_NOREQUESTRECIPIENT
  385. Language=English
  386. No program is available to handle the request.
  387. .
  388. MessageId=
  389. Facility=Interface
  390. Severity=CoError
  391. SymbolicName=TAPI_E_REQUESTQUEUEFULL
  392. Language=English
  393. The queue of call requests is full.
  394. .
  395. MessageId=
  396. Facility=Interface
  397. Severity=CoError
  398. SymbolicName=TAPI_E_DESTBUSY
  399. Language=English
  400. The called number is busy.
  401. .
  402. MessageId=
  403. Facility=Interface
  404. Severity=CoError
  405. SymbolicName=TAPI_E_DESTNOANSWER
  406. Language=English
  407. The called party does not answer.
  408. .
  409. MessageId=
  410. Facility=Interface
  411. Severity=CoError
  412. SymbolicName=TAPI_E_DESTUNAVAIL
  413. Language=English
  414. The called number could not be reached
  415. .
  416. MessageId=
  417. Facility=Interface
  418. Severity=CoError
  419. SymbolicName=TAPI_E_REQUESTFAILED
  420. Language=English
  421. The request failed for unspecified reasons.
  422. .
  423. MessageId=
  424. Facility=Interface
  425. Severity=CoError
  426. SymbolicName=TAPI_E_REQUESTCANCELLED
  427. Language=English
  428. The request was cancelled.
  429. .
  430. MessageId=
  431. Facility=Interface
  432. Severity=CoError
  433. SymbolicName=TAPI_E_INVALPRIVILEGE
  434. Language=English
  435. Invalid privilege.
  436. .
  437. MessageId=
  438. Facility=Interface
  439. Severity=CoError
  440. SymbolicName=TAPI_E_INVALIDDIRECTION
  441. Language=English
  442. The TERMINAL_DIRECTION passed in was invalid.
  443. .
  444. MessageId=
  445. Facility=Interface
  446. Severity=CoError
  447. SymbolicName=TAPI_E_INVALIDTERMINAL
  448. Language=English
  449. The Terminal passed in was invalid for this operation.
  450. .
  451. MessageId=
  452. Facility=Interface
  453. Severity=CoError
  454. SymbolicName=TAPI_E_INVALIDTERMINALCLASS
  455. Language=English
  456. The Terminal Class is invalid.
  457. .
  458. MessageId=
  459. Facility=Interface
  460. Severity=CoError
  461. SymbolicName=TAPI_E_NODRIVER
  462. Language=English
  463. The service provider was removed.
  464. .
  465. MessageId=
  466. Facility=Interface
  467. Severity=CoError
  468. SymbolicName=TAPI_E_MAXSTREAMS
  469. Language=English
  470. The maximum number of streams was reached.
  471. .
  472. MessageId=
  473. Facility=Interface
  474. Severity=CoError
  475. SymbolicName=TAPI_E_NOTERMINALSELECTED
  476. Language=English
  477. The operation could not be performed because it requires terminals to be selected.
  478. .
  479. MessageId=
  480. Facility=Interface
  481. Severity=CoError
  482. SymbolicName=TAPI_E_TERMINALINUSE
  483. Language=English
  484. The operation could not be performed because the terminal is in use.
  485. .
  486. MessageId=
  487. Facility=Interface
  488. Severity=CoError
  489. SymbolicName=TAPI_E_NOTSTOPPED
  490. Language=English
  491. The operation could not be performed because it requires the stream to be stopped.
  492. .
  493. MessageId=
  494. Facility=Interface
  495. Severity=CoError
  496. SymbolicName=TAPI_E_MAXTERMINALS
  497. Language=English
  498. The maximum number of terminals has been reached.
  499. .
  500. MessageId=
  501. Facility=Interface
  502. Severity=CoError
  503. SymbolicName=TAPI_E_INVALIDSTREAM
  504. Language=English
  505. The Stream passed in was invalid for this operation.
  506. .
  507. MessageId=
  508. Facility=Interface
  509. Severity=CoError
  510. SymbolicName=TAPI_E_TIMEOUT
  511. Language=English
  512. The call failed due to a timeout.
  513. .
  514. ;//--------------------------------------------------------------------------
  515. ;// Call Center Error messages
  516. ;//--------------------------------------------------------------------------
  517. ;
  518. MessageId=
  519. Facility=Interface
  520. Severity=CoError
  521. SymbolicName=TAPI_E_CALLCENTER_GROUP_REMOVED
  522. Language=English
  523. The ACD Proxy has removed this Group. Operations on this object are invalid.
  524. .
  525. MessageId=
  526. Facility=Interface
  527. Severity=CoError
  528. SymbolicName=TAPI_E_CALLCENTER_QUEUE_REMOVED
  529. Language=English
  530. The ACD Proxy has removed this Queue. Operations on this object are invalid.
  531. .
  532. MessageId=
  533. Facility=Interface
  534. Severity=CoError
  535. SymbolicName=TAPI_E_CALLCENTER_NO_AGENT_ID
  536. Language=English
  537. The Agent object was created with CreateAgent. It does not have an ID, use CreateAgentWithID.
  538. .
  539. MessageId=
  540. Facility=Interface
  541. Severity=CoError
  542. SymbolicName=TAPI_E_CALLCENTER_INVALAGENTID
  543. Language=English
  544. Invalid agent ID.
  545. .
  546. MessageId=
  547. Facility=Interface
  548. Severity=CoError
  549. SymbolicName=TAPI_E_CALLCENTER_INVALAGENTGROUP
  550. Language=English
  551. Invalid agent group.
  552. .
  553. MessageId=
  554. Facility=Interface
  555. Severity=CoError
  556. SymbolicName=TAPI_E_CALLCENTER_INVALPASSWORD
  557. Language=English
  558. Invalid agent password.
  559. .
  560. MessageId=
  561. Facility=Interface
  562. Severity=CoError
  563. SymbolicName=TAPI_E_CALLCENTER_INVALAGENTSTATE
  564. Language=English
  565. Invalid agent state
  566. .
  567. MessageId=
  568. Facility=Interface
  569. Severity=CoError
  570. SymbolicName=TAPI_E_CALLCENTER_INVALAGENTACTIVITY
  571. Language=English
  572. Invalid agent activity.
  573. .
  574. MessageId=
  575. Facility=Interface
  576. Severity=CoError
  577. SymbolicName=TAPI_E_REGISTRY_SETTING_CORRUPT
  578. Language=English
  579. Registry Setting is Corrupt.
  580. .
  581. ;//--------------------------------------------------------------------------
  582. ;// Terminal Specific Error messages
  583. ;//--------------------------------------------------------------------------
  584. ;
  585. MessageId=
  586. Facility=Interface
  587. Severity=CoError
  588. SymbolicName=TAPI_E_TERMINAL_PEER
  589. Language=English
  590. The peer for one of these bridge terminals has already been assigned.
  591. .
  592. MessageId=
  593. Facility=Interface
  594. Severity=CoError
  595. SymbolicName=TAPI_E_PEER_NOT_SET
  596. Language=English
  597. The peer for this bridge terminal must be set to complete this operation.
  598. .
  599. ;
  600. ;//--------------------------------------------------------------------------
  601. ;// Media Service Provider Error messages
  602. ;//--------------------------------------------------------------------------
  603. MessageId=
  604. Facility=Interface
  605. Severity=CoError
  606. SymbolicName=TAPI_E_NOEVENT
  607. Language=English
  608. There is no event in the MSP's event queue.
  609. .
  610. ;//--------------------------------------------------------------------------
  611. ;// Core TAPI Error messages
  612. ;//--------------------------------------------------------------------------
  613. ;
  614. MessageId=
  615. Facility=Interface
  616. Severity=CoError
  617. SymbolicName=TAPI_E_INVALADDRESSTYPE
  618. Language=English
  619. The specified address type is not supported by this address.
  620. .
  621. MessageId=
  622. Facility=Interface
  623. Severity=CoError
  624. SymbolicName=TAPI_E_RESOURCEUNAVAIL
  625. Language=English
  626. A resource needed to fulfill the request is not available.
  627. .
  628. MessageId=
  629. Facility=Interface
  630. Severity=CoError
  631. SymbolicName=TAPI_E_PHONENOTOPEN
  632. Language=English
  633. The phone is not open.
  634. .
  635. MessageId=
  636. Facility=Interface
  637. Severity=CoError
  638. SymbolicName=TAPI_E_CALLNOTSELECTED
  639. Language=English
  640. The specified call is not currently selected.
  641. .
  642. MessageId=
  643. Facility=Interface
  644. Severity=CoError
  645. SymbolicName=TAPI_E_WRONGEVENT
  646. Language=English
  647. This information is not available for this type of event.
  648. .
  649. MessageId=
  650. Facility=Interface
  651. Severity=CoError
  652. SymbolicName=TAPI_E_NOFORMAT
  653. Language=English
  654. The format is unknown
  655. .
  656. MessageId=
  657. Facility=Interface
  658. Severity=CoError
  659. SymbolicName=TAPI_E_INVALIDSTREAMSTATE
  660. Language=English
  661. The operation is not permitted in current stream state.
  662. .
  663. MessageId=
  664. Facility=Interface
  665. Severity=CoError
  666. SymbolicName=TAPI_E_WRONG_STATE
  667. Language=English
  668. The operation requested is not permitted for the current state.
  669. .
  670. MessageId=
  671. Facility=Interface
  672. Severity=CoError
  673. SymbolicName=TAPI_E_NOT_INITIALIZED
  674. Language=English
  675. The object has not been initialized.
  676. .
  677. MessageId=
  678. Facility=Interface
  679. Severity=CoError
  680. SymbolicName=TAPI_E_SERVICE_NOT_RUNNING
  681. Language=English
  682. The Telephony Service could not be contacted.
  683. .
  684. ;#endif // #ifndef __TAPI3ERR_H__