영어로 읽기

다음을 통해 공유


IVsIME.Escape Method

Provides access to ImmEscape, a method enabling access to features, often country-specific, of particular Input Method Editors (IME).

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

Syntax

int Escape(
    IntPtr hkl,
    uint HIMC,
    uint uEsc,
    string bstrData,
    out int plRetVal
)

Parameters

  • bstrData
    Type: System.String
    [in] The string containing information on which to perform the operation.
  • plRetVal
    Type: System.Int32%
    [out] Pointer to a status value. Returns zero for errors. For more information, see IME Escapes.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The Escape method wraps a call to IME Escapes, which returns a 64-bit value (LRESULT) on 64-bit Windows, but Escape returns only the least significant 32 bits of the result. If this is not suitable in a 64-bit context, call IME Escapes directly.

COM Signature

From vsshell.idl:

HRESULT IVsIME::Escape(
   [in] HKL hkl, 
   [in] HIMC himc, 
   [in] UINT uEsc, 
   [in, out] BSTR bstrData, 
   [out] LONG * plRetVal
);

.NET Framework Security

See Also

Reference

IVsIME Interface

IVsIME Members

Microsoft.VisualStudio.Shell.Interop Namespace