ITfCompartmentEventSink::OnChange method (msctf.h)

Called when compartment data changes.

Syntax

HRESULT OnChange(
  [in] REFGUID rguid
);

Parameters

[in] rguid

Contains a GUID that identifies the compartment that changed.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

When this method is called, the data has changed. The new data can be obtained at this time by calling ITfCompartment::GetValue.

ITfCompartment::SetValue will return E_UNEXPECTED if called from within this notification.

Requirements

   
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

See also

ITfCompartment::GetValue, ITfCompartment::SetValue, ITfCompartmentEventSink interface