Skip to content

Latest commit

 

History

History
91 lines (66 loc) · 3.5 KB

nf-msctf-itfpreservedkeynotifysink-onupdated.md

File metadata and controls

91 lines (66 loc) · 3.5 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msctf.ITfPreservedKeyNotifySink.OnUpdated
ITfPreservedKeyNotifySink::OnUpdated (msctf.h)
ITfPreservedKeyNotifySink::OnUpdated method
ITfPreservedKeyNotifySink interface [Text Services Framework]
OnUpdated method
ITfPreservedKeyNotifySink.OnUpdated
ITfPreservedKeyNotifySink::OnUpdated
OnUpdated
OnUpdated method [Text Services Framework]
OnUpdated method [Text Services Framework]
ITfPreservedKeyNotifySink interface
_tsf_itfpreservedkeynotifysink_onupdated_ref
msctf/ITfPreservedKeyNotifySink::OnUpdated
tsf.itfpreservedkeynotifysink_onupdated
tsf\itfpreservedkeynotifysink_onupdated.htm
TSF
50654da7-60ee-4038-a02a-1055445f1e5d
12/05/2018
ITfPreservedKeyNotifySink interface [Text Services Framework],OnUpdated method, ITfPreservedKeyNotifySink.OnUpdated, ITfPreservedKeyNotifySink::OnUpdated, OnUpdated, OnUpdated method [Text Services Framework], OnUpdated method [Text Services Framework],ITfPreservedKeyNotifySink interface, _tsf_itfpreservedkeynotifysink_onupdated_ref, msctf/ITfPreservedKeyNotifySink::OnUpdated, tsf.itfpreservedkeynotifysink_onupdated
msctf.h
Windows
Windows 2000 Professional [desktop apps \| UWP apps]
Windows 2000 Server [desktop apps \| UWP apps]
Msctf.idl
Msctf.dll
Windows
TSF 1.0 on Windows 2000 Professional
19H1
ITfPreservedKeyNotifySink::OnUpdated
msctf/ITfPreservedKeyNotifySink::OnUpdated
c++
APIRef
kbSyntax
COM
Msctf.dll
ITfPreservedKeyNotifySink.OnUpdated

ITfPreservedKeyNotifySink::OnUpdated

-description

Called when a key is preserved, unpreserved, or when a preserved key description changes.

-parameters

-param pprekey [in]

Pointer to a TF_PRESERVEDKEY structure that contains data about the key.

-returns

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

-remarks

To determine if the key is unpreserved, call ITfKeystrokeMgr::IsPreservedKey, passing pprekey. If the key is not found, it is unpreserved. If the key is found, it is either preserved or the description has changed. Unless you keep track of the current key description and compare the previous description with the current description in response to this notification, there is no way to determine if this notification is in response to a key preserved or the description changed.

-see-also

ITfKeystrokeMgr::PreserveKey

ITfKeystrokeMgr::SetPreservedKeyDescription

ITfKeystrokeMgr::UnpreserveKey

ITfPreservedKeyNotifySink

TF_PRESERVEDKEY