home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / Chip_2002-09_cd1.bin / zkuste / vbasic / Data / Utils / XZipComp.exe / XceedWinsock.Cab / F112650_wslError.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-28  |  20.4 KB  |  886 lines

  1. #ifndef __WSLERROR_H__
  2. #define __WSLERROR_H__
  3.  
  4. /*
  5.  * Xceed Winsock Library: Error Codes
  6.  * Copyright 2000, Xceed Software Inc.
  7.  *
  8.  * Description:
  9.  *    This file contains the error code definitions 
  10.  *    for Xceed Winsock Library COM interfaces
  11.  *
  12.  * Notes:
  13.  *    - This file is generated by MC.EXE from file wslError.mc
  14.  *
  15.  */
  16.  
  17.  
  18. //
  19. //  Values are 32 bit values layed out as follows:
  20. //
  21. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  22. //   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
  23. //  +-+-+-+-+-+---------------------+-------------------------------+
  24. //  |S|R|C|N|r|    Facility         |               Code            |
  25. //  +-+-+-+-+-+---------------------+-------------------------------+
  26. //
  27. //  where
  28. //
  29. //      S - Severity - indicates success/fail
  30. //
  31. //          0 - Success
  32. //          1 - Fail (COERROR)
  33. //
  34. //      R - reserved portion of the facility code, corresponds to NT's
  35. //              second severity bit.
  36. //
  37. //      C - reserved portion of the facility code, corresponds to NT's
  38. //              C field.
  39. //
  40. //      N - reserved portion of the facility code. Used to indicate a
  41. //              mapped NT status value.
  42. //
  43. //      r - reserved portion of the facility code. Reserved for internal
  44. //              use. Used to indicate HRESULT values that are not status
  45. //              values, but are instead message ids for display strings.
  46. //
  47. //      Facility - is the facility code
  48. //
  49. //      Code - is the facility's status code
  50. //
  51. //
  52. // Define the facility codes
  53. //
  54. #define FACILITY_ITF                     4
  55.  
  56.  
  57. //
  58. // Define the severity codes
  59. //
  60. #define SEVERITY_SUCCESS                 0
  61. #define SEVERITY_COERROR                 2
  62.  
  63.  
  64. //
  65. // MessageId: WSL_E_ERROR_BASE
  66. //
  67. // MessageText:
  68. //
  69. //  Base error code for Xceed Winsock Library
  70. //
  71. #define WSL_E_ERROR_BASE                 ((HRESULT)0x80041000L)
  72.  
  73. //
  74. // MessageId: WSL_E_NETWORKISDOWN
  75. //
  76. // MessageText:
  77. //
  78. //  The network subsystem is down.
  79. //
  80. #define WSL_E_NETWORKISDOWN              ((HRESULT)0x80041001L)
  81.  
  82. //
  83. // MessageId: WSL_E_NETWORKUNREACHABLE
  84. //
  85. // MessageText:
  86. //
  87. //  Could not reach the remote host.
  88. //
  89. #define WSL_E_NETWORKUNREACHABLE         ((HRESULT)0x80041002L)
  90.  
  91. //
  92. // MessageId: WSL_E_LOSTCONNECTION
  93. //
  94. // MessageText:
  95. //
  96. //  The connection to the remote host has been broken. The remote host has stopped responding or has closed the connection.
  97. //
  98. #define WSL_E_LOSTCONNECTION             ((HRESULT)0x80041003L)
  99.  
  100. //
  101. // MessageId: WSL_E_IOENGINEFAILURE
  102. //
  103. // MessageText:
  104. //
  105. //  An error occured while accessing the internal I/O engine.
  106. //
  107. #define WSL_E_IOENGINEFAILURE            ((HRESULT)0x80041004L)
  108.  
  109. //
  110. // MessageId: WSL_E_INSUFFICIENTPRIVILEGES
  111. //
  112. // MessageText:
  113. //
  114. //  Could not perform the requested operation due to insufficient privileges.
  115. //
  116. #define WSL_E_INSUFFICIENTPRIVILEGES     ((HRESULT)0x80041005L)
  117.  
  118. //
  119. // MessageId: WSL_E_GITREGISTER
  120. //
  121. // MessageText:
  122. //
  123. //  Failed to register an interface pointer in the Global Interface Table.
  124. //
  125. #define WSL_E_GITREGISTER                ((HRESULT)0x80041006L)
  126.  
  127. //
  128. // MessageId: WSL_E_GITRETRIEVE
  129. //
  130. // MessageText:
  131. //
  132. //  Failed to retrieve an interface pointer from the Global Interface Table.
  133. //
  134. #define WSL_E_GITRETRIEVE                ((HRESULT)0x80041007L)
  135.  
  136. //
  137. // MessageId: WSL_E_GITREVOKE
  138. //
  139. // MessageText:
  140. //
  141. //  Failed to revoke an interface pointer from the Global Interface Table.
  142. //
  143. #define WSL_E_GITREVOKE                  ((HRESULT)0x80041008L)
  144.  
  145. //
  146. // MessageId: WSL_E_OUTOFBUFFERSPACE
  147. //
  148. // MessageText:
  149. //
  150. //  No more Winsock internal buffer space is available.
  151. //
  152. #define WSL_E_OUTOFBUFFERSPACE           ((HRESULT)0x80041009L)
  153.  
  154. //
  155. // MessageId: WSL_E_OUTOFSOCKETDESCRIPTORS
  156. //
  157. // MessageText:
  158. //
  159. //  No more socket descriptors are available.
  160. //
  161. #define WSL_E_OUTOFSOCKETDESCRIPTORS     ((HRESULT)0x8004100AL)
  162.  
  163. //
  164. // MessageId: WSL_E_INDEXOUTOFBOUNDS
  165. //
  166. // MessageText:
  167. //
  168. //  The index does not refer to an existing item.
  169. //
  170. #define WSL_E_INDEXOUTOFBOUNDS           ((HRESULT)0x8004100BL)
  171.  
  172. //
  173. // MessageId: WSL_E_COLLECTIONISDYNAMIC
  174. //
  175. // MessageText:
  176. //
  177. //  Can not perform the requested operation on the collection because the collection is dynamic.
  178. //
  179. #define WSL_E_COLLECTIONISDYNAMIC        ((HRESULT)0x8004100CL)
  180.  
  181. //
  182. // MessageId: WSL_E_INVALIDSOCKET
  183. //
  184. // MessageText:
  185. //
  186. //  The socket has been invalidated and can not be used any further.
  187. //
  188. #define WSL_E_INVALIDSOCKET              ((HRESULT)0x8004100DL)
  189.  
  190. //
  191. // MessageId: WSL_E_INVALIDSOCKETSTATE
  192. //
  193. // MessageText:
  194. //
  195. //  The current state of the socket prevents the method call from being performed.
  196. //
  197. #define WSL_E_INVALIDSOCKETSTATE         ((HRESULT)0x8004100EL)
  198.  
  199. //
  200. // MessageId: WSL_E_INVALIDSOCKETTYPE
  201. //
  202. // MessageText:
  203. //
  204. //  This type of socket does not support the requested operation.
  205. //
  206. #define WSL_E_INVALIDSOCKETTYPE          ((HRESULT)0x8004100FL)
  207.  
  208. //
  209. // MessageId: WSL_E_SOCKETNOTBOUND
  210. //
  211. // MessageText:
  212. //
  213. //  A local address has not been assigned to the socket.
  214. //
  215. #define WSL_E_SOCKETNOTBOUND             ((HRESULT)0x80041010L)
  216.  
  217. //
  218. // MessageId: WSL_E_NOTCONNECTED
  219. //
  220. // MessageText:
  221. //
  222. //  The socket is not connected.
  223. //
  224. #define WSL_E_NOTCONNECTED               ((HRESULT)0x80041011L)
  225.  
  226. //
  227. // MessageId: WSL_E_ALREADYCONNECTED
  228. //
  229. // MessageText:
  230. //
  231. //  The socket is already connected to a remote host.
  232. //
  233. #define WSL_E_ALREADYCONNECTED           ((HRESULT)0x80041012L)
  234.  
  235. //
  236. // MessageId: WSL_E_NOTLISTENING
  237. //
  238. // MessageText:
  239. //
  240. //  The socket is not listening for incoming connections.
  241. //
  242. #define WSL_E_NOTLISTENING               ((HRESULT)0x80041013L)
  243.  
  244. //
  245. // MessageId: WSL_E_ALREADYLISTENING
  246. //
  247. // MessageText:
  248. //
  249. //  The socket is already listening for incoming connections.
  250. //
  251. #define WSL_E_ALREADYLISTENING           ((HRESULT)0x80041014L)
  252.  
  253. //
  254. // MessageId: WSL_E_INVALIDSOCKETOPTION
  255. //
  256. // MessageText:
  257. //
  258. //  The socket option level or the option value is invalid.
  259. //
  260. #define WSL_E_INVALIDSOCKETOPTION        ((HRESULT)0x80041015L)
  261.  
  262. //
  263. // MessageId: WSL_E_SOCKETNOTCREATED
  264. //
  265. // MessageText:
  266. //
  267. //  Could not create the socket due to an unexpected error.
  268. //
  269. #define WSL_E_SOCKETNOTCREATED           ((HRESULT)0x80041016L)
  270.  
  271. //
  272. // MessageId: WSL_E_SOCKETOPTIONNOTSUPPORTED
  273. //
  274. // MessageText:
  275. //
  276. //  The socket option is unknown or not supported by the socket.
  277. //
  278. #define WSL_E_SOCKETOPTIONNOTSUPPORTED   ((HRESULT)0x80041017L)
  279.  
  280. //
  281. // MessageId: WSL_E_SOCKETOPTIONFAILED
  282. //
  283. // MessageText:
  284. //
  285. //  The socket option could not be set/retrieved due to an unexpected error.
  286. //
  287. #define WSL_E_SOCKETOPTIONFAILED         ((HRESULT)0x80041018L)
  288.  
  289. //
  290. // MessageId: WSL_E_KEEPALIVETIMEDOUT
  291. //
  292. // MessageText:
  293. //
  294. //  Cannot set socket option SO_KEEPALIVE because the connection has timed out.
  295. //
  296. #define WSL_E_KEEPALIVETIMEDOUT          ((HRESULT)0x80041019L)
  297.  
  298. //
  299. // MessageId: WSL_E_KEEPALIVEABORTED
  300. //
  301. // MessageText:
  302. //
  303. //  Cannot set socket option SO_KEEPALIVE because the connection has been aborted.
  304. //
  305. #define WSL_E_KEEPALIVEABORTED           ((HRESULT)0x8004101AL)
  306.  
  307. //
  308. // MessageId: WSL_E_LOCALADDRESSNOTKNOWN
  309. //
  310. // MessageText:
  311. //
  312. //  The local address of the socket is not known yet. 
  313. //
  314. #define WSL_E_LOCALADDRESSNOTKNOWN       ((HRESULT)0x8004101BL)
  315.  
  316. //
  317. // MessageId: WSL_E_LOCALADDRESSINUSE
  318. //
  319. // MessageText:
  320. //
  321. //  The local address could not be set because it is currently used by another process, and the socket has not been marked to allow address reuse.
  322. //
  323. #define WSL_E_LOCALADDRESSINUSE          ((HRESULT)0x8004101CL)
  324.  
  325. //
  326. // MessageId: WSL_E_LOCALADDRESSDENIED
  327. //
  328. // MessageText:
  329. //
  330. //  The local address could not be set because it is currently used by another process with exclusive access.
  331. //
  332. #define WSL_E_LOCALADDRESSDENIED         ((HRESULT)0x8004101DL)
  333.  
  334. //
  335. // MessageId: WSL_E_LOCALADDRESSFAILED
  336. //
  337. // MessageText:
  338. //
  339. //  The local address of the socket could not be set/retrieved due to an unexpected error.
  340. //
  341. #define WSL_E_LOCALADDRESSFAILED         ((HRESULT)0x8004101EL)
  342.  
  343. //
  344. // MessageId: WSL_E_REMOTEADDRESSFAILED
  345. //
  346. // MessageText:
  347. //
  348. //  The remote address of the socket could not be set/retrieved due to an unexpected error.
  349. //
  350. #define WSL_E_REMOTEADDRESSFAILED        ((HRESULT)0x8004101FL)
  351.  
  352. //
  353. // MessageId: WSL_E_SOCKETALREADYBOUND
  354. //
  355. // MessageText:
  356. //
  357. //  A local address has already been assigned to the socket.
  358. //
  359. #define WSL_E_SOCKETALREADYBOUND         ((HRESULT)0x80041020L)
  360.  
  361. //
  362. // MessageId: WSL_E_INVALIDADDRESS
  363. //
  364. // MessageText:
  365. //
  366. //  The address is not valid.
  367. //
  368. #define WSL_E_INVALIDADDRESS             ((HRESULT)0x80041021L)
  369.  
  370. //
  371. // MessageId: WSL_E_INVALIDADDRESSSTRING
  372. //
  373. // MessageText:
  374. //
  375. //  The address string could not be converted to an address structure.
  376. //
  377. #define WSL_E_INVALIDADDRESSSTRING       ((HRESULT)0x80041022L)
  378.  
  379. //
  380. // MessageId: WSL_E_EXTENDEDADDRESS
  381. //
  382. // MessageText:
  383. //
  384. //  The address already contains an extended address.
  385. //
  386. #define WSL_E_EXTENDEDADDRESS            ((HRESULT)0x80041023L)
  387.  
  388. //
  389. // MessageId: WSL_E_BROADCASTNOTENABLED
  390. //
  391. // MessageText:
  392. //
  393. //  The address is a broadcast address, and the SO_BROADCAST socket option has not been enabled.
  394. //
  395. #define WSL_E_BROADCASTNOTENABLED        ((HRESULT)0x80041024L)
  396.  
  397. //
  398. // MessageId: WSL_E_ADDRESSNOTSUPPORTED
  399. //
  400. // MessageText:
  401. //
  402. //  The address is not supported on the system.
  403. //
  404. #define WSL_E_ADDRESSNOTSUPPORTED        ((HRESULT)0x80041025L)
  405.  
  406. //
  407. // MessageId: WSL_E_INCOMPATIBLEADDRESSFAMILY
  408. //
  409. // MessageText:
  410. //
  411. //  The address family is not supported by the socket.
  412. //
  413. #define WSL_E_INCOMPATIBLEADDRESSFAMILY  ((HRESULT)0x80041026L)
  414.  
  415. //
  416. // MessageId: WSL_E_ADDRESSFAMILYNOTSUPPORTED
  417. //
  418. // MessageText:
  419. //
  420. //  The address family is not supported on the system.
  421. //
  422. #define WSL_E_ADDRESSFAMILYNOTSUPPORTED  ((HRESULT)0x80041027L)
  423.  
  424. //
  425. // MessageId: WSL_E_PROTOCOLNOTSUPPORTED
  426. //
  427. // MessageText:
  428. //
  429. //  The protocol is not supported on the system.
  430. //
  431. #define WSL_E_PROTOCOLNOTSUPPORTED       ((HRESULT)0x80041028L)
  432.  
  433. //
  434. // MessageId: WSL_E_INVALIDPROTOCOLPROVIDER
  435. //
  436. // MessageText:
  437. //
  438. //  The Winsock service provider implementing this protocol is not valid.
  439. //
  440. #define WSL_E_INVALIDPROTOCOLPROVIDER    ((HRESULT)0x80041029L)
  441.  
  442. //
  443. // MessageId: WSL_E_PROTOCOLTYPENOTSUPPORTED
  444. //
  445. // MessageText:
  446. //
  447. //  The socket type does not support the protocol type.
  448. //
  449. #define WSL_E_PROTOCOLTYPENOTSUPPORTED   ((HRESULT)0x8004102AL)
  450.  
  451. //
  452. // MessageId: WSL_E_SOCKETTYPENOTSUPPORTED
  453. //
  454. // MessageText:
  455. //
  456. //  The address family does not support the socket type.
  457. //
  458. #define WSL_E_SOCKETTYPENOTSUPPORTED     ((HRESULT)0x8004102BL)
  459.  
  460. //
  461. // MessageId: WSL_E_CONNECTIONREFUSED
  462. //
  463. // MessageText:
  464. //
  465. //  The connection request was rejected by the remote host.
  466. //
  467. #define WSL_E_CONNECTIONREFUSED          ((HRESULT)0x8004102CL)
  468.  
  469. //
  470. // MessageId: WSL_E_QOSNOTSATISFIED
  471. //
  472. // MessageText:
  473. //
  474. //  The requested quality of service flow specification could not be satisfied.
  475. //
  476. #define WSL_E_QOSNOTSATISFIED            ((HRESULT)0x8004102DL)
  477.  
  478. //
  479. // MessageId: WSL_E_CONNECTDATANOTSUPPORTED
  480. //
  481. // MessageText:
  482. //
  483. //  The protocol does not support connection data (caller/callee data).
  484. //
  485. #define WSL_E_CONNECTDATANOTSUPPORTED    ((HRESULT)0x8004102EL)
  486.  
  487. //
  488. // MessageId: WSL_E_CONNECTTIMEDOUT
  489. //
  490. // MessageText:
  491. //
  492. //  The connection request timed out.
  493. //
  494. #define WSL_E_CONNECTTIMEDOUT            ((HRESULT)0x8004102FL)
  495.  
  496. //
  497. // MessageId: WSL_E_CONNECTFAILED
  498. //
  499. // MessageText:
  500. //
  501. //  Could not connect to remote host due to an unexpected error.
  502. //
  503. #define WSL_E_CONNECTFAILED              ((HRESULT)0x80041030L)
  504.  
  505. //
  506. // MessageId: WSL_E_STARTLISTENINGFAILED
  507. //
  508. // MessageText:
  509. //
  510. //  Could not start listening on the socket due to an unexpected error.
  511. //
  512. #define WSL_E_STARTLISTENINGFAILED       ((HRESULT)0x80041031L)
  513.  
  514. //
  515. // MessageId: WSL_E_SENDINGFILE
  516. //
  517. // MessageText:
  518. //
  519. //  Could not perform the requested transfer operation because the socket is currently sending a file to the remote host.
  520. //
  521. #define WSL_E_SENDINGFILE                ((HRESULT)0x80041032L)
  522.  
  523. //
  524. // MessageId: WSL_E_RECEIVINGFILE
  525. //
  526. // MessageText:
  527. //
  528. //  Could not perform the requested transfer operation because the socket is currently receiving a file from the remote host.
  529. //
  530. #define WSL_E_RECEIVINGFILE              ((HRESULT)0x80041033L)
  531.  
  532. //
  533. // MessageId: WSL_E_UNIDIRECTIONALSOCKET
  534. //
  535. // MessageText:
  536. //
  537. //  The socket is unidirectional and does not support the requested transfer operation.
  538. //
  539. #define WSL_E_UNIDIRECTIONALSOCKET       ((HRESULT)0x80041034L)
  540.  
  541. //
  542. // MessageId: WSL_E_TOOMANYPENDINGIO
  543. //
  544. // MessageText:
  545. //
  546. //  Could not perform the requested transfer operation because there are too many pending I/O requests.
  547. //
  548. #define WSL_E_TOOMANYPENDINGIO           ((HRESULT)0x80041035L)
  549.  
  550. //
  551. // MessageId: WSL_E_SENDPACKETSIZE
  552. //
  553. // MessageText:
  554. //
  555. //  Could not send the packet because its size exceeds the maximum packet size supported by the protocol.
  556. //
  557. #define WSL_E_SENDPACKETSIZE             ((HRESULT)0x80041036L)
  558.  
  559. //
  560. // MessageId: WSL_E_SENDTIMEDOUT
  561. //
  562. // MessageText:
  563. //
  564. //  The requested send operation timed out.
  565. //
  566. #define WSL_E_SENDTIMEDOUT               ((HRESULT)0x80041037L)
  567.  
  568. //
  569. // MessageId: WSL_E_SENDFAILED
  570. //
  571. // MessageText:
  572. //
  573. //  Could not send data on the socket due to an unexpected error.
  574. //
  575. #define WSL_E_SENDFAILED                 ((HRESULT)0x80041038L)
  576.  
  577. //
  578. // MessageId: WSL_E_RECEIVETIMEDOUT
  579. //
  580. // MessageText:
  581. //
  582. //  The requested receive operation timed out.
  583. //
  584. #define WSL_E_RECEIVETIMEDOUT            ((HRESULT)0x80041039L)
  585.  
  586. //
  587. // MessageId: WSL_E_RECEIVEFAILED
  588. //
  589. // MessageText:
  590. //
  591. //  Could not receive data from the socket due to an unexpected error.
  592. //
  593. #define WSL_E_RECEIVEFAILED              ((HRESULT)0x8004103AL)
  594.  
  595. //
  596. // MessageId: WSL_E_FILETOSENDNOTFOUND
  597. //
  598. // MessageText:
  599. //
  600. //  Could not find or access the file to send to the remote host.
  601. //
  602. #define WSL_E_FILETOSENDNOTFOUND         ((HRESULT)0x8004103BL)
  603.  
  604. //
  605. // MessageId: WSL_E_INVALIDFILEOFFSET
  606. //
  607. // MessageText:
  608. //
  609. //  The specified file offset is greater that the size of the file.
  610. //
  611. #define WSL_E_INVALIDFILEOFFSET          ((HRESULT)0x8004103CL)
  612.  
  613. //
  614. // MessageId: WSL_E_READFILETOSEND
  615. //
  616. // MessageText:
  617. //
  618. //  An error occured while reading the file to send to the remote host.
  619. //
  620. #define WSL_E_READFILETOSEND             ((HRESULT)0x8004103DL)
  621.  
  622. //
  623. // MessageId: WSL_E_CREATEFILETORECEIVE
  624. //
  625. // MessageText:
  626. //
  627. //  Could not create the local file in which data must be received.
  628. //
  629. #define WSL_E_CREATEFILETORECEIVE        ((HRESULT)0x8004103EL)
  630.  
  631. //
  632. // MessageId: WSL_E_WRITEFILETORECEIVE
  633. //
  634. // MessageText:
  635. //
  636. //  An error occured while writing to the file in which data must be received.
  637. //
  638. #define WSL_E_WRITEFILETORECEIVE         ((HRESULT)0x8004103FL)
  639.  
  640. //
  641. // MessageId: WSL_E_ADVISELIMIT
  642. //
  643. // MessageText:
  644. //
  645. //  The maximum number of allowable advised event interfaces has been reached.
  646. //
  647. #define WSL_E_ADVISELIMIT                ((HRESULT)0x80041040L)
  648.  
  649. //
  650. // MessageId: WSL_E_ALREADYADVISED
  651. //
  652. // MessageText:
  653. //
  654. //  An event interface for the same kind of notification has already been advised.
  655. //
  656. #define WSL_E_ALREADYADVISED             ((HRESULT)0x80041041L)
  657.  
  658. //
  659. // MessageId: WSL_E_INVALIDADVISECOOKIE
  660. //
  661. // MessageText:
  662. //
  663. //  The advise cookie does not represent a valid advised event interface, or no event interface has been advised.
  664. //
  665. #define WSL_E_INVALIDADVISECOOKIE        ((HRESULT)0x80041042L)
  666.  
  667. //
  668. // MessageId: WSL_E_NOTADVISED
  669. //
  670. // MessageText:
  671. //
  672. //  Could not perform the requested asynchronous operation because no event interface has been advised.
  673. //
  674. #define WSL_E_NOTADVISED                 ((HRESULT)0x80041043L)
  675.  
  676. //
  677. // MessageId: WSL_E_ENUMNSPROVIDERSFAILED
  678. //
  679. // MessageText:
  680. //
  681. //  Could not retrieve list of available name space providers due to an unexpected error.
  682. //
  683. #define WSL_E_ENUMNSPROVIDERSFAILED      ((HRESULT)0x80041044L)
  684.  
  685. //
  686. // MessageId: WSL_E_ENUMPROTOCOLSFAILED
  687. //
  688. // MessageText:
  689. //
  690. //  Could not retrieve list of available protocols due to an unexpected error.
  691. //
  692. #define WSL_E_ENUMPROTOCOLSFAILED        ((HRESULT)0x80041045L)
  693.  
  694. //
  695. // MessageId: WSL_E_GETPROTOCOLFAILED
  696. //
  697. // MessageText:
  698. //
  699. //  Could not get the requested protocol due to an unexpected error.
  700. //
  701. #define WSL_E_GETPROTOCOLFAILED          ((HRESULT)0x80041046L)
  702.  
  703. //
  704. // MessageId: WSL_E_SERVICECLASSALREADYINSTALLED
  705. //
  706. // MessageText:
  707. //
  708. //  Could not install the service class because it is already installed.
  709. //
  710. #define WSL_E_SERVICECLASSALREADYINSTALLED ((HRESULT)0x80041047L)
  711.  
  712. //
  713. // MessageId: WSL_E_INVALIDSERVICECLASSINFO
  714. //
  715. // MessageText:
  716. //
  717. //  Could not install the service class because the information is invalid or not properly structured.
  718. //
  719. #define WSL_E_INVALIDSERVICECLASSINFO    ((HRESULT)0x80041048L)
  720.  
  721. //
  722. // MessageId: WSL_E_INSTALLSERVICECLASSFAILED
  723. //
  724. // MessageText:
  725. //
  726. //  Could not install the service class due to an unexpected error.
  727. //
  728. #define WSL_E_INSTALLSERVICECLASSFAILED  ((HRESULT)0x80041049L)
  729.  
  730. //
  731. // MessageId: WSL_E_SERVICECLASSNOTFOUND
  732. //
  733. // MessageText:
  734. //
  735. //  The service class does not exist.
  736. //
  737. #define WSL_E_SERVICECLASSNOTFOUND       ((HRESULT)0x8004104AL)
  738.  
  739. //
  740. // MessageId: WSL_E_SERVICENOTFOUND
  741. //
  742. // MessageText:
  743. //
  744. //  The service was not found.
  745. //
  746. #define WSL_E_SERVICENOTFOUND            ((HRESULT)0x8004104BL)
  747.  
  748. //
  749. // MessageId: WSL_E_REMOVESERVICECLASSFAILED
  750. //
  751. // MessageText:
  752. //
  753. //  Could not remove the service class due to an unexpected error.
  754. //
  755. #define WSL_E_REMOVESERVICECLASSFAILED   ((HRESULT)0x8004104CL)
  756.  
  757. //
  758. // MessageId: WSL_E_GETSERVICECLASSINFOFAILED
  759. //
  760. // MessageText:
  761. //
  762. //  Could not retrieve service class information due to an unexpected error.
  763. //
  764. #define WSL_E_GETSERVICECLASSINFOFAILED  ((HRESULT)0x8004104DL)
  765.  
  766. //
  767. // MessageId: WSL_E_ADVERTISEFAILED
  768. //
  769. // MessageText:
  770. //
  771. //  Could not advertise/unadvertise the service provider due to an unexpected error.
  772. //
  773. #define WSL_E_ADVERTISEFAILED            ((HRESULT)0x8004104EL)
  774.  
  775. //
  776. // MessageId: WSL_E_NODATAFORSERVICENAME
  777. //
  778. // MessageText:
  779. //
  780. //  The service name was found, but no data is available.
  781. //
  782. #define WSL_E_NODATAFORSERVICENAME       ((HRESULT)0x8004104FL)
  783.  
  784. //
  785. // MessageId: WSL_E_LISTENINGTIMEDOUT
  786. //
  787. // MessageText:
  788. //
  789. //  The requested listening operation timed out.
  790. //
  791. #define WSL_E_LISTENINGTIMEDOUT          ((HRESULT)0x80041050L)
  792.  
  793. //
  794. // MessageId: WSL_E_SENDFILEFAILED
  795. //
  796. // MessageText:
  797. //
  798. //  Could not send the data read from the file due to an unexpected error.
  799. //
  800. #define WSL_E_SENDFILEFAILED             ((HRESULT)0x80041051L)
  801.  
  802. //
  803. // MessageId: WSL_E_INVALIDWINSOCKVERSION
  804. //
  805. // MessageText:
  806. //
  807. //  The required Winsock version is not supported on this system.
  808. //
  809. #define WSL_E_INVALIDWINSOCKVERSION      ((HRESULT)0x80041052L)
  810.  
  811. //
  812. // MessageId: WSL_E_WINSOCKINITFAILED
  813. //
  814. // MessageText:
  815. //
  816. //  Could not initialize Winsock due to an unexpected error.
  817. //
  818. #define WSL_E_WINSOCKINITFAILED          ((HRESULT)0x80041053L)
  819.  
  820. //
  821. // MessageId: WSL_E_NOTLICENSED
  822. //
  823. // MessageText:
  824. //
  825. //  The license key required to use Xceed Winsock Library was not found or is invalid.
  826. //
  827. #define WSL_E_NOTLICENSED                ((HRESULT)0x80041054L)
  828.  
  829. //
  830. // MessageId: WSL_E_PROTOCOLFAILED
  831. //
  832. // MessageText:
  833. //
  834. //  The protocol of the socket could not be set/retrieved due to an unexpected error.
  835. //
  836. #define WSL_E_PROTOCOLFAILED             ((HRESULT)0x80041055L)
  837.  
  838. //
  839. // MessageId: WSL_E_OPERATIONABORTED
  840. //
  841. // MessageText:
  842. //
  843. //  The operation has been aborted.
  844. //
  845. #define WSL_E_OPERATIONABORTED           ((HRESULT)0x80041056L)
  846.  
  847. //
  848. // MessageId: WSL_E_HOSTNAMENOTAVAILABLE
  849. //
  850. // MessageText:
  851. //
  852. //  There is no host name defined for this address.
  853. //
  854. #define WSL_E_HOSTNAMENOTAVAILABLE       ((HRESULT)0x80041057L)
  855.  
  856. //
  857. // MessageId: WSL_E_HOSTNAMEFAILED
  858. //
  859. // MessageText:
  860. //
  861. //  The host name could not be retrieved due to an unexpected error.
  862. //
  863. #define WSL_E_HOSTNAMEFAILED             ((HRESULT)0x80041058L)
  864.  
  865. //
  866. // MessageId: WSL_E_HOSTNAMENOTFOUND
  867. //
  868. // MessageText:
  869. //
  870. //  The host name could not be found in the name space.
  871. //
  872. #define WSL_E_HOSTNAMENOTFOUND           ((HRESULT)0x80041059L)
  873.  
  874. //
  875. // MessageId: WSL_E_INFONOTAVAILABLE
  876. //
  877. // MessageText:
  878. //
  879. //  The requested information is not available.
  880. //
  881. #define WSL_E_INFONOTAVAILABLE           ((HRESULT)0x8004105AL)
  882.  
  883.  
  884.  
  885. #endif // __WSLERROR_H__
  886.