xref: /reactos/sdk/include/dxsdk/evcode.h (revision 8a978a17)
1 
2 
3 #ifndef AM_WMT_EVENT_DATA_DEFINED
4     #define AM_WMT_EVENT_DATA_DEFINED
5     typedef struct
6     {
7         HRESULT hrStatus;
8         void * pData;
9     } AM_WMT_EVENT_DATA;
10 #endif
11 
12 #define EC_ACTIVATE                                 0x13
13 #define EC_BUFFERING_DATA                           0x11
14 #define EC_BUILT                                    0x300
15 #define EC_CLOCK_CHANGED                            0x0D
16 #define EC_CLOCK_UNSET                              0x51
17 #define EC_COMPLETE                                 0x01
18 #define EC_CODECAPI_EVENT                           0x57
19 #define EC_DISPLAY_CHANGED                          0x16
20 #define EC_DEVICE_LOST                              0x1f
21 #define EC_ERROR_STILLPLAYING                       0x08
22 #define EC_ERRORABORT                               0x03
23 #define EC_END_OF_SEGMENT                           0x1C
24 #define EC_EXTDEVICE_MODE_CHANGE                    0x31
25 #define EC_FULLSCREEN_LOST                          0x12
26 #define EC_GRAPH_CHANGED                            0x50
27 #define EC_LENGTH_CHANGED                           0x1E
28 #define EC_NOTIFY_WINDOW                            0x19
29 #define EC_NEED_RESTART                             0x14
30 #define EC_OLE_EVENT                                0x18
31 #define EC_PAUSED                                   0x0E
32 #define EC_PALETTE_CHANGED                          0x09
33 #define EC_PREPROCESS_COMPLETE                      0x56
34 #define EC_OPENING_FILE                             0x10
35 #define EC_QUALITY_CHANGE                           0x0B
36 #define EC_REPAINT                                  0x05
37 #define EC_STREAM_ERROR_STOPPED                     0x06
38 #define EC_STREAM_ERROR_STILLPLAYING                0x07
39 #define EC_SYSTEMBASE                               0x00
40 #define EC_SHUTTING_DOWN                            0x0C
41 #define EC_STEP_COMPLETE                            0x24
42 #define EC_STREAM_CONTROL_STOPPED                   0x1A
43 #define EC_STREAM_CONTROL_STARTED                   0x1B
44 #define EC_SEGMENT_STARTED                          0x1D
45 #define EC_STARVATION                               0x17
46 #define EC_STATE_CHANGE                             0x32
47 #define EC_TIME                                     0x04
48 #define EC_TIMECODE_AVAILABLE                       0x30
49 #define EC_USER                                     0x8000
50 #define EC_USERABORT                                0x02
51 #define EC_UNBUILT                                  0x301
52 #define EC_VMR_SURFACE_FLIPPED                      0x54
53 #define EC_VMR_RENDERDEVICE_SET                     0x53
54 #define EC_VMR_RECONNECTION_FAILED                  0x55
55 #define EC_VIDEO_SIZE_CHANGED                       0x0A
56 #define EC_WINDOW_DESTROYED                         0x15
57 #define EC_WMT_EVENT_BASE                           0x0251
58 #define EC_WMT_INDEX_EVENT                          EC_WMT_EVENT_BASE
59 #define EC_WMT_EVENT                                EC_WMT_EVENT_BASE+1
60 #define VMR_RENDER_DEVICE_OVERLAY                   0x01
61 #define VMR_RENDER_DEVICE_VIDMEM                    0x02
62 #define VMR_RENDER_DEVICE_SYSMEM                    0x04
63