ITfRangeACP::SetExtent method

Syntax


HRESULT SetExtent(
  [in] LONG acpAnchor,
  [in] LONG cch
);

Parameters

acpAnchor [in]

Contains the application character position of the range start anchor.

cch [in]

Contains the number of characters in the range.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_FAIL

An unspecified error occurred.

 

Remarks

This method should only be called by the owner of the ACP-based context because the character position and range length will only have meaning to a caller that recognizes the text store implementation.

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

ITfRangeACP
ITfRangeACP::GetExtent

 

 

Show: