IVsIME::GetDefaultWindow Method (IntPtr, IntPtr)

 

Retrieves the default window for the Input Method Editor (IME) class that is active. Wrapper for a call to .ime_0a5g

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

int GetDefaultWindow(
	IntPtr hwnd,
	[OutAttribute] IntPtr% phRetVal
)

Parameters

hwnd
Type: System::IntPtr

[in] The handle for the editor window.

phRetVal
Type: System::IntPtr

[out] If successful, the default window for the IME class. Otherwise, null.

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::GetDefaultWindow(
   [in] HWND hwnd, 
   [out] HWND* phRetVal
);
Return to top
Show: