ITfLanguageProfileNotifySink::OnLanguageChange method

Syntax


HRESULT OnLanguageChange(
  [in]  LANGID langid,
  [out] BOOL   *pfAccept
);

Parameters

langid [in]

Contains a LANGID value the identifies the new language profile.

pfAccept [out]

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.

ValueDescription
S_OK

The method was successful.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Show: