IVsIME.SetDefCurPos(IntPtr, VSIME_ERR[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the editor window to the default position. The method provides a wrapper to ImmSetCompositionWindow.
public:
int SetDefCurPos(IntPtr hwnd, cli::array <Microsoft::VisualStudio::Shell::Interop::VSIME_ERR> ^ perr);
public int SetDefCurPos (IntPtr hwnd, Microsoft.VisualStudio.Shell.Interop.VSIME_ERR[] perr);
abstract member SetDefCurPos : nativeint * Microsoft.VisualStudio.Shell.Interop.VSIME_ERR[] -> int
Public Function SetDefCurPos (hwnd As IntPtr, perr As VSIME_ERR()) As Integer
Parameters
- hwnd
-
IntPtr
nativeint
[in] Handle of the editor window.
- perr
- VSIME_ERR[]
[out] Set to zero when there is an error. Nonzero otherwise.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsIME::SetDefCurPos(
[in] HWND hwnd,
[out] VSIME_ERR * perr
);