ITextStoreACPServices::CreateRange method

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

This method can return one of these values.

ValueDescription
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 | 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

See also

ITextStoreACPServices
ITfRangeACP

 

 

Show: