ITfEditRecord::GetTextAndPropertyUpdates method (msctf.h)
Obtains an enumerator that contains a collection of range objects that cover the specified properties and/or text that changed during the edit session.
Syntax
HRESULT GetTextAndPropertyUpdates(
[in] DWORD dwFlags,
[in] const GUID **prgProperties,
[in] ULONG cProperties,
[out] IEnumTfRanges **ppEnum
);
Parameters
[in] dwFlags
Contains a combination of the following values that specify the behavior of this method.
[in] prgProperties
Pointer to an array of GUID values that identify the properties to search for changes for. This method searches the properties that changed during the edit session and, if the property is contained in this array, a range object that covers the property that changed is added to ppEnum.
This array must be at least cProperties elements in size.
This parameter is ignored if dwFlags contains TF_GTP_INCL_TEXT and cProperties is zero.
[in] cProperties
Specifies the number of elements in the prgProperties array.
This parameter can be zero if dwFlags contains TF_GTP_INCL_TEXT. This indicates that no property changes are obtained.
[out] ppEnum
Pointer to an IEnumTfRanges interface pointer that receives the enumerator object.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
One or more parameters are invalid. |
|
A memory allocation failure occurred. |
Requirements
Requirement | Value |
---|---|
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 |