Método IVsIME.IsActive (IntPtr, Int32)

 

Publicado: abril de 2016

Indica se ou não o Editor de método de entrada (IME) está ativa para uma determinada janela.

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

Sintaxe

int IsActive(
    IntPtr hwnd,
    out int pfRetVal
)
int IsActive(
    IntPtr hwnd,
    [OutAttribute] int% pfRetVal
)
abstract IsActive : 
        hwnd:nativeint *
        pfRetVal:int byref -> int
Function IsActive (
    hwnd As IntPtr,
    <OutAttribute> ByRef pfRetVal As Integer
) As Integer

Parâmetros

  • hwnd
    [in] Identificador da janela do editor.
  • pfRetVal
    [out] Ponteiro para um valor booleano.Definido como true se o IME está ativo da janela.Definido como false contrário.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell.idl:

HRESULT IVsIME::IsActive(
   [in] HWND hwnd, 
   [out] BOOL * pfRetVal
);

Consulte também

Interface IVsIME
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo