Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

oldnls32.cpp

Go to the documentation of this file.
00001 /* $Id: oldnls32.cpp,v 1.2 2001/09/05 13:53:50 bird Exp $ */
00002 /*
00003     winnls32.cpp
00004 
00005 */
00006 
00007 #include <odin.h>
00008 #include <os2win.h>
00009 #include <odinwrap.h>
00010 #include "oldnls32.h"
00011 
00012 
00013 /*
00014     BOOL IMPGetIME(hwnd, lpimepro)
00015 
00016     Get Current IME Information
00017     (HWND, InstallDate, Version, Description, FileName, Options on start...)
00018 
00019     to invoke:
00020         hnwd ... NULL
00021     result:
00022     not 0 ... success (infomation will be stored to lpimepro)
00023     0 ... failure
00024 
00025     see also:
00026         ImmGetDefaultIMEWnd
00027         ImmGetDescription
00028         ImmGetIMEFileName
00029         ImmGetProperty
00030 */
00031 
00032 BOOL WINAPI IMPGetIMEA(HWND hwnd, LPIMEPROA lpip)
00033 {
00034 #ifdef DEBUG
00035     dprintf(("USER32: IMPGetIMEA not implemented\n"));
00036 #endif
00037     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00038     return FALSE;
00039 }
00040 
00041 BOOL WINAPI IMPGetIMEW(HWND hwnd, LPIMEPROW lpip)
00042 {
00043 #ifdef DEBUG
00044     dprintf(("USER32: IMPGetIMEW not implemented\n"));
00045 #endif
00046     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00047     return FALSE;
00048 }
00049 
00050 
00051 /*
00052     BOOL IMPQueryIME(lpimepro)
00053 
00054     Get(Enum) IMEs Information
00055     (HWND, InstallDate, Version, Description, FileName, Options on start...)
00056 
00057     to invoke:
00058     first : lpimepro->szName[0] = 0
00059     next to last : (must not modify any contents in lpimepro)
00060 
00061     result:
00062     not 0 ... success
00063         lpimepro->hWnd ... HANDLE to the IME window (if loaded)
00064                            or NULL(if not)
00065     0 ... failure, or end of list
00066 
00067     see also:
00068         ImmGetDefaultIMEWnd
00069         ImmGetDescription
00070         ImmGetIMEFileName
00071         ImmGetProperty
00072 */
00073 
00074 BOOL WINAPI IMPQueryIMEA(LPIMEPROA lpip)
00075 {
00076 #ifdef DEBUG
00077     dprintf(("USER32: IMPQueryIMEA not implemented\n"));
00078 #endif
00079     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00080     return FALSE;
00081 }
00082 
00083 BOOL WINAPI IMPQueryIMEW(LPIMEPROW lpip)
00084 {
00085 #ifdef DEBUG
00086     dprintf(("USER32: IMPQueryIMEW not implemented\n"));
00087 #endif
00088     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00089     return FALSE;
00090 }
00091 
00092 
00093 /*
00094     BOOL IMPSetIME(hwnd, lpimepro)
00095 
00096     Switch active IME
00097 
00098     to invoke:
00099         hwnd = NULL
00100         lpimepro = IME to switch
00101     result:
00102     not 0 ... success
00103     0 ... failure
00104 
00105     see also:
00106         ImmAssociateContext
00107 */
00108 
00109 BOOL WINAPI IMPSetIMEA(HWND hwnd, LPIMEPROA lpip)
00110 {
00111 #ifdef DEBUG
00112     dprintf(("USER32: IMPSetIMEA not implemented\n"));
00113 #endif
00114     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00115     return FALSE;
00116 }
00117 
00118 BOOL WINAPI IMPSetIMEW(HWND hwnd, LPIMEPROW lpip)
00119 {
00120 #ifdef DEBUG
00121     dprintf(("USER32: IMPSetIMEW not implemented\n"));
00122 #endif
00123     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00124     return FALSE;
00125 }
00126 
00127 
00128 /*
00129     UINT WINNLSGetIMEHotkey(hwnd)
00130 
00131     Query Virtual Key code to open the IME
00132 
00133     to invoke:
00134         hnwd ... HANDLE to the IME window
00135     result:
00136         Virtual Key code, or NULL
00137 
00138     see also:
00139         ImmSimulateHotKey
00140 */
00141 
00142 UINT WINAPI WINNLSGetIMEHotkey(HWND hwnd)
00143 {
00144 #ifdef DEBUG
00145     dprintf(("USER32: WINNLSGetIMEHotKey not implemented\n"));
00146 #endif
00147     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00148     return (UINT)NULL;
00149 }
00150 
00151 
00152 /*
00153     BOOL WINNLSEnableIME(hwnd, bool)
00154 
00155     make IME open/close
00156 
00157     to invoke:
00158         hwnd ... NULL
00159         bool ... TRUE (open) or FALSE (close)
00160     result:
00161         previous state
00162 
00163     see also:
00164         ImmGetOpenStatus
00165         ImmSetOpenStatus
00166         ImmSimulateHotKey
00167 */
00168 
00169 BOOL WINAPI WINNLSEnableIME(HWND hwnd, BOOL bOpen)
00170 {
00171 #ifdef DEBUG
00172     dprintf(("USER32: WINNLSEnableIME not implemented\n"));
00173     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00174 #endif
00175     return FALSE;
00176 }
00177 
00178 
00179 /*
00180     BOOL WINNLSGetEnableStatus(hwnd)
00181 
00182     Query IME open/close
00183 
00184     to invoke:
00185         hwnd ... NULL
00186     result:
00187         not 0 ... open
00188         0 ... close
00189 
00190     see also:
00191         ImmGetOpenStatus
00192 */
00193 
00194 BOOL WINAPI WINNLSGetEnableStatus(HWND hwnd)
00195 {
00196 #ifdef DEBUG
00197     dprintf(("USER32: WINNLSGetEnableStatus not implemented\n"));
00198     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00199 #endif
00200     return FALSE;
00201 }
00202 
00203 
00204 /*
00205     LRESULT WINAPI SendIMEMessageEx(hwnd, lparam)
00206 */
00207 
00208 
00209 LRESULT WINAPI SendIMEMessageExA(HWND hwnd, LPARAM lparam)
00210 {
00211 #ifdef DEBUG
00212     dprintf(("USER32: SendIMEMessageExA not implemented\n"));
00213     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00214 #endif
00215     return (LRESULT)0;
00216 }
00217 
00218 LRESULT WINAPI SendIMEMessageExW(HWND hwnd, LPARAM lparam)
00219 {
00220 #ifdef DEBUG
00221     dprintf(("USER32: SendIMEMessageExW not implemented\n"));
00222     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00223 #endif
00224     return (LRESULT)0;
00225 }
00226 

Generated on Wed Jan 23 23:17:38 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001