ITfStatusSink::OnStatusChange method (msctf.h)
Receives a notification when one of the dynamic flags of the TF_STATUS structure changes.
Syntax
HRESULT OnStatusChange(
[in] ITfContext *pic,
[in] DWORD dwFlags
);
Parameters
[in] pic
Pointer to the ITfContext interface whose status has changed.
[in] dwFlags
Indicates that one of the dynamic flags changed.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method receives a callback when one of the flags of the dwDynamicFlags member of the TF_STATUS structure changes value. To obtain the changed flag(s), use the ITfContext::GetStatus method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | msctf.h |
DLL | Tiptsf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |