Fixed some graphical problems of the treeview and added support LMB
[wine] / include / initguid.h
1 /*
2  * defines a minimum set of macros create GUID's to keep the size 
3  * small
4  *
5  * this file should be included into "only GUID definition *.h" like
6  * shlguid.h
7  */
8
9 #ifndef __INIT_GUID_H
10 #define __INIT_GUID_H
11
12 #include "wtypes.h"
13
14 /*****************************************************************************
15  * Macros to declare the GUIDs
16  */
17 #ifdef INITGUID
18 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
19         const GUID name = \
20         { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }
21 #else
22 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
23     extern const GUID name
24 #endif
25
26 #define DEFINE_OLEGUID(name, l, w1, w2) \
27         DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
28
29 #define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_OLEGUID(name,l,w1,w2)
30
31
32 #endif