OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocguid.cpp
Go to the documentation of this file.
1//----------------------------------------------------------------------------
2// ObjectComponents
3// Copyright (c) 1994, 1996 by Borland International, All Rights Reserved
4//
5/// \file
6/// Actual BOcOle GUIDs spit out here
7//
8//----------------------------------------------------------------------------
9
10// NOTE: This file should be built without precompiled headers, since it sets the flag INITGUID
11// before including headers to force generation of the OLE GUIDs. The BOcOle GUIDs, on the other
12// hand, are defined explicitly below, so that they are defined even if the headers have already
13// been included through a precompiled header (as injected by the C++Builder Clang toolchain).
14//
15#undef _OWLPCH
16#undef _OWLALLPCH
17#undef _OCFPCH
18#define INITGUID // Force OLE GUIDs to be defined
19
20#include <ocf/defs.h> // Ole basics & GUIDs
21#include <ocf/ocbocole.h> // Bolero GUIDs
22#include <olectl.h> // Ole control GUIDs
23
24namespace ocf {
25
26#define OCF_DEFINE_BOLEGUID(name, l) \
27 EXTERN_C const GUID CDECL name = {l, 0, 0, {0xC0, 0, 0, 0, 0, 0, 0, 0x46}};
29#undef OCF_DEFINE_BOLEGUID
30
31} // OCF namespace
Object Component Framework (COM encapsulation).
Definition appdesc.h:22
ObjectComponents BOcOle engine linking & embedding interfaces.
#define OCF_BOLEGUIDS(X)
Definition ocbocole.h:67
ObjectComponents fundamental definitions.
#define OCF_DEFINE_BOLEGUID(name, l)
Definition ocguid.cpp:26