ITfContextOwner::GetAttribute method
The ITfContextOwner::GetAttribute method returns the value of a supported attribute. If the attribute is unsupported, the pvarValue parameter is set to VT_EMPTY.
Syntax
HRESULT GetAttribute(
[in] REFGUID rguidAttribute,
[out] VARIANT *pvarValue
);
Parameters
- rguidAttribute [in]
-
Specifies the attribute GUID.
- pvarValue [out]
-
Receives the attribute value. If the attribute is unsupported, this parameter is set to VT_EMPTY.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
Remarks
Context owners using the default text store of the TSF manager can implement a simplified version of attributes with this method. The supported attributes are application or text service dependent. For more information about predefined attributes recognized in TSF, see the following topics.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Redistributable | TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- ITfContextOwner
- Other Predefined Attributes
- Predefined Font Attributes
- Predefined List Attributes
- Predefined Text Attributes
Send comments about this topic to Microsoft
Build date: 10/27/2012
