Skip to content

Latest commit

 

History

History
137 lines (116 loc) · 3.26 KB

nf-msctf-itfcontext-getproperty.md

File metadata and controls

137 lines (116 loc) · 3.26 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msctf.ITfContext.GetProperty
ITfContext::GetProperty (msctf.h)
ITfContext::GetProperty method
GetProperty
GetProperty method [Text Services Framework]
GetProperty method [Text Services Framework]
ITfContext interface
ITfContext interface [Text Services Framework]
GetProperty method
ITfContext.GetProperty
ITfContext::GetProperty
_tsf_itfcontext_getproperty_ref
msctf/ITfContext::GetProperty
tsf.itfcontext_getproperty
tsf\itfcontext_getproperty.htm
TSF
e5d76443-f767-47fb-be3a-8cbac224d299
12/05/2018
GetProperty, GetProperty method [Text Services Framework], GetProperty method [Text Services Framework],ITfContext interface, ITfContext interface [Text Services Framework],GetProperty method, ITfContext.GetProperty, ITfContext::GetProperty, _tsf_itfcontext_getproperty_ref, msctf/ITfContext::GetProperty, tsf.itfcontext_getproperty
msctf.h
Windows
Windows 2000 Professional [desktop apps \| UWP apps]
Windows 2000 Server [desktop apps \| UWP apps]
Msctf.idl
Msctf.dll
Windows
TSF 1.0 on Windows 2000 Professional
19H1
ITfContext::GetProperty
msctf/ITfContext::GetProperty
c++
APIRef
kbSyntax
COM
msctf.dll
ITfContext.GetProperty

ITfContext::GetProperty

-description

Obtains a text property.

-parameters

-param guidProp [in]

Specifies the property identifier. This can be a custom identifier or one of the predefined property identifiers.

-param ppProp [out]

Pointer to an ITfProperty interface pointer that receives the property object.

-returns

This method can return one of these values.

Value Description
S_OK
The method was successful.
TF_E_DISCONNECTED
The context is not on a document stack.
E_INVALIDARG
One or more parameters are invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.
E_FAIL
An unspecified error occurred.

-remarks

An application or text service can define unique properties identified by a GUID. Properties are stored as VARIANT data, so the caller must recognize the format and meaning of unique properties to be able to use them.

-see-also

ITfContext interface, ITfProperty interface, Predefined Properties