ITextStoreACPServices::CreateRange method (msctf.h)

Creates a range object from two ACP values.

Syntax

HRESULT CreateRange(
  LONG        acpStart,
  LONG        acpEnd,
  ITfRangeACP **ppRange
);

Parameters

acpStart

Contains the starting position of the range.

acpEnd

Contains the ending position of the range.

ppRange

Pointer to an ITfRangeACP interface pointer that receives the range object.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
ppRange is invalid.
E_FAIL
An unspecified error occurred.

Requirements

   
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

See also

ITextStoreACPServices interface, ITfRangeACP interface