IFELanguage
Interface
id |
IID_IFELanguage |
Version |
1.0 |
Notes: The following functions are designed to be
called by VB (VBA) through TLB.
IFELanguage
methods |
Description |
Open |
Open the
interface to initiate a session |
Close |
Close
the interface to terminate a session |
GetMorphResult |
Get morphological analysis result |
HRESULT IFELanguage::Open
This method must be called before
use of IFELangauge for initialization.
Parameters: None.
Return Values:
HRESULT |
- S_OK: Successfilly terminated.
- S_FALSE: Fails to create result.
|
Notes: MS-IME 98 Japanese version has a limitation
that multiple processes should not initialize via this call at the same time.
HRESULT IFELanguage::Close
This method must be called after use
of IFELanguage for termination.
Parameters: None
Return Values:
HRESULT |
- S_OK: Successfilly terminated.
- S_FALSE: Fails to create result.
|
HRESULT IFELanguage::
GetPhonetic
It converts the input string (which
usually contains Kanji character) to phonetic symbol.
Parameters
BSTR string |
(IN) a string of Kanji characters, to convert to phonetic symbols. |
LONG start |
(IN) the number of character from which IFELanguage begin conversion. The
first character is 1 (not 0). |
LONG length |
(IN) the length of character to convert. If this value is (-1), it means
whole length from 'start' column
is selected. |
BSTR *phonetic |
(OUT) the result string. This string is allocated by SysAllocStringLen and
must be freed by clients. |
Return Values
HRESULT |
- S_OK: Successfilly terminated.
- S_FALSE: Fails to create result.
|
|