Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Obtains the data for a compartment.
HRESULT GetValue(
[out] VARIANT *pvarValue
);
[out] pvarValue
Pointer to a VARIANT structure that receives the data. This receives VT_EMPTY if the compartment has no value. The caller must free this data when it is no longer required by calling VariantClear.
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
The compartment has no value. pvarValue receives VT_EMPTY. |
|
The compartment has been cleared by a call to ITfCompartmentMgr::ClearCompartment. |
|
pvarValue is invalid. |
The caller must recognize the supplied data format in order to use the data. The compartment installer must publish the data format to enable other clients to use it.
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 |
ITfCompartment interface, ITfCompartment::SetValue, ITfCompartmentMgr::ClearCompartment, VariantClear function
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today