ITfEditRecord::GetTextAndPropertyUpdates method
Syntax
HRESULT GetTextAndPropertyUpdates( [in] DWORD dwFlags, [in] const GUID **prgProperties, [in] ULONG cProperties, [out] IEnumTfRanges **ppEnum );
Parameters
- dwFlags [in]
-
Contains a combination of the following values that specify the behavior of this method.
- prgProperties [in]
-
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.
- cProperties [in]
-
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.
- ppEnum [out]
-
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
|
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 |
|
|
IDL |
|
|
DLL |
|
See also