IActiveIMMApp::GetComposi...     IActiveIMMApp::GetConvers...     IActiveIMMApp Interface    
Web Workshop (Miscellaneous)

IActiveIMMApp::GetContext Method


Retrieves the input context associated with the specified window. An application must release each context retrieved by calling IActiveIMMApp::ReleaseContext.

Syntax

HRESULT GetContext(
    HWND hWnd,
    HIMC *phIMC
);

Parameters

hWnd
[in] Handle to the window that is retrieving an input context.
phIMC
[out] Address of the input context handle associated with the specified window.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This method maps to the ImmGetContext function documented in the Microsoft® Platform Software Development Kit (SDK). Non-MSDN link



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.