Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
3.9 KiB

  1. /*
  2. File: QuickTimeErrors.h
  3. Contains: QuickTime Error codes.
  4. Version: QuickTime 7.3
  5. Copyright: (c) 2007 (c) 1999-2007 by Apple Inc., all rights reserved.
  6. Bugs?: For bug reports, consult the following page on
  7. the World Wide Web:
  8. http://developer.apple.com/bugreporter/
  9. */
  10. #ifndef __QUICKTIMEERRORS__
  11. #define __QUICKTIMEERRORS__
  12. #if PRAGMA_ONCE
  13. #pragma once
  14. #endif
  15. #if PRAGMA_IMPORT
  16. #pragma import on
  17. #endif
  18. /* QuickTime is not available to 64-bit clients */
  19. #if !__LP64__
  20. enum {
  21. kQTMediaDoesNotSupportDisplayOffsetsErr = -9460, /* Returned by new (B-frame-aware) media APIs that attempt to set nonzero decode to display deltas on media that do not support them. */
  22. kQTMediaHasDisplayOffsetsErr = -9461, /* Returned by old (non-B-frame-aware) media APIs that cannot cope with nonzero decode to display deltas on media that contain them. */
  23. kQTDisplayTimeAlreadyInUseErr = -9462, /* Returned if an attempt to add a new media sample fails because there is already a sample with its display time. */
  24. kQTDisplayTimeTooEarlyErr = -9463, /* Returned if an attempt to add a new media sample fails because its display time */
  25. /* would be earlier than the display time of an existing sample that does not have the */
  26. /* mediaSampleEarlierDisplayTimesAllowed flag set. */
  27. kQTTimeValueTooBigErr = -9464, /* Returned by APIs that use 32-bit TimeValues if a timevalue could not be returned because it did not fit. */
  28. kQTVisualContextRequiredErr = -9458, /* Returned if a visual context is required */
  29. kQTVisualContextNotAllowedErr = -9459, /* Returned if a visual context cannot be used */
  30. kQTPropertyBadValueSizeErr = -2184, /* Returned if the size for the property value is incorrect */
  31. kQTPropertyNotSupportedErr = -2195, /* Returned if the property is not supported */
  32. kQTPropertyAskLaterErr = -2200, /* Returned if the property is not available now, but may be available later */
  33. kQTPropertyReadOnlyErr = -2191, /* Returned if the property cannot be set */
  34. kQTPropertyArrayElementUnprocessedErr = -9465, /* Used with property arrays, set on a property element prior to processing (example usage: NewMovieFromProperties) */
  35. kQTCannotCoerceValueErr = -2192, /* Returned if a value cannot be coerced to the request type */
  36. kQTMessageNotHandledErr = -2194, /* Returned if the message was not handled */
  37. kQTMessageCommandNotSupportedErr = -2196, /* Returned if the command message is not supported */
  38. kQTMessageNoSuchParameterErr = -2197, /* Returned if the requested parameter does not exist */
  39. kQTObsoleteLPCMSoundFormatErr = -2171, /* Returned if the LPCM sound format is incorrectly set to something other than 'lpcm' */
  40. kQTIncompatibleDescriptionErr = -2166, /* Returned if the operation cannot be performed on this SampleDescription */
  41. kQTMetaDataInvalidMetaDataErr = -2173, /* Returned if the metadata container is invalid */
  42. kQTMetaDataInvalidItemErr = -2174, /* Returned if the metadata item is invalid */
  43. kQTMetaDataInvalidStorageFormatErr = -2175, /* Returned if the storage format is invalid */
  44. kQTMetaDataInvalidKeyFormatErr = -2176, /* Returned if the key format is invalid */
  45. kQTMetaDataNoMoreItemsErr = -2177 /* Returned if there is no more metadata items */
  46. };
  47. enum {
  48. kICMCodecCantQueueOutOfOrderErr = -8995
  49. };
  50. enum {
  51. vdImageDescStaleErr = -2210, /* The ImageDescription previously returned from VDGetImageDescription is no longer valid */
  52. vdHardwareGoneErr = -2211, /* The hardware device providing video frames has been unplugged */
  53. vdDontHaveThatUniqueIDErr = -2212 /* The hardware device does not have the ID you are asking for */
  54. };
  55. #endif // !__LP64__
  56. #ifdef PRAGMA_IMPORT_OFF
  57. #pragma import off
  58. #elif PRAGMA_IMPORT
  59. #pragma import reset
  60. #endif
  61. #endif /* __QUICKTIMEERRORS__ */