3 * Right now, most of these functions do nothing.
7 #include "debugtools.h"
10 DEFAULT_DEBUG_CHANNEL(relay
)
12 /***********************************************************************
15 LONG WINAPI
RawTextOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
17 /***********************************************************************
20 LONG WINAPI
RawExtTextOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
22 /***********************************************************************
25 LONG WINAPI
RawGetTextExtent16(HDC16 hdc
, LPCSTR lpszString
, INT16 cbString
) {
26 FIXME("(%04hx, %p, %hd): stub\n", hdc
, lpszString
, cbString
);
30 /***********************************************************************
33 LONG WINAPI
BiDiLayout16(void) { FIXME("stub (no prototype)\n"); return 0; }
35 /***********************************************************************
36 * BiDiCreateTabString16
38 LONG WINAPI
BiDiCreateTabString16(void) { FIXME("stub (no prototype)\n"); return 0; }
40 /***********************************************************************
43 LONG WINAPI
BiDiGlyphOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
45 /***********************************************************************
46 * BiDiGetStringExtent16
48 LONG WINAPI
BiDiGetStringExtent16(void) { FIXME("stub (no prototype)\n"); return 0; }
50 /***********************************************************************
53 LONG WINAPI
BiDiDeleteString16(void) { FIXME("stub (no prototype)\n"); return 0; }
55 /***********************************************************************
58 LONG WINAPI
BiDiSetDefaults16(void) { FIXME("stub (no prototype)\n"); return 0; }
60 /***********************************************************************
63 LONG WINAPI
BiDiGetDefaults16(void) { FIXME("stub (no prototype)\n"); return 0; }
65 /***********************************************************************
68 LONG WINAPI
BiDiShape16(void) { FIXME("stub (no prototype)\n"); return 0; }
70 /***********************************************************************
71 * BiDiFontComplement16
73 LONG WINAPI
BiDiFontComplement16(void) { FIXME("stub (no prototype)\n"); return 0; }
75 /***********************************************************************
78 LONG WINAPI
BiDiSetKashida16(void) { FIXME("stub (no prototype)\n"); return 0; }
80 /***********************************************************************
83 LONG WINAPI
BiDiKExtTextOut16(void) { FIXME("stub (no prototype)\n"); return 0; }
85 /***********************************************************************
88 LONG WINAPI
BiDiShapeEx16(void) { FIXME("stub (no prototype)\n"); return 0; }
90 /***********************************************************************
91 * BiDiCreateStringEx16
93 LONG WINAPI
BiDiCreateStringEx16(void) { FIXME("stub (no prototype)\n"); return 0; }
95 /***********************************************************************
98 LONG WINAPI
GetTextExtentRtoL16(void) { FIXME("stub (no prototype)\n"); return 0; }
100 /***********************************************************************
103 LONG WINAPI
GetHDCCharSet16(void) { FIXME("stub (no prototype)\n"); return 0; }
105 /***********************************************************************
108 LONG WINAPI
BiDiLayoutEx16(void) { FIXME("stub (no prototype)\n"); return 0; }
110 /***********************************************************************
111 * ChangeDialogTemplate16
112 * FIXME: The prototypes of this function have not been found yet.
114 LONG WINAPI
ChangeDialogTemplate16(void) { FIXME("stub (no prototype)\n"); return 0; }
116 /***********************************************************************
118 * FIXME: The prototypes of this function have not been found yet.
120 LONG WINAPI
BiDiMessageBoxEx16(void) { FIXME("stub (no prototype)\n"); return 0; }
123 /******************************************************************************
124 * ChangeKeyboardCodePage16 [USER.924]
125 * Change the keyboard layouts to a new pair.
126 * If the language IDs are set to -1, the language is not to be changed.
128 DWORD WINAPI
ChangeKeyboardCodePage16( UINT16 iLangLeft
, UINT16 iLangRight
)
130 FIXME( "( %hu, %hu ): stub\n", iLangLeft
, iLangRight
);
135 /******************************************************************************
136 * ChangeKeyboardLanguage16 [USER.912]
137 * Change the keyboard layouts to a new pair.
140 * The old keyboard layout pair.
142 DWORD WINAPI
ChangeKeyboardLanguage16( UINT16 iLangLeft
, UINT iLangRight
)
144 FIXME( "( %hu, %hu ): stub\n", iLangLeft
, iLangRight
);
149 /******************************************************************************
150 * CreateDialogIndirectParamML16 [USER.916]
152 HWND16 WINAPI
CreateDialogIndirectParamML16( HINSTANCE16 hinstWnd
,
153 const void * lpvDlgTmp
,
157 UINT16 iCodePage
, UINT16 iLang
,
159 HINSTANCE16 hinstLoad
)
161 FIXME( "( %04hx, %p, %04hx, %p, %08lx, %hu, %hu, %p, %04hx ): stub\n",
162 hinstWnd
, lpvDlgTmp
, hwndOwner
, dlgProc
, lParamInit
,
163 iCodePage
, iLang
, lpDlgName
, hinstLoad
);
168 /******************************************************************************
169 * DialogBoxIndirectParamML16 [USER.916]
171 HWND16 WINAPI
DialogBoxIndirectParamML16( HINSTANCE16 hinstWnd
,
172 HGLOBAL16 hglbDlgTemp
,
176 UINT16 iCodePage
, UINT16 iLang
,
178 HINSTANCE16 hinstLoad
)
180 FIXME( "( %04hx, %04hx, %04hx, %p, %08lx, %hu, %hu, %p, %04hx ): stub\n",
181 hinstWnd
, hglbDlgTemp
, hwndOwner
, dlgprc
, lParamInit
,
182 iCodePage
, iLang
, lpDlgName
, hinstLoad
);
188 /******************************************************************************
189 * FindLanguageResource16 [USER.923]
191 HRSRC16 WINAPI
FindLanguageResource16( HINSTANCE16 hinst
, LPCSTR lpRes
,
192 LPCSTR lpResType
, UINT16 iLang
)
194 FIXME( "( %04hx, %p, %p, %hu ): stub\n", hinst
, lpRes
, lpResType
, iLang
);
199 /******************************************************************************
200 * GetAppCodePage16 [USER.915]
201 * Returns the code page and language of the window
204 * The low word contains the code page, the high word contains the resource language.
206 DWORD WINAPI
GetAppCodePage16( HWND16 hwnd
)
208 FIXME( "( %04hx ): stub\n", hwnd
);
213 /******************************************************************************
214 * GetBaseCodePage16 [USER.922]
215 * Returns the base code page and resource language.
216 * For example, Hebrew windows will return HebrewCodePage in the low word
217 * and English in the high word.
219 DWORD WINAPI
GetBaseCodePage16( void )
227 /******************************************************************************
228 * GetCodePageSystemFont16 [USER.913]
229 * Returns the stock font for the requested code page.
231 HFONT16 WINAPI
GetCodePageSystemFont16( UINT16 iFont
, UINT16 iCodePage
)
233 FIXME( "( %hu, %hu ): stub\n", iFont
, iCodePage
);
239 /******************************************************************************
240 * GetLanguageName16 [USER.906]
241 * Returns the name of one language in (possibly) a different language.
242 * Currently only handles language 0 (english).
245 * Success: The number of bytes copied to the buffer, not including the null.
248 UINT WINAPI
GetLanguageName16( UINT16 iLang
, UINT16 iName
,
249 LPSTR lpszName
, UINT16 cbBuffer
)
251 if ( (iLang
== 0) && (iName
== 0) ) {
252 if ( !lpszName
|| cbBuffer
< 8 ) {
253 SetLastError( ERROR_INVALID_PARAMETER
);
256 strcpy( lpszName
, "English" );
260 FIXME( "( %hu, %hu, %p, %hu ): No BiDi16\n", iLang
, iName
, lpszName
, cbBuffer
);
265 /******************************************************************************
266 * GetNumLanguages16 [USER.906]
267 * Returns the number of languages in the system.
269 UINT WINAPI
GetNumLanguages16( void )
271 FIXME( ": No Bidi16\n" );
277 /******************************************************************************
278 * GetProcessDefaultLayout16 [USER.1001]
280 * Gets the default layout for parentless windows.
281 * Right now, just returns 0 (left-to-right).
287 BOOL16 WINAPI
GetProcessDefaultLayout16( DWORD
*pdwDefaultLayout
)
289 FIXME( "( %p ): no BiDi16\n", pdwDefaultLayout
);
290 return GetProcessDefaultLayout( pdwDefaultLayout
);
294 /******************************************************************************
295 * LoadLanguageString16 [USER.919]
296 * Loads a string for a specific language.
299 * SUCCESS: The length of the string loaded.
302 UINT16 WINAPI
LoadLanguageString16( HINSTANCE16 hinst
, UINT16 id
, UINT16 iLang
,
303 LPSTR lpszText
, INT16 nBytes
)
305 FIXME( "( %04hx, %hu, %hu, %p, %hd ): stub\n", hinst
, id
, iLang
, lpszText
, nBytes
);
311 /******************************************************************************
312 * LoadSystemLanguageString16 [USER.902]
313 * Loads a string which is in one of the system language modules.
316 * Success: The length of the string loaded
319 UINT WINAPI
LoadSystemLanguageString16( HINSTANCE16 hinstCaller
, UINT16 id
,
320 LPSTR lpszText
, INT16 nBytes
, UINT16 iLang
)
322 FIXME( "( %04hx, %hu, %p, %hd, %hu ): stub\n", hinstCaller
, id
, lpszText
, nBytes
, iLang
);
327 /***********************************************************************
328 * MessageBoxEx16 [USER.930]
329 * The multilingual version of MessageBox.
331 INT16 WINAPI
MessageBoxEx16( HWND16 hwndParent
, LPCSTR lpszText
,
332 LPCSTR lpszTitle
, UINT16 fuStyle
, UINT16 iLang
)
334 FIXME( "( %04hx, %p, %p, %hu, %hu ): stub\n", hwndParent
, lpszText
, lpszTitle
,
340 /***********************************************************************
341 * QueryCodePage16 [USER.914]
342 * Query code page specific data.
344 LRESULT WINAPI
QueryCodePage16( UINT16 idxLang
, UINT16 msg
,
345 WPARAM16 wParam
, LPARAM lParam
)
347 FIXME( "( %hu, %hu, %04hx, %08lx ): stub\n", idxLang
, msg
, wParam
, lParam
);
352 /***********************************************************************
353 * SetAppCodePage16 [USER.920]
354 * Set the code page and language of the window to new values.
357 * The low word contains the old code page, the high word contains
358 * the old resource language.
360 DWORD WINAPI
SetAppCodePage16( HWND16 hwnd
, UINT16 iCodePage
, UINT16 iLang
,
363 FIXME( "( %04hx, %hu, %hu, %hu ): stub\n", hwnd
, iCodePage
, iLang
, fRedraw
);
369 /***********************************************************************
370 * SetDlgItemTextEx16 [USER.911]
371 * Sets the title or text of a control in a dialog box.
372 * Currently only works for language 0 (english)
374 void WINAPI
SetDlgItemTextEx16( HWND16 hwnd
, INT16 id
,
375 LPCSTR lpszText
, UINT16 iLang
)
377 FIXME( "( %04hx, %hd, %p, %hu ): stub\n", hwnd
, id
, lpszText
, iLang
);
382 /***********************************************************************
383 * SetLayout16 [GDI.1000]
385 * Sets left->right or right->left text layout flags of a dc.
387 BOOL16 WINAPI
SetLayout16( HDC16 hdc
, DWORD layout
)
389 FIXME( "( %04hx, %08lx ): No BiDi16\n", hdc
, layout
);
390 return SetLayout( hdc
, layout
);
395 /******************************************************************************
396 * SetProcessDefaultLayout16 [USER.1000]
398 * Sets the default layout for parentless windows.
399 * Right now, only accepts 0 (left-to-right).
405 BOOL16 WINAPI
SetProcessDefaultLayout16( DWORD dwDefaultLayout
)
407 FIXME( "( %08lx ): No BiDi16\n", dwDefaultLayout
);
408 return SetProcessDefaultLayout( dwDefaultLayout
);
412 /******************************************************************************
413 * SetWindowTextEx16 [USER.909]
414 * Sets the given window's title to the specified text in the specified language.
416 void WINAPI
SetWindowTextEx16( HWND16 hwnd
, LPCSTR lpsz
, UINT16 iLang
)
418 FIXME( "( %04hx, %p, %hu ): stub\n", hwnd
, lpsz
, iLang
);