IVsIME::IsActive Method (IntPtr, Int32)

 

Indicates whether or not the Input Method Editor (IME) is active for a given window.

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

int IsActive(
	IntPtr hwnd,
	[OutAttribute] int% pfRetVal
)

Parameters

hwnd
Type: System::IntPtr

[in] Handle for the editor window.

pfRetVal
Type: System::Int32

[out] Pointer to a Boolean. Set to true if the IME is active for the window. Set to false 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::IsActive(
   [in] HWND hwnd, 
   [out] BOOL * pfRetVal
);
Return to top
Show: