ITfLanguageProfileNotifySink::OnLanguageChange method (msctf.h)
Called when the language profile is about to change.
Syntax
HRESULT OnLanguageChange(
[in] LANGID langid,
[out] BOOL *pfAccept
);
Parameters
[in] langid
Contains a LANGID value the identifies the new language profile.
[out] pfAccept
Pointer to a BOOL value that receives a flag that permits or prevents the language profile change. Receives zero to prevent the language profile change or nonzero to permit the language profile change.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
Requirements
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for