IVsIME::Notify Method (UInt32, UInt32, UInt32, UInt32, Int32)

 

Notifies the Input Method Editor (IME) of changes to the IME input context. The method is a wrapper for .ime_27mt

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Notify(
	unsigned int HIMC,
	unsigned int dwAction,
	unsigned int dwIndex,
	unsigned int dwValue,
	[OutAttribute] int% pfRetVal
)

Parameters

HIMC
Type: System::UInt32

[in] Handle to the IME context.

dwAction
Type: System::UInt32

[in] The notification code indicating the change. For values of this argument, see ImmNotifyIME.

dwIndex
Type: System::UInt32

[in] The index of a candidate list, or a value indicating a change in the composition string. For values of this argument, see ImmNotifyIME.

dwValue
Type: System::UInt32

[in] An additional argument used with some values of dwAction. For more information, see ImmNotifyIME.

pfRetVal
Type: System::Int32

[out] Nonzero value if method is successful; a zero value otherwise.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsIME::Notify(
   [in] HIMC himc, 
   [in] DWORD dwAction, 
   [in] DWORD dwIndex,
   [in] DWORD dwValue, 
   [out] BOOL * pfRetVal
);
Return to top
Show: