ITfRangeACP::SetExtent method (msctf.h)
Sets the application character position and length of the range object.
Syntax
HRESULT SetExtent(
[in] LONG acpAnchor,
[in] LONG cch
);
Parameters
[in] acpAnchor
Contains the application character position of the range start anchor.
[in] cch
Contains the number of characters in the range.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
One or more parameters are invalid. |
|
An unspecified error occurred. |
Remarks
This method should only be called by the owner of the ACP-based context because the character position and range length will only have meaning to a caller that recognizes the text store implementation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |