Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

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

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Show:
© 2017 Microsoft