IActiveIME::GetLangId Met...     IActiveIME::Inquire Metho...     IActiveIME Interface    
Web Workshop (Miscellaneous)

IActiveIME::GetRegisterWordStyle Method


Retrieves the available styles in this Active IME.

Syntax

HRESULT GetRegisterWordStyle(
    UINT nItem,
    STYLEBUFW *pStyleBuf,
    UINT *puBufSize
);

Parameters

nItem
[in] Unsigned integer value that specifies the maximum number of styles that the buffer can hold.
pStyleBuf
[out] Address of the buffer to receive the STYLEBUFW structures.
puBufSize
[out] Address of an unsigned integer that receives the number of styles copied to the buffer. If nItem is zero, puBufSize receives the number of bytes needed to retrieve the information.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

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