home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / vfwmsgs.h < prev    next >
Text File  |  1998-04-25  |  25KB  |  1,090 lines

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