Compartilhar via


IActiveIMMApp::GetVirtualKey method

Recovers the original virtual-key value associated with a key input message that has already been processed by the IME.

Syntax

HRESULT GetVirtualKey(
  [in]  HWND hWnd,
  [out] UINT *puVirtualKey
);

Parameters

  • hWnd [in]
    A handle to the window that receives the key message.

  • puVirtualKey [out]
    The address of an unsigned integer value that receives the original virtual-key value.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImmGetVirtualKey function that is documented in the Windows Software Development Kit (SDK).

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.0

Header

Dimm.h

IDL

Dimm.idl

See also

IActiveIMMApp