Returns a range of characters in the original host document.
Syntax
HRESULT GetDeferredText( DWORD dwTextStartCookie, WCHAR *pcharText, SOURCE_TEXT_ATTR *pstrTextAttr, ULONG *pcNumChars ULONG cMaxChars );
Parameters
- dwTextStartCookie
- [in] Unsigned long integer value that specifies the starting cookie of the text range.
- pcharText
- [in, out] Address of a character text buffer.
- pstrTextAttr
- [in, out] Address of a text buffer that contains the text attributes.
- pcNumChars
- [in] Integer that specifies the actual number of characters or attributes returned.
- cMaxChar
- [in] Integer that specifies the maximum number of characters to return.
Return Value
Returns S_OK if successful, or an error code otherwise.