Last change
on this file since 3456 was 3456, checked in by davidr, 25 years ago |
OLE32/NEW: Work-in-progress on adding apartment handling
|
File size:
1.1 KB
|
Line | |
---|
1 | /* $Id: objectcontext.cpp,v 1.1 2000-04-27 22:18:26 davidr Exp $ */
|
---|
2 | /*
|
---|
3 | *
|
---|
4 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
5 | *
|
---|
6 | */
|
---|
7 | /*
|
---|
8 | * COM ObjectContext handling
|
---|
9 | *
|
---|
10 | * 22/04/2000
|
---|
11 | *
|
---|
12 | * Copyright 2000 David J. Raison
|
---|
13 | *
|
---|
14 | */
|
---|
15 |
|
---|
16 | #include "ole32.h"
|
---|
17 | #include "oString.h"
|
---|
18 | #include "oTls.h"
|
---|
19 | #include "apartment.h"
|
---|
20 | #include "rpcdce.h"
|
---|
21 |
|
---|
22 | // ======================================================================
|
---|
23 | // ObjectContext
|
---|
24 | // ======================================================================
|
---|
25 |
|
---|
26 | // ----------------------------------------------------------------------
|
---|
27 | // ObjectContext::ObjectContext
|
---|
28 | // ----------------------------------------------------------------------
|
---|
29 | ObjectContext::ObjectContext()
|
---|
30 | {
|
---|
31 | UuidCreate(&m_Guid);
|
---|
32 | }
|
---|
33 |
|
---|
34 | // ----------------------------------------------------------------------
|
---|
35 | // ObjectContext::IsCompatible
|
---|
36 | // ----------------------------------------------------------------------
|
---|
37 | BOOL ObjectContext::IsCompatible(Attributes * const pTarget) const
|
---|
38 | {
|
---|
39 | // Assume the object context is compatible, until we get into COM+ MTS objects.
|
---|
40 | return TRUE;
|
---|
41 | }
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.