Sets the attributes on a range of text.
Syntax
HRESULT SetTextAttributes( ULONG ulCharOffset, ULONG cChar, SOURCE_TEXT_ATTR *pstrTextAttr );
Parameters
- ulCharOffset
- [in] Integer that specifies the offset, in characters, of the text range.
- cChar
- [in] Integer that specifies the number of characters in the text range.
- pstrTextAttr
- [out] Address of a constant that specifies the text attributes set.
Return Value
Returns S_OK if successful, or an error code otherwise.