summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/Graphics/shaderlib/wine/include/evcode.h
blob: eb5b737af67828820cfba3a336776bb89aa95a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*
 * Copyright (C) 2004 Christian Costa
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

/*
 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
 * a choice of LGPL license versions is made available with the language indicating
 * that LGPLv2 or any later version may be used, or where a choice of which version
 * of the LGPL is applied is otherwise unspecified.
 */

#ifndef __WINE_EVCODE_H
#define __WINE_EVCODE_H

#define EC_SYSTEMBASE                       0x00
#define EC_USER                             0x8000

#define EC_COMPLETE                         0x01
#define EC_USERABORT                        0x02
#define EC_ERRORABORT                       0x03
#define EC_TIME                             0x04
#define EC_REPAINT                          0x05
#define EC_STREAM_ERROR_STOPPED             0x06
#define EC_STREAM_ERROR_STILLPLAYING        0x07
#define EC_ERROR_STILLPLAYING               0x08
#define EC_PALETTE_CHANGED                  0x09
#define EC_VIDEO_SIZE_CHANGED               0x0A
#define EC_QUALITY_CHANGE                   0x0B
#define EC_SHUTTING_DOWN                    0x0C
#define EC_CLOCK_CHANGED                    0x0D
#define EC_PAUSED                           0x0E
#define EC_OPENING_FILE                     0x10
#define EC_BUFFERING_DATA                   0x11
#define EC_FULLSCREEN_LOST                  0x12
#define EC_ACTIVATE                         0x13
#define EC_NEED_RESTART                     0x14
#define EC_WINDOW_DESTROYED                 0x15
#define EC_DISPLAY_CHANGED                  0x16
#define EC_STARVATION                       0x17
#define EC_OLE_EVENT                        0x18
#define EC_NOTIFY_WINDOW                    0x19
#define EC_STREAM_CONTROL_STOPPED           0x1A
#define EC_STREAM_CONTROL_STARTED           0x1B
#define EC_END_OF_SEGMENT                   0x1C
#define EC_SEGMENT_STARTED                  0x1D
#define EC_LENGTH_CHANGED                   0x1E
#define EC_DEVICE_LOST                      0x1F
#define EC_SAMPLE_NEEDED                    0x20
#define EC_PROCESSING_LATENCY               0x21
#define EC_SAMPLE_LATENCY                   0x22
#define EC_SCRUB_TIME                       0x23
#define EC_STEP_COMPLETE                    0x24

#define EC_NEW_PIN                          0x20
#define EC_RENDER_FINISHED                  0x21

#define EC_TIMECODE_AVAILABLE               0x30
#define EC_EXTDEVICE_MODE_CHANGE            0x31
#define EC_STATE_CHANGE                     0x32

#define EC_PLEASE_REOPEN                    0x40
#define EC_STATUS                           0x41
#define EC_MARKER_HIT                       0x42
#define EC_LOADSTATUS                       0x43
#define EC_FILE_CLOSED                      0x44
#define EC_ERRORABORTEX                     0x45
#define EC_EOS_SOON                         0x46
#define EC_CONTENTPROPERTY_CHANGED          0x47
#define EC_BANDWIDTHCHANGE                  0x48
#define EC_VIDEOFRAMEREADY                  0x49
#define EC_GRAPH_CHANGED                    0x50
#define EC_CLOCK_UNSET                      0x51

#define EC_VMR_RENDERDEVICE_SET             0x53
#define EC_VMR_SURFACE_FLIPPED              0x54
#define EC_VMR_RECONNECTION_FAILED          0x55
#define EC_PREPROCESS_COMPLETE              0x56
#define EC_CODECAPI_EVENT                   0x57

#define EC_BUILT                           0x300
#define EC_UNBUILT                         0x301

#define EC_WMT_EVENT_BASE                  0x0251
#define EC_WMT_INDEX_EVENT                 EC_WMT_EVENT_BASE
#define EC_WMT_EVENT                       EC_WMT_EVENT_BASE+1

#endif /* __WINE_EVCODE_H */