IActiveIME::Notify Method     IActiveIME::RegisterWord ...     IActiveIME Interface    
Web Workshop (Miscellaneous)

IActiveIME::ProcessKey Method


Preprocesses all the keystrokes given through the Active Input Method Manager.

Syntax

HRESULT ProcessKey(
    HIMC hIMC,
    UINT uVirKey,
    DWORD lParam,
    BYTE *pbKeyState
);

Parameters

hIMC
[in] Handle to the input context.
uVirKey
[in] Unsigned integer value that specifies the virtual key to be processed.
lParam
[in] Unsigned long integer value that specifies additional message information.
pbKeyState
[in] Address of a 256-byte array that contains the current keyboard state. The Active Input Method Editor should not modify the content of the key state.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This method maps to the ImeProcessKey function documented in the Microsoft® Windows® 2000 Driver Development Kit.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.