Some more recursive include fixes/optimizations.
[wine.git] / include / initguid.h
blobaa6c2296bcc561f149fb818bc8ad9f4284fdf828
1 /*
2 * defines a minimum set of macros create GUID's to keep the size
3 * small
5 * this file should be included into "only GUID definition *.h" like
6 * shlguid.h
7 */
9 #ifndef __INIT_GUID_H
10 #define __INIT_GUID_H
12 #include "wtypes.h"
14 /*****************************************************************************
15 * Macros to declare the GUIDs
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
26 #define DEFINE_OLEGUID(name, l, w1, w2) \
27 DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
29 #define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_OLEGUID(name,l,w1,w2)
32 #endif