ITfActiveLanguageProfileNotifySink::OnActivated method (msctf.h)
Called when the active language or text service changes.
Syntax
HRESULT OnActivated(
[in] REFCLSID clsid,
[in] REFGUID guidProfile,
[in] BOOL fActivated
);
Parameters
[in] clsid
CLSID of the TSF text service activated or deactivated. This will be NULL for a language change.
[in] guidProfile
Profile GUID for the TSF text service. This is specified by the TSF text service when it is installed. This will be NULL for a language change.
[in] fActivated
TRUE if the TSF text service is activated or FALSE if the TSF text service is deactivated.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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 | Imekrcic.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |