diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/initguid.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'public/sdk/inc/initguid.h')
-rw-r--r-- | public/sdk/inc/initguid.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/public/sdk/inc/initguid.h b/public/sdk/inc/initguid.h new file mode 100644 index 000000000..60a576415 --- /dev/null +++ b/public/sdk/inc/initguid.h @@ -0,0 +1,38 @@ +/*****************************************************************************\ +* * +* initguid.h - Definitions for controlling GUID initialization * +* * +* OLE Version 2.0 * +* * +* Copyright (c) 1992-1996, Microsoft Corp. All rights reserved. * +* * +\*****************************************************************************/ + +// Include after compobj.h to enable GUID initialization. This +// must be done once per exe/dll. +// +// After this file, include one or more of the GUID definition files. +// +// NOTE: ole2.lib contains references to all GUIDs defined by OLE. + +#ifndef DEFINE_GUID +#error initguid: must include objbase.h first. +#endif + +#undef DEFINE_GUID + +#ifdef _MAC +#define __based(a) +#endif + +#ifdef _WIN32 +#define __based(a) +#endif + +#ifdef __TURBOC__ +#define __based(a) +#endif + +#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID __based(__segname("_CODE")) name \ + = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } |