ReactOS 0.4.16-dev-1610-g4f61d2e
context.cpp File Reference
#include "precomp.h"
#include <wine/debug.h>
Include dependency graph for context.cpp:

Go to the source code of this file.

Classes

class  CContext
 
struct  tagEditCookie
 

Typedefs

typedef struct tagEditCookie EditCookie
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msctf)
 
 STDMETHODIMP_ (ULONG) CContext
 
EXTERN_C HRESULT Context_Constructor (TfClientId tidOwner, IUnknown *punk, ITfDocumentMgr *mgr, ITfContext **ppOut, TfEditCookie *pecTextStore)
 
EXTERN_C HRESULT Context_Initialize (ITfContext *iface, ITfDocumentMgr *manager)
 
EXTERN_C HRESULT Context_Uninitialize (ITfContext *iface)
 

Typedef Documentation

◆ EditCookie

Function Documentation

◆ Context_Constructor()

EXTERN_C HRESULT Context_Constructor ( TfClientId  tidOwner,
IUnknown punk,
ITfDocumentMgr mgr,
ITfContext **  ppOut,
TfEditCookie pecTextStore 
)

Definition at line 967 of file context.cpp.

973{
974 return CContext::CreateInstance(tidOwner, punk, mgr, ppOut, pecTextStore);
975}
static HRESULT CreateInstance(TfClientId tidOwner, IUnknown *punk, ITfDocumentMgr *mgr, ITfContext **ppOut, TfEditCookie *pecTextStore)
Definition: context.cpp:889

Referenced by CDocumentMgr::CDocumentMgr(), and CDocumentMgr::CreateContext().

◆ Context_Initialize()

EXTERN_C HRESULT Context_Initialize ( ITfContext iface,
ITfDocumentMgr manager 
)

Definition at line 978 of file context.cpp.

979{
980 CContext *This = static_cast<CContext *>(iface);
981 return This->Initialize(manager);
982}

Referenced by CDocumentMgr::Push().

◆ Context_Uninitialize()

EXTERN_C HRESULT Context_Uninitialize ( ITfContext iface)

Definition at line 985 of file context.cpp.

986{
987 CContext *This = static_cast<CContext *>(iface);
988 return This->Uninitialize();
989}

Referenced by CDocumentMgr::Pop().

◆ STDMETHODIMP_()

STDMETHODIMP_ ( ULONG  )

Definition at line 287 of file context.cpp.

288{
289 return ::InterlockedIncrement(&m_cRefs);
290}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( msctf  )