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.

ITfPropertyStore::Shrink method

Syntax


HRESULT Shrink(
  [in]  ITfRange *pRangeNew,
  [out] BOOL     *pfFree
);

Parameters

pRangeNew [in]

Pointer to an ITfRange interface that contains the truncated range.

pfFree [out]

Pointer to a BOOL variable that receives a value that indicates if the property store should be retained. Receives a nonzero value if the property store should be retained or zero if the property store should be discarded. If the property store is discarded, the TSF manager will set the property value to VT_EMPTY and release the property store.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

 

Remarks

If this method returns a value other than S_OK, the property store is discarded.

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

ITfPropertyStore
ITfRange

 

 

Show:
© 2017 Microsoft