Tapi3Err.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:18k
源码类别:

模拟服务器

开发平台:

C/C++

  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. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. #ifndef __TAPI3ERR_H__
  18. #define __TAPI3ERR_H__
  19. //--------------------------------------------------------------------------
  20. //     Core TAPI Error messages
  21. //--------------------------------------------------------------------------
  22. //
  23. //  Values are 32 bit values layed out as follows:
  24. //
  25. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  26. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  27. //  +---+-+-+-----------------------+-------------------------------+
  28. //  |Sev|C|R|     Facility          |               Code            |
  29. //  +---+-+-+-----------------------+-------------------------------+
  30. //
  31. //  where
  32. //
  33. //      Sev - is the severity code
  34. //
  35. //          00 - Success
  36. //          01 - Informational
  37. //          10 - Warning
  38. //          11 - Error
  39. //
  40. //      C - is the Customer code flag
  41. //
  42. //      R - is a reserved bit
  43. //
  44. //      Facility - is the facility code
  45. //
  46. //      Code - is the facility's status code
  47. //
  48. //
  49. // Define the facility codes
  50. //
  51. //
  52. // Define the severity codes
  53. //
  54. //
  55. // MessageId: TAPI_E_NOTENOUGHMEMORY
  56. //
  57. // MessageText:
  58. //
  59. //  The buffer passed in to this method was not big enough.
  60. //
  61. #define TAPI_E_NOTENOUGHMEMORY           ((HRESULT)0x80040001L)
  62. //
  63. // MessageId: TAPI_E_NOITEMS
  64. //
  65. // MessageText:
  66. //
  67. //  No items exist that match the request.
  68. //
  69. #define TAPI_E_NOITEMS                   ((HRESULT)0x80040002L)
  70. //
  71. // MessageId: TAPI_E_NOTSUPPORTED
  72. //
  73. // MessageText:
  74. //
  75. //  This method is not supported.
  76. //
  77. #define TAPI_E_NOTSUPPORTED              ((HRESULT)0x80040003L)
  78. //
  79. // MessageId: TAPI_E_INVALIDMEDIATYPE
  80. //
  81. // MessageText:
  82. //
  83. //  The MEDIATYPE passed in to this method was invalid.
  84. //
  85. #define TAPI_E_INVALIDMEDIATYPE          ((HRESULT)0x80040004L)
  86. //
  87. // MessageId: TAPI_E_OPERATIONFAILED
  88. //
  89. // MessageText:
  90. //
  91. //  The operation failed for an unspecified reason.
  92. //
  93. #define TAPI_E_OPERATIONFAILED           ((HRESULT)0x80040005L)
  94. //
  95. // MessageId: TAPI_E_ALLOCATED
  96. //
  97. // MessageText:
  98. //
  99. //  The device is already in use.
  100. //
  101. #define TAPI_E_ALLOCATED                 ((HRESULT)0x80040006L)
  102. //
  103. // MessageId: TAPI_E_CALLUNAVAIL
  104. //
  105. // MessageText:
  106. //
  107. //  No call appearance available.
  108. //
  109. #define TAPI_E_CALLUNAVAIL               ((HRESULT)0x80040007L)
  110. //
  111. // MessageId: TAPI_E_COMPLETIONOVERRUN
  112. //
  113. // MessageText:
  114. //
  115. //  Too many call completions outstanding.
  116. //
  117. #define TAPI_E_COMPLETIONOVERRUN         ((HRESULT)0x80040008L)
  118. //
  119. // MessageId: TAPI_E_CONFERENCEFULL
  120. //
  121. // MessageText:
  122. //
  123. //  The conference is full.
  124. //
  125. #define TAPI_E_CONFERENCEFULL            ((HRESULT)0x80040009L)
  126. //
  127. // MessageId: TAPI_E_DIALMODIFIERNOTSUPPORTED
  128. //
  129. // MessageText:
  130. //
  131. //  The dial modifier is not supported.
  132. //
  133. #define TAPI_E_DIALMODIFIERNOTSUPPORTED  ((HRESULT)0x8004000AL)
  134. //
  135. // MessageId: TAPI_E_INUSE
  136. //
  137. // MessageText:
  138. //
  139. //  The device is already in use.
  140. //
  141. #define TAPI_E_INUSE                     ((HRESULT)0x8004000BL)
  142. //
  143. // MessageId: TAPI_E_INVALADDRESS
  144. //
  145. // MessageText:
  146. //
  147. //  The phone number is invalid or not properly formatted.
  148. //
  149. #define TAPI_E_INVALADDRESS              ((HRESULT)0x8004000CL)
  150. //
  151. // MessageId: TAPI_E_INVALADDRESSSTATE
  152. //
  153. // MessageText:
  154. //
  155. //  Operation not permitted in current address state.
  156. //
  157. #define TAPI_E_INVALADDRESSSTATE         ((HRESULT)0x8004000DL)
  158. //
  159. // MessageId: TAPI_E_INVALCALLPARAMS
  160. //
  161. // MessageText:
  162. //
  163. //  Invalid LINECALLPARAMS structure.
  164. //
  165. #define TAPI_E_INVALCALLPARAMS           ((HRESULT)0x8004000EL)
  166. //
  167. // MessageId: TAPI_E_INVALCALLPRIVILEGE
  168. //
  169. // MessageText:
  170. //
  171. //  Invalid call privilege.
  172. //
  173. #define TAPI_E_INVALCALLPRIVILEGE        ((HRESULT)0x8004000FL)
  174. //
  175. // MessageId: TAPI_E_INVALCALLSTATE
  176. //
  177. // MessageText:
  178. //
  179. //  Operation not permitted in current call state.
  180. //
  181. #define TAPI_E_INVALCALLSTATE            ((HRESULT)0x80040010L)
  182. //
  183. // MessageId: TAPI_E_INVALCARD
  184. //
  185. // MessageText:
  186. //
  187. //  Invalid calling card.
  188. //
  189. #define TAPI_E_INVALCARD                 ((HRESULT)0x80040011L)
  190. //
  191. // MessageId: TAPI_E_INVALCOMPLETIONID
  192. //
  193. // MessageText:
  194. //
  195. //  Invalid call completion ID.
  196. //
  197. #define TAPI_E_INVALCOMPLETIONID         ((HRESULT)0x80040012L)
  198. //
  199. // MessageId: TAPI_E_INVALCOUNTRYCODE
  200. //
  201. // MessageText:
  202. //
  203. //  Invalid country code.
  204. //
  205. #define TAPI_E_INVALCOUNTRYCODE          ((HRESULT)0x80040013L)
  206. //
  207. // MessageId: TAPI_E_INVALDEVICECLASS
  208. //
  209. // MessageText:
  210. //
  211. //  Invalid device class identifier
  212. //
  213. #define TAPI_E_INVALDEVICECLASS          ((HRESULT)0x80040014L)
  214. //
  215. // MessageId: TAPI_E_INVALDIALPARAMS
  216. //
  217. // MessageText:
  218. //
  219. //  Invalid dialing parameters
  220. //
  221. #define TAPI_E_INVALDIALPARAMS           ((HRESULT)0x80040015L)
  222. //
  223. // MessageId: TAPI_E_INVALDIGITS
  224. //
  225. // MessageText:
  226. //
  227. //  Invalid digits.
  228. //
  229. #define TAPI_E_INVALDIGITS               ((HRESULT)0x80040016L)
  230. //
  231. // MessageId: TAPI_E_INVALGROUPID
  232. //
  233. // MessageText:
  234. //
  235. //  Invalid group pickup ID.
  236. //
  237. #define TAPI_E_INVALGROUPID              ((HRESULT)0x80040017L)
  238. //
  239. // MessageId: TAPI_E_INVALLOCATION
  240. //
  241. // MessageText:
  242. //
  243. //  Invalid location ID.
  244. //
  245. #define TAPI_E_INVALLOCATION             ((HRESULT)0x80040018L)
  246. //
  247. // MessageId: TAPI_E_INVALMESSAGEID
  248. //
  249. // MessageText:
  250. //
  251. //  Invalid message ID.
  252. //
  253. #define TAPI_E_INVALMESSAGEID            ((HRESULT)0x80040019L)
  254. //
  255. // MessageId: TAPI_E_INVALPARKID
  256. //
  257. // MessageText:
  258. //
  259. //  Invalid park ID.
  260. //
  261. #define TAPI_E_INVALPARKID               ((HRESULT)0x8004001AL)
  262. //
  263. // MessageId: TAPI_E_INVALRATE
  264. //
  265. // MessageText:
  266. //
  267. //  Invalid rate.
  268. //
  269. #define TAPI_E_INVALRATE                 ((HRESULT)0x8004001BL)
  270. //
  271. // MessageId: TAPI_E_INVALTIMEOUT
  272. //
  273. // MessageText:
  274. //
  275. //  Invalid timeout value.
  276. //
  277. #define TAPI_E_INVALTIMEOUT              ((HRESULT)0x8004001CL)
  278. //
  279. // MessageId: TAPI_E_INVALTONE
  280. //
  281. // MessageText:
  282. //
  283. //  Invalid tone.
  284. //
  285. #define TAPI_E_INVALTONE                 ((HRESULT)0x8004001DL)
  286. //
  287. // MessageId: TAPI_E_INVALLIST
  288. //
  289. // MessageText:
  290. //
  291. //  Invalid list passed as a parameter
  292. //
  293. #define TAPI_E_INVALLIST                 ((HRESULT)0x8004001EL)
  294. //
  295. // MessageId: TAPI_E_INVALMODE
  296. //
  297. // MessageText:
  298. //
  299. //  Invalide mode passed as a parameter
  300. //
  301. #define TAPI_E_INVALMODE                 ((HRESULT)0x8004001FL)
  302. //
  303. // MessageId: TAPI_E_NOCONFERENCE
  304. //
  305. // MessageText:
  306. //
  307. //  The call is not part of a conference.
  308. //
  309. #define TAPI_E_NOCONFERENCE              ((HRESULT)0x80040020L)
  310. //
  311. // MessageId: TAPI_E_NODEVICE
  312. //
  313. // MessageText:
  314. //
  315. //  The device was removed, or the device class is not recognized.
  316. //
  317. #define TAPI_E_NODEVICE                  ((HRESULT)0x80040021L)
  318. //
  319. // MessageId: TAPI_E_NOREQUEST
  320. //
  321. // MessageText:
  322. //
  323. //  No Assisted Telephony requests are pending.
  324. //
  325. #define TAPI_E_NOREQUEST                 ((HRESULT)0x80040022L)
  326. //
  327. // MessageId: TAPI_E_NOTOWNER
  328. //
  329. // MessageText:
  330. //
  331. //  The application is does not have OWNER privilege on the call.
  332. //
  333. #define TAPI_E_NOTOWNER                  ((HRESULT)0x80040023L)
  334. //
  335. // MessageId: TAPI_E_NOTREGISTERED
  336. //
  337. // MessageText:
  338. //
  339. //  The application is not registered to handle requests.
  340. //
  341. #define TAPI_E_NOTREGISTERED             ((HRESULT)0x80040024L)
  342. //
  343. // MessageId: TAPI_E_REQUESTOVERRUN
  344. //
  345. // MessageText:
  346. //
  347. //  The request queue is already full.
  348. //
  349. #define TAPI_E_REQUESTOVERRUN            ((HRESULT)0x80040025L)
  350. //
  351. // MessageId: TAPI_E_TARGETNOTFOUND
  352. //
  353. // MessageText:
  354. //
  355. //  The call handoff failed because the specified target was not found.
  356. //
  357. #define TAPI_E_TARGETNOTFOUND            ((HRESULT)0x80040026L)
  358. //
  359. // MessageId: TAPI_E_TARGETSELF
  360. //
  361. // MessageText:
  362. //
  363. //  No higher priority target exists for the call handoff.
  364. //
  365. #define TAPI_E_TARGETSELF                ((HRESULT)0x80040027L)
  366. //
  367. // MessageId: TAPI_E_USERUSERINFOTOOBIG
  368. //
  369. // MessageText:
  370. //
  371. //  The amount of user-user info exceeds the maximum permitted.
  372. //
  373. #define TAPI_E_USERUSERINFOTOOBIG        ((HRESULT)0x80040028L)
  374. //
  375. // MessageId: TAPI_E_REINIT
  376. //
  377. // MessageText:
  378. //
  379. //  The operation cannot be completed until all TAPI applications shutdown and reinitialize. 
  380. //
  381. #define TAPI_E_REINIT                    ((HRESULT)0x80040029L)
  382. //
  383. // MessageId: TAPI_E_ADDRESSBLOCKED
  384. //
  385. // MessageText:
  386. //
  387. //  You are not permitted to call this number.
  388. //
  389. #define TAPI_E_ADDRESSBLOCKED            ((HRESULT)0x8004002AL)
  390. //
  391. // MessageId: TAPI_E_BILLINGREJECTED
  392. //
  393. // MessageText:
  394. //
  395. //  The calling card number or other billing information was rejected.
  396. //
  397. #define TAPI_E_BILLINGREJECTED           ((HRESULT)0x8004002BL)
  398. //
  399. // MessageId: TAPI_E_INVALFEATURE
  400. //
  401. // MessageText:
  402. //
  403. //  Invalid device-specific feature.
  404. //
  405. #define TAPI_E_INVALFEATURE              ((HRESULT)0x8004002CL)
  406. //
  407. // MessageId: TAPI_E_INVALBUTTONLAMPID
  408. //
  409. // MessageText:
  410. //
  411. //  Invalid button or lamp ID.
  412. //
  413. #define TAPI_E_INVALBUTTONLAMPID         ((HRESULT)0x8004002DL)
  414. //
  415. // MessageId: TAPI_E_INVALBUTTONSTATE
  416. //
  417. // MessageText:
  418. //
  419. //  Invalid button state.
  420. //
  421. #define TAPI_E_INVALBUTTONSTATE          ((HRESULT)0x8004002EL)
  422. //
  423. // MessageId: TAPI_E_INVALDATAID
  424. //
  425. // MessageText:
  426. //
  427. //  Invalid data segment ID.
  428. //
  429. #define TAPI_E_INVALDATAID               ((HRESULT)0x8004002FL)
  430. //
  431. // MessageId: TAPI_E_INVALHOOKSWITCHDEV
  432. //
  433. // MessageText:
  434. //
  435. //  Invalid hookswitch device ID.
  436. //
  437. #define TAPI_E_INVALHOOKSWITCHDEV        ((HRESULT)0x80040030L)
  438. //
  439. // MessageId: TAPI_E_DROPPED
  440. //
  441. // MessageText:
  442. //
  443. //  The call was disconnected.
  444. //
  445. #define TAPI_E_DROPPED                   ((HRESULT)0x80040031L)
  446. //
  447. // MessageId: TAPI_E_NOREQUESTRECIPIENT
  448. //
  449. // MessageText:
  450. //
  451. //  No program is available to handle the request.
  452. //
  453. #define TAPI_E_NOREQUESTRECIPIENT        ((HRESULT)0x80040032L)
  454. //
  455. // MessageId: TAPI_E_REQUESTQUEUEFULL
  456. //
  457. // MessageText:
  458. //
  459. //  The queue of call requests is full.
  460. //
  461. #define TAPI_E_REQUESTQUEUEFULL          ((HRESULT)0x80040033L)
  462. //
  463. // MessageId: TAPI_E_DESTBUSY
  464. //
  465. // MessageText:
  466. //
  467. //  The called number is busy.
  468. //
  469. #define TAPI_E_DESTBUSY                  ((HRESULT)0x80040034L)
  470. //
  471. // MessageId: TAPI_E_DESTNOANSWER
  472. //
  473. // MessageText:
  474. //
  475. //  The called party does not answer.
  476. //
  477. #define TAPI_E_DESTNOANSWER              ((HRESULT)0x80040035L)
  478. //
  479. // MessageId: TAPI_E_DESTUNAVAIL
  480. //
  481. // MessageText:
  482. //
  483. //  The called number could not be reached
  484. //
  485. #define TAPI_E_DESTUNAVAIL               ((HRESULT)0x80040036L)
  486. //
  487. // MessageId: TAPI_E_REQUESTFAILED
  488. //
  489. // MessageText:
  490. //
  491. //  The request failed for unspecified reasons.
  492. //
  493. #define TAPI_E_REQUESTFAILED             ((HRESULT)0x80040037L)
  494. //
  495. // MessageId: TAPI_E_REQUESTCANCELLED
  496. //
  497. // MessageText:
  498. //
  499. //  The request was cancelled.
  500. //
  501. #define TAPI_E_REQUESTCANCELLED          ((HRESULT)0x80040038L)
  502. //
  503. // MessageId: TAPI_E_INVALPRIVILEGE
  504. //
  505. // MessageText:
  506. //
  507. //  Invalid privilege.
  508. //
  509. #define TAPI_E_INVALPRIVILEGE            ((HRESULT)0x80040039L)
  510. //
  511. // MessageId: TAPI_E_INVALIDDIRECTION
  512. //
  513. // MessageText:
  514. //
  515. //  The TERMINAL_DIRECTION passed in was invalid.
  516. //
  517. #define TAPI_E_INVALIDDIRECTION          ((HRESULT)0x8004003AL)
  518. //
  519. // MessageId: TAPI_E_INVALIDTERMINAL
  520. //
  521. // MessageText:
  522. //
  523. //  The Terminal passed in was invalid for this operation.
  524. //
  525. #define TAPI_E_INVALIDTERMINAL           ((HRESULT)0x8004003BL)
  526. //
  527. // MessageId: TAPI_E_INVALIDTERMINALCLASS
  528. //
  529. // MessageText:
  530. //
  531. //  The Terminal Class is invalid.
  532. //
  533. #define TAPI_E_INVALIDTERMINALCLASS      ((HRESULT)0x8004003CL)
  534. //
  535. // MessageId: TAPI_E_NODRIVER
  536. //
  537. // MessageText:
  538. //
  539. //  The service provider was removed.
  540. //
  541. #define TAPI_E_NODRIVER                  ((HRESULT)0x8004003DL)
  542. //
  543. // MessageId: TAPI_E_MAXSTREAMS
  544. //
  545. // MessageText:
  546. //
  547. //  The maximum number of streams was reached.
  548. //
  549. #define TAPI_E_MAXSTREAMS                ((HRESULT)0x8004003EL)
  550. //
  551. // MessageId: TAPI_E_NOTERMINALSELECTED
  552. //
  553. // MessageText:
  554. //
  555. //  The operation could not be performed because it requires terminals to be selected.
  556. //
  557. #define TAPI_E_NOTERMINALSELECTED        ((HRESULT)0x8004003FL)
  558. //
  559. // MessageId: TAPI_E_TERMINALINUSE
  560. //
  561. // MessageText:
  562. //
  563. //  The operation could not be performed because the terminal is in use.
  564. //
  565. #define TAPI_E_TERMINALINUSE             ((HRESULT)0x80040040L)
  566. //
  567. // MessageId: TAPI_E_NOTSTOPPED
  568. //
  569. // MessageText:
  570. //
  571. //  The operation could not be performed because it requires the stream to be stopped.
  572. //
  573. #define TAPI_E_NOTSTOPPED                ((HRESULT)0x80040041L)
  574. //
  575. // MessageId: TAPI_E_MAXTERMINALS
  576. //
  577. // MessageText:
  578. //
  579. //  The maximum number of terminals has been reached.
  580. //
  581. #define TAPI_E_MAXTERMINALS              ((HRESULT)0x80040042L)
  582. //
  583. // MessageId: TAPI_E_INVALIDSTREAM
  584. //
  585. // MessageText:
  586. //
  587. //  The Stream passed in was invalid for this operation.
  588. //
  589. #define TAPI_E_INVALIDSTREAM             ((HRESULT)0x80040043L)
  590. //
  591. // MessageId: TAPI_E_TIMEOUT
  592. //
  593. // MessageText:
  594. //
  595. //  The call failed due to a timeout.
  596. //
  597. #define TAPI_E_TIMEOUT                   ((HRESULT)0x80040044L)
  598. //--------------------------------------------------------------------------
  599. //     Call Center Error messages
  600. //--------------------------------------------------------------------------
  601. //
  602. // MessageId: TAPI_E_CALLCENTER_GROUP_REMOVED
  603. //
  604. // MessageText:
  605. //
  606. //  The ACD Proxy has removed this Group. Operations on this object are invalid.
  607. //
  608. #define TAPI_E_CALLCENTER_GROUP_REMOVED  ((HRESULT)0x80040045L)
  609. //
  610. // MessageId: TAPI_E_CALLCENTER_QUEUE_REMOVED
  611. //
  612. // MessageText:
  613. //
  614. //  The ACD Proxy has removed this Queue. Operations on this object are invalid.
  615. //
  616. #define TAPI_E_CALLCENTER_QUEUE_REMOVED  ((HRESULT)0x80040046L)
  617. //
  618. // MessageId: TAPI_E_CALLCENTER_NO_AGENT_ID
  619. //
  620. // MessageText:
  621. //
  622. //  The Agent object was created with CreateAgent. It does not have an ID, use CreateAgentWithID.
  623. //
  624. #define TAPI_E_CALLCENTER_NO_AGENT_ID    ((HRESULT)0x80040047L)
  625. //
  626. // MessageId: TAPI_E_CALLCENTER_INVALAGENTID
  627. //
  628. // MessageText:
  629. //
  630. //  Invalid agent ID.
  631. //
  632. #define TAPI_E_CALLCENTER_INVALAGENTID   ((HRESULT)0x80040048L)
  633. //
  634. // MessageId: TAPI_E_CALLCENTER_INVALAGENTGROUP
  635. //
  636. // MessageText:
  637. //
  638. //  Invalid agent group.
  639. //
  640. #define TAPI_E_CALLCENTER_INVALAGENTGROUP ((HRESULT)0x80040049L)
  641. //
  642. // MessageId: TAPI_E_CALLCENTER_INVALPASSWORD
  643. //
  644. // MessageText:
  645. //
  646. //  Invalid agent password.
  647. //
  648. #define TAPI_E_CALLCENTER_INVALPASSWORD  ((HRESULT)0x8004004AL)
  649. //
  650. // MessageId: TAPI_E_CALLCENTER_INVALAGENTSTATE
  651. //
  652. // MessageText:
  653. //
  654. //  Invalid agent state
  655. //
  656. #define TAPI_E_CALLCENTER_INVALAGENTSTATE ((HRESULT)0x8004004BL)
  657. //
  658. // MessageId: TAPI_E_CALLCENTER_INVALAGENTACTIVITY
  659. //
  660. // MessageText:
  661. //
  662. //  Invalid agent activity.
  663. //
  664. #define TAPI_E_CALLCENTER_INVALAGENTACTIVITY ((HRESULT)0x8004004CL)
  665. //
  666. // MessageId: TAPI_E_REGISTRY_SETTING_CORRUPT
  667. //
  668. // MessageText:
  669. //
  670. //  Registry Setting is Corrupt.
  671. //
  672. #define TAPI_E_REGISTRY_SETTING_CORRUPT  ((HRESULT)0x8004004DL)
  673. //--------------------------------------------------------------------------
  674. //     Terminal Specific Error messages
  675. //--------------------------------------------------------------------------
  676. //
  677. // MessageId: TAPI_E_TERMINAL_PEER
  678. //
  679. // MessageText:
  680. //
  681. //  The peer for one of these bridge terminals has already been assigned.
  682. //
  683. #define TAPI_E_TERMINAL_PEER             ((HRESULT)0x8004004EL)
  684. //
  685. // MessageId: TAPI_E_PEER_NOT_SET
  686. //
  687. // MessageText:
  688. //
  689. //  The peer for this bridge terminal must be set to complete this operation.
  690. //
  691. #define TAPI_E_PEER_NOT_SET              ((HRESULT)0x8004004FL)
  692. //--------------------------------------------------------------------------
  693. //     Media Service Provider Error messages
  694. //--------------------------------------------------------------------------
  695. //
  696. // MessageId: TAPI_E_NOEVENT
  697. //
  698. // MessageText:
  699. //
  700. //  There is no event in the MSP's event queue.
  701. //
  702. #define TAPI_E_NOEVENT                   ((HRESULT)0x80040050L)
  703. //--------------------------------------------------------------------------
  704. //     Core TAPI Error messages
  705. //--------------------------------------------------------------------------
  706. //
  707. // MessageId: TAPI_E_INVALADDRESSTYPE
  708. //
  709. // MessageText:
  710. //
  711. //  The specified address type is not supported by this address.
  712. //
  713. #define TAPI_E_INVALADDRESSTYPE          ((HRESULT)0x80040051L)
  714. //
  715. // MessageId: TAPI_E_RESOURCEUNAVAIL
  716. //
  717. // MessageText:
  718. //
  719. //  A resource needed to fulfill the request is not available.
  720. //
  721. #define TAPI_E_RESOURCEUNAVAIL           ((HRESULT)0x80040052L)
  722. //
  723. // MessageId: TAPI_E_PHONENOTOPEN
  724. //
  725. // MessageText:
  726. //
  727. //  The phone is not open.
  728. //
  729. #define TAPI_E_PHONENOTOPEN              ((HRESULT)0x80040053L)
  730. //
  731. // MessageId: TAPI_E_CALLNOTSELECTED
  732. //
  733. // MessageText:
  734. //
  735. //  The specified call is not currently selected.
  736. //
  737. #define TAPI_E_CALLNOTSELECTED           ((HRESULT)0x80040054L)
  738. //
  739. // MessageId: TAPI_E_WRONGEVENT
  740. //
  741. // MessageText:
  742. //
  743. //  This information is not available for this type of event.
  744. //
  745. #define TAPI_E_WRONGEVENT                ((HRESULT)0x80040055L)
  746. //
  747. // MessageId: TAPI_E_NOFORMAT
  748. //
  749. // MessageText:
  750. //
  751. //  The format is unknown
  752. //
  753. #define TAPI_E_NOFORMAT                  ((HRESULT)0x80040056L)
  754. //
  755. // MessageId: TAPI_E_INVALIDSTREAMSTATE
  756. //
  757. // MessageText:
  758. //
  759. //  The operation is not permitted in current stream state.
  760. //
  761. #define TAPI_E_INVALIDSTREAMSTATE        ((HRESULT)0x80040057L)
  762. //
  763. // MessageId: TAPI_E_WRONG_STATE
  764. //
  765. // MessageText:
  766. //
  767. //  The operation requested is not permitted for the current state.
  768. //
  769. #define TAPI_E_WRONG_STATE               ((HRESULT)0x80040058L)
  770. //
  771. // MessageId: TAPI_E_NOT_INITIALIZED
  772. //
  773. // MessageText:
  774. //
  775. //  The object has not been initialized.
  776. //
  777. #define TAPI_E_NOT_INITIALIZED           ((HRESULT)0x80040059L)
  778. //
  779. // MessageId: TAPI_E_SERVICE_NOT_RUNNING
  780. //
  781. // MessageText:
  782. //
  783. //  The Telephony Service could not be contacted.
  784. //
  785. #define TAPI_E_SERVICE_NOT_RUNNING       ((HRESULT)0x8004005AL)
  786. #endif // #ifndef __TAPI3ERR_H__