ITextHost::TxGetCharFormat method (textserv.h)
Requests the text host's default character format.
Syntax
HRESULT TxGetCharFormat(
const CHARFORMATW **ppCF
);
Parameters
ppCF
Type: const CHARFORMAT**
The default character format.
Return value
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 |
---|---|
|
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | textserv.h |
DLL | Msftedit.dll |
See also
Conceptual
Reference