12 unsigned char Data4
[8];
16 #define REFGUID const GUID &
18 #define REFGUID const GUID *
21 #define REFCLSID REFGUID
22 #define REFIID REFGUID
25 inline bool operator==(REFGUID g1
, REFGUID g2
)
27 for (int i
= 0; i
< (int)sizeof(g1
); i
++)
28 if (((unsigned char *)&g1
)[i
] != ((unsigned char *)&g2
)[i
])
32 inline bool operator!=(REFGUID g1
, REFGUID g2
) { return !(g1
== g2
); }
36 #define MY_EXTERN_C extern "C"
38 #define MY_EXTERN_C extern
41 #endif // GUID_DEFINED
49 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
50 MY_EXTERN_C const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
52 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
53 MY_EXTERN_C const GUID name