comctl32: Handle WM_ENABLE to update disabled style bit and repaint.
[wine/multimedia.git] / include / schemadef.h
blob2bca1432d5417c2c867bed144105aa51c7ff0251
1 /*
2 * Copyright (C) 2003 Kevin Koltzau
3 * Copyright (C) 2004 Francois Gouget
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_SCHEMADEF_H
21 #define __WINE_SCHEMADEF_H
23 #define BEGIN_TM_SCHEMA(name)
24 #define END_TM_SCHEMA(name)
26 #define BEGIN_TM_ENUM(name) enum name {
27 #define TM_ENUM(value, prefix, name) prefix##_##name = (value),
28 #define END_TM_ENUM() };
30 #define BEGIN_TM_PROPS() enum PropValues { \
31 DummyProp = 49,
32 #define TM_PROP(value, prefix, name, type) prefix##_##name = (value),
33 #define END_TM_PROPS() };
35 #define BEGIN_TM_CLASS_PARTS(name) enum name##PARTS { \
36 name##PartFiller0,
37 #define TM_PART(value, prefix, name) prefix##_##name = (value),
38 #define END_TM_CLASS_PARTS() };
40 #define BEGIN_TM_PART_STATES(name) enum name##STATES { \
41 name##StateFiller0,
42 #define TM_STATE(value, prefix, name) prefix##_##name = (value),
43 #define END_TM_PART_STATES() };
45 #endif