ITfCompartmentMgr::GetCompartment method

Syntax


HRESULT GetCompartment(
  [in]  REFGUID        rguid,
  [out] ITfCompartment **ppcomp
);

Parameters

rguid [in]

Contains a GUID that identifies the compartment.

ppcomp [out]

Pointer to an ITfCompartment interface pointer that receives the compartment object.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

ppcomp is invalid.

E_OUTOFMEMORY

A memory allocation failure occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfCompartmentMgr
ITfCompartment
Compartments

 

 

Show: