68 lines
3.9 KiB
HTML
68 lines
3.9 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
|
<META NAME="Generator" CONTENT="Microsoft Word 97">
|
|
<TITLE>FakeIME</TITLE>
|
|
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
|
</HEAD>
|
|
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
|
|
<FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">Japanese IME Sample FAKEIME </A> </H2>
|
|
|
|
<span style="color:#FF0000">[This is preliminary documentation and subject to change.]</span>
|
|
|
|
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
This sample code gives demonstrations on developing ANSI IME and Unicode IME for the Japanese versions of Windows® 2000 and Windows 98. The FakeIME can be built as a pure ANSI version (the A version) or as a mixed Unicode/ANSI version for Windows 98 (the M version).<P>
|
|
Use the following key combinations when using FakeIME.<P>
|
|
<LI><B>When the composition string is not there:</B><br>
|
|
Change mode of ROMAN: CTRL+F3<br>
|
|
Change mode to HIRAGANA: CTRL+F6<br>
|
|
Change mode to KATAKANA: CTRL+F7<br>
|
|
Change mode to HANKAKU: CTRL+F8<br>
|
|
Change mode to ALPHANUMERIC: CTRL+F9<P>
|
|
<LI><B>When the composition string is there:</B><br>
|
|
Convert Key: SPACE<br>
|
|
Finalize Key: ENTER<br>
|
|
Convert to HIRAGANA: F6<br>
|
|
Convert to KATAKANA: F7<P>
|
|
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
You can use any language edition of Windows 2000 to build these samples. If you are using Windows 98 or Windows NT® 4.0 as your build environment, please install Japanese Windows 98 or Windows NT 4.0. If you are using MSVC to build the sample instead of the using the DDK tools, please apply MSVC 5.0 SP3. Otherwise, the sample will have link errors.<P>
|
|
To build this sample, go into either the A or the M folder. The A version is a pure ANSI version. The M version is a mixed Unicode and ANSI version that can run on Windows 98 and Windows NT®/Windows 2000. It demonstrates how to develop Unicode IME for Windows 98. <P>
|
|
This sample works on both x86 and Alpha platforms, and the code is 64-bit compliant. The code builds properly with Microsoft Visual C® 6.0. <P>
|
|
<B>Note</B>: In the Windows 95 DDK, the DDK IME header file is named Imm.h. The IME header file in the Platform SDK bears the same name, but contains different content. The Imm.h in the DDK includes APIs and data structures, which are not used for application development and so are not included in the SDK version. In this release, the DDK filename has been changed to Immdev.h. If you have old IMEs that need to build under the new DDK, please change your source code to use the new header filename. <P>
|
|
|
|
<H3>RESOURCES</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
The IME documentation in the DDK is to be used for IME development. For information on development of IME-aware applications, see the IME documentation in the Platform SDK.
|
|
<P>
|
|
<H3>CODE TOUR</H3>
|
|
<H4>File Manifest</H4>
|
|
</FONT><U><PRE>File		Description
|
|
</U>
|
|
Fakeime.inf	Installing IME
|
|
Immsec.c	Security handling on Windows NT
|
|
Toascii.c	ImeToAsciiEx routing handling
|
|
Process.c	Virtual key data for ImeProcessKey
|
|
Dic.c	 Dictionary processing
|
|
Dic2.c	 Roman/Kana, and Full/half size conversion
|
|
Regword.c	Dictionary word registration processing
|
|
Uicand.c	Candidate UI window handling
|
|
Uicomp.c	Composition UI window handling
|
|
Config.c	Configuration window
|
|
Data.c	 Global data initialization
|
|
Uistate.c	Status UI window handling
|
|
Uiguide.c	Guideline window
|
|
Ui.c	 Default UI window handler
|
|
Input.c	 WM_IMEKEYUP/DOWN handler
|
|
Imm.c	 ImeXXX API entry routings
|
|
Fakeime.c	DLL entry rounting
|
|
|
|
|
|
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
|
|
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
|
|
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
|
|
<P></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<FONT FACE="MS Sans Serif" SIZE=1><P>© 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
|
|
</HTML>
|