IActiveIMMApp::SetComposi...     IActiveIMMApp::SetComposi...     IActiveIMMApp Interface    
Web Workshop (Miscellaneous)

IActiveIMMApp::SetCompositionStringW Method


Sets the characters, attributes, and clauses of the composition and reading strings. Unicode implementation.

Syntax

HRESULT SetCompositionStringW(
    HIMC hIMC,
    DWORD dwIndex,
    LPVOID pComp,
    DWORD dwCompLen,
    LPVOID pRead,
    DWORD dwReadLen
);

Parameters

hIMC
[in] Handle to the input context.
dwIndex
[in] Unsigned long integer value that contains the type of information to set.
pComp
[in] Address of the buffer containing the information to set for the composition string. The information is as specified by the dwIndex value.
dwCompLen
[in] Unsigned long integer value that contains the size, in bytes, of the information buffer for the composition string.
pRead
[in] Address of the buffer containing the information to set for the reading string. The information is as specified by the dwIndex value.
dwReadLen
[in] Unsigned long integer value that contains the size, in bytes, of the information buffer for the reading string.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This method maps to the ImmSetCompositionString 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.