Syntax
HRESULT CreateRange(
[in] LONG acpStart,
[in] LONG acpEnd,
[out] ITfRangeACP **ppRange
);
Parameters
- acpStart [in]
-
Contains the starting position of the range.
- acpEnd [in]
-
Contains the ending position of the range.
- ppRange [out]
-
Pointer to an ITfRangeACP interface pointer that receives the range object.
Return Value
The method can return one of the following values.
| Value | Description |
|
S_OK
| The method was successful.
|
|
E_INVALIDARG
| ppRange is invalid.
|
|
E_FAIL
| An unspecified error occurred.
|
Requirements
| Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation. |
| Redistributable | Requires TSF 1.0 on Windows NT 4.0, Windows 2000 Professional and Windows MeWindows 98. |
| Header | Declared in Msctf.idl and Msctf.h. |
| DLL | Requires Msctf.dll. |
See Also
ITextStoreACPServices
ITfRangeACP
Send comments about this topic to Microsoft
Build date: 12/17/2008