Partilhar via


Método IVsIME.Notify (UInt32, UInt32, UInt32, UInt32, Int32)

 

Notifica o Editor de método de entrada (IME) de alterações para o contexto de entrada do IME.O método é um wrapper para ImmNotifyIME.

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

Sintaxe

int Notify(
    uint HIMC,
    uint dwAction,
    uint dwIndex,
    uint dwValue,
    out int pfRetVal
)
int Notify(
    unsigned int HIMC,
    unsigned int dwAction,
    unsigned int dwIndex,
    unsigned int dwValue,
    [OutAttribute] int% pfRetVal
)
abstract Notify : 
        HIMC:uint32 *
        dwAction:uint32 *
        dwIndex:uint32 *
        dwValue:uint32 *
        pfRetVal:int byref -> int
Function Notify (
    HIMC As UInteger,
    dwAction As UInteger,
    dwIndex As UInteger,
    dwValue As UInteger,
    <OutAttribute> ByRef pfRetVal As Integer
) As Integer

Parâmetros

  • HIMC
    [in] Identificador para o contexto do IME.
  • dwAction
    [in] O código de notificação indicando a alteração.Para valores deste argumento, consulte ImmNotifyIME.
  • dwIndex
    [in] O índice de uma lista de candidatos, ou um valor que indica uma alteração na seqüência de composição.Para valores deste argumento, consulte ImmNotifyIME.
  • dwValue
    [in] Um argumento adicional usado com alguns valores de dwAction.Para obter mais informações, consulte ImmNotifyIME.
  • pfRetVal
    [out] Valor diferente de zero se o método é bem sucedido; um valor zero caso 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::Notify(
   [in] HIMC himc, 
   [in] DWORD dwAction, 
   [in] DWORD dwIndex,
   [in] DWORD dwValue, 
   [out] BOOL * pfRetVal
);

Consulte também

Interface IVsIME
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo