ReactOS 0.4.16-dev-1946-g52006dd
categorymgr.cpp File Reference
#include "precomp.h"
#include <wine/debug.h>
Include dependency graph for categorymgr.cpp:

Go to the source code of this file.

Classes

class  CCategoryMgr
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msctf)
 
 STDMETHODIMP_ (ULONG) CCategoryMgr
 
EXTERN_C HRESULT CategoryMgr_Constructor (IUnknown *pUnkOuter, IUnknown **ppOut)
 

Function Documentation

◆ CategoryMgr_Constructor()

EXTERN_C HRESULT CategoryMgr_Constructor ( IUnknown pUnkOuter,
IUnknown **  ppOut 
)

Definition at line 416 of file categorymgr.cpp.

417{
418 if (pUnkOuter)
420
422 if (!This)
423 return E_OUTOFMEMORY;
424
425 *ppOut = static_cast<ITfCategoryMgr *>(This);
426 TRACE("returning %p\n", *ppOut);
427 return S_OK;
428}
#define cicNoThrow
Definition: cicbase.h:46
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define S_OK
Definition: intsafe.h:52
#define TRACE(s)
Definition: solgame.cpp:4
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:3771

Referenced by add_active_textservice(), CEnumTfLanguageProfiles::CreateInstance(), CThreadMgr::GetClientId(), CInputProcessorProfiles::SetDefaultLanguageProfile(), and TF_CreateCategoryMgr().

◆ STDMETHODIMP_()

STDMETHODIMP_ ( ULONG  )

Definition at line 116 of file categorymgr.cpp.

117{
118 return ::InterlockedIncrement(&m_cRefs);
119}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( msctf  )