ITfContextOwnerServices::CreateRange method
The ITfContextOwnerServices::CreateRange method creates a new ranged based upon a specified character position.
Syntax
HRESULT CreateRange( [in] LONG acpStart, [in] LONG acpEnd, [out] ITfRangeACP **ppRange );
Parameters
- acpStart [in]
-
Specifies the starting character position of the range.
- acpEnd [in]
-
Specifies the ending character position of the range.
- ppRange [out]
-
Receives a pointer to the range object within the specified starting and ending character positions.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
The specified range is NULL or the specified starting character position is less than zero or the specified starting character position is greater than the specified ending character position. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|