ReactOS 0.4.16-dev-1650-gfc84d68
compartmentmgr.cpp File Reference
#include "precomp.h"
#include <wine/debug.h>
Include dependency graph for compartmentmgr.cpp:

Go to the source code of this file.

Classes

struct  tagCompartmentValue
 
class  CCompartmentMgr
 
class  CCompartmentEnumGuid
 
class  CCompartment
 

Typedefs

typedef struct tagCompartmentValue CompartmentValue
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msctf)
 
 STDMETHODIMP_ (ULONG) CCompartmentMgr
 
EXTERN_C HRESULT CompartmentMgr_Constructor (IUnknown *pUnkOuter, REFIID riid, IUnknown **ppOut)
 
EXTERN_C HRESULT CompartmentMgr_Destructor (ITfCompartmentMgr *iface)
 

Typedef Documentation

◆ CompartmentValue

Function Documentation

◆ CompartmentMgr_Constructor()

EXTERN_C HRESULT CompartmentMgr_Constructor ( IUnknown pUnkOuter,
REFIID  riid,
IUnknown **  ppOut 
)

Definition at line 553 of file compartmentmgr.cpp.

554{
555 return CCompartmentMgr::CreateInstance(pUnkOuter, riid, ppOut);
556}
static HRESULT CreateInstance(IUnknown *pUnkOuter, REFIID riid, IUnknown **ppOut)
REFIID riid
Definition: atlbase.h:39

Referenced by CDocumentMgr::CDocumentMgr(), CThreadMgr::CreateInstance(), CContext::CreateInstance(), and CThreadMgr::GetGlobalCompartment().

◆ CompartmentMgr_Destructor()

EXTERN_C HRESULT CompartmentMgr_Destructor ( ITfCompartmentMgr iface)

Definition at line 559 of file compartmentmgr.cpp.

560{
561 iface->Release();
562 return S_OK;
563}
ULONG Release()
#define S_OK
Definition: intsafe.h:52

◆ STDMETHODIMP_()

STDMETHODIMP_ ( ULONG  )

Definition at line 188 of file compartmentmgr.cpp.

189{
190 if (m_pUnkOuter)
191 return m_pUnkOuter->AddRef();
192 return ::InterlockedIncrement(&m_cRefs);
193}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( msctf  )