Skip to content

Latest commit

 

History

History
115 lines (82 loc) · 3.52 KB

nf-textserv-itexthost-txgetcharformat.md

File metadata and controls

115 lines (82 loc) · 3.52 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:textserv.ITextHost.TxGetCharFormat
ITextHost::TxGetCharFormat (textserv.h)
Requests the text host's default character format.
ITextHost interface [Windows Controls]
TxGetCharFormat method
ITextHost.TxGetCharFormat
ITextHost::TxGetCharFormat
TxGetCharFormat
TxGetCharFormat method [Windows Controls]
TxGetCharFormat method [Windows Controls]
ITextHost interface
_win32_ITextHost_TxGetCharFormat
_win32_ITextHost_TxGetCharFormat_cpp
controls.ITextHost_TxGetCharFormat
controls._win32_ITextHost_TxGetCharFormat
textserv/ITextHost::TxGetCharFormat
controls\ITextHost_TxGetCharFormat.htm
Controls
VS|Controls|~\controls\richedit\windowlessricheditcontrols\windowlessricheditcontrolsreference\windowlessricheditcontrolinterfaces\txgetcharformat.htm
12/05/2018
ITextHost interface [Windows Controls],TxGetCharFormat method, ITextHost.TxGetCharFormat, ITextHost::TxGetCharFormat, TxGetCharFormat, TxGetCharFormat method [Windows Controls], TxGetCharFormat method [Windows Controls],ITextHost interface, _win32_ITextHost_TxGetCharFormat, _win32_ITextHost_TxGetCharFormat_cpp, controls.ITextHost_TxGetCharFormat, controls._win32_ITextHost_TxGetCharFormat, textserv/ITextHost::TxGetCharFormat
textserv.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextHost::TxGetCharFormat
textserv/ITextHost::TxGetCharFormat
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextHost.TxGetCharFormat

ITextHost::TxGetCharFormat

-description

Requests the text host's default character format.

-parameters

-param ppCF

Type: const CHARFORMAT**

The default character format.

-returns

Type: HRESULT

Return S_OK if the method succeeds.

Return the following COM error code if the method fails. For more information on COM error codes, see Error Handling in COM.

Return code Description
E_NOTIMPL
Not implemented.

-remarks

The text host retains ownership of the CHARFORMAT returned. However, the pointer returned must remain valid until the text host notifies the text services object through OnTxPropertyBitsChange that the default character format has changed.

-see-also

CHARFORMAT

Conceptual

ITextHost

OnTxPropertyBitsChange

Reference

Windowless Rich Edit Controls