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

模拟服务器

开发平台:

C/C++

  1.  // no longer used  - but might get
  2.  // our own facility in the future?
  3.  // FacilityNames=(FACILITY_VFW=0x4)
  4.  // To add a message:
  5.  //
  6.  // The MessageId is the number of the message.
  7.  // Accepted severities are 'Success' and 'Warning'.
  8.  //
  9.  // Facility should be FACILITY_ITF (was FACILITY_VFW).
  10.  //
  11.  // The SymbolicName is the name used in the code to identify the message.
  12.  // The text of a message starts the line after 'Language=' and
  13.  // ends before a line with only a '.' in column one.
  14. //
  15. //  Values are 32 bit values layed out as follows:
  16. //
  17. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  18. //   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
  19. //  +---+-+-+-----------------------+-------------------------------+
  20. //  |Sev|C|R|     Facility          |               Code            |
  21. //  +---+-+-+-----------------------+-------------------------------+
  22. //
  23. //  where
  24. //
  25. //      Sev - is the severity code
  26. //
  27. //          00 - Success
  28. //          01 - Informational
  29. //          10 - Warning
  30. //          11 - Error
  31. //
  32. //      C - is the Customer code flag
  33. //
  34. //      R - is a reserved bit
  35. //
  36. //      Facility - is the facility code
  37. //
  38. //      Code - is the facility's status code
  39. //
  40. //
  41. // Define the facility codes
  42. //
  43. //
  44. // Define the severity codes
  45. //
  46. //
  47. // MessageId: VFW_E_INVALIDMEDIATYPE
  48. //
  49. // MessageText:
  50. //
  51. //  An invalid media type was specified.%0
  52. //
  53. #define VFW_E_INVALIDMEDIATYPE           ((HRESULT)0x80040200L)
  54. //
  55. // MessageId: VFW_E_INVALIDSUBTYPE
  56. //
  57. // MessageText:
  58. //
  59. //  An invalid media subtype was specified.%0
  60. //
  61. #define VFW_E_INVALIDSUBTYPE             ((HRESULT)0x80040201L)
  62. //
  63. // MessageId: VFW_E_NEED_OWNER
  64. //
  65. // MessageText:
  66. //
  67. //  This object can only be created as an aggregated object.%0
  68. //
  69. #define VFW_E_NEED_OWNER                 ((HRESULT)0x80040202L)
  70. //
  71. // MessageId: VFW_E_ENUM_OUT_OF_SYNC
  72. //
  73. // MessageText:
  74. //
  75. //  The enumerator has become invalid.%0
  76. //
  77. #define VFW_E_ENUM_OUT_OF_SYNC           ((HRESULT)0x80040203L)
  78. //
  79. // MessageId: VFW_E_ALREADY_CONNECTED
  80. //
  81. // MessageText:
  82. //
  83. //  At least one of the pins involved in the operation is already connected.%0
  84. //
  85. #define VFW_E_ALREADY_CONNECTED          ((HRESULT)0x80040204L)
  86. //
  87. // MessageId: VFW_E_FILTER_ACTIVE
  88. //
  89. // MessageText:
  90. //
  91. //  This operation cannot be performed because the filter is active.%0
  92. //
  93. #define VFW_E_FILTER_ACTIVE              ((HRESULT)0x80040205L)
  94. //
  95. // MessageId: VFW_E_NO_TYPES
  96. //
  97. // MessageText:
  98. //
  99. //  One of the specified pins supports no media types.%0
  100. //
  101. #define VFW_E_NO_TYPES                   ((HRESULT)0x80040206L)
  102. //
  103. // MessageId: VFW_E_NO_ACCEPTABLE_TYPES
  104. //
  105. // MessageText:
  106. //
  107. //  There is no common media type between these pins.%0
  108. //
  109. #define VFW_E_NO_ACCEPTABLE_TYPES        ((HRESULT)0x80040207L)
  110. //
  111. // MessageId: VFW_E_INVALID_DIRECTION
  112. //
  113. // MessageText:
  114. //
  115. //  Two pins of the same direction cannot be connected together.%0
  116. //
  117. #define VFW_E_INVALID_DIRECTION          ((HRESULT)0x80040208L)
  118. //
  119. // MessageId: VFW_E_NOT_CONNECTED
  120. //
  121. // MessageText:
  122. //
  123. //  The operation cannot be performed because the pins are not connected.%0
  124. //
  125. #define VFW_E_NOT_CONNECTED              ((HRESULT)0x80040209L)
  126. //
  127. // MessageId: VFW_E_NO_ALLOCATOR
  128. //
  129. // MessageText:
  130. //
  131. //  No sample buffer allocator is available.%0
  132. //
  133. #define VFW_E_NO_ALLOCATOR               ((HRESULT)0x8004020AL)
  134. //
  135. // MessageId: VFW_E_RUNTIME_ERROR
  136. //
  137. // MessageText:
  138. //
  139. //  A run-time error occurred.%0
  140. //
  141. #define VFW_E_RUNTIME_ERROR              ((HRESULT)0x8004020BL)
  142. //
  143. // MessageId: VFW_E_BUFFER_NOTSET
  144. //
  145. // MessageText:
  146. //
  147. //  No buffer space has been set.%0
  148. //
  149. #define VFW_E_BUFFER_NOTSET              ((HRESULT)0x8004020CL)
  150. //
  151. // MessageId: VFW_E_BUFFER_OVERFLOW
  152. //
  153. // MessageText:
  154. //
  155. //  The buffer is not big enough.%0
  156. //
  157. #define VFW_E_BUFFER_OVERFLOW            ((HRESULT)0x8004020DL)
  158. //
  159. // MessageId: VFW_E_BADALIGN
  160. //
  161. // MessageText:
  162. //
  163. //  An invalid alignment was specified.%0
  164. //
  165. #define VFW_E_BADALIGN                   ((HRESULT)0x8004020EL)
  166. //
  167. // MessageId: VFW_E_ALREADY_COMMITTED
  168. //
  169. // MessageText:
  170. //
  171. //  Cannot change allocated memory while the filter is active.%0
  172. //
  173. #define VFW_E_ALREADY_COMMITTED          ((HRESULT)0x8004020FL)
  174. //
  175. // MessageId: VFW_E_BUFFERS_OUTSTANDING
  176. //
  177. // MessageText:
  178. //
  179. //  One or more buffers are still active.%0
  180. //
  181. #define VFW_E_BUFFERS_OUTSTANDING        ((HRESULT)0x80040210L)
  182. //
  183. // MessageId: VFW_E_NOT_COMMITTED
  184. //
  185. // MessageText:
  186. //
  187. //  Cannot allocate a sample when the allocator is not active.%0
  188. //
  189. #define VFW_E_NOT_COMMITTED              ((HRESULT)0x80040211L)
  190. //
  191. // MessageId: VFW_E_SIZENOTSET
  192. //
  193. // MessageText:
  194. //
  195. //  Cannot allocate memory because no size has been set.%0
  196. //
  197. #define VFW_E_SIZENOTSET                 ((HRESULT)0x80040212L)
  198. //
  199. // MessageId: VFW_E_NO_CLOCK
  200. //
  201. // MessageText:
  202. //
  203. //  Cannot lock for synchronization because no clock has been defined.%0
  204. //
  205. #define VFW_E_NO_CLOCK                   ((HRESULT)0x80040213L)
  206. //
  207. // MessageId: VFW_E_NO_SINK
  208. //
  209. // MessageText:
  210. //
  211. //  Quality messages could not be sent because no quality sink has been defined.%0
  212. //
  213. #define VFW_E_NO_SINK                    ((HRESULT)0x80040214L)
  214. //
  215. // MessageId: VFW_E_NO_INTERFACE
  216. //
  217. // MessageText:
  218. //
  219. //  A required interface has not been implemented.%0
  220. //
  221. #define VFW_E_NO_INTERFACE               ((HRESULT)0x80040215L)
  222. //
  223. // MessageId: VFW_E_NOT_FOUND
  224. //
  225. // MessageText:
  226. //
  227. //  An object or name was not found.%0
  228. //
  229. #define VFW_E_NOT_FOUND                  ((HRESULT)0x80040216L)
  230. //
  231. // MessageId: VFW_E_CANNOT_CONNECT
  232. //
  233. // MessageText:
  234. //
  235. //  No combination of intermediate filters could be found to make the connection.%0
  236. //
  237. #define VFW_E_CANNOT_CONNECT             ((HRESULT)0x80040217L)
  238. //
  239. // MessageId: VFW_E_CANNOT_RENDER
  240. //
  241. // MessageText:
  242. //
  243. //  No combination of filters could be found to render the stream.%0
  244. //
  245. #define VFW_E_CANNOT_RENDER              ((HRESULT)0x80040218L)
  246. //
  247. // MessageId: VFW_E_CHANGING_FORMAT
  248. //
  249. // MessageText:
  250. //
  251. //  Could not change formats dynamically.%0
  252. //
  253. #define VFW_E_CHANGING_FORMAT            ((HRESULT)0x80040219L)
  254. //
  255. // MessageId: VFW_E_NO_COLOR_KEY_SET
  256. //
  257. // MessageText:
  258. //
  259. //  No color key has been set.%0
  260. //
  261. #define VFW_E_NO_COLOR_KEY_SET           ((HRESULT)0x8004021AL)
  262. //
  263. // MessageId: VFW_E_NOT_OVERLAY_CONNECTION
  264. //
  265. // MessageText:
  266. //
  267. //  Current pin connection is not using the IOverlay transport.%0
  268. //
  269. #define VFW_E_NOT_OVERLAY_CONNECTION     ((HRESULT)0x8004021BL)
  270. //
  271. // MessageId: VFW_E_NOT_SAMPLE_CONNECTION
  272. //
  273. // MessageText:
  274. //
  275. //  Current pin connection is not using the IMemInputPin transport.%0
  276. //
  277. #define VFW_E_NOT_SAMPLE_CONNECTION      ((HRESULT)0x8004021CL)
  278. //
  279. // MessageId: VFW_E_PALETTE_SET
  280. //
  281. // MessageText:
  282. //
  283. //  Setting a color key would conflict with the palette already set.%0
  284. //
  285. #define VFW_E_PALETTE_SET                ((HRESULT)0x8004021DL)
  286. //
  287. // MessageId: VFW_E_COLOR_KEY_SET
  288. //
  289. // MessageText:
  290. //
  291. //  Setting a palette would conflict with the color key already set.%0
  292. //
  293. #define VFW_E_COLOR_KEY_SET              ((HRESULT)0x8004021EL)
  294. //
  295. // MessageId: VFW_E_NO_COLOR_KEY_FOUND
  296. //
  297. // MessageText:
  298. //
  299. //  No matching color key is available.%0
  300. //
  301. #define VFW_E_NO_COLOR_KEY_FOUND         ((HRESULT)0x8004021FL)
  302. //
  303. // MessageId: VFW_E_NO_PALETTE_AVAILABLE
  304. //
  305. // MessageText:
  306. //
  307. //  No palette is available.%0
  308. //
  309. #define VFW_E_NO_PALETTE_AVAILABLE       ((HRESULT)0x80040220L)
  310. //
  311. // MessageId: VFW_E_NO_DISPLAY_PALETTE
  312. //
  313. // MessageText:
  314. //
  315. //  Display does not use a palette.%0
  316. //
  317. #define VFW_E_NO_DISPLAY_PALETTE         ((HRESULT)0x80040221L)
  318. //
  319. // MessageId: VFW_E_TOO_MANY_COLORS
  320. //
  321. // MessageText:
  322. //
  323. //  Too many colors for the current display settings.%0
  324. //
  325. #define VFW_E_TOO_MANY_COLORS            ((HRESULT)0x80040222L)
  326. //
  327. // MessageId: VFW_E_STATE_CHANGED
  328. //
  329. // MessageText:
  330. //
  331. //  The state changed while waiting to process the sample.%0
  332. //
  333. #define VFW_E_STATE_CHANGED              ((HRESULT)0x80040223L)
  334. //
  335. // MessageId: VFW_E_NOT_STOPPED
  336. //
  337. // MessageText:
  338. //
  339. //  The operation could not be performed because the filter is not stopped.%0
  340. //
  341. #define VFW_E_NOT_STOPPED                ((HRESULT)0x80040224L)
  342. //
  343. // MessageId: VFW_E_NOT_PAUSED
  344. //
  345. // MessageText:
  346. //
  347. //  The operation could not be performed because the filter is not paused.%0
  348. //
  349. #define VFW_E_NOT_PAUSED                 ((HRESULT)0x80040225L)
  350. //
  351. // MessageId: VFW_E_NOT_RUNNING
  352. //
  353. // MessageText:
  354. //
  355. //  The operation could not be performed because the filter is not running.%0
  356. //
  357. #define VFW_E_NOT_RUNNING                ((HRESULT)0x80040226L)
  358. //
  359. // MessageId: VFW_E_WRONG_STATE
  360. //
  361. // MessageText:
  362. //
  363. //  The operation could not be performed because the filter is in the wrong state.%0
  364. //
  365. #define VFW_E_WRONG_STATE                ((HRESULT)0x80040227L)
  366. //
  367. // MessageId: VFW_E_START_TIME_AFTER_END
  368. //
  369. // MessageText:
  370. //
  371. //  The sample start time is after the sample end time.%0
  372. //
  373. #define VFW_E_START_TIME_AFTER_END       ((HRESULT)0x80040228L)
  374. //
  375. // MessageId: VFW_E_INVALID_RECT
  376. //
  377. // MessageText:
  378. //
  379. //  The supplied rectangle is invalid.%0
  380. //
  381. #define VFW_E_INVALID_RECT               ((HRESULT)0x80040229L)
  382. //
  383. // MessageId: VFW_E_TYPE_NOT_ACCEPTED
  384. //
  385. // MessageText:
  386. //
  387. //  This pin cannot use the supplied media type.%0
  388. //
  389. #define VFW_E_TYPE_NOT_ACCEPTED          ((HRESULT)0x8004022AL)
  390. //
  391. // MessageId: VFW_E_SAMPLE_REJECTED
  392. //
  393. // MessageText:
  394. //
  395. //  This sample cannot be rendered.%0
  396. //
  397. #define VFW_E_SAMPLE_REJECTED            ((HRESULT)0x8004022BL)
  398. //
  399. // MessageId: VFW_E_SAMPLE_REJECTED_EOS
  400. //
  401. // MessageText:
  402. //
  403. //  This sample cannot be rendered because the end of the stream has been reached.%0
  404. //
  405. #define VFW_E_SAMPLE_REJECTED_EOS        ((HRESULT)0x8004022CL)
  406. //
  407. // MessageId: VFW_E_DUPLICATE_NAME
  408. //
  409. // MessageText:
  410. //
  411. //  An attempt to add a filter with a duplicate name failed.%0
  412. //
  413. #define VFW_E_DUPLICATE_NAME             ((HRESULT)0x8004022DL)
  414. //
  415. // MessageId: VFW_S_DUPLICATE_NAME
  416. //
  417. // MessageText:
  418. //
  419. //  An attempt to add a filter with a duplicate name succeeded with a modified name.%0
  420. //
  421. #define VFW_S_DUPLICATE_NAME             ((HRESULT)0x0004022DL)
  422. //
  423. // MessageId: VFW_E_TIMEOUT
  424. //
  425. // MessageText:
  426. //
  427. //  A time-out has expired.%0
  428. //
  429. #define VFW_E_TIMEOUT                    ((HRESULT)0x8004022EL)
  430. //
  431. // MessageId: VFW_E_INVALID_FILE_FORMAT
  432. //
  433. // MessageText:
  434. //
  435. //  The file format is invalid.%0
  436. //
  437. #define VFW_E_INVALID_FILE_FORMAT        ((HRESULT)0x8004022FL)
  438. //
  439. // MessageId: VFW_E_ENUM_OUT_OF_RANGE
  440. //
  441. // MessageText:
  442. //
  443. //  The list has already been exhausted.%0
  444. //
  445. #define VFW_E_ENUM_OUT_OF_RANGE          ((HRESULT)0x80040230L)
  446. //
  447. // MessageId: VFW_E_CIRCULAR_GRAPH
  448. //
  449. // MessageText:
  450. //
  451. //  The filter graph is circular.%0
  452. //
  453. #define VFW_E_CIRCULAR_GRAPH             ((HRESULT)0x80040231L)
  454. //
  455. // MessageId: VFW_E_NOT_ALLOWED_TO_SAVE
  456. //
  457. // MessageText:
  458. //
  459. //  Updates are not allowed in this state.%0
  460. //
  461. #define VFW_E_NOT_ALLOWED_TO_SAVE        ((HRESULT)0x80040232L)
  462. //
  463. // MessageId: VFW_E_TIME_ALREADY_PASSED
  464. //
  465. // MessageText:
  466. //
  467. //  An attempt was made to queue a command for a time in the past.%0
  468. //
  469. #define VFW_E_TIME_ALREADY_PASSED        ((HRESULT)0x80040233L)
  470. //
  471. // MessageId: VFW_E_ALREADY_CANCELLED
  472. //
  473. // MessageText:
  474. //
  475. //  The queued command has already been canceled.%0
  476. //
  477. #define VFW_E_ALREADY_CANCELLED          ((HRESULT)0x80040234L)
  478. //
  479. // MessageId: VFW_E_CORRUPT_GRAPH_FILE
  480. //
  481. // MessageText:
  482. //
  483. //  Cannot render the file because it is corrupt.%0
  484. //
  485. #define VFW_E_CORRUPT_GRAPH_FILE         ((HRESULT)0x80040235L)
  486. //
  487. // MessageId: VFW_E_ADVISE_ALREADY_SET
  488. //
  489. // MessageText:
  490. //
  491. //  An overlay advise link already exists.%0
  492. //
  493. #define VFW_E_ADVISE_ALREADY_SET         ((HRESULT)0x80040236L)
  494. //
  495. // MessageId: VFW_S_STATE_INTERMEDIATE
  496. //
  497. // MessageText:
  498. //
  499. //  The state transition has not completed.%0
  500. //
  501. #define VFW_S_STATE_INTERMEDIATE         ((HRESULT)0x00040237L)
  502. //
  503. // MessageId: VFW_E_NO_MODEX_AVAILABLE
  504. //
  505. // MessageText:
  506. //
  507. //  No full-screen modes are available.%0
  508. //
  509. #define VFW_E_NO_MODEX_AVAILABLE         ((HRESULT)0x80040238L)
  510. //
  511. // MessageId: VFW_E_NO_ADVISE_SET
  512. //
  513. // MessageText:
  514. //
  515. //  This Advise cannot be canceled because it was not successfully set.%0
  516. //
  517. #define VFW_E_NO_ADVISE_SET              ((HRESULT)0x80040239L)
  518. //
  519. // MessageId: VFW_E_NO_FULLSCREEN
  520. //
  521. // MessageText:
  522. //
  523. //  A full-screen mode is not available.%0
  524. //
  525. #define VFW_E_NO_FULLSCREEN              ((HRESULT)0x8004023AL)
  526. //
  527. // MessageId: VFW_E_IN_FULLSCREEN_MODE
  528. //
  529. // MessageText:
  530. //
  531. //  Cannot call IVideoWindow methods while in full-screen mode.%0
  532. //
  533. #define VFW_E_IN_FULLSCREEN_MODE         ((HRESULT)0x8004023BL)
  534. //
  535. // MessageId: VFW_E_UNKNOWN_FILE_TYPE
  536. //
  537. // MessageText:
  538. //
  539. //  The media type of this file is not recognized.%0
  540. //
  541. #define VFW_E_UNKNOWN_FILE_TYPE          ((HRESULT)0x80040240L)
  542. //
  543. // MessageId: VFW_E_CANNOT_LOAD_SOURCE_FILTER
  544. //
  545. // MessageText:
  546. //
  547. //  The source filter for this file could not be loaded.%0
  548. //
  549. #define VFW_E_CANNOT_LOAD_SOURCE_FILTER  ((HRESULT)0x80040241L)
  550. //
  551. // MessageId: VFW_S_PARTIAL_RENDER
  552. //
  553. // MessageText:
  554. //
  555. //  Some of the streams in this movie are in an unsupported format.%0
  556. //
  557. #define VFW_S_PARTIAL_RENDER             ((HRESULT)0x00040242L)
  558. //
  559. // MessageId: VFW_E_FILE_TOO_SHORT
  560. //
  561. // MessageText:
  562. //
  563. //  A file appeared to be incomplete.%0
  564. //
  565. #define VFW_E_FILE_TOO_SHORT             ((HRESULT)0x80040243L)
  566. //
  567. // MessageId: VFW_E_INVALID_FILE_VERSION
  568. //
  569. // MessageText:
  570. //
  571. //  The version number of the file is invalid.%0
  572. //
  573. #define VFW_E_INVALID_FILE_VERSION       ((HRESULT)0x80040244L)
  574. //
  575. // MessageId: VFW_S_SOME_DATA_IGNORED
  576. //
  577. // MessageText:
  578. //
  579. //  The file contained some property settings that were not used.%0
  580. //
  581. #define VFW_S_SOME_DATA_IGNORED          ((HRESULT)0x00040245L)
  582. //
  583. // MessageId: VFW_S_CONNECTIONS_DEFERRED
  584. //
  585. // MessageText:
  586. //
  587. //  Some connections have failed and have been deferred.%0
  588. //
  589. #define VFW_S_CONNECTIONS_DEFERRED       ((HRESULT)0x00040246L)
  590. //
  591. // MessageId: VFW_E_INVALID_CLSID
  592. //
  593. // MessageText:
  594. //
  595. //  This file is corrupt: it contains an invalid class identifier.%0
  596. //
  597. #define VFW_E_INVALID_CLSID              ((HRESULT)0x80040247L)
  598. //
  599. // MessageId: VFW_E_INVALID_MEDIA_TYPE
  600. //
  601. // MessageText:
  602. //
  603. //  This file is corrupt: it contains an invalid media type.%0
  604. //
  605. #define VFW_E_INVALID_MEDIA_TYPE         ((HRESULT)0x80040248L)
  606.  // Message id from WINWarning.H
  607. //
  608. // MessageId: VFW_E_BAD_KEY
  609. //
  610. // MessageText:
  611. //
  612. //  A registry entry is corrupt.%0
  613. //
  614. #define VFW_E_BAD_KEY                    ((HRESULT)0x800403F2L)
  615.  // Message id from WINWarning.H
  616. //
  617. // MessageId: VFW_S_NO_MORE_ITEMS
  618. //
  619. // MessageText:
  620. //
  621. //  The end of the list has been reached.%0
  622. //
  623. #define VFW_S_NO_MORE_ITEMS              ((HRESULT)0x00040103L)
  624. //
  625. // MessageId: VFW_E_SAMPLE_TIME_NOT_SET
  626. //
  627. // MessageText:
  628. //
  629. //  No time stamp has been set for this sample.%0
  630. //
  631. #define VFW_E_SAMPLE_TIME_NOT_SET        ((HRESULT)0x80040249L)
  632. //
  633. // MessageId: VFW_S_RESOURCE_NOT_NEEDED
  634. //
  635. // MessageText:
  636. //
  637. //  The resource specified is no longer needed.%0
  638. //
  639. #define VFW_S_RESOURCE_NOT_NEEDED        ((HRESULT)0x00040250L)
  640. //
  641. // MessageId: VFW_E_MEDIA_TIME_NOT_SET
  642. //
  643. // MessageText:
  644. //
  645. //  No media time stamp has been set for this sample.%0
  646. //
  647. #define VFW_E_MEDIA_TIME_NOT_SET         ((HRESULT)0x80040251L)
  648. //
  649. // MessageId: VFW_E_NO_TIME_FORMAT_SET
  650. //
  651. // MessageText:
  652. //
  653. //  No media time format has been selected.%0
  654. //
  655. #define VFW_E_NO_TIME_FORMAT_SET         ((HRESULT)0x80040252L)
  656. //
  657. // MessageId: VFW_E_MONO_AUDIO_HW
  658. //
  659. // MessageText:
  660. //
  661. //  Cannot change balance because audio device is mono only.%0
  662. //
  663. #define VFW_E_MONO_AUDIO_HW              ((HRESULT)0x80040253L)
  664. //
  665. // MessageId: VFW_S_MEDIA_TYPE_IGNORED
  666. //
  667. // MessageText:
  668. //
  669. //  A connection could not be made with the media type in the persistent graph,%0
  670. //  but has been made with a negotiated media type.%0
  671. //
  672. #define VFW_S_MEDIA_TYPE_IGNORED         ((HRESULT)0x00040254L)
  673. //
  674. // MessageId: VFW_E_NO_DECOMPRESSOR
  675. //
  676. // MessageText:
  677. //
  678. //  Cannot play back the video stream: no suitable decompressor could be found.%0
  679. //
  680. #define VFW_E_NO_DECOMPRESSOR            ((HRESULT)0x80040255L)
  681. //
  682. // MessageId: VFW_E_NO_AUDIO_HARDWARE
  683. //
  684. // MessageText:
  685. //
  686. //  Cannot play back the audio stream: no audio hardware is available, or the hardware is not responding.%0
  687. //
  688. #define VFW_E_NO_AUDIO_HARDWARE          ((HRESULT)0x80040256L)
  689. //
  690. // MessageId: VFW_S_VIDEO_NOT_RENDERED
  691. //
  692. // MessageText:
  693. //
  694. //  Cannot play back the video stream: no suitable decompressor could be found.%0
  695. //
  696. #define VFW_S_VIDEO_NOT_RENDERED         ((HRESULT)0x00040257L)
  697. //
  698. // MessageId: VFW_S_AUDIO_NOT_RENDERED
  699. //
  700. // MessageText:
  701. //
  702. //  Cannot play back the audio stream: no audio hardware is available.%0
  703. //
  704. #define VFW_S_AUDIO_NOT_RENDERED         ((HRESULT)0x00040258L)
  705. //
  706. // MessageId: VFW_E_RPZA
  707. //
  708. // MessageText:
  709. //
  710. //  Cannot play back the video stream: format 'RPZA' is not supported.%0
  711. //
  712. #define VFW_E_RPZA                       ((HRESULT)0x80040259L)
  713. //
  714. // MessageId: VFW_S_RPZA
  715. //
  716. // MessageText:
  717. //
  718. //  Cannot play back the video stream: format 'RPZA' is not supported.%0
  719. //
  720. #define VFW_S_RPZA                       ((HRESULT)0x0004025AL)
  721. //
  722. // MessageId: VFW_E_PROCESSOR_NOT_SUITABLE
  723. //
  724. // MessageText:
  725. //
  726. //  ActiveMovie cannot play MPEG movies on this processor.%0
  727. //
  728. #define VFW_E_PROCESSOR_NOT_SUITABLE     ((HRESULT)0x8004025BL)
  729. //
  730. // MessageId: VFW_E_UNSUPPORTED_AUDIO
  731. //
  732. // MessageText:
  733. //
  734. //  Cannot play back the audio stream: the audio format is not supported.%0
  735. //
  736. #define VFW_E_UNSUPPORTED_AUDIO          ((HRESULT)0x8004025CL)
  737. //
  738. // MessageId: VFW_E_UNSUPPORTED_VIDEO
  739. //
  740. // MessageText:
  741. //
  742. //  Cannot play back the video stream: the video format is not supported.%0
  743. //
  744. #define VFW_E_UNSUPPORTED_VIDEO          ((HRESULT)0x8004025DL)
  745. //
  746. // MessageId: VFW_E_MPEG_NOT_CONSTRAINED
  747. //
  748. // MessageText:
  749. //
  750. //  ActiveMovie cannot play this video stream because it falls outside the constrained standard.%0
  751. //
  752. #define VFW_E_MPEG_NOT_CONSTRAINED       ((HRESULT)0x8004025EL)
  753. //
  754. // MessageId: VFW_E_NOT_IN_GRAPH
  755. //
  756. // MessageText:
  757. //
  758. //  Cannot perform the requested function on an object that is not in the filter graph.%0
  759. //
  760. #define VFW_E_NOT_IN_GRAPH               ((HRESULT)0x8004025FL)
  761. //
  762. // MessageId: VFW_S_ESTIMATED
  763. //
  764. // MessageText:
  765. //
  766. //  The value returned had to be estimated.  It's accuracy can not be guaranteed.%0
  767. //
  768. #define VFW_S_ESTIMATED                  ((HRESULT)0x00040260L)
  769. //
  770. // MessageId: VFW_E_NO_TIME_FORMAT
  771. //
  772. // MessageText:
  773. //
  774. //  Cannot get or set time related information on an object that is using a time format of TIME_FORMAT_NONE.%0
  775. //
  776. #define VFW_E_NO_TIME_FORMAT             ((HRESULT)0x80040261L)
  777. //
  778. // MessageId: VFW_E_READ_ONLY
  779. //
  780. // MessageText:
  781. //
  782. //  The connection cannot be made because the stream is read only and the filter alters the data.%0
  783. //
  784. #define VFW_E_READ_ONLY                  ((HRESULT)0x80040262L)
  785. //
  786. // MessageId: VFW_S_RESERVED
  787. //
  788. // MessageText:
  789. //
  790. //  This success code is reserved for internal purposes within ActiveMovie.%0
  791. //
  792. #define VFW_S_RESERVED                   ((HRESULT)0x00040263L)
  793. //
  794. // MessageId: VFW_E_BUFFER_UNDERFLOW
  795. //
  796. // MessageText:
  797. //
  798. //  The buffer is not full enough.%0
  799. //
  800. #define VFW_E_BUFFER_UNDERFLOW           ((HRESULT)0x80040264L)
  801. //
  802. // MessageId: VFW_E_UNSUPPORTED_STREAM
  803. //
  804. // MessageText:
  805. //
  806. //  Cannot play back the file.  The format is not supported.%0
  807. //
  808. #define VFW_E_UNSUPPORTED_STREAM         ((HRESULT)0x80040265L)
  809. //
  810. // MessageId: VFW_E_NO_TRANSPORT
  811. //
  812. // MessageText:
  813. //
  814. //  Pins cannot connect due to not supporting the same transport.%0
  815. //
  816. #define VFW_E_NO_TRANSPORT               ((HRESULT)0x80040266L)
  817. //
  818. // MessageId: VFW_S_STREAM_OFF
  819. //
  820. // MessageText:
  821. //
  822. //  The stream has been turned off.%0
  823. //
  824. #define VFW_S_STREAM_OFF                 ((HRESULT)0x00040267L)
  825. //
  826. // MessageId: VFW_S_CANT_CUE
  827. //
  828. // MessageText:
  829. //
  830. //  The graph can't be cued because of lack of or corrupt data.%0
  831. //
  832. #define VFW_S_CANT_CUE                   ((HRESULT)0x00040268L)
  833. //
  834. // MessageId: VFW_E_BAD_VIDEOCD
  835. //
  836. // MessageText:
  837. //
  838. //  The Video CD can't be read correctly by the device or is the data is corrupt.%0
  839. //
  840. #define VFW_E_BAD_VIDEOCD                ((HRESULT)0x80040269L)
  841. //
  842. // MessageId: VFW_S_NO_STOP_TIME
  843. //
  844. // MessageText:
  845. //
  846. //  The stop time for the sample was not set.%0
  847. //
  848. #define VFW_S_NO_STOP_TIME               ((HRESULT)0x00040270L)
  849. //
  850. // MessageId: VFW_E_OUT_OF_VIDEO_MEMORY
  851. //
  852. // MessageText:
  853. //
  854. //  There is not enough Video Memory at this display resolution and number of colors. Reducing resolution might help.%0
  855. //
  856. #define VFW_E_OUT_OF_VIDEO_MEMORY        ((HRESULT)0x80040271L)
  857. //
  858. // MessageId: VFW_E_VP_NEGOTIATION_FAILED
  859. //
  860. // MessageText:
  861. //
  862. //  The VideoPort connection negotiation process has failed.%0
  863. //
  864. #define VFW_E_VP_NEGOTIATION_FAILED      ((HRESULT)0x80040272L)
  865. //
  866. // MessageId: VFW_E_DDRAW_CAPS_NOT_SUITABLE
  867. //
  868. // MessageText:
  869. //
  870. //  Either DirectDraw has not been installed or the Video Card capabilities are not suitable. Make sure the display is not in 16 color mode.%0
  871. //
  872. #define VFW_E_DDRAW_CAPS_NOT_SUITABLE    ((HRESULT)0x80040273L)
  873. //
  874. // MessageId: VFW_E_NO_VP_HARDWARE
  875. //
  876. // MessageText:
  877. //
  878. //  No VideoPort hardware is available, or the hardware is not responding.%0
  879. //
  880. #define VFW_E_NO_VP_HARDWARE             ((HRESULT)0x80040274L)
  881. //
  882. // MessageId: VFW_E_NO_CAPTURE_HARDWARE
  883. //
  884. // MessageText:
  885. //
  886. //  No Capture hardware is available, or the hardware is not responding.%0
  887. //
  888. #define VFW_E_NO_CAPTURE_HARDWARE        ((HRESULT)0x80040275L)
  889. //
  890. // MessageId: VFW_E_DVD_OPERATION_INHIBITED
  891. //
  892. // MessageText:
  893. //
  894. //  This User Operation is inhibited by DVD Content at this time.%0
  895. //
  896. #define VFW_E_DVD_OPERATION_INHIBITED    ((HRESULT)0x80040276L)
  897. //
  898. // MessageId: VFW_E_DVD_INVALIDDOMAIN
  899. //
  900. // MessageText:
  901. //
  902. //  This Operation is not permitted in the current domain.%0
  903. //
  904. #define VFW_E_DVD_INVALIDDOMAIN          ((HRESULT)0x80040277L)
  905. //
  906. // MessageId: VFW_E_DVD_NO_BUTTON
  907. //
  908. // MessageText:
  909. //
  910. //  The specified button is invalid or is not present at the current time, or there is no button present at the specified location.%0
  911. //
  912. #define VFW_E_DVD_NO_BUTTON              ((HRESULT)0x80040278L)
  913. //
  914. // MessageId: VFW_E_DVD_GRAPHNOTREADY
  915. //
  916. // MessageText:
  917. //
  918. //  DVD-Video playback graph has not been built yet.%0
  919. //
  920. #define VFW_E_DVD_GRAPHNOTREADY          ((HRESULT)0x80040279L)
  921. //
  922. // MessageId: VFW_E_DVD_RENDERFAIL
  923. //
  924. // MessageText:
  925. //
  926. //  DVD-Video playback graph building failed.%0
  927. //
  928. #define VFW_E_DVD_RENDERFAIL             ((HRESULT)0x8004027AL)
  929. //
  930. // MessageId: VFW_E_DVD_DECNOTENOUGH
  931. //
  932. // MessageText:
  933. //
  934. //  DVD-Video playback graph could not be built due to insufficient decoders.%0
  935. //
  936. #define VFW_E_DVD_DECNOTENOUGH           ((HRESULT)0x8004027BL)
  937. //
  938. // MessageId: VFW_E_DDRAW_VERSION_NOT_SUITABLE
  939. //
  940. // MessageText:
  941. //
  942. //  Version number of DirectDraw not suitable. Make sure to install dx5 or higher version.%0
  943. //
  944. #define VFW_E_DDRAW_VERSION_NOT_SUITABLE ((HRESULT)0x8004027CL)
  945. //
  946. // MessageId: VFW_E_COPYPROT_FAILED
  947. //
  948. // MessageText:
  949. //
  950. //  Copy protection cannot be enabled. Please make sure any other copy protected content is not being shown now.%0
  951. //
  952. #define VFW_E_COPYPROT_FAILED            ((HRESULT)0x8004027DL)
  953. //
  954. // MessageId: VFW_S_NOPREVIEWPIN
  955. //
  956. // MessageText:
  957. //
  958. //  There was no preview pin available, so the capture pin output is being split to provide both capture and preview.%0
  959. //
  960. #define VFW_S_NOPREVIEWPIN               ((HRESULT)0x0004027EL)
  961. //
  962. // MessageId: VFW_E_TIME_EXPIRED
  963. //
  964. // MessageText:
  965. //
  966. //  This object cannot be used anymore as its time has expired.%0
  967. //
  968. #define VFW_E_TIME_EXPIRED               ((HRESULT)0x8004027FL)
  969. //
  970. // MessageId: VFW_S_DVD_NON_ONE_SEQUENTIAL
  971. //
  972. // MessageText:
  973. //
  974. //  The current title was not a sequential set of chapters (PGC), and the returned timing information might not be continuous.%0
  975. //
  976. #define VFW_S_DVD_NON_ONE_SEQUENTIAL     ((HRESULT)0x00040280L)
  977. //
  978. // MessageId: VFW_E_DVD_WRONG_SPEED
  979. //
  980. // MessageText:
  981. //
  982. //  The operation cannot be performed at the current playback speed.%0
  983. //
  984. #define VFW_E_DVD_WRONG_SPEED            ((HRESULT)0x80040281L)
  985. //
  986. // MessageId: VFW_E_DVD_MENU_DOES_NOT_EXIST
  987. //
  988. // MessageText:
  989. //
  990. //  The specified menu doesn't exist.%0
  991. //
  992. #define VFW_E_DVD_MENU_DOES_NOT_EXIST    ((HRESULT)0x80040282L)
  993. //
  994. // MessageId: VFW_E_DVD_CMD_CANCELLED
  995. //
  996. // MessageText:
  997. //
  998. //  The specified command was either cancelled or no longer exists.%0
  999. //
  1000. #define VFW_E_DVD_CMD_CANCELLED          ((HRESULT)0x80040283L)
  1001. //
  1002. // MessageId: VFW_E_DVD_STATE_WRONG_VERSION
  1003. //
  1004. // MessageText:
  1005. //
  1006. //  The data did not contain a recognized version.%0
  1007. //
  1008. #define VFW_E_DVD_STATE_WRONG_VERSION    ((HRESULT)0x80040284L)
  1009. //
  1010. // MessageId: VFW_E_DVD_STATE_CORRUPT
  1011. //
  1012. // MessageText:
  1013. //
  1014. //  The state data was corrupt.%0
  1015. //
  1016. #define VFW_E_DVD_STATE_CORRUPT          ((HRESULT)0x80040285L)
  1017. //
  1018. // MessageId: VFW_E_DVD_STATE_WRONG_DISC
  1019. //
  1020. // MessageText:
  1021. //
  1022. //  The state data is from a different disc.%0
  1023. //
  1024. #define VFW_E_DVD_STATE_WRONG_DISC       ((HRESULT)0x80040286L)
  1025. //
  1026. // MessageId: VFW_E_DVD_INCOMPATIBLE_REGION
  1027. //
  1028. // MessageText:
  1029. //
  1030. //  The region was not compatible with the current drive.%0
  1031. //
  1032. #define VFW_E_DVD_INCOMPATIBLE_REGION    ((HRESULT)0x80040287L)
  1033. //
  1034. // MessageId: VFW_E_DVD_NO_ATTRIBUTES
  1035. //
  1036. // MessageText:
  1037. //
  1038. //  The requested DVD stream attribute does not exist.%0
  1039. //
  1040. #define VFW_E_DVD_NO_ATTRIBUTES          ((HRESULT)0x80040288L)
  1041. //
  1042. // MessageId: VFW_E_DVD_NO_GOUP_PGC
  1043. //
  1044. // MessageText:
  1045. //
  1046. //  Currently there is no GoUp (Annex J user function) program chain (PGC).%0
  1047. //
  1048. #define VFW_E_DVD_NO_GOUP_PGC            ((HRESULT)0x80040289L)
  1049. //
  1050. // MessageId: VFW_E_DVD_LOW_PARENTAL_LEVEL
  1051. //
  1052. // MessageText:
  1053. //
  1054. //  The current parental level was too low.%0
  1055. //
  1056. #define VFW_E_DVD_LOW_PARENTAL_LEVEL     ((HRESULT)0x8004028AL)
  1057. //
  1058. // MessageId: VFW_E_DVD_NOT_IN_KARAOKE_MODE
  1059. //
  1060. // MessageText:
  1061. //
  1062. //  The current audio is not karaoke content.%0
  1063. //
  1064. #define VFW_E_DVD_NOT_IN_KARAOKE_MODE    ((HRESULT)0x8004028BL)
  1065. //
  1066. // MessageId: VFW_S_DVD_CHANNEL_CONTENTS_NOT_AVAILABLE
  1067. //
  1068. // MessageText:
  1069. //
  1070. //  The audio stream did not contain sufficient information to determine the contents of each channel.%0
  1071. //
  1072. #define VFW_S_DVD_CHANNEL_CONTENTS_NOT_AVAILABLE ((HRESULT)0x0004028CL)
  1073. //
  1074. // MessageId: VFW_S_DVD_NOT_ACCURATE
  1075. //
  1076. // MessageText:
  1077. //
  1078. //  The seek into the movie was not frame accurate.%0
  1079. //
  1080. #define VFW_S_DVD_NOT_ACCURATE           ((HRESULT)0x0004028DL)
  1081. //
  1082. // MessageId: VFW_E_FRAME_STEP_UNSUPPORTED
  1083. //
  1084. // MessageText:
  1085. //
  1086. //  Frame step is not supported on this configuration.%0
  1087. //
  1088. #define VFW_E_FRAME_STEP_UNSUPPORTED     ((HRESULT)0x8004028EL)
  1089. //
  1090. // MessageId: VFW_E_DVD_STREAM_DISABLED
  1091. //
  1092. // MessageText:
  1093. //
  1094. //  The specified stream is disabled and cannot be selected.%0
  1095. //
  1096. #define VFW_E_DVD_STREAM_DISABLED        ((HRESULT)0x8004028FL)
  1097. //
  1098. // MessageId: VFW_E_DVD_TITLE_UNKNOWN
  1099. //
  1100. // MessageText:
  1101. //
  1102. //  The operation depends on the current title number, however the navigator has not yet entered the VTSM or the title domains,
  1103. //  so the 'current' title index is unknown.%0
  1104. //
  1105. #define VFW_E_DVD_TITLE_UNKNOWN          ((HRESULT)0x80040290L)
  1106. //
  1107. // MessageId: VFW_E_DVD_INVALID_DISC
  1108. //
  1109. // MessageText:
  1110. //
  1111. //  The specified path does not point to a valid DVD disc.%0
  1112. //
  1113. #define VFW_E_DVD_INVALID_DISC           ((HRESULT)0x80040291L)
  1114. //
  1115. // MessageId: VFW_E_DVD_NO_RESUME_INFORMATION
  1116. //
  1117. // MessageText:
  1118. //
  1119. //  There is currently no resume information.%0
  1120. //
  1121. #define VFW_E_DVD_NO_RESUME_INFORMATION  ((HRESULT)0x80040292L)
  1122. //
  1123. // MessageId: VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD
  1124. //
  1125. // MessageText:
  1126. //
  1127. //  This thread has already blocked this output pin.  There is no need to call IPinFlowControl::Block() again.%0
  1128. //
  1129. #define VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD ((HRESULT)0x80040293L)
  1130. //
  1131. // MessageId: VFW_E_PIN_ALREADY_BLOCKED
  1132. //
  1133. // MessageText:
  1134. //
  1135. //  IPinFlowControl::Block() has been called on another thread.  The current thread cannot make any assumptions about this pin's block state.%0
  1136. //
  1137. #define VFW_E_PIN_ALREADY_BLOCKED        ((HRESULT)0x80040294L)
  1138. //
  1139. // MessageId: VFW_E_CERTIFICATION_FAILURE
  1140. //
  1141. // MessageText:
  1142. //
  1143. //  An operation failed due to a certification failure.%0
  1144. //
  1145. #define VFW_E_CERTIFICATION_FAILURE      ((HRESULT)0x80040295L)
  1146. //
  1147. // MessageId: VFW_E_VMR_NOT_IN_MIXER_MODE
  1148. //
  1149. // MessageText:
  1150. //
  1151. //  The VMR has not yet created a mixing component.  That is, IVMRFilterConfig::SetNumberofStreams has not yet been called.%0
  1152. //
  1153. #define VFW_E_VMR_NOT_IN_MIXER_MODE      ((HRESULT)0x80040296L)
  1154. //
  1155. //
  1156. // E_PROP_SET_UNSUPPORTED and E_PROP_ID_UNSUPPORTED are added here using
  1157. // HRESULT_FROM_WIN32() because VC5 doesn't have WinNT's new error codes
  1158. // from winerror.h, and because it is more convienent to have them already
  1159. // formed as HRESULTs.  These should correspond to:
  1160. //     HRESULT_FROM_WIN32(ERROR_NOT_FOUND)     == E_PROP_ID_UNSUPPORTED
  1161. //     HRESULT_FROM_WIN32(ERROR_SET_NOT_FOUND) == E_PROP_SET_UNSUPPORTED
  1162. #if !defined(E_PROP_SET_UNSUPPORTED)
  1163. //
  1164. // MessageId: E_PROP_SET_UNSUPPORTED
  1165. //
  1166. // MessageText:
  1167. //
  1168. //  The Specified property set is not supported.%0
  1169. //
  1170. #define E_PROP_SET_UNSUPPORTED           ((HRESULT)0x80070492L)
  1171. #endif //!defined(E_PROP_SET_UNSUPPORTED)
  1172. #if !defined(E_PROP_ID_UNSUPPORTED)
  1173. //
  1174. // MessageId: E_PROP_ID_UNSUPPORTED
  1175. //
  1176. // MessageText:
  1177. //
  1178. //  The specified property ID is not supported for the specified property set.%0
  1179. //
  1180. #define E_PROP_ID_UNSUPPORTED            ((HRESULT)0x80070490L)
  1181. #endif //!defined(E_PROP_ID_UNSUPPORTED)