Source code of Windows XP (NT5)
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.

83 lines
2.8 KiB

  1. //==========================================================================;
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. // PURPOSE.
  7. //
  8. // Copyright (c) 1992 - 1998 Microsoft Corporation. All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. // list of additional (perhaps standard someday) Quartz event codes
  13. // and the expected params
  14. //
  15. #define EC_SKIP_FRAMES 0x25
  16. // ( nFramesToSkip, IFrameSkipResultCallback) : internal
  17. // Get the filter graph to seek accuratley.
  18. #define EC_PLEASE_REOPEN 0x40
  19. // (void, void) : application
  20. // Something has changed enough that the graph should be re-rendered.
  21. #define EC_STATUS 0x41
  22. // ( BSTR, BSTR) : application
  23. // Two arbitrary strings, a short one and a long one.
  24. #define EC_MARKER_HIT 0x42
  25. // (int, void) : application
  26. // The specified "marker #" has just been passed
  27. #define EC_LOADSTATUS 0x43
  28. // (int, void) : application
  29. // Sent when various points during the loading of a network file are reached
  30. #define EC_FILE_CLOSED 0x44
  31. // (void, void) : application
  32. // Sent when the file is involuntarily closed, i.e. by a network server shutdown
  33. #define EC_ERRORABORTEX 0x45
  34. // ( HRESULT, BSTR ) : application
  35. // Operation aborted because of error. Additional information available.
  36. // status codes for EC_LOADSTATUS....
  37. #define AM_LOADSTATUS_CLOSED 0x0000
  38. #define AM_LOADSTATUS_LOADINGDESCR 0x0001
  39. #define AM_LOADSTATUS_LOADINGMCAST 0x0002
  40. #define AM_LOADSTATUS_LOCATING 0x0003
  41. #define AM_LOADSTATUS_CONNECTING 0x0004
  42. #define AM_LOADSTATUS_OPENING 0x0005
  43. #define AM_LOADSTATUS_OPEN 0x0006
  44. #define EC_NEW_PIN 0x20
  45. #define EC_RENDER_FINISHED 0x21
  46. #define EC_EOS_SOON 0x046
  47. // (void, void) : application
  48. // sent when the source filter is about to deliver an EOS downstream....
  49. #define EC_CONTENTPROPERTY_CHANGED 0x47
  50. // (ULONG, void)
  51. // Sent when a streaming media filter recieves a change in stream description information.
  52. // the UI is expected to re-query for the changed property in response
  53. #define AM_CONTENTPROPERTY_TITLE 0x0001
  54. #define AM_CONTENTPROPERTY_AUTHOR 0x0002
  55. #define AM_CONTENTPROPERTY_COPYRIGHT 0x0004
  56. #define AM_CONTENTPROPERTY_DESCRIPTION 0x0008
  57. #define EC_BANDWIDTHCHANGE 0x48
  58. // (WORD, long) : application
  59. // sent when the bandwidth of the streaming data has changed. First parameter
  60. // is the new level of bandwidth. Second is the MAX number of levels. Second
  61. // parameter may be 0, if the max levels could not be determined.
  62. #define EC_VIDEOFRAMEREADY 0x49
  63. // (void, void) : application
  64. // sent to notify the application that the first video frame is about to be drawn