Definition at line 26 of file compartmentmgr.cpp.
◆ CCompartmentMgr()
| CCompartmentMgr::CCompartmentMgr |
( |
IUnknown * |
pUnkOuter = NULL | ) |
|
Definition at line 120 of file compartmentmgr.cpp.
123{
125}
static void list_init(struct list_entry *head)
◆ ~CCompartmentMgr()
| CCompartmentMgr::~CCompartmentMgr |
( |
| ) |
|
|
virtual |
Definition at line 127 of file compartmentmgr.cpp.
128{
130
132 {
135 value->compartment->Release();
137 }
138}
static void list_remove(struct list_entry *entry)
static void cicMemFree(LPVOID ptr)
#define LIST_FOR_EACH_SAFE(cursor, cursor2, list)
◆ ClearCompartment()
Definition at line 248 of file compartmentmgr.cpp.
249{
251
253
255 {
257 if (rguid ==
value->guid)
258 {
262 value->compartment->Release();
265 }
266 }
267
269}
#define CONNECT_E_NOCONNECTION
#define LIST_FOR_EACH(cursor, list)
◆ CreateInstance()
◆ EnumCompartments()
Definition at line 271 of file compartmentmgr.cpp.
272{
273 TRACE(
"(%p) %p\n",
this, ppEnum);
274 if (!ppEnum)
276
278}
static HRESULT CreateInstance(struct list *values, IEnumGUID **ppOut)
◆ GetCompartment()
Definition at line 205 of file compartmentmgr.cpp.
206{
207 if (!ppcomp)
212
214
216 {
218 if (rguid ==
value->guid)
219 {
220 value->compartment->AddRef();
221 *ppcomp =
value->compartment;
223 }
224 }
225
229
234 {
236 value->compartment->AddRef();
237 *ppcomp =
value->compartment;
238 }
239 else
240 {
243 }
244
246}
static void list_add_head(struct list_entry *head, struct list_entry *entry)
static LPVOID cicMemAlloc(SIZE_T size)
static HRESULT CreateInstance(CompartmentValue *valueData, ITfCompartment **ppOut)
◆ QueryInterface()
Definition at line 168 of file compartmentmgr.cpp.
169{
172
174
175 if (iid ==
IID_IUnknown || iid == IID_ITfCompartmentMgr)
177
178 if (*ppvOut)
179 {
182 }
183
186}
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
◆ STDMETHODIMP_() [1/2]
| CCompartmentMgr::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
override |
◆ STDMETHODIMP_() [2/2]
| CCompartmentMgr::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
override |
◆ m_cRefs
| LONG CCompartmentMgr::m_cRefs |
|
protected |
◆ m_pUnkOuter
◆ m_values
The documentation for this class was generated from the following file: