winex11: Send WM_SYSCOMMAND instead of calling ShowWindow directly to minimize/restor...
[wine/gsoc_dplay.git] / include / evcode.h
blob3cbdd9d290c5e9573f76feac3c79872a0f1b990c
1 /*
2 * Copyright (C) 2004 Christian Costa
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_EVCODE_H
20 #define __WINE_EVCODE_H
22 #define EC_SYSTEMBASE 0x00
23 #define EC_USER 0x8000
25 #define EC_COMPLETE 0x01
26 #define EC_USERABORT 0x02
27 #define EC_ERRORABORT 0x03
28 #define EC_TIME 0x04
29 #define EC_REPAINT 0x05
30 #define EC_STREAM_ERROR_STOPPED 0x06
31 #define EC_STREAM_ERROR_STILLPLAYING 0x07
32 #define EC_ERROR_STILLPLAYING 0x08
33 #define EC_PALETTE_CHANGED 0x09
34 #define EC_VIDEO_SIZE_CHANGED 0x0A
35 #define EC_QUALITY_CHANGE 0x0B
36 #define EC_SHUTTING_DOWN 0x0C
37 #define EC_CLOCK_CHANGED 0x0D
38 #define EC_OPENING_FILE 0x10
39 #define EC_BUFFERING_DATA 0x11
40 #define EC_FULLSCREEN_LOST 0x12
41 #define EC_ACTIVATE 0x13
42 #define EC_NEED_RESTART 0x14
43 #define EC_WINDOW_DESTROYED 0x15
44 #define EC_DISPLAY_CHANGED 0x16
45 #define EC_STARVATION 0x17
46 #define EC_OLE_EVENT 0x18
47 #define EC_NOTIFY_WINDOW 0x19
48 #define EC_STREAM_CONTROL_STOPPED 0x1A
49 #define EC_STREAM_CONTROL_STARTED 0x1B
50 #define EC_END_OF_SEGMENT 0x1C
51 #define EC_SEGMENT_STARTED 0x1D
52 #define EC_LENGTH_CHANGED 0x1E
54 #endif /* __WINE_EVCODE_H */