|
|
1.1 root 1: // initguid.h - include after compobj.h to enable GUID initialization. This
2: // must be done once per exe/dll.
3: //
4: // After this file, include one or more of the GUID definition files.
5: //
6: // NOTE: ole2.lib contains references to all GUIDs defined by OLE.
7:
8: #ifndef DEFINE_GUID
9: #pragma error "initguid: must include compobj.h first."
10: #endif
11:
12: #undef DEFINE_GUID
13:
14: #ifdef _MAC
15: #define __based(a)
16: #endif
17:
18: #ifdef WIN32
19: #define __based(a)
20: #endif
21:
22: #ifdef __TURBOC__
23: #define __based(a)
24: #endif
25:
26: #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
27: EXTERN_C const _COGUID CDECL __based(__segname("_CODE")) name \
28: = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.