source: trunk/mkspecs/os2-g++/API_FPU_CW_Wrappers.h@ 720

Last change on this file since 720 was 430, checked in by Dmitry A. Kuminov, 16 years ago

corelib: Created wrappers for all Win* and Gpi* calls that restore the FPU Control Word to what C/C++ programs expect. This fixes #105.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 137.4 KB
Line 
1/* Generated by API_FPU_CW_Wrappers.awk from os2emx.h */
2/* See http://svn.netlabs.org/qt4/ticket/105 for more info */
3
4/*
5 * Some OS/2 PM API calls modify the FPU Control Word,
6 * but forget to restore it.
7 *
8 * This can result in unexpected XCPT_FLOAT_INVALID_OPCODE or
9 * XCPT_FLOAT_INVALID_OPERATION exceptions. To avoid this, we create
10 * wrappers for each API call that restore the FPU Control Word
11 * after the API call back to the value expected by C/C++ programs.
12 */
13
14#ifndef API_FPU_CW_WRAPPERS_H
15#define API_FPU_CW_WRAPPERS_H
16
17inline void __FPU_CW_Restore()
18{
19 asm("pushl %%eax\n\t" /* Dummy for storing control word */
20 "fstcw 0(%%esp)\n\t" /* Store control word into memory */
21 "orw $5, 0(%%esp)\n\t" /* Set EM_INVALID (0x1) | EM_ZERODIVIDE (0x4) */
22 "fldcw 0(%%esp)\n\t" /* Load control word back */
23 "popl %%eax\n\t"
24 ::: "eax");
25}
26
27inline BOOL APIENTRY __FPU_CW_WinCancelShutdown (HMQ hmq, BOOL fCancelAlways)
28{
29 BOOL ret = WinCancelShutdown (hmq, fCancelAlways);
30 __FPU_CW_Restore();
31 return ret;
32}
33#define WinCancelShutdown __FPU_CW_WinCancelShutdown
34
35inline HMQ APIENTRY __FPU_CW_WinCreateMsgQueue (HAB hab, LONG cmsg)
36{
37 HMQ ret = WinCreateMsgQueue (hab, cmsg);
38 __FPU_CW_Restore();
39 return ret;
40}
41#define WinCreateMsgQueue __FPU_CW_WinCreateMsgQueue
42
43inline BOOL APIENTRY __FPU_CW_WinDestroyMsgQueue (HMQ hmq)
44{
45 BOOL ret = WinDestroyMsgQueue (hmq);
46 __FPU_CW_Restore();
47 return ret;
48}
49#define WinDestroyMsgQueue __FPU_CW_WinDestroyMsgQueue
50
51inline MRESULT APIENTRY __FPU_CW_WinDispatchMsg (HAB hab, PQMSG pqmsg)
52{
53 MRESULT ret = WinDispatchMsg (hab, pqmsg);
54 __FPU_CW_Restore();
55 return ret;
56}
57#define WinDispatchMsg __FPU_CW_WinDispatchMsg
58
59inline BOOL APIENTRY __FPU_CW_WinGetMsg (HAB hab, PQMSG pqmsg, HWND hwndFilter, ULONG msgFilterFirst, ULONG msgFilterLast)
60{
61 BOOL ret = WinGetMsg (hab, pqmsg, hwndFilter, msgFilterFirst, msgFilterLast);
62 __FPU_CW_Restore();
63 return ret;
64}
65#define WinGetMsg __FPU_CW_WinGetMsg
66
67inline BOOL APIENTRY __FPU_CW_WinLockInput (HMQ hmq, ULONG fLock)
68{
69 BOOL ret = WinLockInput (hmq, fLock);
70 __FPU_CW_Restore();
71 return ret;
72}
73#define WinLockInput __FPU_CW_WinLockInput
74
75inline BOOL APIENTRY __FPU_CW_WinPeekMsg (HAB hab, PQMSG pqmsg, HWND hwndFilter, ULONG msgFilterFirst, ULONG msgFilterLast, ULONG fl)
76{
77 BOOL ret = WinPeekMsg (hab, pqmsg, hwndFilter, msgFilterFirst, msgFilterLast, fl);
78 __FPU_CW_Restore();
79 return ret;
80}
81#define WinPeekMsg __FPU_CW_WinPeekMsg
82
83inline BOOL APIENTRY __FPU_CW_WinPostMsg (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
84{
85 BOOL ret = WinPostMsg (hwnd, msg, mp1, mp2);
86 __FPU_CW_Restore();
87 return ret;
88}
89#define WinPostMsg __FPU_CW_WinPostMsg
90
91inline HMQ APIENTRY __FPU_CW_WinQueueFromID (HAB hab, PID pid, TID tid)
92{
93 HMQ ret = WinQueueFromID (hab, pid, tid);
94 __FPU_CW_Restore();
95 return ret;
96}
97#define WinQueueFromID __FPU_CW_WinQueueFromID
98
99inline BOOL APIENTRY __FPU_CW_WinQueryQueueInfo (HMQ hmq, PMQINFO pmqi, ULONG cbCopy)
100{
101 BOOL ret = WinQueryQueueInfo (hmq, pmqi, cbCopy);
102 __FPU_CW_Restore();
103 return ret;
104}
105#define WinQueryQueueInfo __FPU_CW_WinQueryQueueInfo
106
107inline HMQ APIENTRY __FPU_CW_WinQuerySendMsg (HAB hab, HMQ hmqSender, HMQ hmqReceiver, PQMSG pqmsg)
108{
109 HMQ ret = WinQuerySendMsg (hab, hmqSender, hmqReceiver, pqmsg);
110 __FPU_CW_Restore();
111 return ret;
112}
113#define WinQuerySendMsg __FPU_CW_WinQuerySendMsg
114
115inline BOOL APIENTRY __FPU_CW_WinRegisterUserDatatype (HAB hab, LONG datatype, LONG count, PLONG types)
116{
117 BOOL ret = WinRegisterUserDatatype (hab, datatype, count, types);
118 __FPU_CW_Restore();
119 return ret;
120}
121#define WinRegisterUserDatatype __FPU_CW_WinRegisterUserDatatype
122
123inline BOOL APIENTRY __FPU_CW_WinRegisterUserMsg (HAB hab, ULONG msgid, LONG datatype1, LONG dir1, LONG datatype2, LONG dir2, LONG datatyper)
124{
125 BOOL ret = WinRegisterUserMsg (hab, msgid, datatype1, dir1, datatype2, dir2, datatyper);
126 __FPU_CW_Restore();
127 return ret;
128}
129#define WinRegisterUserMsg __FPU_CW_WinRegisterUserMsg
130
131inline BOOL APIENTRY __FPU_CW_WinReplyMsg (HAB hab, HMQ hmqSender, HMQ hmqReceiver, MRESULT mresult)
132{
133 BOOL ret = WinReplyMsg (hab, hmqSender, hmqReceiver, mresult);
134 __FPU_CW_Restore();
135 return ret;
136}
137#define WinReplyMsg __FPU_CW_WinReplyMsg
138
139inline MRESULT APIENTRY __FPU_CW_WinSendMsg (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
140{
141 MRESULT ret = WinSendMsg (hwnd, msg, mp1, mp2);
142 __FPU_CW_Restore();
143 return ret;
144}
145#define WinSendMsg __FPU_CW_WinSendMsg
146
147inline BOOL APIENTRY __FPU_CW_WinSetMsgMode (HAB hab, PCSZ classname, LONG control)
148{
149 BOOL ret = WinSetMsgMode (hab, classname, control);
150 __FPU_CW_Restore();
151 return ret;
152}
153#define WinSetMsgMode __FPU_CW_WinSetMsgMode
154
155inline BOOL APIENTRY __FPU_CW_WinSetSynchroMode (HAB hab, LONG mode)
156{
157 BOOL ret = WinSetSynchroMode (hab, mode);
158 __FPU_CW_Restore();
159 return ret;
160}
161#define WinSetSynchroMode __FPU_CW_WinSetSynchroMode
162
163inline BOOL APIENTRY __FPU_CW_WinThreadAssocQueue (HAB hab, HMQ hmq)
164{
165 BOOL ret = WinThreadAssocQueue (hab, hmq);
166 __FPU_CW_Restore();
167 return ret;
168}
169#define WinThreadAssocQueue __FPU_CW_WinThreadAssocQueue
170
171inline BOOL APIENTRY __FPU_CW_WinWakeThread (HMQ hmq)
172{
173 BOOL ret = WinWakeThread (hmq);
174 __FPU_CW_Restore();
175 return ret;
176}
177#define WinWakeThread __FPU_CW_WinWakeThread
178
179inline HWND APIENTRY __FPU_CW_WinCreateWindow (HWND hwndParent, PCSZ pszClass, PCSZ pszName, ULONG flStyle, LONG x, LONG y, LONG cx, LONG cy, HWND hwndOwner, HWND hwndInsertBehind, ULONG id, PVOID pCtlData, PVOID pPresParams)
180{
181 HWND ret = WinCreateWindow (hwndParent, pszClass, pszName, flStyle, x, y, cx, cy, hwndOwner, hwndInsertBehind, id, pCtlData, pPresParams);
182 __FPU_CW_Restore();
183 return ret;
184}
185#define WinCreateWindow __FPU_CW_WinCreateWindow
186
187inline BOOL APIENTRY __FPU_CW_WinDrawBitmap (HPS hpsDst, HBITMAP hbm, __const__ RECTL *pwrcSrc, __const__ POINTL *pptlDst, LONG clrFore, LONG clrBack, ULONG fl)
188{
189 BOOL ret = WinDrawBitmap (hpsDst, hbm, pwrcSrc, pptlDst, clrFore, clrBack, fl);
190 __FPU_CW_Restore();
191 return ret;
192}
193#define WinDrawBitmap __FPU_CW_WinDrawBitmap
194
195inline BOOL APIENTRY __FPU_CW_WinDrawBorder (HPS hps, __const__ RECTL *prcl, LONG cx, LONG cy, LONG clrFore, LONG clrBack, ULONG flCmd)
196{
197 BOOL ret = WinDrawBorder (hps, prcl, cx, cy, clrFore, clrBack, flCmd);
198 __FPU_CW_Restore();
199 return ret;
200}
201#define WinDrawBorder __FPU_CW_WinDrawBorder
202
203inline LONG APIENTRY __FPU_CW_WinDrawText (HPS hps, LONG cchText, PCCH lpchText, PRECTL prcl, LONG clrFore, LONG clrBack, ULONG flCmd)
204{
205 LONG ret = WinDrawText (hps, cchText, lpchText, prcl, clrFore, clrBack, flCmd);
206 __FPU_CW_Restore();
207 return ret;
208}
209#define WinDrawText __FPU_CW_WinDrawText
210
211inline BOOL APIENTRY __FPU_CW_WinEnableWindow (HWND hwnd, BOOL fEnable)
212{
213 BOOL ret = WinEnableWindow (hwnd, fEnable);
214 __FPU_CW_Restore();
215 return ret;
216}
217#define WinEnableWindow __FPU_CW_WinEnableWindow
218
219inline BOOL APIENTRY __FPU_CW_WinEnableWindowUpdate (HWND hwnd, BOOL fEnable)
220{
221 BOOL ret = WinEnableWindowUpdate (hwnd, fEnable);
222 __FPU_CW_Restore();
223 return ret;
224}
225#define WinEnableWindowUpdate __FPU_CW_WinEnableWindowUpdate
226
227inline BOOL APIENTRY __FPU_CW_WinInvalidateRect (HWND hwnd, __const__ RECTL *prcl, BOOL fIncludeChildren)
228{
229 BOOL ret = WinInvalidateRect (hwnd, prcl, fIncludeChildren);
230 __FPU_CW_Restore();
231 return ret;
232}
233#define WinInvalidateRect __FPU_CW_WinInvalidateRect
234
235inline BOOL APIENTRY __FPU_CW_WinInvalidateRegion (HWND hwnd, HRGN hrgn, BOOL fIncludeChildren)
236{
237 BOOL ret = WinInvalidateRegion (hwnd, hrgn, fIncludeChildren);
238 __FPU_CW_Restore();
239 return ret;
240}
241#define WinInvalidateRegion __FPU_CW_WinInvalidateRegion
242
243inline BOOL APIENTRY __FPU_CW_WinInvertRect (HPS hps, __const__ RECTL *prcl)
244{
245 BOOL ret = WinInvertRect (hps, prcl);
246 __FPU_CW_Restore();
247 return ret;
248}
249#define WinInvertRect __FPU_CW_WinInvertRect
250
251inline BOOL APIENTRY __FPU_CW_WinIsChild (HWND hwnd, HWND hwndParent)
252{
253 BOOL ret = WinIsChild (hwnd, hwndParent);
254 __FPU_CW_Restore();
255 return ret;
256}
257#define WinIsChild __FPU_CW_WinIsChild
258
259inline BOOL APIENTRY __FPU_CW_WinIsWindow (HAB hab, HWND hwnd)
260{
261 BOOL ret = WinIsWindow (hab, hwnd);
262 __FPU_CW_Restore();
263 return ret;
264}
265#define WinIsWindow __FPU_CW_WinIsWindow
266
267inline BOOL APIENTRY __FPU_CW_WinIsWindowEnabled (HWND hwnd)
268{
269 BOOL ret = WinIsWindowEnabled (hwnd);
270 __FPU_CW_Restore();
271 return ret;
272}
273#define WinIsWindowEnabled __FPU_CW_WinIsWindowEnabled
274
275inline BOOL APIENTRY __FPU_CW_WinIsWindowVisible (HWND hwnd)
276{
277 BOOL ret = WinIsWindowVisible (hwnd);
278 __FPU_CW_Restore();
279 return ret;
280}
281#define WinIsWindowVisible __FPU_CW_WinIsWindowVisible
282
283inline LONG APIENTRY __FPU_CW_WinLoadMessage (HAB hab, HMODULE hmod, ULONG id, LONG cchMax, PSZ pchBuffer)
284{
285 LONG ret = WinLoadMessage (hab, hmod, id, cchMax, pchBuffer);
286 __FPU_CW_Restore();
287 return ret;
288}
289#define WinLoadMessage __FPU_CW_WinLoadMessage
290
291inline LONG APIENTRY __FPU_CW_WinLoadString (HAB hab, HMODULE hmod, ULONG id, LONG cchMax, PSZ pchBuffer)
292{
293 LONG ret = WinLoadString (hab, hmod, id, cchMax, pchBuffer);
294 __FPU_CW_Restore();
295 return ret;
296}
297#define WinLoadString __FPU_CW_WinLoadString
298
299inline LONG APIENTRY __FPU_CW_WinMultWindowFromIDs (HWND hwndParent, PHWND prghwnd, ULONG idFirst, ULONG idLast)
300{
301 LONG ret = WinMultWindowFromIDs (hwndParent, prghwnd, idFirst, idLast);
302 __FPU_CW_Restore();
303 return ret;
304}
305#define WinMultWindowFromIDs __FPU_CW_WinMultWindowFromIDs
306
307inline HWND APIENTRY __FPU_CW_WinQueryDesktopWindow (HAB hab, HDC hdc)
308{
309 HWND ret = WinQueryDesktopWindow (hab, hdc);
310 __FPU_CW_Restore();
311 return ret;
312}
313#define WinQueryDesktopWindow __FPU_CW_WinQueryDesktopWindow
314
315inline HWND APIENTRY __FPU_CW_WinQueryObjectWindow (HWND hwndDesktop)
316{
317 HWND ret = WinQueryObjectWindow (hwndDesktop);
318 __FPU_CW_Restore();
319 return ret;
320}
321#define WinQueryObjectWindow __FPU_CW_WinQueryObjectWindow
322
323inline HPOINTER APIENTRY __FPU_CW_WinQueryPointer (HWND hwndDesktop)
324{
325 HPOINTER ret = WinQueryPointer (hwndDesktop);
326 __FPU_CW_Restore();
327 return ret;
328}
329#define WinQueryPointer __FPU_CW_WinQueryPointer
330
331inline HWND APIENTRY __FPU_CW_WinQueryWindow (HWND hwnd, LONG cmd)
332{
333 HWND ret = WinQueryWindow (hwnd, cmd);
334 __FPU_CW_Restore();
335 return ret;
336}
337#define WinQueryWindow __FPU_CW_WinQueryWindow
338
339inline BOOL APIENTRY __FPU_CW_WinQueryWindowPos (HWND hwnd, PSWP pswp)
340{
341 BOOL ret = WinQueryWindowPos (hwnd, pswp);
342 __FPU_CW_Restore();
343 return ret;
344}
345#define WinQueryWindowPos __FPU_CW_WinQueryWindowPos
346
347inline BOOL APIENTRY __FPU_CW_WinQueryWindowProcess (HWND hwnd, PPID ppid, PTID ptid)
348{
349 BOOL ret = WinQueryWindowProcess (hwnd, ppid, ptid);
350 __FPU_CW_Restore();
351 return ret;
352}
353#define WinQueryWindowProcess __FPU_CW_WinQueryWindowProcess
354
355inline LONG APIENTRY __FPU_CW_WinQueryWindowText (HWND hwnd, LONG cchBufferMax, PCH pchBuffer)
356{
357 LONG ret = WinQueryWindowText (hwnd, cchBufferMax, pchBuffer);
358 __FPU_CW_Restore();
359 return ret;
360}
361#define WinQueryWindowText __FPU_CW_WinQueryWindowText
362
363inline LONG APIENTRY __FPU_CW_WinQueryWindowTextLength (HWND hwnd)
364{
365 LONG ret = WinQueryWindowTextLength (hwnd);
366 __FPU_CW_Restore();
367 return ret;
368}
369#define WinQueryWindowTextLength __FPU_CW_WinQueryWindowTextLength
370
371inline BOOL APIENTRY __FPU_CW_WinSetMultWindowPos (HAB hab, __const__ SWP *pswp, ULONG cswp)
372{
373 BOOL ret = WinSetMultWindowPos (hab, pswp, cswp);
374 __FPU_CW_Restore();
375 return ret;
376}
377#define WinSetMultWindowPos __FPU_CW_WinSetMultWindowPos
378
379inline BOOL APIENTRY __FPU_CW_WinSetOwner (HWND hwnd, HWND hwndNewOwner)
380{
381 BOOL ret = WinSetOwner (hwnd, hwndNewOwner);
382 __FPU_CW_Restore();
383 return ret;
384}
385#define WinSetOwner __FPU_CW_WinSetOwner
386
387inline BOOL APIENTRY __FPU_CW_WinSetParent (HWND hwnd, HWND hwndNewParent, BOOL fRedraw)
388{
389 BOOL ret = WinSetParent (hwnd, hwndNewParent, fRedraw);
390 __FPU_CW_Restore();
391 return ret;
392}
393#define WinSetParent __FPU_CW_WinSetParent
394
395inline BOOL APIENTRY __FPU_CW_WinSetWindowPos (HWND hwnd, HWND hwndInsertBehind, LONG x, LONG y, LONG cx, LONG cy, ULONG fl)
396{
397 BOOL ret = WinSetWindowPos (hwnd, hwndInsertBehind, x, y, cx, cy, fl);
398 __FPU_CW_Restore();
399 return ret;
400}
401#define WinSetWindowPos __FPU_CW_WinSetWindowPos
402
403inline BOOL APIENTRY __FPU_CW_WinSetWindowText (HWND hwnd, PCSZ pszText)
404{
405 BOOL ret = WinSetWindowText (hwnd, pszText);
406 __FPU_CW_Restore();
407 return ret;
408}
409#define WinSetWindowText __FPU_CW_WinSetWindowText
410
411inline BOOL APIENTRY __FPU_CW_WinUpdateWindow (HWND hwnd)
412{
413 BOOL ret = WinUpdateWindow (hwnd);
414 __FPU_CW_Restore();
415 return ret;
416}
417#define WinUpdateWindow __FPU_CW_WinUpdateWindow
418
419inline HWND APIENTRY __FPU_CW_WinWindowFromID (HWND hwndParent, ULONG id)
420{
421 HWND ret = WinWindowFromID (hwndParent, id);
422 __FPU_CW_Restore();
423 return ret;
424}
425#define WinWindowFromID __FPU_CW_WinWindowFromID
426
427inline HWND APIENTRY __FPU_CW_WinCreateStdWindow (HWND hwndParent, ULONG flStyle, PULONG pflCreateFlags, PCSZ pszClientClass, PCSZ pszTitle, ULONG styleClient, HMODULE hmod, ULONG idResources, PHWND phwndClient)
428{
429 HWND ret = WinCreateStdWindow (hwndParent, flStyle, pflCreateFlags, pszClientClass, pszTitle, styleClient, hmod, idResources, phwndClient);
430 __FPU_CW_Restore();
431 return ret;
432}
433#define WinCreateStdWindow __FPU_CW_WinCreateStdWindow
434
435inline BOOL APIENTRY __FPU_CW_WinCalcFrameRect (HWND hwndFrame, PRECTL prcl, BOOL fClient)
436{
437 BOOL ret = WinCalcFrameRect (hwndFrame, prcl, fClient);
438 __FPU_CW_Restore();
439 return ret;
440}
441#define WinCalcFrameRect __FPU_CW_WinCalcFrameRect
442
443inline BOOL APIENTRY __FPU_CW_WinCreateFrameControls (HWND hwndFrame, PFRAMECDATA pfcdata, PCSZ pszTitle)
444{
445 BOOL ret = WinCreateFrameControls (hwndFrame, pfcdata, pszTitle);
446 __FPU_CW_Restore();
447 return ret;
448}
449#define WinCreateFrameControls __FPU_CW_WinCreateFrameControls
450
451inline BOOL APIENTRY __FPU_CW_WinFlashWindow (HWND hwndFrame, BOOL fFlash)
452{
453 BOOL ret = WinFlashWindow (hwndFrame, fFlash);
454 __FPU_CW_Restore();
455 return ret;
456}
457#define WinFlashWindow __FPU_CW_WinFlashWindow
458
459inline BOOL APIENTRY __FPU_CW_WinGetMaxPosition (HWND hwnd, PSWP pswp)
460{
461 BOOL ret = WinGetMaxPosition (hwnd, pswp);
462 __FPU_CW_Restore();
463 return ret;
464}
465#define WinGetMaxPosition __FPU_CW_WinGetMaxPosition
466
467inline BOOL APIENTRY __FPU_CW_WinGetMinPosition (HWND hwnd, PSWP pswp, __const__ POINTL *pptl)
468{
469 BOOL ret = WinGetMinPosition (hwnd, pswp, pptl);
470 __FPU_CW_Restore();
471 return ret;
472}
473#define WinGetMinPosition __FPU_CW_WinGetMinPosition
474
475inline BOOL APIENTRY __FPU_CW_WinSaveWindowPos (HSAVEWP hsvwp, PSWP pswp, ULONG cswp)
476{
477 BOOL ret = WinSaveWindowPos (hsvwp, pswp, cswp);
478 __FPU_CW_Restore();
479 return ret;
480}
481#define WinSaveWindowPos __FPU_CW_WinSaveWindowPos
482
483inline HPS APIENTRY __FPU_CW_WinBeginPaint (HWND hwnd, HPS hps, PRECTL prclPaint)
484{
485 HPS ret = WinBeginPaint (hwnd, hps, prclPaint);
486 __FPU_CW_Restore();
487 return ret;
488}
489#define WinBeginPaint __FPU_CW_WinBeginPaint
490
491inline MRESULT APIENTRY __FPU_CW_WinDefWindowProc (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
492{
493 MRESULT ret = WinDefWindowProc (hwnd, msg, mp1, mp2);
494 __FPU_CW_Restore();
495 return ret;
496}
497#define WinDefWindowProc __FPU_CW_WinDefWindowProc
498
499inline BOOL APIENTRY __FPU_CW_WinDestroyWindow (HWND hwnd)
500{
501 BOOL ret = WinDestroyWindow (hwnd);
502 __FPU_CW_Restore();
503 return ret;
504}
505#define WinDestroyWindow __FPU_CW_WinDestroyWindow
506
507inline BOOL APIENTRY __FPU_CW_WinEndPaint (HPS hps)
508{
509 BOOL ret = WinEndPaint (hps);
510 __FPU_CW_Restore();
511 return ret;
512}
513#define WinEndPaint __FPU_CW_WinEndPaint
514
515inline BOOL APIENTRY __FPU_CW_WinFillRect (HPS hps, __const__ RECTL *prcl, LONG lColor)
516{
517 BOOL ret = WinFillRect (hps, prcl, lColor);
518 __FPU_CW_Restore();
519 return ret;
520}
521#define WinFillRect __FPU_CW_WinFillRect
522
523inline HPS APIENTRY __FPU_CW_WinGetClipPS (HWND hwnd, HWND hwndClip, ULONG fl)
524{
525 HPS ret = WinGetClipPS (hwnd, hwndClip, fl);
526 __FPU_CW_Restore();
527 return ret;
528}
529#define WinGetClipPS __FPU_CW_WinGetClipPS
530
531inline HPS APIENTRY __FPU_CW_WinGetPS (HWND hwnd)
532{
533 HPS ret = WinGetPS (hwnd);
534 __FPU_CW_Restore();
535 return ret;
536}
537#define WinGetPS __FPU_CW_WinGetPS
538
539inline HAB APIENTRY __FPU_CW_WinInitialize (ULONG fsOptions)
540{
541 HAB ret = WinInitialize (fsOptions);
542 __FPU_CW_Restore();
543 return ret;
544}
545#define WinInitialize __FPU_CW_WinInitialize
546
547inline BOOL APIENTRY __FPU_CW_WinIsWindowShowing (HWND hwnd)
548{
549 BOOL ret = WinIsWindowShowing (hwnd);
550 __FPU_CW_Restore();
551 return ret;
552}
553#define WinIsWindowShowing __FPU_CW_WinIsWindowShowing
554
555inline HDC APIENTRY __FPU_CW_WinOpenWindowDC (HWND hwnd)
556{
557 HDC ret = WinOpenWindowDC (hwnd);
558 __FPU_CW_Restore();
559 return ret;
560}
561#define WinOpenWindowDC __FPU_CW_WinOpenWindowDC
562
563inline HAB APIENTRY __FPU_CW_WinQueryAnchorBlock (HWND hwnd)
564{
565 HAB ret = WinQueryAnchorBlock (hwnd);
566 __FPU_CW_Restore();
567 return ret;
568}
569#define WinQueryAnchorBlock __FPU_CW_WinQueryAnchorBlock
570
571inline ULONG APIENTRY __FPU_CW_WinQueryVersion (HAB hab)
572{
573 ULONG ret = WinQueryVersion (hab);
574 __FPU_CW_Restore();
575 return ret;
576}
577#define WinQueryVersion __FPU_CW_WinQueryVersion
578
579inline BOOL APIENTRY __FPU_CW_WinQueryWindowRect (HWND hwnd, PRECTL prclDest)
580{
581 BOOL ret = WinQueryWindowRect (hwnd, prclDest);
582 __FPU_CW_Restore();
583 return ret;
584}
585#define WinQueryWindowRect __FPU_CW_WinQueryWindowRect
586
587inline BOOL APIENTRY __FPU_CW_WinRegisterClass (HAB hab, PCSZ pszClassName, PFNWP pfnWndProc, ULONG flStyle, ULONG cbWindowData)
588{
589 BOOL ret = WinRegisterClass (hab, pszClassName, pfnWndProc, flStyle, cbWindowData);
590 __FPU_CW_Restore();
591 return ret;
592}
593#define WinRegisterClass __FPU_CW_WinRegisterClass
594
595inline BOOL APIENTRY __FPU_CW_WinReleasePS (HPS hps)
596{
597 BOOL ret = WinReleasePS (hps);
598 __FPU_CW_Restore();
599 return ret;
600}
601#define WinReleasePS __FPU_CW_WinReleasePS
602
603inline LONG APIENTRY __FPU_CW_WinScrollWindow (HWND hwnd, LONG dx, LONG dy, __const__ RECTL *prclScroll, __const__ RECTL *prclClip, HRGN hrgnUpdate, PRECTL prclUpdate, ULONG rgfsw)
604{
605 LONG ret = WinScrollWindow (hwnd, dx, dy, prclScroll, prclClip, hrgnUpdate, prclUpdate, rgfsw);
606 __FPU_CW_Restore();
607 return ret;
608}
609#define WinScrollWindow __FPU_CW_WinScrollWindow
610
611inline BOOL APIENTRY __FPU_CW_WinSetActiveWindow (HWND hwndDesktop, HWND hwnd)
612{
613 BOOL ret = WinSetActiveWindow (hwndDesktop, hwnd);
614 __FPU_CW_Restore();
615 return ret;
616}
617#define WinSetActiveWindow __FPU_CW_WinSetActiveWindow
618
619inline BOOL APIENTRY __FPU_CW_WinShowWindow (HWND hwnd, BOOL fShow)
620{
621 BOOL ret = WinShowWindow (hwnd, fShow);
622 __FPU_CW_Restore();
623 return ret;
624}
625#define WinShowWindow __FPU_CW_WinShowWindow
626
627inline BOOL APIENTRY __FPU_CW_WinTerminate (HAB hab)
628{
629 BOOL ret = WinTerminate (hab);
630 __FPU_CW_Restore();
631 return ret;
632}
633#define WinTerminate __FPU_CW_WinTerminate
634
635inline HENUM APIENTRY __FPU_CW_WinBeginEnumWindows (HWND hwnd)
636{
637 HENUM ret = WinBeginEnumWindows (hwnd);
638 __FPU_CW_Restore();
639 return ret;
640}
641#define WinBeginEnumWindows __FPU_CW_WinBeginEnumWindows
642
643inline BOOL APIENTRY __FPU_CW_WinEndEnumWindows (HENUM henum)
644{
645 BOOL ret = WinEndEnumWindows (henum);
646 __FPU_CW_Restore();
647 return ret;
648}
649#define WinEndEnumWindows __FPU_CW_WinEndEnumWindows
650
651inline LONG APIENTRY __FPU_CW_WinExcludeUpdateRegion (HPS hps, HWND hwnd)
652{
653 LONG ret = WinExcludeUpdateRegion (hps, hwnd);
654 __FPU_CW_Restore();
655 return ret;
656}
657#define WinExcludeUpdateRegion __FPU_CW_WinExcludeUpdateRegion
658
659inline HWND APIENTRY __FPU_CW_WinGetNextWindow (HENUM henum)
660{
661 HWND ret = WinGetNextWindow (henum);
662 __FPU_CW_Restore();
663 return ret;
664}
665#define WinGetNextWindow __FPU_CW_WinGetNextWindow
666
667inline HPS APIENTRY __FPU_CW_WinGetScreenPS (HWND hwndDesktop)
668{
669 HPS ret = WinGetScreenPS (hwndDesktop);
670 __FPU_CW_Restore();
671 return ret;
672}
673#define WinGetScreenPS __FPU_CW_WinGetScreenPS
674
675inline BOOL APIENTRY __FPU_CW_WinIsThreadActive (HAB hab)
676{
677 BOOL ret = WinIsThreadActive (hab);
678 __FPU_CW_Restore();
679 return ret;
680}
681#define WinIsThreadActive __FPU_CW_WinIsThreadActive
682
683inline BOOL APIENTRY __FPU_CW_WinLockVisRegions (HWND hwndDesktop, BOOL fLock)
684{
685 BOOL ret = WinLockVisRegions (hwndDesktop, fLock);
686 __FPU_CW_Restore();
687 return ret;
688}
689#define WinLockVisRegions __FPU_CW_WinLockVisRegions
690
691inline BOOL APIENTRY __FPU_CW_WinLockWindowUpdate (HWND hwndDesktop, HWND hwndLockUpdate)
692{
693 BOOL ret = WinLockWindowUpdate (hwndDesktop, hwndLockUpdate);
694 __FPU_CW_Restore();
695 return ret;
696}
697#define WinLockWindowUpdate __FPU_CW_WinLockWindowUpdate
698
699inline BOOL APIENTRY __FPU_CW_WinMapWindowPoints (HWND hwndFrom, HWND hwndTo, PPOINTL prgptl, LONG cwpt)
700{
701 BOOL ret = WinMapWindowPoints (hwndFrom, hwndTo, prgptl, cwpt);
702 __FPU_CW_Restore();
703 return ret;
704}
705#define WinMapWindowPoints __FPU_CW_WinMapWindowPoints
706
707inline HWND APIENTRY __FPU_CW_WinQueryActiveWindow (HWND hwndDesktop)
708{
709 HWND ret = WinQueryActiveWindow (hwndDesktop);
710 __FPU_CW_Restore();
711 return ret;
712}
713#define WinQueryActiveWindow __FPU_CW_WinQueryActiveWindow
714
715inline BOOL APIENTRY __FPU_CW_WinQueryClassInfo (HAB hab, PCSZ pszClassName, PCLASSINFO pClassInfo)
716{
717 BOOL ret = WinQueryClassInfo (hab, pszClassName, pClassInfo);
718 __FPU_CW_Restore();
719 return ret;
720}
721#define WinQueryClassInfo __FPU_CW_WinQueryClassInfo
722
723inline LONG APIENTRY __FPU_CW_WinQueryClassName (HWND hwnd, LONG cchMax, PCH pch)
724{
725 LONG ret = WinQueryClassName (hwnd, cchMax, pch);
726 __FPU_CW_Restore();
727 return ret;
728}
729#define WinQueryClassName __FPU_CW_WinQueryClassName
730
731inline BOOL APIENTRY __FPU_CW_WinQueryUpdateRect (HWND hwnd, PRECTL prcl)
732{
733 BOOL ret = WinQueryUpdateRect (hwnd, prcl);
734 __FPU_CW_Restore();
735 return ret;
736}
737#define WinQueryUpdateRect __FPU_CW_WinQueryUpdateRect
738
739inline LONG APIENTRY __FPU_CW_WinQueryUpdateRegion (HWND hwnd, HRGN hrgn)
740{
741 LONG ret = WinQueryUpdateRegion (hwnd, hrgn);
742 __FPU_CW_Restore();
743 return ret;
744}
745#define WinQueryUpdateRegion __FPU_CW_WinQueryUpdateRegion
746
747inline HWND APIENTRY __FPU_CW_WinQuerySysModalWindow (HWND hwndDesktop)
748{
749 HWND ret = WinQuerySysModalWindow (hwndDesktop);
750 __FPU_CW_Restore();
751 return ret;
752}
753#define WinQuerySysModalWindow __FPU_CW_WinQuerySysModalWindow
754
755inline HDC APIENTRY __FPU_CW_WinQueryWindowDC (HWND hwnd)
756{
757 HDC ret = WinQueryWindowDC (hwnd);
758 __FPU_CW_Restore();
759 return ret;
760}
761#define WinQueryWindowDC __FPU_CW_WinQueryWindowDC
762
763inline PVOID APIENTRY __FPU_CW_WinQueryWindowPtr (HWND hwnd, LONG index)
764{
765 PVOID ret = WinQueryWindowPtr (hwnd, index);
766 __FPU_CW_Restore();
767 return ret;
768}
769#define WinQueryWindowPtr __FPU_CW_WinQueryWindowPtr
770
771inline ULONG APIENTRY __FPU_CW_WinQueryWindowULong (HWND hwnd, LONG index)
772{
773 ULONG ret = WinQueryWindowULong (hwnd, index);
774 __FPU_CW_Restore();
775 return ret;
776}
777#define WinQueryWindowULong __FPU_CW_WinQueryWindowULong
778
779inline USHORT APIENTRY __FPU_CW_WinQueryWindowUShort (HWND hwnd, LONG index)
780{
781 USHORT ret = WinQueryWindowUShort (hwnd, index);
782 __FPU_CW_Restore();
783 return ret;
784}
785#define WinQueryWindowUShort __FPU_CW_WinQueryWindowUShort
786
787inline BOOL APIENTRY __FPU_CW_WinSetSysModalWindow (HWND hwndDesktop, HWND hwnd)
788{
789 BOOL ret = WinSetSysModalWindow (hwndDesktop, hwnd);
790 __FPU_CW_Restore();
791 return ret;
792}
793#define WinSetSysModalWindow __FPU_CW_WinSetSysModalWindow
794
795inline BOOL APIENTRY __FPU_CW_WinSetWindowBits (HWND hwnd, LONG index, ULONG flData, ULONG flMask)
796{
797 BOOL ret = WinSetWindowBits (hwnd, index, flData, flMask);
798 __FPU_CW_Restore();
799 return ret;
800}
801#define WinSetWindowBits __FPU_CW_WinSetWindowBits
802
803inline BOOL APIENTRY __FPU_CW_WinSetWindowPtr (HWND hwnd, LONG index, PVOID p)
804{
805 BOOL ret = WinSetWindowPtr (hwnd, index, p);
806 __FPU_CW_Restore();
807 return ret;
808}
809#define WinSetWindowPtr __FPU_CW_WinSetWindowPtr
810
811inline BOOL APIENTRY __FPU_CW_WinSetWindowULong (HWND hwnd, LONG index, ULONG ul)
812{
813 BOOL ret = WinSetWindowULong (hwnd, index, ul);
814 __FPU_CW_Restore();
815 return ret;
816}
817#define WinSetWindowULong __FPU_CW_WinSetWindowULong
818
819inline BOOL APIENTRY __FPU_CW_WinSetWindowUShort (HWND hwnd, LONG index, USHORT us)
820{
821 BOOL ret = WinSetWindowUShort (hwnd, index, us);
822 __FPU_CW_Restore();
823 return ret;
824}
825#define WinSetWindowUShort __FPU_CW_WinSetWindowUShort
826
827inline PFNWP APIENTRY __FPU_CW_WinSubclassWindow (HWND hwnd, PFNWP pfnwp)
828{
829 PFNWP ret = WinSubclassWindow (hwnd, pfnwp);
830 __FPU_CW_Restore();
831 return ret;
832}
833#define WinSubclassWindow __FPU_CW_WinSubclassWindow
834
835inline BOOL APIENTRY __FPU_CW_WinValidateRect (HWND hwnd, __const__ RECTL *prcl, BOOL fIncludeChildren)
836{
837 BOOL ret = WinValidateRect (hwnd, prcl, fIncludeChildren);
838 __FPU_CW_Restore();
839 return ret;
840}
841#define WinValidateRect __FPU_CW_WinValidateRect
842
843inline BOOL APIENTRY __FPU_CW_WinValidateRegion (HWND hwnd, HRGN hrgn, BOOL fIncludeChildren)
844{
845 BOOL ret = WinValidateRegion (hwnd, hrgn, fIncludeChildren);
846 __FPU_CW_Restore();
847 return ret;
848}
849#define WinValidateRegion __FPU_CW_WinValidateRegion
850
851inline HWND APIENTRY __FPU_CW_WinWindowFromDC (HDC hdc)
852{
853 HWND ret = WinWindowFromDC (hdc);
854 __FPU_CW_Restore();
855 return ret;
856}
857#define WinWindowFromDC __FPU_CW_WinWindowFromDC
858
859inline HWND APIENTRY __FPU_CW_WinWindowFromPoint (HWND hwnd, __const__ POINTL *pptl, BOOL fChildren)
860{
861 HWND ret = WinWindowFromPoint (hwnd, pptl, fChildren);
862 __FPU_CW_Restore();
863 return ret;
864}
865#define WinWindowFromPoint __FPU_CW_WinWindowFromPoint
866
867inline ULONG APIENTRY __FPU_CW_WinCopyAccelTable (HACCEL haccel, PACCELTABLE pAccelTable, ULONG cbCopyMax)
868{
869 ULONG ret = WinCopyAccelTable (haccel, pAccelTable, cbCopyMax);
870 __FPU_CW_Restore();
871 return ret;
872}
873#define WinCopyAccelTable __FPU_CW_WinCopyAccelTable
874
875inline HACCEL APIENTRY __FPU_CW_WinCreateAccelTable (HAB hab, PACCELTABLE pAccelTable)
876{
877 HACCEL ret = WinCreateAccelTable (hab, pAccelTable);
878 __FPU_CW_Restore();
879 return ret;
880}
881#define WinCreateAccelTable __FPU_CW_WinCreateAccelTable
882
883inline BOOL APIENTRY __FPU_CW_WinDestroyAccelTable (HACCEL haccel)
884{
885 BOOL ret = WinDestroyAccelTable (haccel);
886 __FPU_CW_Restore();
887 return ret;
888}
889#define WinDestroyAccelTable __FPU_CW_WinDestroyAccelTable
890
891inline HACCEL APIENTRY __FPU_CW_WinLoadAccelTable (HAB hab, HMODULE hmod, ULONG idAccelTable)
892{
893 HACCEL ret = WinLoadAccelTable (hab, hmod, idAccelTable);
894 __FPU_CW_Restore();
895 return ret;
896}
897#define WinLoadAccelTable __FPU_CW_WinLoadAccelTable
898
899inline HACCEL APIENTRY __FPU_CW_WinQueryAccelTable (HAB hab, HWND hwndFrame)
900{
901 HACCEL ret = WinQueryAccelTable (hab, hwndFrame);
902 __FPU_CW_Restore();
903 return ret;
904}
905#define WinQueryAccelTable __FPU_CW_WinQueryAccelTable
906
907inline BOOL APIENTRY __FPU_CW_WinSetAccelTable (HAB hab, HACCEL haccel, HWND hwndFrame)
908{
909 BOOL ret = WinSetAccelTable (hab, haccel, hwndFrame);
910 __FPU_CW_Restore();
911 return ret;
912}
913#define WinSetAccelTable __FPU_CW_WinSetAccelTable
914
915inline BOOL APIENTRY __FPU_CW_WinTranslateAccel (HAB hab, HWND hwnd, HACCEL haccel, PQMSG pqmsg)
916{
917 BOOL ret = WinTranslateAccel (hab, hwnd, haccel, pqmsg);
918 __FPU_CW_Restore();
919 return ret;
920}
921#define WinTranslateAccel __FPU_CW_WinTranslateAccel
922
923inline ATOM APIENTRY __FPU_CW_WinAddAtom (HATOMTBL hAtomTbl, PCSZ pszAtomName)
924{
925 ATOM ret = WinAddAtom (hAtomTbl, pszAtomName);
926 __FPU_CW_Restore();
927 return ret;
928}
929#define WinAddAtom __FPU_CW_WinAddAtom
930
931inline HATOMTBL APIENTRY __FPU_CW_WinCreateAtomTable (ULONG cbInitial, ULONG cBuckets)
932{
933 HATOMTBL ret = WinCreateAtomTable (cbInitial, cBuckets);
934 __FPU_CW_Restore();
935 return ret;
936}
937#define WinCreateAtomTable __FPU_CW_WinCreateAtomTable
938
939inline ATOM APIENTRY __FPU_CW_WinDeleteAtom (HATOMTBL hAtomTbl, ATOM atom)
940{
941 ATOM ret = WinDeleteAtom (hAtomTbl, atom);
942 __FPU_CW_Restore();
943 return ret;
944}
945#define WinDeleteAtom __FPU_CW_WinDeleteAtom
946
947inline HATOMTBL APIENTRY __FPU_CW_WinDestroyAtomTable (HATOMTBL hAtomTbl)
948{
949 HATOMTBL ret = WinDestroyAtomTable (hAtomTbl);
950 __FPU_CW_Restore();
951 return ret;
952}
953#define WinDestroyAtomTable __FPU_CW_WinDestroyAtomTable
954
955inline ATOM APIENTRY __FPU_CW_WinFindAtom (HATOMTBL hAtomTbl, PCSZ pszAtomName)
956{
957 ATOM ret = WinFindAtom (hAtomTbl, pszAtomName);
958 __FPU_CW_Restore();
959 return ret;
960}
961#define WinFindAtom __FPU_CW_WinFindAtom
962
963inline ULONG APIENTRY __FPU_CW_WinQueryAtomLength (HATOMTBL hAtomTbl, ATOM atom)
964{
965 ULONG ret = WinQueryAtomLength (hAtomTbl, atom);
966 __FPU_CW_Restore();
967 return ret;
968}
969#define WinQueryAtomLength __FPU_CW_WinQueryAtomLength
970
971inline ULONG APIENTRY __FPU_CW_WinQueryAtomName (HATOMTBL hAtomTbl, ATOM atom, PSZ pchBuffer, ULONG cchBufferMax)
972{
973 ULONG ret = WinQueryAtomName (hAtomTbl, atom, pchBuffer, cchBufferMax);
974 __FPU_CW_Restore();
975 return ret;
976}
977#define WinQueryAtomName __FPU_CW_WinQueryAtomName
978
979inline ULONG APIENTRY __FPU_CW_WinQueryAtomUsage (HATOMTBL hAtomTbl, ATOM atom)
980{
981 ULONG ret = WinQueryAtomUsage (hAtomTbl, atom);
982 __FPU_CW_Restore();
983 return ret;
984}
985#define WinQueryAtomUsage __FPU_CW_WinQueryAtomUsage
986
987inline HATOMTBL APIENTRY __FPU_CW_WinQuerySystemAtomTable (VOID)
988{
989 HATOMTBL ret = WinQuerySystemAtomTable ();
990 __FPU_CW_Restore();
991 return ret;
992}
993#define WinQuerySystemAtomTable __FPU_CW_WinQuerySystemAtomTable
994
995inline BOOL APIENTRY __FPU_CW_WinCloseClipbrd (HAB hab)
996{
997 BOOL ret = WinCloseClipbrd (hab);
998 __FPU_CW_Restore();
999 return ret;
1000}
1001#define WinCloseClipbrd __FPU_CW_WinCloseClipbrd
1002
1003inline BOOL APIENTRY __FPU_CW_WinEmptyClipbrd (HAB hab)
1004{
1005 BOOL ret = WinEmptyClipbrd (hab);
1006 __FPU_CW_Restore();
1007 return ret;
1008}
1009#define WinEmptyClipbrd __FPU_CW_WinEmptyClipbrd
1010
1011inline ULONG APIENTRY __FPU_CW_WinEnumClipbrdFmts (HAB hab, ULONG fmt)
1012{
1013 ULONG ret = WinEnumClipbrdFmts (hab, fmt);
1014 __FPU_CW_Restore();
1015 return ret;
1016}
1017#define WinEnumClipbrdFmts __FPU_CW_WinEnumClipbrdFmts
1018
1019inline BOOL APIENTRY __FPU_CW_WinOpenClipbrd (HAB hab)
1020{
1021 BOOL ret = WinOpenClipbrd (hab);
1022 __FPU_CW_Restore();
1023 return ret;
1024}
1025#define WinOpenClipbrd __FPU_CW_WinOpenClipbrd
1026
1027inline ULONG APIENTRY __FPU_CW_WinQueryClipbrdData (HAB hab, ULONG fmt)
1028{
1029 ULONG ret = WinQueryClipbrdData (hab, fmt);
1030 __FPU_CW_Restore();
1031 return ret;
1032}
1033#define WinQueryClipbrdData __FPU_CW_WinQueryClipbrdData
1034
1035inline BOOL APIENTRY __FPU_CW_WinQueryClipbrdFmtInfo (HAB hab, ULONG fmt, PULONG prgfFmtInfo)
1036{
1037 BOOL ret = WinQueryClipbrdFmtInfo (hab, fmt, prgfFmtInfo);
1038 __FPU_CW_Restore();
1039 return ret;
1040}
1041#define WinQueryClipbrdFmtInfo __FPU_CW_WinQueryClipbrdFmtInfo
1042
1043inline HWND APIENTRY __FPU_CW_WinQueryClipbrdOwner (HAB hab)
1044{
1045 HWND ret = WinQueryClipbrdOwner (hab);
1046 __FPU_CW_Restore();
1047 return ret;
1048}
1049#define WinQueryClipbrdOwner __FPU_CW_WinQueryClipbrdOwner
1050
1051inline HWND APIENTRY __FPU_CW_WinQueryClipbrdViewer (HAB hab)
1052{
1053 HWND ret = WinQueryClipbrdViewer (hab);
1054 __FPU_CW_Restore();
1055 return ret;
1056}
1057#define WinQueryClipbrdViewer __FPU_CW_WinQueryClipbrdViewer
1058
1059inline BOOL APIENTRY __FPU_CW_WinSetClipbrdData (HAB hab, ULONG ulData, ULONG fmt, ULONG rgfFmtInfo)
1060{
1061 BOOL ret = WinSetClipbrdData (hab, ulData, fmt, rgfFmtInfo);
1062 __FPU_CW_Restore();
1063 return ret;
1064}
1065#define WinSetClipbrdData __FPU_CW_WinSetClipbrdData
1066
1067inline BOOL APIENTRY __FPU_CW_WinSetClipbrdOwner (HAB hab, HWND hwnd)
1068{
1069 BOOL ret = WinSetClipbrdOwner (hab, hwnd);
1070 __FPU_CW_Restore();
1071 return ret;
1072}
1073#define WinSetClipbrdOwner __FPU_CW_WinSetClipbrdOwner
1074
1075inline BOOL APIENTRY __FPU_CW_WinSetClipbrdViewer (HAB hab, HWND hwndNewClipViewer)
1076{
1077 BOOL ret = WinSetClipbrdViewer (hab, hwndNewClipViewer);
1078 __FPU_CW_Restore();
1079 return ret;
1080}
1081#define WinSetClipbrdViewer __FPU_CW_WinSetClipbrdViewer
1082
1083inline BOOL APIENTRY __FPU_CW_WinDdeInitiate (HWND hwndClient, PCSZ pszAppName, PCSZ pszTopicName, __const__ CONVCONTEXT *pcctxt)
1084{
1085 BOOL ret = WinDdeInitiate (hwndClient, pszAppName, pszTopicName, pcctxt);
1086 __FPU_CW_Restore();
1087 return ret;
1088}
1089#define WinDdeInitiate __FPU_CW_WinDdeInitiate
1090
1091inline BOOL APIENTRY __FPU_CW_WinDdePostMsg (HWND hwndTo, HWND hwndFrom, ULONG wm, __const__ DDESTRUCT *pddest, ULONG flOptions)
1092{
1093 BOOL ret = WinDdePostMsg (hwndTo, hwndFrom, wm, pddest, flOptions);
1094 __FPU_CW_Restore();
1095 return ret;
1096}
1097#define WinDdePostMsg __FPU_CW_WinDdePostMsg
1098
1099inline MRESULT APIENTRY __FPU_CW_WinDdeRespond (HWND hwndClient, HWND hwndServer, PCSZ pszAppName, PCSZ pszTopicName, __const__ CONVCONTEXT *pcctxt)
1100{
1101 MRESULT ret = WinDdeRespond (hwndClient, hwndServer, pszAppName, pszTopicName, pcctxt);
1102 __FPU_CW_Restore();
1103 return ret;
1104}
1105#define WinDdeRespond __FPU_CW_WinDdeRespond
1106
1107inline ULONG APIENTRY __FPU_CW_WinCompareStrings (HAB hab, ULONG idcp, ULONG idcc, PCSZ psz1, PCSZ psz2, ULONG reserved)
1108{
1109 ULONG ret = WinCompareStrings (hab, idcp, idcc, psz1, psz2, reserved);
1110 __FPU_CW_Restore();
1111 return ret;
1112}
1113#define WinCompareStrings __FPU_CW_WinCompareStrings
1114
1115inline UCHAR APIENTRY __FPU_CW_WinCpTranslateChar (HAB hab, ULONG cpSrc, UCHAR chSrc, ULONG cpDst)
1116{
1117 UCHAR ret = WinCpTranslateChar (hab, cpSrc, chSrc, cpDst);
1118 __FPU_CW_Restore();
1119 return ret;
1120}
1121#define WinCpTranslateChar __FPU_CW_WinCpTranslateChar
1122
1123inline BOOL APIENTRY __FPU_CW_WinCpTranslateString (HAB hab, ULONG cpSrc, PCSZ pszSrc, ULONG cpDst, ULONG cchDestMax, PSZ pchDest)
1124{
1125 BOOL ret = WinCpTranslateString (hab, cpSrc, pszSrc, cpDst, cchDestMax, pchDest);
1126 __FPU_CW_Restore();
1127 return ret;
1128}
1129#define WinCpTranslateString __FPU_CW_WinCpTranslateString
1130
1131inline PSZ APIENTRY __FPU_CW_WinNextChar (HAB hab, ULONG idcp, ULONG idcc, PCSZ psz)
1132{
1133 PSZ ret = WinNextChar (hab, idcp, idcc, psz);
1134 __FPU_CW_Restore();
1135 return ret;
1136}
1137#define WinNextChar __FPU_CW_WinNextChar
1138
1139inline PSZ APIENTRY __FPU_CW_WinPrevChar (HAB hab, ULONG idcp, ULONG idcc, PCSZ pszStart, PCSZ psz)
1140{
1141 PSZ ret = WinPrevChar (hab, idcp, idcc, pszStart, psz);
1142 __FPU_CW_Restore();
1143 return ret;
1144}
1145#define WinPrevChar __FPU_CW_WinPrevChar
1146
1147inline ULONG APIENTRY __FPU_CW_WinQueryCp (HMQ hmq)
1148{
1149 ULONG ret = WinQueryCp (hmq);
1150 __FPU_CW_Restore();
1151 return ret;
1152}
1153#define WinQueryCp __FPU_CW_WinQueryCp
1154
1155inline ULONG APIENTRY __FPU_CW_WinQueryCpList (HAB hab, ULONG ccpMax, PULONG prgcp)
1156{
1157 ULONG ret = WinQueryCpList (hab, ccpMax, prgcp);
1158 __FPU_CW_Restore();
1159 return ret;
1160}
1161#define WinQueryCpList __FPU_CW_WinQueryCpList
1162
1163inline BOOL APIENTRY __FPU_CW_WinSetCp (HMQ hmq, ULONG idCodePage)
1164{
1165 BOOL ret = WinSetCp (hmq, idCodePage);
1166 __FPU_CW_Restore();
1167 return ret;
1168}
1169#define WinSetCp __FPU_CW_WinSetCp
1170
1171inline ULONG APIENTRY __FPU_CW_WinUpper (HAB hab, ULONG idcp, ULONG idcc, PSZ psz)
1172{
1173 ULONG ret = WinUpper (hab, idcp, idcc, psz);
1174 __FPU_CW_Restore();
1175 return ret;
1176}
1177#define WinUpper __FPU_CW_WinUpper
1178
1179inline ULONG APIENTRY __FPU_CW_WinUpperChar (HAB hab, ULONG idcp, ULONG idcc, ULONG c)
1180{
1181 ULONG ret = WinUpperChar (hab, idcp, idcc, c);
1182 __FPU_CW_Restore();
1183 return ret;
1184}
1185#define WinUpperChar __FPU_CW_WinUpperChar
1186
1187inline BOOL APIENTRY __FPU_CW_WinCreateCursor (HWND hwnd, LONG x, LONG y, LONG cx, LONG cy, ULONG fs, PRECTL prclClip)
1188{
1189 BOOL ret = WinCreateCursor (hwnd, x, y, cx, cy, fs, prclClip);
1190 __FPU_CW_Restore();
1191 return ret;
1192}
1193#define WinCreateCursor __FPU_CW_WinCreateCursor
1194
1195inline BOOL APIENTRY __FPU_CW_WinDestroyCursor (HWND hwnd)
1196{
1197 BOOL ret = WinDestroyCursor (hwnd);
1198 __FPU_CW_Restore();
1199 return ret;
1200}
1201#define WinDestroyCursor __FPU_CW_WinDestroyCursor
1202
1203inline BOOL APIENTRY __FPU_CW_WinShowCursor (HWND hwnd, BOOL fShow)
1204{
1205 BOOL ret = WinShowCursor (hwnd, fShow);
1206 __FPU_CW_Restore();
1207 return ret;
1208}
1209#define WinShowCursor __FPU_CW_WinShowCursor
1210
1211inline BOOL APIENTRY __FPU_CW_WinQueryCursorInfo (HWND hwndDesktop, PCURSORINFO pCursorInfo)
1212{
1213 BOOL ret = WinQueryCursorInfo (hwndDesktop, pCursorInfo);
1214 __FPU_CW_Restore();
1215 return ret;
1216}
1217#define WinQueryCursorInfo __FPU_CW_WinQueryCursorInfo
1218
1219inline BOOL APIENTRY __FPU_CW_WinQueryDesktopBkgnd (HWND hwndDesktop, PDESKTOP pdsk)
1220{
1221 BOOL ret = WinQueryDesktopBkgnd (hwndDesktop, pdsk);
1222 __FPU_CW_Restore();
1223 return ret;
1224}
1225#define WinQueryDesktopBkgnd __FPU_CW_WinQueryDesktopBkgnd
1226
1227inline HBITMAP APIENTRY __FPU_CW_WinSetDesktopBkgnd (HWND hwndDesktop, __const__ DESKTOP *pdskNew)
1228{
1229 HBITMAP ret = WinSetDesktopBkgnd (hwndDesktop, pdskNew);
1230 __FPU_CW_Restore();
1231 return ret;
1232}
1233#define WinSetDesktopBkgnd __FPU_CW_WinSetDesktopBkgnd
1234
1235inline BOOL APIENTRY __FPU_CW_WinAlarm (HWND hwndDesktop, ULONG rgfType)
1236{
1237 BOOL ret = WinAlarm (hwndDesktop, rgfType);
1238 __FPU_CW_Restore();
1239 return ret;
1240}
1241#define WinAlarm __FPU_CW_WinAlarm
1242
1243inline MRESULT APIENTRY __FPU_CW_WinDefDlgProc (HWND hwndDlg, ULONG msg, MPARAM mp1, MPARAM mp2)
1244{
1245 MRESULT ret = WinDefDlgProc (hwndDlg, msg, mp1, mp2);
1246 __FPU_CW_Restore();
1247 return ret;
1248}
1249#define WinDefDlgProc __FPU_CW_WinDefDlgProc
1250
1251inline BOOL APIENTRY __FPU_CW_WinDismissDlg (HWND hwndDlg, ULONG usResult)
1252{
1253 BOOL ret = WinDismissDlg (hwndDlg, usResult);
1254 __FPU_CW_Restore();
1255 return ret;
1256}
1257#define WinDismissDlg __FPU_CW_WinDismissDlg
1258
1259inline ULONG APIENTRY __FPU_CW_WinDlgBox (HWND hwndParent, HWND hwndOwner, PFNWP pfnDlgProc, HMODULE hmod, ULONG idDlg, PVOID pCreateParams)
1260{
1261 ULONG ret = WinDlgBox (hwndParent, hwndOwner, pfnDlgProc, hmod, idDlg, pCreateParams);
1262 __FPU_CW_Restore();
1263 return ret;
1264}
1265#define WinDlgBox __FPU_CW_WinDlgBox
1266
1267inline BOOL APIENTRY __FPU_CW_WinGetDlgMsg (HWND hwndDlg, PQMSG pqmsg)
1268{
1269 BOOL ret = WinGetDlgMsg (hwndDlg, pqmsg);
1270 __FPU_CW_Restore();
1271 return ret;
1272}
1273#define WinGetDlgMsg __FPU_CW_WinGetDlgMsg
1274
1275inline HWND APIENTRY __FPU_CW_WinLoadDlg (HWND hwndParent, HWND hwndOwner, PFNWP pfnDlgProc, HMODULE hmod, ULONG idDlg, PVOID pCreateParams)
1276{
1277 HWND ret = WinLoadDlg (hwndParent, hwndOwner, pfnDlgProc, hmod, idDlg, pCreateParams);
1278 __FPU_CW_Restore();
1279 return ret;
1280}
1281#define WinLoadDlg __FPU_CW_WinLoadDlg
1282
1283inline ULONG APIENTRY __FPU_CW_WinMessageBox (HWND hwndParent, HWND hwndOwner, PCSZ pszText, PCSZ pszCaption, ULONG idWindow, ULONG flStyle)
1284{
1285 ULONG ret = WinMessageBox (hwndParent, hwndOwner, pszText, pszCaption, idWindow, flStyle);
1286 __FPU_CW_Restore();
1287 return ret;
1288}
1289#define WinMessageBox __FPU_CW_WinMessageBox
1290
1291inline ULONG APIENTRY __FPU_CW_WinMessageBox2 (HWND hwndParent, HWND hwndOwner, PCSZ pszText, PCSZ pszCaption, ULONG idWindow, PMB2INFO pmb2info)
1292{
1293 ULONG ret = WinMessageBox2 (hwndParent, hwndOwner, pszText, pszCaption, idWindow, pmb2info);
1294 __FPU_CW_Restore();
1295 return ret;
1296}
1297#define WinMessageBox2 __FPU_CW_WinMessageBox2
1298
1299inline BOOL APIENTRY __FPU_CW_WinQueryDlgItemShort (HWND hwndDlg, ULONG idItem, PSHORT pResult, BOOL fSigned)
1300{
1301 BOOL ret = WinQueryDlgItemShort (hwndDlg, idItem, pResult, fSigned);
1302 __FPU_CW_Restore();
1303 return ret;
1304}
1305#define WinQueryDlgItemShort __FPU_CW_WinQueryDlgItemShort
1306
1307inline ULONG APIENTRY __FPU_CW_WinQueryDlgItemText (HWND hwndDlg, ULONG idItem, LONG cchBufferMax, PSZ pchBuffer)
1308{
1309 ULONG ret = WinQueryDlgItemText (hwndDlg, idItem, cchBufferMax, pchBuffer);
1310 __FPU_CW_Restore();
1311 return ret;
1312}
1313#define WinQueryDlgItemText __FPU_CW_WinQueryDlgItemText
1314
1315inline LONG APIENTRY __FPU_CW_WinQueryDlgItemTextLength (HWND hwndDlg, ULONG idItem)
1316{
1317 LONG ret = WinQueryDlgItemTextLength (hwndDlg, idItem);
1318 __FPU_CW_Restore();
1319 return ret;
1320}
1321#define WinQueryDlgItemTextLength __FPU_CW_WinQueryDlgItemTextLength
1322
1323inline BOOL APIENTRY __FPU_CW_WinSetDlgItemShort (HWND hwndDlg, ULONG idItem, USHORT usValue, BOOL fSigned)
1324{
1325 BOOL ret = WinSetDlgItemShort (hwndDlg, idItem, usValue, fSigned);
1326 __FPU_CW_Restore();
1327 return ret;
1328}
1329#define WinSetDlgItemShort __FPU_CW_WinSetDlgItemShort
1330
1331inline BOOL APIENTRY __FPU_CW_WinSetDlgItemText (HWND hwndDlg, ULONG idItem, PCSZ pszText)
1332{
1333 BOOL ret = WinSetDlgItemText (hwndDlg, idItem, pszText);
1334 __FPU_CW_Restore();
1335 return ret;
1336}
1337#define WinSetDlgItemText __FPU_CW_WinSetDlgItemText
1338
1339inline HWND APIENTRY __FPU_CW_WinCreateDlg (HWND hwndParent, HWND hwndOwner, PFNWP pfnDlgProc, PDLGTEMPLATE pdlgt, PVOID pCreateParams)
1340{
1341 HWND ret = WinCreateDlg (hwndParent, hwndOwner, pfnDlgProc, pdlgt, pCreateParams);
1342 __FPU_CW_Restore();
1343 return ret;
1344}
1345#define WinCreateDlg __FPU_CW_WinCreateDlg
1346
1347inline HWND APIENTRY __FPU_CW_WinEnumDlgItem (HWND hwndDlg, HWND hwnd, ULONG code)
1348{
1349 HWND ret = WinEnumDlgItem (hwndDlg, hwnd, code);
1350 __FPU_CW_Restore();
1351 return ret;
1352}
1353#define WinEnumDlgItem __FPU_CW_WinEnumDlgItem
1354
1355inline BOOL APIENTRY __FPU_CW_WinMapDlgPoints (HWND hwndDlg, PPOINTL prgwptl, ULONG cwpt, BOOL fCalcWindowCoords)
1356{
1357 BOOL ret = WinMapDlgPoints (hwndDlg, prgwptl, cwpt, fCalcWindowCoords);
1358 __FPU_CW_Restore();
1359 return ret;
1360}
1361#define WinMapDlgPoints __FPU_CW_WinMapDlgPoints
1362
1363inline ULONG APIENTRY __FPU_CW_WinProcessDlg (HWND hwndDlg)
1364{
1365 ULONG ret = WinProcessDlg (hwndDlg);
1366 __FPU_CW_Restore();
1367 return ret;
1368}
1369#define WinProcessDlg __FPU_CW_WinProcessDlg
1370
1371inline MRESULT APIENTRY __FPU_CW_WinSendDlgItemMsg (HWND hwndDlg, ULONG idItem, ULONG msg, MPARAM mp1, MPARAM mp2)
1372{
1373 MRESULT ret = WinSendDlgItemMsg (hwndDlg, idItem, msg, mp1, mp2);
1374 __FPU_CW_Restore();
1375 return ret;
1376}
1377#define WinSendDlgItemMsg __FPU_CW_WinSendDlgItemMsg
1378
1379inline LONG APIENTRY __FPU_CW_WinSubstituteStrings (HWND hwnd, PCSZ pszSrc, LONG cchDstMax, PSZ pszDst)
1380{
1381 LONG ret = WinSubstituteStrings (hwnd, pszSrc, cchDstMax, pszDst);
1382 __FPU_CW_Restore();
1383 return ret;
1384}
1385#define WinSubstituteStrings __FPU_CW_WinSubstituteStrings
1386
1387inline ERRORID APIENTRY __FPU_CW_WinGetLastError (HAB hab)
1388{
1389 ERRORID ret = WinGetLastError (hab);
1390 __FPU_CW_Restore();
1391 return ret;
1392}
1393#define WinGetLastError __FPU_CW_WinGetLastError
1394
1395inline BOOL APIENTRY __FPU_CW_WinFreeErrorInfo (PERRINFO perrinfo)
1396{
1397 BOOL ret = WinFreeErrorInfo (perrinfo);
1398 __FPU_CW_Restore();
1399 return ret;
1400}
1401#define WinFreeErrorInfo __FPU_CW_WinFreeErrorInfo
1402
1403inline PERRINFO APIENTRY __FPU_CW_WinGetErrorInfo (HAB hab)
1404{
1405 PERRINFO ret = WinGetErrorInfo (hab);
1406 __FPU_CW_Restore();
1407 return ret;
1408}
1409#define WinGetErrorInfo __FPU_CW_WinGetErrorInfo
1410
1411inline BOOL APIENTRY __FPU_CW_WinCallMsgFilter (HAB hab, PQMSG pqmsg, ULONG msgf)
1412{
1413 BOOL ret = WinCallMsgFilter (hab, pqmsg, msgf);
1414 __FPU_CW_Restore();
1415 return ret;
1416}
1417#define WinCallMsgFilter __FPU_CW_WinCallMsgFilter
1418
1419inline BOOL APIENTRY __FPU_CW_WinReleaseHook (HAB hab, HMQ hmq, LONG iHook, PFN pfnHook, HMODULE hmod)
1420{
1421 BOOL ret = WinReleaseHook (hab, hmq, iHook, pfnHook, hmod);
1422 __FPU_CW_Restore();
1423 return ret;
1424}
1425#define WinReleaseHook __FPU_CW_WinReleaseHook
1426
1427inline BOOL APIENTRY __FPU_CW_WinSetHook (HAB hab, HMQ hmq, LONG iHook, PFN pfnHook, HMODULE hmod)
1428{
1429 BOOL ret = WinSetHook (hab, hmq, iHook, pfnHook, hmod);
1430 __FPU_CW_Restore();
1431 return ret;
1432}
1433#define WinSetHook __FPU_CW_WinSetHook
1434
1435inline BOOL APIENTRY __FPU_CW_WinFocusChange (HWND hwndDesktop, HWND hwndSetFocus, ULONG flFocusChange)
1436{
1437 BOOL ret = WinFocusChange (hwndDesktop, hwndSetFocus, flFocusChange);
1438 __FPU_CW_Restore();
1439 return ret;
1440}
1441#define WinFocusChange __FPU_CW_WinFocusChange
1442
1443inline BOOL APIENTRY __FPU_CW_WinLockupSystem (HAB hab)
1444{
1445 BOOL ret = WinLockupSystem (hab);
1446 __FPU_CW_Restore();
1447 return ret;
1448}
1449#define WinLockupSystem __FPU_CW_WinLockupSystem
1450
1451inline BOOL APIENTRY __FPU_CW_WinSetFocus (HWND hwndDesktop, HWND hwndSetFocus)
1452{
1453 BOOL ret = WinSetFocus (hwndDesktop, hwndSetFocus);
1454 __FPU_CW_Restore();
1455 return ret;
1456}
1457#define WinSetFocus __FPU_CW_WinSetFocus
1458
1459inline BOOL APIENTRY __FPU_CW_WinUnlockSystem (HAB hab, PCSZ pszPassword)
1460{
1461 BOOL ret = WinUnlockSystem (hab, pszPassword);
1462 __FPU_CW_Restore();
1463 return ret;
1464}
1465#define WinUnlockSystem __FPU_CW_WinUnlockSystem
1466
1467inline BOOL APIENTRY __FPU_CW_WinCheckInput (HAB hab)
1468{
1469 BOOL ret = WinCheckInput (hab);
1470 __FPU_CW_Restore();
1471 return ret;
1472}
1473#define WinCheckInput __FPU_CW_WinCheckInput
1474
1475inline BOOL APIENTRY __FPU_CW_WinEnablePhysInput (HWND hwndDesktop, BOOL fEnable)
1476{
1477 BOOL ret = WinEnablePhysInput (hwndDesktop, fEnable);
1478 __FPU_CW_Restore();
1479 return ret;
1480}
1481#define WinEnablePhysInput __FPU_CW_WinEnablePhysInput
1482
1483inline LONG APIENTRY __FPU_CW_WinGetKeyState (HWND hwndDesktop, LONG vkey)
1484{
1485 LONG ret = WinGetKeyState (hwndDesktop, vkey);
1486 __FPU_CW_Restore();
1487 return ret;
1488}
1489#define WinGetKeyState __FPU_CW_WinGetKeyState
1490
1491inline LONG APIENTRY __FPU_CW_WinGetPhysKeyState (HWND hwndDesktop, LONG sc)
1492{
1493 LONG ret = WinGetPhysKeyState (hwndDesktop, sc);
1494 __FPU_CW_Restore();
1495 return ret;
1496}
1497#define WinGetPhysKeyState __FPU_CW_WinGetPhysKeyState
1498
1499inline BOOL APIENTRY __FPU_CW_WinIsPhysInputEnabled (HWND hwndDesktop)
1500{
1501 BOOL ret = WinIsPhysInputEnabled (hwndDesktop);
1502 __FPU_CW_Restore();
1503 return ret;
1504}
1505#define WinIsPhysInputEnabled __FPU_CW_WinIsPhysInputEnabled
1506
1507inline HWND APIENTRY __FPU_CW_WinQueryCapture (HWND hwndDesktop)
1508{
1509 HWND ret = WinQueryCapture (hwndDesktop);
1510 __FPU_CW_Restore();
1511 return ret;
1512}
1513#define WinQueryCapture __FPU_CW_WinQueryCapture
1514
1515inline HWND APIENTRY __FPU_CW_WinQueryFocus (HWND hwndDesktop)
1516{
1517 HWND ret = WinQueryFocus (hwndDesktop);
1518 __FPU_CW_Restore();
1519 return ret;
1520}
1521#define WinQueryFocus __FPU_CW_WinQueryFocus
1522
1523inline ULONG APIENTRY __FPU_CW_WinQueryVisibleRegion (HWND hwnd, HRGN hrgn)
1524{
1525 ULONG ret = WinQueryVisibleRegion (hwnd, hrgn);
1526 __FPU_CW_Restore();
1527 return ret;
1528}
1529#define WinQueryVisibleRegion __FPU_CW_WinQueryVisibleRegion
1530
1531inline BOOL APIENTRY __FPU_CW_WinSetCapture (HWND hwndDesktop, HWND hwnd)
1532{
1533 BOOL ret = WinSetCapture (hwndDesktop, hwnd);
1534 __FPU_CW_Restore();
1535 return ret;
1536}
1537#define WinSetCapture __FPU_CW_WinSetCapture
1538
1539inline BOOL APIENTRY __FPU_CW_WinSetKeyboardStateTable (HWND hwndDesktop, PBYTE pKeyStateTable, BOOL fSet)
1540{
1541 BOOL ret = WinSetKeyboardStateTable (hwndDesktop, pKeyStateTable, fSet);
1542 __FPU_CW_Restore();
1543 return ret;
1544}
1545#define WinSetKeyboardStateTable __FPU_CW_WinSetKeyboardStateTable
1546
1547inline BOOL APIENTRY __FPU_CW_WinSetVisibleRegionNotify (HWND hwnd, BOOL fEnable)
1548{
1549 BOOL ret = WinSetVisibleRegionNotify (hwnd, fEnable);
1550 __FPU_CW_Restore();
1551 return ret;
1552}
1553#define WinSetVisibleRegionNotify __FPU_CW_WinSetVisibleRegionNotify
1554
1555inline BOOL APIENTRY __FPU_CW_WinDeleteLibrary (HAB hab, HLIB libhandle)
1556{
1557 BOOL ret = WinDeleteLibrary (hab, libhandle);
1558 __FPU_CW_Restore();
1559 return ret;
1560}
1561#define WinDeleteLibrary __FPU_CW_WinDeleteLibrary
1562
1563inline BOOL APIENTRY __FPU_CW_WinDeleteProcedure (HAB hab, PFNWP wndproc)
1564{
1565 BOOL ret = WinDeleteProcedure (hab, wndproc);
1566 __FPU_CW_Restore();
1567 return ret;
1568}
1569#define WinDeleteProcedure __FPU_CW_WinDeleteProcedure
1570
1571inline HLIB APIENTRY __FPU_CW_WinLoadLibrary (HAB hab, PCSZ libname)
1572{
1573 HLIB ret = WinLoadLibrary (hab, libname);
1574 __FPU_CW_Restore();
1575 return ret;
1576}
1577#define WinLoadLibrary __FPU_CW_WinLoadLibrary
1578
1579inline PFNWP APIENTRY __FPU_CW_WinLoadProcedure (HAB hab, HLIB libhandle, PSZ procname)
1580{
1581 PFNWP ret = WinLoadProcedure (hab, libhandle, procname);
1582 __FPU_CW_Restore();
1583 return ret;
1584}
1585#define WinLoadProcedure __FPU_CW_WinLoadProcedure
1586
1587inline HWND APIENTRY __FPU_CW_WinCreateMenu (HWND hwndParent, CPVOID lpmt)
1588{
1589 HWND ret = WinCreateMenu (hwndParent, lpmt);
1590 __FPU_CW_Restore();
1591 return ret;
1592}
1593#define WinCreateMenu __FPU_CW_WinCreateMenu
1594
1595inline HWND APIENTRY __FPU_CW_WinLoadMenu (HWND hwndFrame, HMODULE hmod, ULONG idMenu)
1596{
1597 HWND ret = WinLoadMenu (hwndFrame, hmod, idMenu);
1598 __FPU_CW_Restore();
1599 return ret;
1600}
1601#define WinLoadMenu __FPU_CW_WinLoadMenu
1602
1603inline BOOL APIENTRY __FPU_CW_WinPopupMenu (HWND hwndParent, HWND hwndOwner, HWND hwndMenu, LONG x, LONG y, LONG idItem, ULONG fs)
1604{
1605 BOOL ret = WinPopupMenu (hwndParent, hwndOwner, hwndMenu, x, y, idItem, fs);
1606 __FPU_CW_Restore();
1607 return ret;
1608}
1609#define WinPopupMenu __FPU_CW_WinPopupMenu
1610
1611inline BOOL APIENTRY __FPU_CW_WinBroadcastMsg (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2, ULONG rgf)
1612{
1613 BOOL ret = WinBroadcastMsg (hwnd, msg, mp1, mp2, rgf);
1614 __FPU_CW_Restore();
1615 return ret;
1616}
1617#define WinBroadcastMsg __FPU_CW_WinBroadcastMsg
1618
1619inline BOOL APIENTRY __FPU_CW_WinInSendMsg (HAB hab)
1620{
1621 BOOL ret = WinInSendMsg (hab);
1622 __FPU_CW_Restore();
1623 return ret;
1624}
1625#define WinInSendMsg __FPU_CW_WinInSendMsg
1626
1627inline BOOL APIENTRY __FPU_CW_WinPostQueueMsg (HMQ hmq, ULONG msg, MPARAM mp1, MPARAM mp2)
1628{
1629 BOOL ret = WinPostQueueMsg (hmq, msg, mp1, mp2);
1630 __FPU_CW_Restore();
1631 return ret;
1632}
1633#define WinPostQueueMsg __FPU_CW_WinPostQueueMsg
1634
1635inline BOOL APIENTRY __FPU_CW_WinQueryMsgPos (HAB hab, PPOINTL pptl)
1636{
1637 BOOL ret = WinQueryMsgPos (hab, pptl);
1638 __FPU_CW_Restore();
1639 return ret;
1640}
1641#define WinQueryMsgPos __FPU_CW_WinQueryMsgPos
1642
1643inline ULONG APIENTRY __FPU_CW_WinQueryMsgTime (HAB hab)
1644{
1645 ULONG ret = WinQueryMsgTime (hab);
1646 __FPU_CW_Restore();
1647 return ret;
1648}
1649#define WinQueryMsgTime __FPU_CW_WinQueryMsgTime
1650
1651inline ULONG APIENTRY __FPU_CW_WinQueryQueueStatus (HWND hwndDesktop)
1652{
1653 ULONG ret = WinQueryQueueStatus (hwndDesktop);
1654 __FPU_CW_Restore();
1655 return ret;
1656}
1657#define WinQueryQueueStatus __FPU_CW_WinQueryQueueStatus
1658
1659inline ULONG APIENTRY __FPU_CW_WinRequestMutexSem (HMTX hmtx, ULONG ulTimeout)
1660{
1661 ULONG ret = WinRequestMutexSem (hmtx, ulTimeout);
1662 __FPU_CW_Restore();
1663 return ret;
1664}
1665#define WinRequestMutexSem __FPU_CW_WinRequestMutexSem
1666
1667inline BOOL APIENTRY __FPU_CW_WinSetClassMsgInterest (HAB hab, PCSZ pszClassName, ULONG msg_class, LONG control)
1668{
1669 BOOL ret = WinSetClassMsgInterest (hab, pszClassName, msg_class, control);
1670 __FPU_CW_Restore();
1671 return ret;
1672}
1673#define WinSetClassMsgInterest __FPU_CW_WinSetClassMsgInterest
1674
1675inline BOOL APIENTRY __FPU_CW_WinSetMsgInterest (HWND hwnd, ULONG msg_class, LONG control)
1676{
1677 BOOL ret = WinSetMsgInterest (hwnd, msg_class, control);
1678 __FPU_CW_Restore();
1679 return ret;
1680}
1681#define WinSetMsgInterest __FPU_CW_WinSetMsgInterest
1682
1683inline ULONG APIENTRY __FPU_CW_WinWaitEventSem (HEV hev, ULONG ulTimeout)
1684{
1685 ULONG ret = WinWaitEventSem (hev, ulTimeout);
1686 __FPU_CW_Restore();
1687 return ret;
1688}
1689#define WinWaitEventSem __FPU_CW_WinWaitEventSem
1690
1691inline BOOL APIENTRY __FPU_CW_WinWaitMsg (HAB hab, ULONG msgFirst, ULONG msgLast)
1692{
1693 BOOL ret = WinWaitMsg (hab, msgFirst, msgLast);
1694 __FPU_CW_Restore();
1695 return ret;
1696}
1697#define WinWaitMsg __FPU_CW_WinWaitMsg
1698
1699inline ULONG APIENTRY __FPU_CW_WinWaitMuxWaitSem (HMUX hmux, ULONG ulTimeout, PULONG pulUser)
1700{
1701 ULONG ret = WinWaitMuxWaitSem (hmux, ulTimeout, pulUser);
1702 __FPU_CW_Restore();
1703 return ret;
1704}
1705#define WinWaitMuxWaitSem __FPU_CW_WinWaitMuxWaitSem
1706
1707inline LONG APIENTRY __FPU_CW_WinRealizePalette (HWND hwnd, HPS hps, PULONG pcclr)
1708{
1709 LONG ret = WinRealizePalette (hwnd, hps, pcclr);
1710 __FPU_CW_Restore();
1711 return ret;
1712}
1713#define WinRealizePalette __FPU_CW_WinRealizePalette
1714
1715inline HPOINTER APIENTRY __FPU_CW_WinCreatePointer (HWND hwndDesktop, HBITMAP hbmPointer, BOOL fPointer, LONG xHotspot, LONG yHotspot)
1716{
1717 HPOINTER ret = WinCreatePointer (hwndDesktop, hbmPointer, fPointer, xHotspot, yHotspot);
1718 __FPU_CW_Restore();
1719 return ret;
1720}
1721#define WinCreatePointer __FPU_CW_WinCreatePointer
1722
1723inline HPOINTER APIENTRY __FPU_CW_WinCreatePointerIndirect (HWND hwndDesktop, __const__ POINTERINFO *pptri)
1724{
1725 HPOINTER ret = WinCreatePointerIndirect (hwndDesktop, pptri);
1726 __FPU_CW_Restore();
1727 return ret;
1728}
1729#define WinCreatePointerIndirect __FPU_CW_WinCreatePointerIndirect
1730
1731inline BOOL APIENTRY __FPU_CW_WinDestroyPointer (HPOINTER hptr)
1732{
1733 BOOL ret = WinDestroyPointer (hptr);
1734 __FPU_CW_Restore();
1735 return ret;
1736}
1737#define WinDestroyPointer __FPU_CW_WinDestroyPointer
1738
1739inline BOOL APIENTRY __FPU_CW_WinDrawPointer (HPS hps, LONG x, LONG y, HPOINTER hptr, ULONG fs)
1740{
1741 BOOL ret = WinDrawPointer (hps, x, y, hptr, fs);
1742 __FPU_CW_Restore();
1743 return ret;
1744}
1745#define WinDrawPointer __FPU_CW_WinDrawPointer
1746
1747inline HBITMAP APIENTRY __FPU_CW_WinGetSysBitmap (HWND hwndDesktop, ULONG ibm)
1748{
1749 HBITMAP ret = WinGetSysBitmap (hwndDesktop, ibm);
1750 __FPU_CW_Restore();
1751 return ret;
1752}
1753#define WinGetSysBitmap __FPU_CW_WinGetSysBitmap
1754
1755inline HPOINTER APIENTRY __FPU_CW_WinLoadPointer (HWND hwndDesktop, HMODULE hmod, ULONG idres)
1756{
1757 HPOINTER ret = WinLoadPointer (hwndDesktop, hmod, idres);
1758 __FPU_CW_Restore();
1759 return ret;
1760}
1761#define WinLoadPointer __FPU_CW_WinLoadPointer
1762
1763inline BOOL APIENTRY __FPU_CW_WinLockPointerUpdate (HWND hwndDesktop, HPOINTER hptrNew, ULONG ulTimeInterval)
1764{
1765 BOOL ret = WinLockPointerUpdate (hwndDesktop, hptrNew, ulTimeInterval);
1766 __FPU_CW_Restore();
1767 return ret;
1768}
1769#define WinLockPointerUpdate __FPU_CW_WinLockPointerUpdate
1770
1771inline BOOL APIENTRY __FPU_CW_WinQueryPointerPos (HWND hwndDesktop, PPOINTL pptl)
1772{
1773 BOOL ret = WinQueryPointerPos (hwndDesktop, pptl);
1774 __FPU_CW_Restore();
1775 return ret;
1776}
1777#define WinQueryPointerPos __FPU_CW_WinQueryPointerPos
1778
1779inline BOOL APIENTRY __FPU_CW_WinQueryPointerInfo (HPOINTER hptr, PPOINTERINFO pPointerInfo)
1780{
1781 BOOL ret = WinQueryPointerInfo (hptr, pPointerInfo);
1782 __FPU_CW_Restore();
1783 return ret;
1784}
1785#define WinQueryPointerInfo __FPU_CW_WinQueryPointerInfo
1786
1787inline HPOINTER APIENTRY __FPU_CW_WinQuerySysPointer (HWND hwndDesktop, LONG lId, BOOL fCopy)
1788{
1789 HPOINTER ret = WinQuerySysPointer (hwndDesktop, lId, fCopy);
1790 __FPU_CW_Restore();
1791 return ret;
1792}
1793#define WinQuerySysPointer __FPU_CW_WinQuerySysPointer
1794
1795inline BOOL APIENTRY __FPU_CW_WinQuerySysPointerData (HWND hwndDesktop, ULONG ulId, PICONINFO pIconInfo)
1796{
1797 BOOL ret = WinQuerySysPointerData (hwndDesktop, ulId, pIconInfo);
1798 __FPU_CW_Restore();
1799 return ret;
1800}
1801#define WinQuerySysPointerData __FPU_CW_WinQuerySysPointerData
1802
1803inline BOOL APIENTRY __FPU_CW_WinSetPointer (HWND hwndDesktop, HPOINTER hptrNew)
1804{
1805 BOOL ret = WinSetPointer (hwndDesktop, hptrNew);
1806 __FPU_CW_Restore();
1807 return ret;
1808}
1809#define WinSetPointer __FPU_CW_WinSetPointer
1810
1811inline BOOL APIENTRY __FPU_CW_WinSetPointerOwner (HPOINTER hptr, PID pid, BOOL fDestroy)
1812{
1813 BOOL ret = WinSetPointerOwner (hptr, pid, fDestroy);
1814 __FPU_CW_Restore();
1815 return ret;
1816}
1817#define WinSetPointerOwner __FPU_CW_WinSetPointerOwner
1818
1819inline BOOL APIENTRY __FPU_CW_WinSetPointerPos (HWND hwndDesktop, LONG x, LONG y)
1820{
1821 BOOL ret = WinSetPointerPos (hwndDesktop, x, y);
1822 __FPU_CW_Restore();
1823 return ret;
1824}
1825#define WinSetPointerPos __FPU_CW_WinSetPointerPos
1826
1827inline BOOL APIENTRY __FPU_CW_WinSetSysPointerData (HWND hwndDesktop, ULONG ulId, __const__ ICONINFO *pIconInfo)
1828{
1829 BOOL ret = WinSetSysPointerData (hwndDesktop, ulId, pIconInfo);
1830 __FPU_CW_Restore();
1831 return ret;
1832}
1833#define WinSetSysPointerData __FPU_CW_WinSetSysPointerData
1834
1835inline BOOL APIENTRY __FPU_CW_WinShowPointer (HWND hwndDesktop, BOOL fShow)
1836{
1837 BOOL ret = WinShowPointer (hwndDesktop, fShow);
1838 __FPU_CW_Restore();
1839 return ret;
1840}
1841#define WinShowPointer __FPU_CW_WinShowPointer
1842
1843inline BOOL APIENTRY __FPU_CW_WinCopyRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc)
1844{
1845 BOOL ret = WinCopyRect (hab, prclDst, prclSrc);
1846 __FPU_CW_Restore();
1847 return ret;
1848}
1849#define WinCopyRect __FPU_CW_WinCopyRect
1850
1851inline BOOL APIENTRY __FPU_CW_WinEqualRect (HAB hab, __const__ RECTL *prcl1, __const__ RECTL *prcl2)
1852{
1853 BOOL ret = WinEqualRect (hab, prcl1, prcl2);
1854 __FPU_CW_Restore();
1855 return ret;
1856}
1857#define WinEqualRect __FPU_CW_WinEqualRect
1858
1859inline BOOL APIENTRY __FPU_CW_WinInflateRect (HAB hab, PRECTL prcl, LONG cx, LONG cy)
1860{
1861 BOOL ret = WinInflateRect (hab, prcl, cx, cy);
1862 __FPU_CW_Restore();
1863 return ret;
1864}
1865#define WinInflateRect __FPU_CW_WinInflateRect
1866
1867inline BOOL APIENTRY __FPU_CW_WinIntersectRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc1, __const__ RECTL *prclSrc2)
1868{
1869 BOOL ret = WinIntersectRect (hab, prclDst, prclSrc1, prclSrc2);
1870 __FPU_CW_Restore();
1871 return ret;
1872}
1873#define WinIntersectRect __FPU_CW_WinIntersectRect
1874
1875inline BOOL APIENTRY __FPU_CW_WinIsRectEmpty (HAB hab, __const__ RECTL *prcl)
1876{
1877 BOOL ret = WinIsRectEmpty (hab, prcl);
1878 __FPU_CW_Restore();
1879 return ret;
1880}
1881#define WinIsRectEmpty __FPU_CW_WinIsRectEmpty
1882
1883inline BOOL APIENTRY __FPU_CW_WinMakePoints (HAB hab, PPOINTL pwpt, ULONG cwpt)
1884{
1885 BOOL ret = WinMakePoints (hab, pwpt, cwpt);
1886 __FPU_CW_Restore();
1887 return ret;
1888}
1889#define WinMakePoints __FPU_CW_WinMakePoints
1890
1891inline BOOL APIENTRY __FPU_CW_WinMakeRect (HAB hab, PRECTL pwrc)
1892{
1893 BOOL ret = WinMakeRect (hab, pwrc);
1894 __FPU_CW_Restore();
1895 return ret;
1896}
1897#define WinMakeRect __FPU_CW_WinMakeRect
1898
1899inline BOOL APIENTRY __FPU_CW_WinOffsetRect (HAB hab, PRECTL prcl, LONG cx, LONG cy)
1900{
1901 BOOL ret = WinOffsetRect (hab, prcl, cx, cy);
1902 __FPU_CW_Restore();
1903 return ret;
1904}
1905#define WinOffsetRect __FPU_CW_WinOffsetRect
1906
1907inline BOOL APIENTRY __FPU_CW_WinPtInRect (HAB hab, __const__ RECTL *prcl, __const__ POINTL *pptl)
1908{
1909 BOOL ret = WinPtInRect (hab, prcl, pptl);
1910 __FPU_CW_Restore();
1911 return ret;
1912}
1913#define WinPtInRect __FPU_CW_WinPtInRect
1914
1915inline BOOL APIENTRY __FPU_CW_WinSetRect (HAB hab, PRECTL prcl, LONG xLeft, LONG yBottom, LONG xRight, LONG yTop)
1916{
1917 BOOL ret = WinSetRect (hab, prcl, xLeft, yBottom, xRight, yTop);
1918 __FPU_CW_Restore();
1919 return ret;
1920}
1921#define WinSetRect __FPU_CW_WinSetRect
1922
1923inline BOOL APIENTRY __FPU_CW_WinSetRectEmpty (HAB hab, PRECTL prcl)
1924{
1925 BOOL ret = WinSetRectEmpty (hab, prcl);
1926 __FPU_CW_Restore();
1927 return ret;
1928}
1929#define WinSetRectEmpty __FPU_CW_WinSetRectEmpty
1930
1931inline BOOL APIENTRY __FPU_CW_WinSubtractRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc1, __const__ RECTL *prclSrc2)
1932{
1933 BOOL ret = WinSubtractRect (hab, prclDst, prclSrc1, prclSrc2);
1934 __FPU_CW_Restore();
1935 return ret;
1936}
1937#define WinSubtractRect __FPU_CW_WinSubtractRect
1938
1939inline BOOL APIENTRY __FPU_CW_WinUnionRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc1, __const__ RECTL *prclSrc2)
1940{
1941 BOOL ret = WinUnionRect (hab, prclDst, prclSrc1, prclSrc2);
1942 __FPU_CW_Restore();
1943 return ret;
1944}
1945#define WinUnionRect __FPU_CW_WinUnionRect
1946
1947inline LONG APIENTRY __FPU_CW_WinQueryControlColors (HWND hwnd, LONG clrType, ULONG flCtlColor, ULONG cCtlColor, PCTLCOLOR pCtlColor)
1948{
1949 LONG ret = WinQueryControlColors (hwnd, clrType, flCtlColor, cCtlColor, pCtlColor);
1950 __FPU_CW_Restore();
1951 return ret;
1952}
1953#define WinQueryControlColors __FPU_CW_WinQueryControlColors
1954
1955inline ULONG APIENTRY __FPU_CW_WinQueryPresParam (HWND hwnd, ULONG id1, ULONG id2, PULONG pulId, ULONG cbBuf, PVOID pbBuf, ULONG fs)
1956{
1957 ULONG ret = WinQueryPresParam (hwnd, id1, id2, pulId, cbBuf, pbBuf, fs);
1958 __FPU_CW_Restore();
1959 return ret;
1960}
1961#define WinQueryPresParam __FPU_CW_WinQueryPresParam
1962
1963inline LONG APIENTRY __FPU_CW_WinQuerySysColor (HWND hwndDesktop, LONG clr, LONG lReserved)
1964{
1965 LONG ret = WinQuerySysColor (hwndDesktop, clr, lReserved);
1966 __FPU_CW_Restore();
1967 return ret;
1968}
1969#define WinQuerySysColor __FPU_CW_WinQuerySysColor
1970
1971inline LONG APIENTRY __FPU_CW_WinQuerySysValue (HWND hwndDesktop, LONG iSysValue)
1972{
1973 LONG ret = WinQuerySysValue (hwndDesktop, iSysValue);
1974 __FPU_CW_Restore();
1975 return ret;
1976}
1977#define WinQuerySysValue __FPU_CW_WinQuerySysValue
1978
1979inline BOOL APIENTRY __FPU_CW_WinRemovePresParam (HWND hwnd, ULONG id)
1980{
1981 BOOL ret = WinRemovePresParam (hwnd, id);
1982 __FPU_CW_Restore();
1983 return ret;
1984}
1985#define WinRemovePresParam __FPU_CW_WinRemovePresParam
1986
1987inline LONG APIENTRY __FPU_CW_WinSetControlColors (HWND hwnd, LONG clrType, ULONG flCtlColor, ULONG cCtlColor, PCTLCOLOR pCtlColor)
1988{
1989 LONG ret = WinSetControlColors (hwnd, clrType, flCtlColor, cCtlColor, pCtlColor);
1990 __FPU_CW_Restore();
1991 return ret;
1992}
1993#define WinSetControlColors __FPU_CW_WinSetControlColors
1994
1995inline BOOL APIENTRY __FPU_CW_WinSetPresParam (HWND hwnd, ULONG id, ULONG cbParam, PVOID pbParam)
1996{
1997 BOOL ret = WinSetPresParam (hwnd, id, cbParam, pbParam);
1998 __FPU_CW_Restore();
1999 return ret;
2000}
2001#define WinSetPresParam __FPU_CW_WinSetPresParam
2002
2003inline BOOL APIENTRY __FPU_CW_WinSetSysColors (HWND hwndDesktop, ULONG flOptions, ULONG flFormat, LONG clrFirst, ULONG cclr, __const__ LONG *pclr)
2004{
2005 BOOL ret = WinSetSysColors (hwndDesktop, flOptions, flFormat, clrFirst, cclr, pclr);
2006 __FPU_CW_Restore();
2007 return ret;
2008}
2009#define WinSetSysColors __FPU_CW_WinSetSysColors
2010
2011inline BOOL APIENTRY __FPU_CW_WinSetSysValue (HWND hwndDesktop, LONG iSysValue, LONG lValue)
2012{
2013 BOOL ret = WinSetSysValue (hwndDesktop, iSysValue, lValue);
2014 __FPU_CW_Restore();
2015 return ret;
2016}
2017#define WinSetSysValue __FPU_CW_WinSetSysValue
2018
2019inline PFN APIENTRY __FPU_CW_WinQueryClassThunkProc (PCSZ pszClassname)
2020{
2021 PFN ret = WinQueryClassThunkProc (pszClassname);
2022 __FPU_CW_Restore();
2023 return ret;
2024}
2025#define WinQueryClassThunkProc __FPU_CW_WinQueryClassThunkProc
2026
2027inline LONG APIENTRY __FPU_CW_WinQueryWindowModel (HWND hwnd)
2028{
2029 LONG ret = WinQueryWindowModel (hwnd);
2030 __FPU_CW_Restore();
2031 return ret;
2032}
2033#define WinQueryWindowModel __FPU_CW_WinQueryWindowModel
2034
2035inline PFN APIENTRY __FPU_CW_WinQueryWindowThunkProc (HWND hwnd)
2036{
2037 PFN ret = WinQueryWindowThunkProc (hwnd);
2038 __FPU_CW_Restore();
2039 return ret;
2040}
2041#define WinQueryWindowThunkProc __FPU_CW_WinQueryWindowThunkProc
2042
2043inline BOOL APIENTRY __FPU_CW_WinSetClassThunkProc (PCSZ pszClassname, PFN pfnThunkProc)
2044{
2045 BOOL ret = WinSetClassThunkProc (pszClassname, pfnThunkProc);
2046 __FPU_CW_Restore();
2047 return ret;
2048}
2049#define WinSetClassThunkProc __FPU_CW_WinSetClassThunkProc
2050
2051inline BOOL APIENTRY __FPU_CW_WinSetWindowThunkProc (HWND hwnd, PFN pfnThunkProc)
2052{
2053 BOOL ret = WinSetWindowThunkProc (hwnd, pfnThunkProc);
2054 __FPU_CW_Restore();
2055 return ret;
2056}
2057#define WinSetWindowThunkProc __FPU_CW_WinSetWindowThunkProc
2058
2059inline ULONG APIENTRY __FPU_CW_WinGetCurrentTime (HAB hab)
2060{
2061 ULONG ret = WinGetCurrentTime (hab);
2062 __FPU_CW_Restore();
2063 return ret;
2064}
2065#define WinGetCurrentTime __FPU_CW_WinGetCurrentTime
2066
2067inline ULONG APIENTRY __FPU_CW_WinStartTimer (HAB hab, HWND hwnd, ULONG idTimer, ULONG dtTimeout)
2068{
2069 ULONG ret = WinStartTimer (hab, hwnd, idTimer, dtTimeout);
2070 __FPU_CW_Restore();
2071 return ret;
2072}
2073#define WinStartTimer __FPU_CW_WinStartTimer
2074
2075inline BOOL APIENTRY __FPU_CW_WinStopTimer (HAB hab, HWND hwnd, ULONG idTimer)
2076{
2077 BOOL ret = WinStopTimer (hab, hwnd, idTimer);
2078 __FPU_CW_Restore();
2079 return ret;
2080}
2081#define WinStopTimer __FPU_CW_WinStopTimer
2082
2083inline BOOL APIENTRY __FPU_CW_WinShowTrackRect (HWND hwnd, BOOL fShow)
2084{
2085 BOOL ret = WinShowTrackRect (hwnd, fShow);
2086 __FPU_CW_Restore();
2087 return ret;
2088}
2089#define WinShowTrackRect __FPU_CW_WinShowTrackRect
2090
2091inline BOOL APIENTRY __FPU_CW_WinTrackRect (HWND hwnd, HPS hps, PTRACKINFO pti)
2092{
2093 BOOL ret = WinTrackRect (hwnd, hps, pti);
2094 __FPU_CW_Restore();
2095 return ret;
2096}
2097#define WinTrackRect __FPU_CW_WinTrackRect
2098
2099inline LONG APIENTRY __FPU_CW_GpiAnimatePalette (HPAL hpal, ULONG ulFormat, ULONG ulStart, ULONG ulCount, __const__ ULONG *aulTable)
2100{
2101 LONG ret = GpiAnimatePalette (hpal, ulFormat, ulStart, ulCount, aulTable);
2102 __FPU_CW_Restore();
2103 return ret;
2104}
2105#define GpiAnimatePalette __FPU_CW_GpiAnimatePalette
2106
2107inline BOOL APIENTRY __FPU_CW_GpiBeginArea (HPS hps, ULONG flOptions)
2108{
2109 BOOL ret = GpiBeginArea (hps, flOptions);
2110 __FPU_CW_Restore();
2111 return ret;
2112}
2113#define GpiBeginArea __FPU_CW_GpiBeginArea
2114
2115inline BOOL APIENTRY __FPU_CW_GpiBeginElement (HPS hps, LONG lType, PCSZ pszDesc)
2116{
2117 BOOL ret = GpiBeginElement (hps, lType, pszDesc);
2118 __FPU_CW_Restore();
2119 return ret;
2120}
2121#define GpiBeginElement __FPU_CW_GpiBeginElement
2122
2123inline BOOL APIENTRY __FPU_CW_GpiBeginPath (HPS hps, LONG lPath)
2124{
2125 BOOL ret = GpiBeginPath (hps, lPath);
2126 __FPU_CW_Restore();
2127 return ret;
2128}
2129#define GpiBeginPath __FPU_CW_GpiBeginPath
2130
2131inline LONG APIENTRY __FPU_CW_GpiBox (HPS hps, LONG lControl, __const__ POINTL *pptlPoint, LONG lHRound, LONG lVRound)
2132{
2133 LONG ret = GpiBox (hps, lControl, pptlPoint, lHRound, lVRound);
2134 __FPU_CW_Restore();
2135 return ret;
2136}
2137#define GpiBox __FPU_CW_GpiBox
2138
2139inline LONG APIENTRY __FPU_CW_GpiCallSegmentMatrix (HPS hps, LONG lSegment, LONG lCount, __const__ MATRIXLF *pmatlfArray, LONG lOptions)
2140{
2141 LONG ret = GpiCallSegmentMatrix (hps, lSegment, lCount, pmatlfArray, lOptions);
2142 __FPU_CW_Restore();
2143 return ret;
2144}
2145#define GpiCallSegmentMatrix __FPU_CW_GpiCallSegmentMatrix
2146
2147inline LONG APIENTRY __FPU_CW_GpiCharString (HPS hps, LONG lCount, PCCH pchString)
2148{
2149 LONG ret = GpiCharString (hps, lCount, pchString);
2150 __FPU_CW_Restore();
2151 return ret;
2152}
2153#define GpiCharString __FPU_CW_GpiCharString
2154
2155inline LONG APIENTRY __FPU_CW_GpiCharStringAt (HPS hps, __const__ POINTL *pptlPoint, LONG lCount, PCCH pchString)
2156{
2157 LONG ret = GpiCharStringAt (hps, pptlPoint, lCount, pchString);
2158 __FPU_CW_Restore();
2159 return ret;
2160}
2161#define GpiCharStringAt __FPU_CW_GpiCharStringAt
2162
2163inline LONG APIENTRY __FPU_CW_GpiCharStringPos (HPS hps, __const__ RECTL *prclRect, ULONG flOptions, LONG lCount, PCCH pchString, __const__ LONG *alAdx)
2164{
2165 LONG ret = GpiCharStringPos (hps, prclRect, flOptions, lCount, pchString, alAdx);
2166 __FPU_CW_Restore();
2167 return ret;
2168}
2169#define GpiCharStringPos __FPU_CW_GpiCharStringPos
2170
2171inline LONG APIENTRY __FPU_CW_GpiCharStringPosAt (HPS hps, __const__ POINTL *pptlStart, __const__ RECTL *prclRect, ULONG flOptions, LONG lCount, PCCH pchString, __const__ LONG *alAdx)
2172{
2173 LONG ret = GpiCharStringPosAt (hps, pptlStart, prclRect, flOptions, lCount, pchString, alAdx);
2174 __FPU_CW_Restore();
2175 return ret;
2176}
2177#define GpiCharStringPosAt __FPU_CW_GpiCharStringPosAt
2178
2179inline BOOL APIENTRY __FPU_CW_GpiCloseFigure (HPS hps)
2180{
2181 BOOL ret = GpiCloseFigure (hps);
2182 __FPU_CW_Restore();
2183 return ret;
2184}
2185#define GpiCloseFigure __FPU_CW_GpiCloseFigure
2186
2187inline LONG APIENTRY __FPU_CW_GpiCombineRegion (HPS hps, HRGN hrgnDest, HRGN hrgnSrc1, HRGN hrgnSrc2, LONG lMode)
2188{
2189 LONG ret = GpiCombineRegion (hps, hrgnDest, hrgnSrc1, hrgnSrc2, lMode);
2190 __FPU_CW_Restore();
2191 return ret;
2192}
2193#define GpiCombineRegion __FPU_CW_GpiCombineRegion
2194
2195inline BOOL APIENTRY __FPU_CW_GpiComment (HPS hps, LONG lLength, __const__ BYTE *pbData)
2196{
2197 BOOL ret = GpiComment (hps, lLength, pbData);
2198 __FPU_CW_Restore();
2199 return ret;
2200}
2201#define GpiComment __FPU_CW_GpiComment
2202
2203inline BOOL APIENTRY __FPU_CW_GpiConvert (HPS hps, LONG lSrc, LONG lTarg, LONG lCount, PPOINTL aptlPoints)
2204{
2205 BOOL ret = GpiConvert (hps, lSrc, lTarg, lCount, aptlPoints);
2206 __FPU_CW_Restore();
2207 return ret;
2208}
2209#define GpiConvert __FPU_CW_GpiConvert
2210
2211inline BOOL APIENTRY __FPU_CW_GpiConvertWithMatrix (HPS hps, LONG lCountp, PPOINTL aptlPoints, LONG lCount, __const__ MATRIXLF *pmatlfArray)
2212{
2213 BOOL ret = GpiConvertWithMatrix (hps, lCountp, aptlPoints, lCount, pmatlfArray);
2214 __FPU_CW_Restore();
2215 return ret;
2216}
2217#define GpiConvertWithMatrix __FPU_CW_GpiConvertWithMatrix
2218
2219inline HMF APIENTRY __FPU_CW_GpiCopyMetaFile (HMF hmf)
2220{
2221 HMF ret = GpiCopyMetaFile (hmf);
2222 __FPU_CW_Restore();
2223 return ret;
2224}
2225#define GpiCopyMetaFile __FPU_CW_GpiCopyMetaFile
2226
2227inline BOOL APIENTRY __FPU_CW_GpiCreateLogColorTable (HPS hps, ULONG flOptions, LONG lFormat, LONG lStart, LONG lCount, __const__ LONG *alTable)
2228{
2229 BOOL ret = GpiCreateLogColorTable (hps, flOptions, lFormat, lStart, lCount, alTable);
2230 __FPU_CW_Restore();
2231 return ret;
2232}
2233#define GpiCreateLogColorTable __FPU_CW_GpiCreateLogColorTable
2234
2235inline LONG APIENTRY __FPU_CW_GpiCreateLogFont (HPS hps, __const__ STR8 *pName, LONG lLcid, __const__ FATTRS *pfatAttrs)
2236{
2237 LONG ret = GpiCreateLogFont (hps, pName, lLcid, pfatAttrs);
2238 __FPU_CW_Restore();
2239 return ret;
2240}
2241#define GpiCreateLogFont __FPU_CW_GpiCreateLogFont
2242
2243inline HPAL APIENTRY __FPU_CW_GpiCreatePalette (HAB hab, ULONG flOptions, ULONG ulFormat, ULONG ulCount, __const__ ULONG *aulTable)
2244{
2245 HPAL ret = GpiCreatePalette (hab, flOptions, ulFormat, ulCount, aulTable);
2246 __FPU_CW_Restore();
2247 return ret;
2248}
2249#define GpiCreatePalette __FPU_CW_GpiCreatePalette
2250
2251inline HRGN APIENTRY __FPU_CW_GpiCreateRegion (HPS hps, LONG lCount, __const__ RECTL *arclRectangles)
2252{
2253 HRGN ret = GpiCreateRegion (hps, lCount, arclRectangles);
2254 __FPU_CW_Restore();
2255 return ret;
2256}
2257#define GpiCreateRegion __FPU_CW_GpiCreateRegion
2258
2259inline BOOL APIENTRY __FPU_CW_GpiDeleteElement (HPS hps)
2260{
2261 BOOL ret = GpiDeleteElement (hps);
2262 __FPU_CW_Restore();
2263 return ret;
2264}
2265#define GpiDeleteElement __FPU_CW_GpiDeleteElement
2266
2267inline BOOL APIENTRY __FPU_CW_GpiDeleteElementRange (HPS hps, LONG lFirstElement, LONG lLastElement)
2268{
2269 BOOL ret = GpiDeleteElementRange (hps, lFirstElement, lLastElement);
2270 __FPU_CW_Restore();
2271 return ret;
2272}
2273#define GpiDeleteElementRange __FPU_CW_GpiDeleteElementRange
2274
2275inline BOOL APIENTRY __FPU_CW_GpiDeleteElementsBetweenLabels (HPS hps, LONG lFirstLabel, LONG lLastLabel)
2276{
2277 BOOL ret = GpiDeleteElementsBetweenLabels (hps, lFirstLabel, lLastLabel);
2278 __FPU_CW_Restore();
2279 return ret;
2280}
2281#define GpiDeleteElementsBetweenLabels __FPU_CW_GpiDeleteElementsBetweenLabels
2282
2283inline BOOL APIENTRY __FPU_CW_GpiDeleteMetaFile (HMF hmf)
2284{
2285 BOOL ret = GpiDeleteMetaFile (hmf);
2286 __FPU_CW_Restore();
2287 return ret;
2288}
2289#define GpiDeleteMetaFile __FPU_CW_GpiDeleteMetaFile
2290
2291inline BOOL APIENTRY __FPU_CW_GpiDeletePalette (HPAL hpal)
2292{
2293 BOOL ret = GpiDeletePalette (hpal);
2294 __FPU_CW_Restore();
2295 return ret;
2296}
2297#define GpiDeletePalette __FPU_CW_GpiDeletePalette
2298
2299inline BOOL APIENTRY __FPU_CW_GpiDeleteSetId (HPS hps, LONG lLcid)
2300{
2301 BOOL ret = GpiDeleteSetId (hps, lLcid);
2302 __FPU_CW_Restore();
2303 return ret;
2304}
2305#define GpiDeleteSetId __FPU_CW_GpiDeleteSetId
2306
2307inline BOOL APIENTRY __FPU_CW_GpiDestroyRegion (HPS hps, HRGN hrgn)
2308{
2309 BOOL ret = GpiDestroyRegion (hps, hrgn);
2310 __FPU_CW_Restore();
2311 return ret;
2312}
2313#define GpiDestroyRegion __FPU_CW_GpiDestroyRegion
2314
2315inline LONG APIENTRY __FPU_CW_GpiElement (HPS hps, LONG lType, PCSZ pszDesc, LONG lLength, __const__ BYTE *pbData)
2316{
2317 LONG ret = GpiElement (hps, lType, pszDesc, lLength, pbData);
2318 __FPU_CW_Restore();
2319 return ret;
2320}
2321#define GpiElement __FPU_CW_GpiElement
2322
2323inline LONG APIENTRY __FPU_CW_GpiEndArea (HPS hps)
2324{
2325 LONG ret = GpiEndArea (hps);
2326 __FPU_CW_Restore();
2327 return ret;
2328}
2329#define GpiEndArea __FPU_CW_GpiEndArea
2330
2331inline BOOL APIENTRY __FPU_CW_GpiEndElement (HPS hps)
2332{
2333 BOOL ret = GpiEndElement (hps);
2334 __FPU_CW_Restore();
2335 return ret;
2336}
2337#define GpiEndElement __FPU_CW_GpiEndElement
2338
2339inline BOOL APIENTRY __FPU_CW_GpiEndPath (HPS hps)
2340{
2341 BOOL ret = GpiEndPath (hps);
2342 __FPU_CW_Restore();
2343 return ret;
2344}
2345#define GpiEndPath __FPU_CW_GpiEndPath
2346
2347inline LONG APIENTRY __FPU_CW_GpiEqualRegion (HPS hps, HRGN hrgnSrc1, HRGN hrgnSrc2)
2348{
2349 LONG ret = GpiEqualRegion (hps, hrgnSrc1, hrgnSrc2);
2350 __FPU_CW_Restore();
2351 return ret;
2352}
2353#define GpiEqualRegion __FPU_CW_GpiEqualRegion
2354
2355inline LONG APIENTRY __FPU_CW_GpiExcludeClipRectangle (HPS hps, __const__ RECTL *prclRectangle)
2356{
2357 LONG ret = GpiExcludeClipRectangle (hps, prclRectangle);
2358 __FPU_CW_Restore();
2359 return ret;
2360}
2361#define GpiExcludeClipRectangle __FPU_CW_GpiExcludeClipRectangle
2362
2363inline LONG APIENTRY __FPU_CW_GpiFillPath (HPS hps, LONG lPath, LONG lOptions)
2364{
2365 LONG ret = GpiFillPath (hps, lPath, lOptions);
2366 __FPU_CW_Restore();
2367 return ret;
2368}
2369#define GpiFillPath __FPU_CW_GpiFillPath
2370
2371inline LONG APIENTRY __FPU_CW_GpiFrameRegion (HPS hps, HRGN hrgn, __const__ SIZEL *thickness)
2372{
2373 LONG ret = GpiFrameRegion (hps, hrgn, thickness);
2374 __FPU_CW_Restore();
2375 return ret;
2376}
2377#define GpiFrameRegion __FPU_CW_GpiFrameRegion
2378
2379inline LONG APIENTRY __FPU_CW_GpiFullArc (HPS hps, LONG lControl, FIXED fxMultiplier)
2380{
2381 LONG ret = GpiFullArc (hps, lControl, fxMultiplier);
2382 __FPU_CW_Restore();
2383 return ret;
2384}
2385#define GpiFullArc __FPU_CW_GpiFullArc
2386
2387inline LONG APIENTRY __FPU_CW_GpiImage (HPS hps, LONG lFormat, __const__ SIZEL *psizlImageSize, LONG lLength, __const__ BYTE *pbData)
2388{
2389 LONG ret = GpiImage (hps, lFormat, psizlImageSize, lLength, pbData);
2390 __FPU_CW_Restore();
2391 return ret;
2392}
2393#define GpiImage __FPU_CW_GpiImage
2394
2395inline LONG APIENTRY __FPU_CW_GpiIntersectClipRectangle (HPS hps, __const__ RECTL *prclRectangle)
2396{
2397 LONG ret = GpiIntersectClipRectangle (hps, prclRectangle);
2398 __FPU_CW_Restore();
2399 return ret;
2400}
2401#define GpiIntersectClipRectangle __FPU_CW_GpiIntersectClipRectangle
2402
2403inline BOOL APIENTRY __FPU_CW_GpiLabel (HPS hps, LONG lLabel)
2404{
2405 BOOL ret = GpiLabel (hps, lLabel);
2406 __FPU_CW_Restore();
2407 return ret;
2408}
2409#define GpiLabel __FPU_CW_GpiLabel
2410
2411inline LONG APIENTRY __FPU_CW_GpiLine (HPS hps, __const__ POINTL *pptlEndPoint)
2412{
2413 LONG ret = GpiLine (hps, pptlEndPoint);
2414 __FPU_CW_Restore();
2415 return ret;
2416}
2417#define GpiLine __FPU_CW_GpiLine
2418
2419inline BOOL APIENTRY __FPU_CW_GpiLoadFonts (HAB hab, PCSZ pszFilename)
2420{
2421 BOOL ret = GpiLoadFonts (hab, pszFilename);
2422 __FPU_CW_Restore();
2423 return ret;
2424}
2425#define GpiLoadFonts __FPU_CW_GpiLoadFonts
2426
2427inline HMF APIENTRY __FPU_CW_GpiLoadMetaFile (HAB hab, PCSZ pszFilename)
2428{
2429 HMF ret = GpiLoadMetaFile (hab, pszFilename);
2430 __FPU_CW_Restore();
2431 return ret;
2432}
2433#define GpiLoadMetaFile __FPU_CW_GpiLoadMetaFile
2434
2435inline BOOL APIENTRY __FPU_CW_GpiLoadPublicFonts (HAB hab, PCSZ pszFileName)
2436{
2437 BOOL ret = GpiLoadPublicFonts (hab, pszFileName);
2438 __FPU_CW_Restore();
2439 return ret;
2440}
2441#define GpiLoadPublicFonts __FPU_CW_GpiLoadPublicFonts
2442
2443inline LONG APIENTRY __FPU_CW_GpiMarker (HPS hps, __const__ POINTL *pptlPoint)
2444{
2445 LONG ret = GpiMarker (hps, pptlPoint);
2446 __FPU_CW_Restore();
2447 return ret;
2448}
2449#define GpiMarker __FPU_CW_GpiMarker
2450
2451inline BOOL APIENTRY __FPU_CW_GpiModifyPath (HPS hps, LONG lPath, LONG lMode)
2452{
2453 BOOL ret = GpiModifyPath (hps, lPath, lMode);
2454 __FPU_CW_Restore();
2455 return ret;
2456}
2457#define GpiModifyPath __FPU_CW_GpiModifyPath
2458
2459inline BOOL APIENTRY __FPU_CW_GpiMove (HPS hps, __const__ POINTL *pptlPoint)
2460{
2461 BOOL ret = GpiMove (hps, pptlPoint);
2462 __FPU_CW_Restore();
2463 return ret;
2464}
2465#define GpiMove __FPU_CW_GpiMove
2466
2467inline LONG APIENTRY __FPU_CW_GpiOffsetClipRegion (HPS hps, __const__ POINTL *pptlPoint)
2468{
2469 LONG ret = GpiOffsetClipRegion (hps, pptlPoint);
2470 __FPU_CW_Restore();
2471 return ret;
2472}
2473#define GpiOffsetClipRegion __FPU_CW_GpiOffsetClipRegion
2474
2475inline BOOL APIENTRY __FPU_CW_GpiOffsetElementPointer (HPS hps, LONG loffset)
2476{
2477 BOOL ret = GpiOffsetElementPointer (hps, loffset);
2478 __FPU_CW_Restore();
2479 return ret;
2480}
2481#define GpiOffsetElementPointer __FPU_CW_GpiOffsetElementPointer
2482
2483inline BOOL APIENTRY __FPU_CW_GpiOffsetRegion (HPS hps, HRGN Hrgn, __const__ POINTL *pptlOffset)
2484{
2485 BOOL ret = GpiOffsetRegion (hps, Hrgn, pptlOffset);
2486 __FPU_CW_Restore();
2487 return ret;
2488}
2489#define GpiOffsetRegion __FPU_CW_GpiOffsetRegion
2490
2491inline LONG APIENTRY __FPU_CW_GpiOutlinePath (HPS hps, LONG lPath, LONG lOptions)
2492{
2493 LONG ret = GpiOutlinePath (hps, lPath, lOptions);
2494 __FPU_CW_Restore();
2495 return ret;
2496}
2497#define GpiOutlinePath __FPU_CW_GpiOutlinePath
2498
2499inline LONG APIENTRY __FPU_CW_GpiPaintRegion (HPS hps, HRGN hrgn)
2500{
2501 LONG ret = GpiPaintRegion (hps, hrgn);
2502 __FPU_CW_Restore();
2503 return ret;
2504}
2505#define GpiPaintRegion __FPU_CW_GpiPaintRegion
2506
2507inline LONG APIENTRY __FPU_CW_GpiPartialArc (HPS hps, __const__ POINTL *pptlCenter, FIXED fxMultiplier, FIXED fxStartAngle, FIXED fxSweepAngle)
2508{
2509 LONG ret = GpiPartialArc (hps, pptlCenter, fxMultiplier, fxStartAngle, fxSweepAngle);
2510 __FPU_CW_Restore();
2511 return ret;
2512}
2513#define GpiPartialArc __FPU_CW_GpiPartialArc
2514
2515inline HRGN APIENTRY __FPU_CW_GpiPathToRegion (HPS GpiH, LONG lPath, LONG lOptions)
2516{
2517 HRGN ret = GpiPathToRegion (GpiH, lPath, lOptions);
2518 __FPU_CW_Restore();
2519 return ret;
2520}
2521#define GpiPathToRegion __FPU_CW_GpiPathToRegion
2522
2523inline LONG APIENTRY __FPU_CW_GpiPlayMetaFile (HPS hps, HMF hmf, LONG lCount1, __const__ LONG *alOptarray, PLONG plSegCount, LONG lCount2, PSZ pszDesc)
2524{
2525 LONG ret = GpiPlayMetaFile (hps, hmf, lCount1, alOptarray, plSegCount, lCount2, pszDesc);
2526 __FPU_CW_Restore();
2527 return ret;
2528}
2529#define GpiPlayMetaFile __FPU_CW_GpiPlayMetaFile
2530
2531inline LONG APIENTRY __FPU_CW_GpiPointArc (HPS hps, __const__ POINTL *pptl2)
2532{
2533 LONG ret = GpiPointArc (hps, pptl2);
2534 __FPU_CW_Restore();
2535 return ret;
2536}
2537#define GpiPointArc __FPU_CW_GpiPointArc
2538
2539inline LONG APIENTRY __FPU_CW_GpiPolyFillet (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
2540{
2541 LONG ret = GpiPolyFillet (hps, lCount, aptlPoints);
2542 __FPU_CW_Restore();
2543 return ret;
2544}
2545#define GpiPolyFillet __FPU_CW_GpiPolyFillet
2546
2547inline LONG APIENTRY __FPU_CW_GpiPolyFilletSharp (HPS hps, LONG lCount, __const__ POINTL *aptlPoints, __const__ FIXED *afxPoints)
2548{
2549 LONG ret = GpiPolyFilletSharp (hps, lCount, aptlPoints, afxPoints);
2550 __FPU_CW_Restore();
2551 return ret;
2552}
2553#define GpiPolyFilletSharp __FPU_CW_GpiPolyFilletSharp
2554
2555inline LONG APIENTRY __FPU_CW_GpiPolygons (HPS hps, ULONG ulCount, __const__ POLYGON *paplgn, ULONG flOptions, ULONG flModel)
2556{
2557 LONG ret = GpiPolygons (hps, ulCount, paplgn, flOptions, flModel);
2558 __FPU_CW_Restore();
2559 return ret;
2560}
2561#define GpiPolygons __FPU_CW_GpiPolygons
2562
2563inline LONG APIENTRY __FPU_CW_GpiPolyLine (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
2564{
2565 LONG ret = GpiPolyLine (hps, lCount, aptlPoints);
2566 __FPU_CW_Restore();
2567 return ret;
2568}
2569#define GpiPolyLine __FPU_CW_GpiPolyLine
2570
2571inline LONG APIENTRY __FPU_CW_GpiPolyLineDisjoint (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
2572{
2573 LONG ret = GpiPolyLineDisjoint (hps, lCount, aptlPoints);
2574 __FPU_CW_Restore();
2575 return ret;
2576}
2577#define GpiPolyLineDisjoint __FPU_CW_GpiPolyLineDisjoint
2578
2579inline LONG APIENTRY __FPU_CW_GpiPolyMarker (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
2580{
2581 LONG ret = GpiPolyMarker (hps, lCount, aptlPoints);
2582 __FPU_CW_Restore();
2583 return ret;
2584}
2585#define GpiPolyMarker __FPU_CW_GpiPolyMarker
2586
2587inline LONG APIENTRY __FPU_CW_GpiPolySpline (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
2588{
2589 LONG ret = GpiPolySpline (hps, lCount, aptlPoints);
2590 __FPU_CW_Restore();
2591 return ret;
2592}
2593#define GpiPolySpline __FPU_CW_GpiPolySpline
2594
2595inline BOOL APIENTRY __FPU_CW_GpiPop (HPS hps, LONG lCount)
2596{
2597 BOOL ret = GpiPop (hps, lCount);
2598 __FPU_CW_Restore();
2599 return ret;
2600}
2601#define GpiPop __FPU_CW_GpiPop
2602
2603inline LONG APIENTRY __FPU_CW_GpiPtInRegion (HPS hps, HRGN hrgn, __const__ POINTL *pptlPoint)
2604{
2605 LONG ret = GpiPtInRegion (hps, hrgn, pptlPoint);
2606 __FPU_CW_Restore();
2607 return ret;
2608}
2609#define GpiPtInRegion __FPU_CW_GpiPtInRegion
2610
2611inline LONG APIENTRY __FPU_CW_GpiPtVisible (HPS hps, __const__ POINTL *pptlPoint)
2612{
2613 LONG ret = GpiPtVisible (hps, pptlPoint);
2614 __FPU_CW_Restore();
2615 return ret;
2616}
2617#define GpiPtVisible __FPU_CW_GpiPtVisible
2618
2619inline BOOL APIENTRY __FPU_CW_GpiQueryArcParams (HPS hps, PARCPARAMS parcpArcParams)
2620{
2621 BOOL ret = GpiQueryArcParams (hps, parcpArcParams);
2622 __FPU_CW_Restore();
2623 return ret;
2624}
2625#define GpiQueryArcParams __FPU_CW_GpiQueryArcParams
2626
2627inline LONG APIENTRY __FPU_CW_GpiQueryAttrMode (HPS hps)
2628{
2629 LONG ret = GpiQueryAttrMode (hps);
2630 __FPU_CW_Restore();
2631 return ret;
2632}
2633#define GpiQueryAttrMode __FPU_CW_GpiQueryAttrMode
2634
2635inline LONG APIENTRY __FPU_CW_GpiQueryAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask, PBUNDLE ppbunAttrs)
2636{
2637 LONG ret = GpiQueryAttrs (hps, lPrimType, flAttrMask, ppbunAttrs);
2638 __FPU_CW_Restore();
2639 return ret;
2640}
2641#define GpiQueryAttrs __FPU_CW_GpiQueryAttrs
2642
2643inline LONG APIENTRY __FPU_CW_GpiQueryBackColor (HPS hps)
2644{
2645 LONG ret = GpiQueryBackColor (hps);
2646 __FPU_CW_Restore();
2647 return ret;
2648}
2649#define GpiQueryBackColor __FPU_CW_GpiQueryBackColor
2650
2651inline LONG APIENTRY __FPU_CW_GpiQueryBackMix (HPS hps)
2652{
2653 LONG ret = GpiQueryBackMix (hps);
2654 __FPU_CW_Restore();
2655 return ret;
2656}
2657#define GpiQueryBackMix __FPU_CW_GpiQueryBackMix
2658
2659inline BOOL APIENTRY __FPU_CW_GpiQueryCharAngle (HPS hps, PGRADIENTL pgradlAngle)
2660{
2661 BOOL ret = GpiQueryCharAngle (hps, pgradlAngle);
2662 __FPU_CW_Restore();
2663 return ret;
2664}
2665#define GpiQueryCharAngle __FPU_CW_GpiQueryCharAngle
2666
2667inline BOOL APIENTRY __FPU_CW_GpiQueryCharBox (HPS hps, PSIZEF psizfxSize)
2668{
2669 BOOL ret = GpiQueryCharBox (hps, psizfxSize);
2670 __FPU_CW_Restore();
2671 return ret;
2672}
2673#define GpiQueryCharBox __FPU_CW_GpiQueryCharBox
2674
2675inline BOOL APIENTRY __FPU_CW_GpiQueryCharBreakExtra (HPS hps, PFIXED BreakExtra)
2676{
2677 BOOL ret = GpiQueryCharBreakExtra (hps, BreakExtra);
2678 __FPU_CW_Restore();
2679 return ret;
2680}
2681#define GpiQueryCharBreakExtra __FPU_CW_GpiQueryCharBreakExtra
2682
2683inline LONG APIENTRY __FPU_CW_GpiQueryCharDirection (HPS hps)
2684{
2685 LONG ret = GpiQueryCharDirection (hps);
2686 __FPU_CW_Restore();
2687 return ret;
2688}
2689#define GpiQueryCharDirection __FPU_CW_GpiQueryCharDirection
2690
2691inline BOOL APIENTRY __FPU_CW_GpiQueryCharExtra (HPS hps, PFIXED Extra)
2692{
2693 BOOL ret = GpiQueryCharExtra (hps, Extra);
2694 __FPU_CW_Restore();
2695 return ret;
2696}
2697#define GpiQueryCharExtra __FPU_CW_GpiQueryCharExtra
2698
2699inline LONG APIENTRY __FPU_CW_GpiQueryCharMode (HPS hps)
2700{
2701 LONG ret = GpiQueryCharMode (hps);
2702 __FPU_CW_Restore();
2703 return ret;
2704}
2705#define GpiQueryCharMode __FPU_CW_GpiQueryCharMode
2706
2707inline LONG APIENTRY __FPU_CW_GpiQueryCharSet (HPS hps)
2708{
2709 LONG ret = GpiQueryCharSet (hps);
2710 __FPU_CW_Restore();
2711 return ret;
2712}
2713#define GpiQueryCharSet __FPU_CW_GpiQueryCharSet
2714
2715inline BOOL APIENTRY __FPU_CW_GpiQueryCharShear (HPS hps, PPOINTL pptlShear)
2716{
2717 BOOL ret = GpiQueryCharShear (hps, pptlShear);
2718 __FPU_CW_Restore();
2719 return ret;
2720}
2721#define GpiQueryCharShear __FPU_CW_GpiQueryCharShear
2722
2723inline BOOL APIENTRY __FPU_CW_GpiQueryCharStringPos (HPS hps, ULONG flOptions, LONG lCount, PCCH pchString, PLONG alXincrements, PPOINTL aptlPositions)
2724{
2725 BOOL ret = GpiQueryCharStringPos (hps, flOptions, lCount, pchString, alXincrements, aptlPositions);
2726 __FPU_CW_Restore();
2727 return ret;
2728}
2729#define GpiQueryCharStringPos __FPU_CW_GpiQueryCharStringPos
2730
2731inline BOOL APIENTRY __FPU_CW_GpiQueryCharStringPosAt (HPS hps, PPOINTL pptlStart, ULONG flOptions, LONG lCount, PCCH pchString, PLONG alXincrements, PPOINTL aptlPositions)
2732{
2733 BOOL ret = GpiQueryCharStringPosAt (hps, pptlStart, flOptions, lCount, pchString, alXincrements, aptlPositions);
2734 __FPU_CW_Restore();
2735 return ret;
2736}
2737#define GpiQueryCharStringPosAt __FPU_CW_GpiQueryCharStringPosAt
2738
2739inline LONG APIENTRY __FPU_CW_GpiQueryClipBox (HPS hps, PRECTL prclBound)
2740{
2741 LONG ret = GpiQueryClipBox (hps, prclBound);
2742 __FPU_CW_Restore();
2743 return ret;
2744}
2745#define GpiQueryClipBox __FPU_CW_GpiQueryClipBox
2746
2747inline HRGN APIENTRY __FPU_CW_GpiQueryClipRegion (HPS hps)
2748{
2749 HRGN ret = GpiQueryClipRegion (hps);
2750 __FPU_CW_Restore();
2751 return ret;
2752}
2753#define GpiQueryClipRegion __FPU_CW_GpiQueryClipRegion
2754
2755inline LONG APIENTRY __FPU_CW_GpiQueryColor (HPS hps)
2756{
2757 LONG ret = GpiQueryColor (hps);
2758 __FPU_CW_Restore();
2759 return ret;
2760}
2761#define GpiQueryColor __FPU_CW_GpiQueryColor
2762
2763inline BOOL APIENTRY __FPU_CW_GpiQueryColorData (HPS hps, LONG lCount, PLONG alArray)
2764{
2765 BOOL ret = GpiQueryColorData (hps, lCount, alArray);
2766 __FPU_CW_Restore();
2767 return ret;
2768}
2769#define GpiQueryColorData __FPU_CW_GpiQueryColorData
2770
2771inline LONG APIENTRY __FPU_CW_GpiQueryColorIndex (HPS hps, ULONG flOptions, LONG lRgbColor)
2772{
2773 LONG ret = GpiQueryColorIndex (hps, flOptions, lRgbColor);
2774 __FPU_CW_Restore();
2775 return ret;
2776}
2777#define GpiQueryColorIndex __FPU_CW_GpiQueryColorIndex
2778
2779inline ULONG APIENTRY __FPU_CW_GpiQueryCp (HPS hps)
2780{
2781 ULONG ret = GpiQueryCp (hps);
2782 __FPU_CW_Restore();
2783 return ret;
2784}
2785#define GpiQueryCp __FPU_CW_GpiQueryCp
2786
2787inline BOOL APIENTRY __FPU_CW_GpiQueryCurrentPosition (HPS hps, PPOINTL pptlPoint)
2788{
2789 BOOL ret = GpiQueryCurrentPosition (hps, pptlPoint);
2790 __FPU_CW_Restore();
2791 return ret;
2792}
2793#define GpiQueryCurrentPosition __FPU_CW_GpiQueryCurrentPosition
2794
2795inline BOOL APIENTRY __FPU_CW_GpiQueryDefArcParams (HPS hps, PARCPARAMS parcpArcParams)
2796{
2797 BOOL ret = GpiQueryDefArcParams (hps, parcpArcParams);
2798 __FPU_CW_Restore();
2799 return ret;
2800}
2801#define GpiQueryDefArcParams __FPU_CW_GpiQueryDefArcParams
2802
2803inline BOOL APIENTRY __FPU_CW_GpiQueryDefAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask, PBUNDLE ppbunAttrs)
2804{
2805 BOOL ret = GpiQueryDefAttrs (hps, lPrimType, flAttrMask, ppbunAttrs);
2806 __FPU_CW_Restore();
2807 return ret;
2808}
2809#define GpiQueryDefAttrs __FPU_CW_GpiQueryDefAttrs
2810
2811inline BOOL APIENTRY __FPU_CW_GpiQueryDefCharBox (HPS hps, PSIZEL psizlSize)
2812{
2813 BOOL ret = GpiQueryDefCharBox (hps, psizlSize);
2814 __FPU_CW_Restore();
2815 return ret;
2816}
2817#define GpiQueryDefCharBox __FPU_CW_GpiQueryDefCharBox
2818
2819inline BOOL APIENTRY __FPU_CW_GpiQueryDefTag (HPS hps, PLONG plTag)
2820{
2821 BOOL ret = GpiQueryDefTag (hps, plTag);
2822 __FPU_CW_Restore();
2823 return ret;
2824}
2825#define GpiQueryDefTag __FPU_CW_GpiQueryDefTag
2826
2827inline BOOL APIENTRY __FPU_CW_GpiQueryDefViewingLimits (HPS hps, PRECTL prclLimits)
2828{
2829 BOOL ret = GpiQueryDefViewingLimits (hps, prclLimits);
2830 __FPU_CW_Restore();
2831 return ret;
2832}
2833#define GpiQueryDefViewingLimits __FPU_CW_GpiQueryDefViewingLimits
2834
2835inline BOOL APIENTRY __FPU_CW_GpiQueryDefaultViewMatrix (HPS hps, LONG lCount, PMATRIXLF pmatlfArray)
2836{
2837 BOOL ret = GpiQueryDefaultViewMatrix (hps, lCount, pmatlfArray);
2838 __FPU_CW_Restore();
2839 return ret;
2840}
2841#define GpiQueryDefaultViewMatrix __FPU_CW_GpiQueryDefaultViewMatrix
2842
2843inline LONG APIENTRY __FPU_CW_GpiQueryEditMode (HPS hps)
2844{
2845 LONG ret = GpiQueryEditMode (hps);
2846 __FPU_CW_Restore();
2847 return ret;
2848}
2849#define GpiQueryEditMode __FPU_CW_GpiQueryEditMode
2850
2851inline LONG APIENTRY __FPU_CW_GpiQueryElement (HPS hps, LONG lOff, LONG lMaxLength, PBYTE pbData)
2852{
2853 LONG ret = GpiQueryElement (hps, lOff, lMaxLength, pbData);
2854 __FPU_CW_Restore();
2855 return ret;
2856}
2857#define GpiQueryElement __FPU_CW_GpiQueryElement
2858
2859inline LONG APIENTRY __FPU_CW_GpiQueryElementPointer (HPS hps)
2860{
2861 LONG ret = GpiQueryElementPointer (hps);
2862 __FPU_CW_Restore();
2863 return ret;
2864}
2865#define GpiQueryElementPointer __FPU_CW_GpiQueryElementPointer
2866
2867inline LONG APIENTRY __FPU_CW_GpiQueryElementType (HPS hps, PLONG plType, LONG lLength, PSZ pszData)
2868{
2869 LONG ret = GpiQueryElementType (hps, plType, lLength, pszData);
2870 __FPU_CW_Restore();
2871 return ret;
2872}
2873#define GpiQueryElementType __FPU_CW_GpiQueryElementType
2874
2875inline ULONG APIENTRY __FPU_CW_GpiQueryFaceString (HPS PS, PCSZ FamilyName, PFACENAMEDESC attrs, LONG length, PSZ CompoundFaceName)
2876{
2877 ULONG ret = GpiQueryFaceString (PS, FamilyName, attrs, length, CompoundFaceName);
2878 __FPU_CW_Restore();
2879 return ret;
2880}
2881#define GpiQueryFaceString __FPU_CW_GpiQueryFaceString
2882
2883inline ULONG APIENTRY __FPU_CW_GpiQueryFontAction (HAB anchor, ULONG options)
2884{
2885 ULONG ret = GpiQueryFontAction (anchor, options);
2886 __FPU_CW_Restore();
2887 return ret;
2888}
2889#define GpiQueryFontAction __FPU_CW_GpiQueryFontAction
2890
2891inline LONG APIENTRY __FPU_CW_GpiQueryFontFileDescriptions (HAB hab, PCSZ pszFilename, PLONG plCount, PFFDESCS affdescsNames)
2892{
2893 LONG ret = GpiQueryFontFileDescriptions (hab, pszFilename, plCount, affdescsNames);
2894 __FPU_CW_Restore();
2895 return ret;
2896}
2897#define GpiQueryFontFileDescriptions __FPU_CW_GpiQueryFontFileDescriptions
2898
2899inline BOOL APIENTRY __FPU_CW_GpiQueryFontMetrics (HPS hps, LONG lMetricsLength, PFONTMETRICS pfmMetrics)
2900{
2901 BOOL ret = GpiQueryFontMetrics (hps, lMetricsLength, pfmMetrics);
2902 __FPU_CW_Restore();
2903 return ret;
2904}
2905#define GpiQueryFontMetrics __FPU_CW_GpiQueryFontMetrics
2906
2907inline LONG APIENTRY __FPU_CW_GpiQueryFonts (HPS hps, ULONG flOptions, PCSZ pszFacename, PLONG plReqFonts, LONG lMetricsLength, PFONTMETRICS afmMetrics)
2908{
2909 LONG ret = GpiQueryFonts (hps, flOptions, pszFacename, plReqFonts, lMetricsLength, afmMetrics);
2910 __FPU_CW_Restore();
2911 return ret;
2912}
2913#define GpiQueryFonts __FPU_CW_GpiQueryFonts
2914
2915inline LONG APIENTRY __FPU_CW_GpiQueryFullFontFileDescs (HAB hab, PCSZ pszFilename, PLONG plCount, PVOID pNames, PLONG plNamesBuffLength)
2916{
2917 LONG ret = GpiQueryFullFontFileDescs (hab, pszFilename, plCount, pNames, plNamesBuffLength);
2918 __FPU_CW_Restore();
2919 return ret;
2920}
2921#define GpiQueryFullFontFileDescs __FPU_CW_GpiQueryFullFontFileDescs
2922
2923inline BOOL APIENTRY __FPU_CW_GpiQueryGraphicsField (HPS hps, PRECTL prclField)
2924{
2925 BOOL ret = GpiQueryGraphicsField (hps, prclField);
2926 __FPU_CW_Restore();
2927 return ret;
2928}
2929#define GpiQueryGraphicsField __FPU_CW_GpiQueryGraphicsField
2930
2931inline LONG APIENTRY __FPU_CW_GpiQueryKerningPairs (HPS hps, LONG lCount, PKERNINGPAIRS akrnprData)
2932{
2933 LONG ret = GpiQueryKerningPairs (hps, lCount, akrnprData);
2934 __FPU_CW_Restore();
2935 return ret;
2936}
2937#define GpiQueryKerningPairs __FPU_CW_GpiQueryKerningPairs
2938
2939inline LONG APIENTRY __FPU_CW_GpiQueryLineEnd (HPS hps)
2940{
2941 LONG ret = GpiQueryLineEnd (hps);
2942 __FPU_CW_Restore();
2943 return ret;
2944}
2945#define GpiQueryLineEnd __FPU_CW_GpiQueryLineEnd
2946
2947inline LONG APIENTRY __FPU_CW_GpiQueryLineJoin (HPS hps)
2948{
2949 LONG ret = GpiQueryLineJoin (hps);
2950 __FPU_CW_Restore();
2951 return ret;
2952}
2953#define GpiQueryLineJoin __FPU_CW_GpiQueryLineJoin
2954
2955inline LONG APIENTRY __FPU_CW_GpiQueryLineType (HPS hps)
2956{
2957 LONG ret = GpiQueryLineType (hps);
2958 __FPU_CW_Restore();
2959 return ret;
2960}
2961#define GpiQueryLineType __FPU_CW_GpiQueryLineType
2962
2963inline FIXED APIENTRY __FPU_CW_GpiQueryLineWidth (HPS hps)
2964{
2965 FIXED ret = GpiQueryLineWidth (hps);
2966 __FPU_CW_Restore();
2967 return ret;
2968}
2969#define GpiQueryLineWidth __FPU_CW_GpiQueryLineWidth
2970
2971inline LONG APIENTRY __FPU_CW_GpiQueryLineWidthGeom (HPS hps)
2972{
2973 LONG ret = GpiQueryLineWidthGeom (hps);
2974 __FPU_CW_Restore();
2975 return ret;
2976}
2977#define GpiQueryLineWidthGeom __FPU_CW_GpiQueryLineWidthGeom
2978
2979inline LONG APIENTRY __FPU_CW_GpiQueryLogColorTable (HPS hps, ULONG flOptions, LONG lStart, LONG lCount, PLONG alArray)
2980{
2981 LONG ret = GpiQueryLogColorTable (hps, flOptions, lStart, lCount, alArray);
2982 __FPU_CW_Restore();
2983 return ret;
2984}
2985#define GpiQueryLogColorTable __FPU_CW_GpiQueryLogColorTable
2986
2987inline BOOL APIENTRY __FPU_CW_GpiQueryLogicalFont (HPS PS, LONG lcid, PSTR8 name, PFATTRS attrs, LONG length)
2988{
2989 BOOL ret = GpiQueryLogicalFont (PS, lcid, name, attrs, length);
2990 __FPU_CW_Restore();
2991 return ret;
2992}
2993#define GpiQueryLogicalFont __FPU_CW_GpiQueryLogicalFont
2994
2995inline LONG APIENTRY __FPU_CW_GpiQueryMarker (HPS hps)
2996{
2997 LONG ret = GpiQueryMarker (hps);
2998 __FPU_CW_Restore();
2999 return ret;
3000}
3001#define GpiQueryMarker __FPU_CW_GpiQueryMarker
3002
3003inline BOOL APIENTRY __FPU_CW_GpiQueryMarkerBox (HPS hps, PSIZEF psizfxSize)
3004{
3005 BOOL ret = GpiQueryMarkerBox (hps, psizfxSize);
3006 __FPU_CW_Restore();
3007 return ret;
3008}
3009#define GpiQueryMarkerBox __FPU_CW_GpiQueryMarkerBox
3010
3011inline LONG APIENTRY __FPU_CW_GpiQueryMarkerSet (HPS hps)
3012{
3013 LONG ret = GpiQueryMarkerSet (hps);
3014 __FPU_CW_Restore();
3015 return ret;
3016}
3017#define GpiQueryMarkerSet __FPU_CW_GpiQueryMarkerSet
3018
3019inline BOOL APIENTRY __FPU_CW_GpiQueryMetaFileBits (HMF hmf, LONG lOffset, LONG lLength, PBYTE pbData)
3020{
3021 BOOL ret = GpiQueryMetaFileBits (hmf, lOffset, lLength, pbData);
3022 __FPU_CW_Restore();
3023 return ret;
3024}
3025#define GpiQueryMetaFileBits __FPU_CW_GpiQueryMetaFileBits
3026
3027inline LONG APIENTRY __FPU_CW_GpiQueryMetaFileLength (HMF hmf)
3028{
3029 LONG ret = GpiQueryMetaFileLength (hmf);
3030 __FPU_CW_Restore();
3031 return ret;
3032}
3033#define GpiQueryMetaFileLength __FPU_CW_GpiQueryMetaFileLength
3034
3035inline LONG APIENTRY __FPU_CW_GpiQueryMix (HPS hps)
3036{
3037 LONG ret = GpiQueryMix (hps);
3038 __FPU_CW_Restore();
3039 return ret;
3040}
3041#define GpiQueryMix __FPU_CW_GpiQueryMix
3042
3043inline BOOL APIENTRY __FPU_CW_GpiQueryModelTransformMatrix (HPS hps, LONG lCount, PMATRIXLF pmatlfArray)
3044{
3045 BOOL ret = GpiQueryModelTransformMatrix (hps, lCount, pmatlfArray);
3046 __FPU_CW_Restore();
3047 return ret;
3048}
3049#define GpiQueryModelTransformMatrix __FPU_CW_GpiQueryModelTransformMatrix
3050
3051inline LONG APIENTRY __FPU_CW_GpiQueryNearestColor (HPS hps, ULONG flOptions, LONG lRgbIn)
3052{
3053 LONG ret = GpiQueryNearestColor (hps, flOptions, lRgbIn);
3054 __FPU_CW_Restore();
3055 return ret;
3056}
3057#define GpiQueryNearestColor __FPU_CW_GpiQueryNearestColor
3058
3059inline LONG APIENTRY __FPU_CW_GpiQueryNumberSetIds (HPS hps)
3060{
3061 LONG ret = GpiQueryNumberSetIds (hps);
3062 __FPU_CW_Restore();
3063 return ret;
3064}
3065#define GpiQueryNumberSetIds __FPU_CW_GpiQueryNumberSetIds
3066
3067inline BOOL APIENTRY __FPU_CW_GpiQueryPageViewport (HPS hps, PRECTL prclViewport)
3068{
3069 BOOL ret = GpiQueryPageViewport (hps, prclViewport);
3070 __FPU_CW_Restore();
3071 return ret;
3072}
3073#define GpiQueryPageViewport __FPU_CW_GpiQueryPageViewport
3074
3075inline HPAL APIENTRY __FPU_CW_GpiQueryPalette (HPS hps)
3076{
3077 HPAL ret = GpiQueryPalette (hps);
3078 __FPU_CW_Restore();
3079 return ret;
3080}
3081#define GpiQueryPalette __FPU_CW_GpiQueryPalette
3082
3083inline LONG APIENTRY __FPU_CW_GpiQueryPaletteInfo (HPAL hpal, HPS hps, ULONG flOptions, ULONG ulStart, ULONG ulCount, PULONG aulArray)
3084{
3085 LONG ret = GpiQueryPaletteInfo (hpal, hps, flOptions, ulStart, ulCount, aulArray);
3086 __FPU_CW_Restore();
3087 return ret;
3088}
3089#define GpiQueryPaletteInfo __FPU_CW_GpiQueryPaletteInfo
3090
3091inline LONG APIENTRY __FPU_CW_GpiQueryPattern (HPS hps)
3092{
3093 LONG ret = GpiQueryPattern (hps);
3094 __FPU_CW_Restore();
3095 return ret;
3096}
3097#define GpiQueryPattern __FPU_CW_GpiQueryPattern
3098
3099inline BOOL APIENTRY __FPU_CW_GpiQueryPatternRefPoint (HPS hps, PPOINTL pptlRefPoint)
3100{
3101 BOOL ret = GpiQueryPatternRefPoint (hps, pptlRefPoint);
3102 __FPU_CW_Restore();
3103 return ret;
3104}
3105#define GpiQueryPatternRefPoint __FPU_CW_GpiQueryPatternRefPoint
3106
3107inline LONG APIENTRY __FPU_CW_GpiQueryPatternSet (HPS hps)
3108{
3109 LONG ret = GpiQueryPatternSet (hps);
3110 __FPU_CW_Restore();
3111 return ret;
3112}
3113#define GpiQueryPatternSet __FPU_CW_GpiQueryPatternSet
3114
3115inline LONG APIENTRY __FPU_CW_GpiQueryRealColors (HPS hps, ULONG flOptions, LONG lStart, LONG lCount, PLONG alColors)
3116{
3117 LONG ret = GpiQueryRealColors (hps, flOptions, lStart, lCount, alColors);
3118 __FPU_CW_Restore();
3119 return ret;
3120}
3121#define GpiQueryRealColors __FPU_CW_GpiQueryRealColors
3122
3123inline LONG APIENTRY __FPU_CW_GpiQueryRegionBox (HPS hps, HRGN hrgn, PRECTL prclBound)
3124{
3125 LONG ret = GpiQueryRegionBox (hps, hrgn, prclBound);
3126 __FPU_CW_Restore();
3127 return ret;
3128}
3129#define GpiQueryRegionBox __FPU_CW_GpiQueryRegionBox
3130
3131inline BOOL APIENTRY __FPU_CW_GpiQueryRegionRects (HPS hps, HRGN hrgn, PRECTL prclBound, PRGNRECT prgnrcControl, PRECTL prclRect)
3132{
3133 BOOL ret = GpiQueryRegionRects (hps, hrgn, prclBound, prgnrcControl, prclRect);
3134 __FPU_CW_Restore();
3135 return ret;
3136}
3137#define GpiQueryRegionRects __FPU_CW_GpiQueryRegionRects
3138
3139inline LONG APIENTRY __FPU_CW_GpiQueryRGBColor (HPS hps, ULONG flOptions, LONG lColorIndex)
3140{
3141 LONG ret = GpiQueryRGBColor (hps, flOptions, lColorIndex);
3142 __FPU_CW_Restore();
3143 return ret;
3144}
3145#define GpiQueryRGBColor __FPU_CW_GpiQueryRGBColor
3146
3147inline BOOL APIENTRY __FPU_CW_GpiQuerySegmentTransformMatrix (HPS hps, LONG lSegid, LONG lCount, PMATRIXLF pmatlfArray)
3148{
3149 BOOL ret = GpiQuerySegmentTransformMatrix (hps, lSegid, lCount, pmatlfArray);
3150 __FPU_CW_Restore();
3151 return ret;
3152}
3153#define GpiQuerySegmentTransformMatrix __FPU_CW_GpiQuerySegmentTransformMatrix
3154
3155inline BOOL APIENTRY __FPU_CW_GpiQuerySetIds (HPS hps, LONG lCount, PLONG alTypes, PSTR8 aNames, PLONG allcids)
3156{
3157 BOOL ret = GpiQuerySetIds (hps, lCount, alTypes, aNames, allcids);
3158 __FPU_CW_Restore();
3159 return ret;
3160}
3161#define GpiQuerySetIds __FPU_CW_GpiQuerySetIds
3162
3163inline BOOL APIENTRY __FPU_CW_GpiQueryTextAlignment (HPS hps, PLONG plHoriz, PLONG plVert)
3164{
3165 BOOL ret = GpiQueryTextAlignment (hps, plHoriz, plVert);
3166 __FPU_CW_Restore();
3167 return ret;
3168}
3169#define GpiQueryTextAlignment __FPU_CW_GpiQueryTextAlignment
3170
3171inline BOOL APIENTRY __FPU_CW_GpiQueryTextBox (HPS hps, LONG lCount1, PCH pchString, LONG lCount2, PPOINTL aptlPoints)
3172{
3173 BOOL ret = GpiQueryTextBox (hps, lCount1, pchString, lCount2, aptlPoints);
3174 __FPU_CW_Restore();
3175 return ret;
3176}
3177#define GpiQueryTextBox __FPU_CW_GpiQueryTextBox
3178
3179inline BOOL APIENTRY __FPU_CW_GpiQueryViewingLimits (HPS hps, PRECTL prclLimits)
3180{
3181 BOOL ret = GpiQueryViewingLimits (hps, prclLimits);
3182 __FPU_CW_Restore();
3183 return ret;
3184}
3185#define GpiQueryViewingLimits __FPU_CW_GpiQueryViewingLimits
3186
3187inline BOOL APIENTRY __FPU_CW_GpiQueryViewingTransformMatrix (HPS hps, LONG lCount, PMATRIXLF pmatlfArray)
3188{
3189 BOOL ret = GpiQueryViewingTransformMatrix (hps, lCount, pmatlfArray);
3190 __FPU_CW_Restore();
3191 return ret;
3192}
3193#define GpiQueryViewingTransformMatrix __FPU_CW_GpiQueryViewingTransformMatrix
3194
3195inline BOOL APIENTRY __FPU_CW_GpiQueryWidthTable (HPS hps, LONG lFirstChar, LONG lCount, PLONG alData)
3196{
3197 BOOL ret = GpiQueryWidthTable (hps, lFirstChar, lCount, alData);
3198 __FPU_CW_Restore();
3199 return ret;
3200}
3201#define GpiQueryWidthTable __FPU_CW_GpiQueryWidthTable
3202
3203inline LONG APIENTRY __FPU_CW_GpiRectInRegion (HPS hps, HRGN hrgn, __const__ RECTL *prclRect)
3204{
3205 LONG ret = GpiRectInRegion (hps, hrgn, prclRect);
3206 __FPU_CW_Restore();
3207 return ret;
3208}
3209#define GpiRectInRegion __FPU_CW_GpiRectInRegion
3210
3211inline LONG APIENTRY __FPU_CW_GpiRectVisible (HPS hps, __const__ RECTL *prclRectangle)
3212{
3213 LONG ret = GpiRectVisible (hps, prclRectangle);
3214 __FPU_CW_Restore();
3215 return ret;
3216}
3217#define GpiRectVisible __FPU_CW_GpiRectVisible
3218
3219inline BOOL APIENTRY __FPU_CW_GpiRotate (HPS hps, PMATRIXLF pmatlfArray, LONG lOptions, FIXED fxAngle, __const__ POINTL *pptlCenter)
3220{
3221 BOOL ret = GpiRotate (hps, pmatlfArray, lOptions, fxAngle, pptlCenter);
3222 __FPU_CW_Restore();
3223 return ret;
3224}
3225#define GpiRotate __FPU_CW_GpiRotate
3226
3227inline BOOL APIENTRY __FPU_CW_GpiSaveMetaFile (HMF hmf, PCSZ pszFilename)
3228{
3229 BOOL ret = GpiSaveMetaFile (hmf, pszFilename);
3230 __FPU_CW_Restore();
3231 return ret;
3232}
3233#define GpiSaveMetaFile __FPU_CW_GpiSaveMetaFile
3234
3235inline BOOL APIENTRY __FPU_CW_GpiScale (HPS hps, PMATRIXLF pmfatlfArray, LONG lOptions, __const__ FIXED *afxScale, __const__ POINTL *pptlCenter)
3236{
3237 BOOL ret = GpiScale (hps, pmfatlfArray, lOptions, afxScale, pptlCenter);
3238 __FPU_CW_Restore();
3239 return ret;
3240}
3241#define GpiScale __FPU_CW_GpiScale
3242
3243inline HPAL APIENTRY __FPU_CW_GpiSelectPalette (HPS hps, HPAL hpal)
3244{
3245 HPAL ret = GpiSelectPalette (hps, hpal);
3246 __FPU_CW_Restore();
3247 return ret;
3248}
3249#define GpiSelectPalette __FPU_CW_GpiSelectPalette
3250
3251inline BOOL APIENTRY __FPU_CW_GpiSetArcParams (HPS hps, __const__ ARCPARAMS *parcpArcParams)
3252{
3253 BOOL ret = GpiSetArcParams (hps, parcpArcParams);
3254 __FPU_CW_Restore();
3255 return ret;
3256}
3257#define GpiSetArcParams __FPU_CW_GpiSetArcParams
3258
3259inline BOOL APIENTRY __FPU_CW_GpiSetAttrMode (HPS hps, LONG lMode)
3260{
3261 BOOL ret = GpiSetAttrMode (hps, lMode);
3262 __FPU_CW_Restore();
3263 return ret;
3264}
3265#define GpiSetAttrMode __FPU_CW_GpiSetAttrMode
3266
3267inline BOOL APIENTRY __FPU_CW_GpiSetAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask, ULONG flDefMask, __const__ VOID *ppbunAttrs)
3268{
3269 BOOL ret = GpiSetAttrs (hps, lPrimType, flAttrMask, flDefMask, ppbunAttrs);
3270 __FPU_CW_Restore();
3271 return ret;
3272}
3273#define GpiSetAttrs __FPU_CW_GpiSetAttrs
3274
3275inline BOOL APIENTRY __FPU_CW_GpiSetBackColor (HPS hps, LONG lColor)
3276{
3277 BOOL ret = GpiSetBackColor (hps, lColor);
3278 __FPU_CW_Restore();
3279 return ret;
3280}
3281#define GpiSetBackColor __FPU_CW_GpiSetBackColor
3282
3283inline BOOL APIENTRY __FPU_CW_GpiSetBackMix (HPS hps, LONG lMixMode)
3284{
3285 BOOL ret = GpiSetBackMix (hps, lMixMode);
3286 __FPU_CW_Restore();
3287 return ret;
3288}
3289#define GpiSetBackMix __FPU_CW_GpiSetBackMix
3290
3291inline BOOL APIENTRY __FPU_CW_GpiSetCharAngle (HPS hps, __const__ GRADIENTL *pgradlAngle)
3292{
3293 BOOL ret = GpiSetCharAngle (hps, pgradlAngle);
3294 __FPU_CW_Restore();
3295 return ret;
3296}
3297#define GpiSetCharAngle __FPU_CW_GpiSetCharAngle
3298
3299inline BOOL APIENTRY __FPU_CW_GpiSetCharBox (HPS hps, __const__ SIZEF *psizfxBox)
3300{
3301 BOOL ret = GpiSetCharBox (hps, psizfxBox);
3302 __FPU_CW_Restore();
3303 return ret;
3304}
3305#define GpiSetCharBox __FPU_CW_GpiSetCharBox
3306
3307inline BOOL APIENTRY __FPU_CW_GpiSetCharBreakExtra (HPS hps, FIXED BreakExtra)
3308{
3309 BOOL ret = GpiSetCharBreakExtra (hps, BreakExtra);
3310 __FPU_CW_Restore();
3311 return ret;
3312}
3313#define GpiSetCharBreakExtra __FPU_CW_GpiSetCharBreakExtra
3314
3315inline BOOL APIENTRY __FPU_CW_GpiSetCharDirection (HPS hps, LONG lDirection)
3316{
3317 BOOL ret = GpiSetCharDirection (hps, lDirection);
3318 __FPU_CW_Restore();
3319 return ret;
3320}
3321#define GpiSetCharDirection __FPU_CW_GpiSetCharDirection
3322
3323inline BOOL APIENTRY __FPU_CW_GpiSetCharExtra (HPS hps, FIXED Extra)
3324{
3325 BOOL ret = GpiSetCharExtra (hps, Extra);
3326 __FPU_CW_Restore();
3327 return ret;
3328}
3329#define GpiSetCharExtra __FPU_CW_GpiSetCharExtra
3330
3331inline BOOL APIENTRY __FPU_CW_GpiSetCharMode (HPS hps, LONG lMode)
3332{
3333 BOOL ret = GpiSetCharMode (hps, lMode);
3334 __FPU_CW_Restore();
3335 return ret;
3336}
3337#define GpiSetCharMode __FPU_CW_GpiSetCharMode
3338
3339inline BOOL APIENTRY __FPU_CW_GpiSetCharSet (HPS hps, LONG llcid)
3340{
3341 BOOL ret = GpiSetCharSet (hps, llcid);
3342 __FPU_CW_Restore();
3343 return ret;
3344}
3345#define GpiSetCharSet __FPU_CW_GpiSetCharSet
3346
3347inline BOOL APIENTRY __FPU_CW_GpiSetCharShear (HPS hps, __const__ POINTL *pptlAngle)
3348{
3349 BOOL ret = GpiSetCharShear (hps, pptlAngle);
3350 __FPU_CW_Restore();
3351 return ret;
3352}
3353#define GpiSetCharShear __FPU_CW_GpiSetCharShear
3354
3355inline BOOL APIENTRY __FPU_CW_GpiSetClipPath (HPS hps, LONG lPath, LONG lOptions)
3356{
3357 BOOL ret = GpiSetClipPath (hps, lPath, lOptions);
3358 __FPU_CW_Restore();
3359 return ret;
3360}
3361#define GpiSetClipPath __FPU_CW_GpiSetClipPath
3362
3363inline LONG APIENTRY __FPU_CW_GpiSetClipRegion (HPS hps, HRGN hrgn, PHRGN phrgnOld)
3364{
3365 LONG ret = GpiSetClipRegion (hps, hrgn, phrgnOld);
3366 __FPU_CW_Restore();
3367 return ret;
3368}
3369#define GpiSetClipRegion __FPU_CW_GpiSetClipRegion
3370
3371inline BOOL APIENTRY __FPU_CW_GpiSetColor (HPS hps, LONG lColor)
3372{
3373 BOOL ret = GpiSetColor (hps, lColor);
3374 __FPU_CW_Restore();
3375 return ret;
3376}
3377#define GpiSetColor __FPU_CW_GpiSetColor
3378
3379inline BOOL APIENTRY __FPU_CW_GpiSetCp (HPS hps, ULONG ulCodePage)
3380{
3381 BOOL ret = GpiSetCp (hps, ulCodePage);
3382 __FPU_CW_Restore();
3383 return ret;
3384}
3385#define GpiSetCp __FPU_CW_GpiSetCp
3386
3387inline BOOL APIENTRY __FPU_CW_GpiSetCurrentPosition (HPS hps, __const__ POINTL *pptlPoint)
3388{
3389 BOOL ret = GpiSetCurrentPosition (hps, pptlPoint);
3390 __FPU_CW_Restore();
3391 return ret;
3392}
3393#define GpiSetCurrentPosition __FPU_CW_GpiSetCurrentPosition
3394
3395inline BOOL APIENTRY __FPU_CW_GpiSetDefArcParams (HPS hps, __const__ ARCPARAMS *parcpArcParams)
3396{
3397 BOOL ret = GpiSetDefArcParams (hps, parcpArcParams);
3398 __FPU_CW_Restore();
3399 return ret;
3400}
3401#define GpiSetDefArcParams __FPU_CW_GpiSetDefArcParams
3402
3403inline BOOL APIENTRY __FPU_CW_GpiSetDefAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask, __const__ VOID *ppbunAttrs)
3404{
3405 BOOL ret = GpiSetDefAttrs (hps, lPrimType, flAttrMask, ppbunAttrs);
3406 __FPU_CW_Restore();
3407 return ret;
3408}
3409#define GpiSetDefAttrs __FPU_CW_GpiSetDefAttrs
3410
3411inline BOOL APIENTRY __FPU_CW_GpiSetDefaultViewMatrix (HPS hps, LONG lCount, __const__ MATRIXLF *pmatlfarray, LONG lOptions)
3412{
3413 BOOL ret = GpiSetDefaultViewMatrix (hps, lCount, pmatlfarray, lOptions);
3414 __FPU_CW_Restore();
3415 return ret;
3416}
3417#define GpiSetDefaultViewMatrix __FPU_CW_GpiSetDefaultViewMatrix
3418
3419inline BOOL APIENTRY __FPU_CW_GpiSetDefTag (HPS hps, LONG lTag)
3420{
3421 BOOL ret = GpiSetDefTag (hps, lTag);
3422 __FPU_CW_Restore();
3423 return ret;
3424}
3425#define GpiSetDefTag __FPU_CW_GpiSetDefTag
3426
3427inline BOOL APIENTRY __FPU_CW_GpiSetDefViewingLimits (HPS hps, __const__ RECTL *prclLimits)
3428{
3429 BOOL ret = GpiSetDefViewingLimits (hps, prclLimits);
3430 __FPU_CW_Restore();
3431 return ret;
3432}
3433#define GpiSetDefViewingLimits __FPU_CW_GpiSetDefViewingLimits
3434
3435inline BOOL APIENTRY __FPU_CW_GpiSetEditMode (HPS hps, LONG lMode)
3436{
3437 BOOL ret = GpiSetEditMode (hps, lMode);
3438 __FPU_CW_Restore();
3439 return ret;
3440}
3441#define GpiSetEditMode __FPU_CW_GpiSetEditMode
3442
3443inline BOOL APIENTRY __FPU_CW_GpiSetElementPointer (HPS hps, LONG lElement)
3444{
3445 BOOL ret = GpiSetElementPointer (hps, lElement);
3446 __FPU_CW_Restore();
3447 return ret;
3448}
3449#define GpiSetElementPointer __FPU_CW_GpiSetElementPointer
3450
3451inline BOOL APIENTRY __FPU_CW_GpiSetElementPointerAtLabel (HPS hps, LONG lLabel)
3452{
3453 BOOL ret = GpiSetElementPointerAtLabel (hps, lLabel);
3454 __FPU_CW_Restore();
3455 return ret;
3456}
3457#define GpiSetElementPointerAtLabel __FPU_CW_GpiSetElementPointerAtLabel
3458
3459inline BOOL APIENTRY __FPU_CW_GpiSetGraphicsField (HPS hps, __const__ RECTL *prclField)
3460{
3461 BOOL ret = GpiSetGraphicsField (hps, prclField);
3462 __FPU_CW_Restore();
3463 return ret;
3464}
3465#define GpiSetGraphicsField __FPU_CW_GpiSetGraphicsField
3466
3467inline BOOL APIENTRY __FPU_CW_GpiSetLineEnd (HPS hps, LONG lLineEnd)
3468{
3469 BOOL ret = GpiSetLineEnd (hps, lLineEnd);
3470 __FPU_CW_Restore();
3471 return ret;
3472}
3473#define GpiSetLineEnd __FPU_CW_GpiSetLineEnd
3474
3475inline BOOL APIENTRY __FPU_CW_GpiSetLineJoin (HPS hps, LONG lLineJoin)
3476{
3477 BOOL ret = GpiSetLineJoin (hps, lLineJoin);
3478 __FPU_CW_Restore();
3479 return ret;
3480}
3481#define GpiSetLineJoin __FPU_CW_GpiSetLineJoin
3482
3483inline BOOL APIENTRY __FPU_CW_GpiSetLineType (HPS hps, LONG lLineType)
3484{
3485 BOOL ret = GpiSetLineType (hps, lLineType);
3486 __FPU_CW_Restore();
3487 return ret;
3488}
3489#define GpiSetLineType __FPU_CW_GpiSetLineType
3490
3491inline BOOL APIENTRY __FPU_CW_GpiSetLineWidth (HPS hps, FIXED fxLineWidth)
3492{
3493 BOOL ret = GpiSetLineWidth (hps, fxLineWidth);
3494 __FPU_CW_Restore();
3495 return ret;
3496}
3497#define GpiSetLineWidth __FPU_CW_GpiSetLineWidth
3498
3499inline BOOL APIENTRY __FPU_CW_GpiSetLineWidthGeom (HPS hps, LONG lLineWidth)
3500{
3501 BOOL ret = GpiSetLineWidthGeom (hps, lLineWidth);
3502 __FPU_CW_Restore();
3503 return ret;
3504}
3505#define GpiSetLineWidthGeom __FPU_CW_GpiSetLineWidthGeom
3506
3507inline BOOL APIENTRY __FPU_CW_GpiSetMarker (HPS hps, LONG lSymbol)
3508{
3509 BOOL ret = GpiSetMarker (hps, lSymbol);
3510 __FPU_CW_Restore();
3511 return ret;
3512}
3513#define GpiSetMarker __FPU_CW_GpiSetMarker
3514
3515inline BOOL APIENTRY __FPU_CW_GpiSetMarkerBox (HPS hps, __const__ SIZEF *psizfxSize)
3516{
3517 BOOL ret = GpiSetMarkerBox (hps, psizfxSize);
3518 __FPU_CW_Restore();
3519 return ret;
3520}
3521#define GpiSetMarkerBox __FPU_CW_GpiSetMarkerBox
3522
3523inline BOOL APIENTRY __FPU_CW_GpiSetMarkerSet (HPS hps, LONG lSet)
3524{
3525 BOOL ret = GpiSetMarkerSet (hps, lSet);
3526 __FPU_CW_Restore();
3527 return ret;
3528}
3529#define GpiSetMarkerSet __FPU_CW_GpiSetMarkerSet
3530
3531inline BOOL APIENTRY __FPU_CW_GpiSetMetaFileBits (HMF hmf, LONG lOffset, LONG lLength, __const__ BYTE *pbBuffer)
3532{
3533 BOOL ret = GpiSetMetaFileBits (hmf, lOffset, lLength, pbBuffer);
3534 __FPU_CW_Restore();
3535 return ret;
3536}
3537#define GpiSetMetaFileBits __FPU_CW_GpiSetMetaFileBits
3538
3539inline BOOL APIENTRY __FPU_CW_GpiSetMix (HPS hps, LONG lMixMode)
3540{
3541 BOOL ret = GpiSetMix (hps, lMixMode);
3542 __FPU_CW_Restore();
3543 return ret;
3544}
3545#define GpiSetMix __FPU_CW_GpiSetMix
3546
3547inline BOOL APIENTRY __FPU_CW_GpiSetModelTransformMatrix (HPS hps, LONG lCount, __const__ MATRIXLF *pmatlfArray, LONG lOptions)
3548{
3549 BOOL ret = GpiSetModelTransformMatrix (hps, lCount, pmatlfArray, lOptions);
3550 __FPU_CW_Restore();
3551 return ret;
3552}
3553#define GpiSetModelTransformMatrix __FPU_CW_GpiSetModelTransformMatrix
3554
3555inline BOOL APIENTRY __FPU_CW_GpiSetPageViewport (HPS hps, __const__ RECTL *prclViewport)
3556{
3557 BOOL ret = GpiSetPageViewport (hps, prclViewport);
3558 __FPU_CW_Restore();
3559 return ret;
3560}
3561#define GpiSetPageViewport __FPU_CW_GpiSetPageViewport
3562
3563inline BOOL APIENTRY __FPU_CW_GpiSetPaletteEntries (HPAL hpal, ULONG ulFormat, ULONG ulStart, ULONG ulCount, __const__ ULONG *aulTable)
3564{
3565 BOOL ret = GpiSetPaletteEntries (hpal, ulFormat, ulStart, ulCount, aulTable);
3566 __FPU_CW_Restore();
3567 return ret;
3568}
3569#define GpiSetPaletteEntries __FPU_CW_GpiSetPaletteEntries
3570
3571inline BOOL APIENTRY __FPU_CW_GpiSetPattern (HPS hps, LONG lPatternSymbol)
3572{
3573 BOOL ret = GpiSetPattern (hps, lPatternSymbol);
3574 __FPU_CW_Restore();
3575 return ret;
3576}
3577#define GpiSetPattern __FPU_CW_GpiSetPattern
3578
3579inline BOOL APIENTRY __FPU_CW_GpiSetPatternRefPoint (HPS hps, __const__ POINTL *pptlRefPoint)
3580{
3581 BOOL ret = GpiSetPatternRefPoint (hps, pptlRefPoint);
3582 __FPU_CW_Restore();
3583 return ret;
3584}
3585#define GpiSetPatternRefPoint __FPU_CW_GpiSetPatternRefPoint
3586
3587inline BOOL APIENTRY __FPU_CW_GpiSetPatternSet (HPS hps, LONG lSet)
3588{
3589 BOOL ret = GpiSetPatternSet (hps, lSet);
3590 __FPU_CW_Restore();
3591 return ret;
3592}
3593#define GpiSetPatternSet __FPU_CW_GpiSetPatternSet
3594
3595inline BOOL APIENTRY __FPU_CW_GpiSetRegion (HPS hps, HRGN hrgn, LONG lcount, __const__ RECTL *arclRectangles)
3596{
3597 BOOL ret = GpiSetRegion (hps, hrgn, lcount, arclRectangles);
3598 __FPU_CW_Restore();
3599 return ret;
3600}
3601#define GpiSetRegion __FPU_CW_GpiSetRegion
3602
3603inline BOOL APIENTRY __FPU_CW_GpiSetSegmentTransformMatrix (HPS hps, LONG lSegid, LONG lCount, __const__ MATRIXLF *pmatlfarray, LONG lOptions)
3604{
3605 BOOL ret = GpiSetSegmentTransformMatrix (hps, lSegid, lCount, pmatlfarray, lOptions);
3606 __FPU_CW_Restore();
3607 return ret;
3608}
3609#define GpiSetSegmentTransformMatrix __FPU_CW_GpiSetSegmentTransformMatrix
3610
3611inline BOOL APIENTRY __FPU_CW_GpiSetTextAlignment (HPS hps, LONG lHoriz, LONG lVert)
3612{
3613 BOOL ret = GpiSetTextAlignment (hps, lHoriz, lVert);
3614 __FPU_CW_Restore();
3615 return ret;
3616}
3617#define GpiSetTextAlignment __FPU_CW_GpiSetTextAlignment
3618
3619inline BOOL APIENTRY __FPU_CW_GpiSetViewingLimits (HPS hps, __const__ RECTL *prclLimits)
3620{
3621 BOOL ret = GpiSetViewingLimits (hps, prclLimits);
3622 __FPU_CW_Restore();
3623 return ret;
3624}
3625#define GpiSetViewingLimits __FPU_CW_GpiSetViewingLimits
3626
3627inline BOOL APIENTRY __FPU_CW_GpiSetViewingTransformMatrix (HPS hps, LONG lCount, __const__ MATRIXLF *pmatlfArray, LONG lOptions)
3628{
3629 BOOL ret = GpiSetViewingTransformMatrix (hps, lCount, pmatlfArray, lOptions);
3630 __FPU_CW_Restore();
3631 return ret;
3632}
3633#define GpiSetViewingTransformMatrix __FPU_CW_GpiSetViewingTransformMatrix
3634
3635inline LONG APIENTRY __FPU_CW_GpiStrokePath (HPS hps, LONG lPath, ULONG flOptions)
3636{
3637 LONG ret = GpiStrokePath (hps, lPath, flOptions);
3638 __FPU_CW_Restore();
3639 return ret;
3640}
3641#define GpiStrokePath __FPU_CW_GpiStrokePath
3642
3643inline BOOL APIENTRY __FPU_CW_GpiTranslate (HPS hps, PMATRIXLF pmatlfArray, LONG lOptions, __const__ POINTL *pptlTranslation)
3644{
3645 BOOL ret = GpiTranslate (hps, pmatlfArray, lOptions, pptlTranslation);
3646 __FPU_CW_Restore();
3647 return ret;
3648}
3649#define GpiTranslate __FPU_CW_GpiTranslate
3650
3651inline BOOL APIENTRY __FPU_CW_GpiUnloadFonts (HAB hab, PCSZ pszFilename)
3652{
3653 BOOL ret = GpiUnloadFonts (hab, pszFilename);
3654 __FPU_CW_Restore();
3655 return ret;
3656}
3657#define GpiUnloadFonts __FPU_CW_GpiUnloadFonts
3658
3659inline BOOL APIENTRY __FPU_CW_GpiUnloadPublicFonts (HAB hab, PCSZ pszFilename)
3660{
3661 BOOL ret = GpiUnloadPublicFonts (hab, pszFilename);
3662 __FPU_CW_Restore();
3663 return ret;
3664}
3665#define GpiUnloadPublicFonts __FPU_CW_GpiUnloadPublicFonts
3666
3667inline LONG APIENTRY __FPU_CW_GpiBitBlt (HPS hpsTarget, HPS hpsSource, LONG lCount, __const__ POINTL *aptlPoints, LONG lRop, ULONG flOptions)
3668{
3669 LONG ret = GpiBitBlt (hpsTarget, hpsSource, lCount, aptlPoints, lRop, flOptions);
3670 __FPU_CW_Restore();
3671 return ret;
3672}
3673#define GpiBitBlt __FPU_CW_GpiBitBlt
3674
3675inline BOOL APIENTRY __FPU_CW_GpiDeleteBitmap (HBITMAP hbm)
3676{
3677 BOOL ret = GpiDeleteBitmap (hbm);
3678 __FPU_CW_Restore();
3679 return ret;
3680}
3681#define GpiDeleteBitmap __FPU_CW_GpiDeleteBitmap
3682
3683inline HBITMAP APIENTRY __FPU_CW_GpiLoadBitmap (HPS hps, HMODULE Resource, ULONG idBitmap, LONG lWidth, LONG lHeight)
3684{
3685 HBITMAP ret = GpiLoadBitmap (hps, Resource, idBitmap, lWidth, lHeight);
3686 __FPU_CW_Restore();
3687 return ret;
3688}
3689#define GpiLoadBitmap __FPU_CW_GpiLoadBitmap
3690
3691inline HBITMAP APIENTRY __FPU_CW_GpiSetBitmap (HPS hps, HBITMAP hbm)
3692{
3693 HBITMAP ret = GpiSetBitmap (hps, hbm);
3694 __FPU_CW_Restore();
3695 return ret;
3696}
3697#define GpiSetBitmap __FPU_CW_GpiSetBitmap
3698
3699inline LONG APIENTRY __FPU_CW_GpiWCBitBlt (HPS hpsTarget, HBITMAP hbmSource, LONG lCount, __const__ POINTL *aptlPoints, LONG lRop, ULONG flOptions)
3700{
3701 LONG ret = GpiWCBitBlt (hpsTarget, hbmSource, lCount, aptlPoints, lRop, flOptions);
3702 __FPU_CW_Restore();
3703 return ret;
3704}
3705#define GpiWCBitBlt __FPU_CW_GpiWCBitBlt
3706
3707inline HBITMAP APIENTRY __FPU_CW_GpiCreateBitmap (HPS hps, __const__ BITMAPINFOHEADER2 *pbmpNew, ULONG flOptions, __const__ BYTE *pbInitData, __const__ BITMAPINFO2 *pbmiInfoTable)
3708{
3709 HBITMAP ret = GpiCreateBitmap (hps, pbmpNew, flOptions, pbInitData, pbmiInfoTable);
3710 __FPU_CW_Restore();
3711 return ret;
3712}
3713#define GpiCreateBitmap __FPU_CW_GpiCreateBitmap
3714
3715inline LONG APIENTRY __FPU_CW_GpiDrawBits (HPS hps, __const__ VOID *pBits, __const__ BITMAPINFO2 *pbmiInfoTable, LONG lCount, __const__ POINTL *aptlPoints, LONG lRop, ULONG flOptions)
3716{
3717 LONG ret = GpiDrawBits (hps, pBits, pbmiInfoTable, lCount, aptlPoints, lRop, flOptions);
3718 __FPU_CW_Restore();
3719 return ret;
3720}
3721#define GpiDrawBits __FPU_CW_GpiDrawBits
3722
3723inline LONG APIENTRY __FPU_CW_GpiFloodFill (HPS hps, LONG lOptions, LONG lColor)
3724{
3725 LONG ret = GpiFloodFill (hps, lOptions, lColor);
3726 __FPU_CW_Restore();
3727 return ret;
3728}
3729#define GpiFloodFill __FPU_CW_GpiFloodFill
3730
3731inline LONG APIENTRY __FPU_CW_GpiQueryBitmapBits (HPS hps, LONG lScanStart, LONG lScans, PBYTE pbBuffer, PBITMAPINFO2 pbmiInfoTable)
3732{
3733 LONG ret = GpiQueryBitmapBits (hps, lScanStart, lScans, pbBuffer, pbmiInfoTable);
3734 __FPU_CW_Restore();
3735 return ret;
3736}
3737#define GpiQueryBitmapBits __FPU_CW_GpiQueryBitmapBits
3738
3739inline BOOL APIENTRY __FPU_CW_GpiQueryBitmapDimension (HBITMAP hbm, PSIZEL psizlBitmapDimension)
3740{
3741 BOOL ret = GpiQueryBitmapDimension (hbm, psizlBitmapDimension);
3742 __FPU_CW_Restore();
3743 return ret;
3744}
3745#define GpiQueryBitmapDimension __FPU_CW_GpiQueryBitmapDimension
3746
3747inline HBITMAP APIENTRY __FPU_CW_GpiQueryBitmapHandle (HPS hps, LONG lLcid)
3748{
3749 HBITMAP ret = GpiQueryBitmapHandle (hps, lLcid);
3750 __FPU_CW_Restore();
3751 return ret;
3752}
3753#define GpiQueryBitmapHandle __FPU_CW_GpiQueryBitmapHandle
3754
3755inline BOOL APIENTRY __FPU_CW_GpiQueryBitmapInfoHeader (HBITMAP hbm, PBITMAPINFOHEADER2 pbmpData)
3756{
3757 BOOL ret = GpiQueryBitmapInfoHeader (hbm, pbmpData);
3758 __FPU_CW_Restore();
3759 return ret;
3760}
3761#define GpiQueryBitmapInfoHeader __FPU_CW_GpiQueryBitmapInfoHeader
3762
3763inline BOOL APIENTRY __FPU_CW_GpiQueryBitmapParameters (HBITMAP hbm, PBITMAPINFOHEADER pbmpData)
3764{
3765 BOOL ret = GpiQueryBitmapParameters (hbm, pbmpData);
3766 __FPU_CW_Restore();
3767 return ret;
3768}
3769#define GpiQueryBitmapParameters __FPU_CW_GpiQueryBitmapParameters
3770
3771inline BOOL APIENTRY __FPU_CW_GpiQueryDeviceBitmapFormats (HPS hps, LONG lCount, PLONG alArray)
3772{
3773 BOOL ret = GpiQueryDeviceBitmapFormats (hps, lCount, alArray);
3774 __FPU_CW_Restore();
3775 return ret;
3776}
3777#define GpiQueryDeviceBitmapFormats __FPU_CW_GpiQueryDeviceBitmapFormats
3778
3779inline LONG APIENTRY __FPU_CW_GpiSetBitmapBits (HPS hps, LONG lScanStart, LONG lScans, __const__ BYTE *pbBuffer, __const__ BITMAPINFO2 *pbmiInfoTable)
3780{
3781 LONG ret = GpiSetBitmapBits (hps, lScanStart, lScans, pbBuffer, pbmiInfoTable);
3782 __FPU_CW_Restore();
3783 return ret;
3784}
3785#define GpiSetBitmapBits __FPU_CW_GpiSetBitmapBits
3786
3787inline LONG APIENTRY __FPU_CW_GpiQueryPel (HPS hps, PPOINTL pptlPoint)
3788{
3789 LONG ret = GpiQueryPel (hps, pptlPoint);
3790 __FPU_CW_Restore();
3791 return ret;
3792}
3793#define GpiQueryPel __FPU_CW_GpiQueryPel
3794
3795inline BOOL APIENTRY __FPU_CW_GpiSetBitmapDimension (HBITMAP hbm, __const__ SIZEL *psizlBitmapDimension)
3796{
3797 BOOL ret = GpiSetBitmapDimension (hbm, psizlBitmapDimension);
3798 __FPU_CW_Restore();
3799 return ret;
3800}
3801#define GpiSetBitmapDimension __FPU_CW_GpiSetBitmapDimension
3802
3803inline BOOL APIENTRY __FPU_CW_GpiSetBitmapId (HPS hps, HBITMAP hbm, LONG lLcid)
3804{
3805 BOOL ret = GpiSetBitmapId (hps, hbm, lLcid);
3806 __FPU_CW_Restore();
3807 return ret;
3808}
3809#define GpiSetBitmapId __FPU_CW_GpiSetBitmapId
3810
3811inline LONG APIENTRY __FPU_CW_GpiSetPel (HPS hps, __const__ POINTL *pptlPoint)
3812{
3813 LONG ret = GpiSetPel (hps, pptlPoint);
3814 __FPU_CW_Restore();
3815 return ret;
3816}
3817#define GpiSetPel __FPU_CW_GpiSetPel
3818
3819inline BOOL APIENTRY __FPU_CW_GpiAssociate (HPS hps, HDC hdc)
3820{
3821 BOOL ret = GpiAssociate (hps, hdc);
3822 __FPU_CW_Restore();
3823 return ret;
3824}
3825#define GpiAssociate __FPU_CW_GpiAssociate
3826
3827inline HPS APIENTRY __FPU_CW_GpiCreatePS (HAB hab, HDC hdc, PSIZEL psizlSize, ULONG flOptions)
3828{
3829 HPS ret = GpiCreatePS (hab, hdc, psizlSize, flOptions);
3830 __FPU_CW_Restore();
3831 return ret;
3832}
3833#define GpiCreatePS __FPU_CW_GpiCreatePS
3834
3835inline BOOL APIENTRY __FPU_CW_GpiDestroyPS (HPS hps)
3836{
3837 BOOL ret = GpiDestroyPS (hps);
3838 __FPU_CW_Restore();
3839 return ret;
3840}
3841#define GpiDestroyPS __FPU_CW_GpiDestroyPS
3842
3843inline BOOL APIENTRY __FPU_CW_GpiErase (HPS hps)
3844{
3845 BOOL ret = GpiErase (hps);
3846 __FPU_CW_Restore();
3847 return ret;
3848}
3849#define GpiErase __FPU_CW_GpiErase
3850
3851inline HDC APIENTRY __FPU_CW_GpiQueryDevice (HPS hps)
3852{
3853 HDC ret = GpiQueryDevice (hps);
3854 __FPU_CW_Restore();
3855 return ret;
3856}
3857#define GpiQueryDevice __FPU_CW_GpiQueryDevice
3858
3859inline BOOL APIENTRY __FPU_CW_GpiRestorePS (HPS hps, LONG lPSid)
3860{
3861 BOOL ret = GpiRestorePS (hps, lPSid);
3862 __FPU_CW_Restore();
3863 return ret;
3864}
3865#define GpiRestorePS __FPU_CW_GpiRestorePS
3866
3867inline LONG APIENTRY __FPU_CW_GpiSavePS (HPS hps)
3868{
3869 LONG ret = GpiSavePS (hps);
3870 __FPU_CW_Restore();
3871 return ret;
3872}
3873#define GpiSavePS __FPU_CW_GpiSavePS
3874
3875inline LONG APIENTRY __FPU_CW_GpiErrorSegmentData (HPS hps, PLONG plSegment, PLONG plContext)
3876{
3877 LONG ret = GpiErrorSegmentData (hps, plSegment, plContext);
3878 __FPU_CW_Restore();
3879 return ret;
3880}
3881#define GpiErrorSegmentData __FPU_CW_GpiErrorSegmentData
3882
3883inline LONG APIENTRY __FPU_CW_GpiQueryDrawControl (HPS hps, LONG lControl)
3884{
3885 LONG ret = GpiQueryDrawControl (hps, lControl);
3886 __FPU_CW_Restore();
3887 return ret;
3888}
3889#define GpiQueryDrawControl __FPU_CW_GpiQueryDrawControl
3890
3891inline LONG APIENTRY __FPU_CW_GpiQueryDrawingMode (HPS hps)
3892{
3893 LONG ret = GpiQueryDrawingMode (hps);
3894 __FPU_CW_Restore();
3895 return ret;
3896}
3897#define GpiQueryDrawingMode __FPU_CW_GpiQueryDrawingMode
3898
3899inline ULONG APIENTRY __FPU_CW_GpiQueryPS (HPS hps, PSIZEL psizlSize)
3900{
3901 ULONG ret = GpiQueryPS (hps, psizlSize);
3902 __FPU_CW_Restore();
3903 return ret;
3904}
3905#define GpiQueryPS __FPU_CW_GpiQueryPS
3906
3907inline BOOL APIENTRY __FPU_CW_GpiResetPS (HPS hps, ULONG flOptions)
3908{
3909 BOOL ret = GpiResetPS (hps, flOptions);
3910 __FPU_CW_Restore();
3911 return ret;
3912}
3913#define GpiResetPS __FPU_CW_GpiResetPS
3914
3915inline LONG APIENTRY __FPU_CW_GpiQueryStopDraw (HPS hps)
3916{
3917 LONG ret = GpiQueryStopDraw (hps);
3918 __FPU_CW_Restore();
3919 return ret;
3920}
3921#define GpiQueryStopDraw __FPU_CW_GpiQueryStopDraw
3922
3923inline BOOL APIENTRY __FPU_CW_GpiSetDrawControl (HPS hps, LONG lControl, LONG lValue)
3924{
3925 BOOL ret = GpiSetDrawControl (hps, lControl, lValue);
3926 __FPU_CW_Restore();
3927 return ret;
3928}
3929#define GpiSetDrawControl __FPU_CW_GpiSetDrawControl
3930
3931inline BOOL APIENTRY __FPU_CW_GpiSetDrawingMode (HPS hps, LONG lMode)
3932{
3933 BOOL ret = GpiSetDrawingMode (hps, lMode);
3934 __FPU_CW_Restore();
3935 return ret;
3936}
3937#define GpiSetDrawingMode __FPU_CW_GpiSetDrawingMode
3938
3939inline BOOL APIENTRY __FPU_CW_GpiSetPS (HPS hps, __const__ SIZEL *psizlsize, ULONG flOptions)
3940{
3941 BOOL ret = GpiSetPS (hps, psizlsize, flOptions);
3942 __FPU_CW_Restore();
3943 return ret;
3944}
3945#define GpiSetPS __FPU_CW_GpiSetPS
3946
3947inline BOOL APIENTRY __FPU_CW_GpiSetStopDraw (HPS hps, LONG lValue)
3948{
3949 BOOL ret = GpiSetStopDraw (hps, lValue);
3950 __FPU_CW_Restore();
3951 return ret;
3952}
3953#define GpiSetStopDraw __FPU_CW_GpiSetStopDraw
3954
3955inline LONG APIENTRY __FPU_CW_GpiCorrelateChain (HPS hps, LONG lType, __const__ POINTL *pptlPick, LONG lMaxHits, LONG lMaxDepth, PLONG pl2)
3956{
3957 LONG ret = GpiCorrelateChain (hps, lType, pptlPick, lMaxHits, lMaxDepth, pl2);
3958 __FPU_CW_Restore();
3959 return ret;
3960}
3961#define GpiCorrelateChain __FPU_CW_GpiCorrelateChain
3962
3963inline LONG APIENTRY __FPU_CW_GpiCorrelateFrom (HPS hps, LONG lFirstSegment, LONG lLastSegment, LONG lType, __const__ POINTL *pptlPick, LONG lMaxHits, LONG lMaxDepth, PLONG plSegTag)
3964{
3965 LONG ret = GpiCorrelateFrom (hps, lFirstSegment, lLastSegment, lType, pptlPick, lMaxHits, lMaxDepth, plSegTag);
3966 __FPU_CW_Restore();
3967 return ret;
3968}
3969#define GpiCorrelateFrom __FPU_CW_GpiCorrelateFrom
3970
3971inline LONG APIENTRY __FPU_CW_GpiCorrelateSegment (HPS hps, LONG lSegment, LONG lType, __const__ POINTL *pptlPick, LONG lMaxHits, LONG lMaxDepth, PLONG alSegTag)
3972{
3973 LONG ret = GpiCorrelateSegment (hps, lSegment, lType, pptlPick, lMaxHits, lMaxDepth, alSegTag);
3974 __FPU_CW_Restore();
3975 return ret;
3976}
3977#define GpiCorrelateSegment __FPU_CW_GpiCorrelateSegment
3978
3979inline BOOL APIENTRY __FPU_CW_GpiQueryBoundaryData (HPS hps, PRECTL prclBoundary)
3980{
3981 BOOL ret = GpiQueryBoundaryData (hps, prclBoundary);
3982 __FPU_CW_Restore();
3983 return ret;
3984}
3985#define GpiQueryBoundaryData __FPU_CW_GpiQueryBoundaryData
3986
3987inline BOOL APIENTRY __FPU_CW_GpiQueryPickAperturePosition (HPS hps, PPOINTL pptlPoint)
3988{
3989 BOOL ret = GpiQueryPickAperturePosition (hps, pptlPoint);
3990 __FPU_CW_Restore();
3991 return ret;
3992}
3993#define GpiQueryPickAperturePosition __FPU_CW_GpiQueryPickAperturePosition
3994
3995inline BOOL APIENTRY __FPU_CW_GpiQueryPickApertureSize (HPS hps, PSIZEL psizlSize)
3996{
3997 BOOL ret = GpiQueryPickApertureSize (hps, psizlSize);
3998 __FPU_CW_Restore();
3999 return ret;
4000}
4001#define GpiQueryPickApertureSize __FPU_CW_GpiQueryPickApertureSize
4002
4003inline BOOL APIENTRY __FPU_CW_GpiQueryTag (HPS hps, PLONG plTag)
4004{
4005 BOOL ret = GpiQueryTag (hps, plTag);
4006 __FPU_CW_Restore();
4007 return ret;
4008}
4009#define GpiQueryTag __FPU_CW_GpiQueryTag
4010
4011inline BOOL APIENTRY __FPU_CW_GpiResetBoundaryData (HPS hps)
4012{
4013 BOOL ret = GpiResetBoundaryData (hps);
4014 __FPU_CW_Restore();
4015 return ret;
4016}
4017#define GpiResetBoundaryData __FPU_CW_GpiResetBoundaryData
4018
4019inline BOOL APIENTRY __FPU_CW_GpiSetPickAperturePosition (HPS hps, __const__ POINTL *pptlPick)
4020{
4021 BOOL ret = GpiSetPickAperturePosition (hps, pptlPick);
4022 __FPU_CW_Restore();
4023 return ret;
4024}
4025#define GpiSetPickAperturePosition __FPU_CW_GpiSetPickAperturePosition
4026
4027inline BOOL APIENTRY __FPU_CW_GpiSetPickApertureSize (HPS hps, LONG lOptions, __const__ SIZEL *psizlSize)
4028{
4029 BOOL ret = GpiSetPickApertureSize (hps, lOptions, psizlSize);
4030 __FPU_CW_Restore();
4031 return ret;
4032}
4033#define GpiSetPickApertureSize __FPU_CW_GpiSetPickApertureSize
4034
4035inline BOOL APIENTRY __FPU_CW_GpiSetTag (HPS hps, LONG lTag)
4036{
4037 BOOL ret = GpiSetTag (hps, lTag);
4038 __FPU_CW_Restore();
4039 return ret;
4040}
4041#define GpiSetTag __FPU_CW_GpiSetTag
4042
4043inline BOOL APIENTRY __FPU_CW_GpiBeginInkPath (HPS hps, LONG lPath, ULONG flOptions)
4044{
4045 BOOL ret = GpiBeginInkPath (hps, lPath, flOptions);
4046 __FPU_CW_Restore();
4047 return ret;
4048}
4049#define GpiBeginInkPath __FPU_CW_GpiBeginInkPath
4050
4051inline BOOL APIENTRY __FPU_CW_GpiEndInkPath (HPS hps, ULONG flOptions)
4052{
4053 BOOL ret = GpiEndInkPath (hps, flOptions);
4054 __FPU_CW_Restore();
4055 return ret;
4056}
4057#define GpiEndInkPath __FPU_CW_GpiEndInkPath
4058
4059inline LONG APIENTRY __FPU_CW_GpiStrokeInkPath (HPS hps, LONG lPath, LONG lCount, __const__ POINTL *aptlPoints, ULONG flOptions)
4060{
4061 LONG ret = GpiStrokeInkPath (hps, lPath, lCount, aptlPoints, flOptions);
4062 __FPU_CW_Restore();
4063 return ret;
4064}
4065#define GpiStrokeInkPath __FPU_CW_GpiStrokeInkPath
4066
4067inline BOOL APIENTRY __FPU_CW_GpiCloseSegment (HPS hps)
4068{
4069 BOOL ret = GpiCloseSegment (hps);
4070 __FPU_CW_Restore();
4071 return ret;
4072}
4073#define GpiCloseSegment __FPU_CW_GpiCloseSegment
4074
4075inline BOOL APIENTRY __FPU_CW_GpiDeleteSegment (HPS hps, LONG lSegid)
4076{
4077 BOOL ret = GpiDeleteSegment (hps, lSegid);
4078 __FPU_CW_Restore();
4079 return ret;
4080}
4081#define GpiDeleteSegment __FPU_CW_GpiDeleteSegment
4082
4083inline BOOL APIENTRY __FPU_CW_GpiDeleteSegments (HPS hps, LONG lFirstSegment, LONG lLastSegment)
4084{
4085 BOOL ret = GpiDeleteSegments (hps, lFirstSegment, lLastSegment);
4086 __FPU_CW_Restore();
4087 return ret;
4088}
4089#define GpiDeleteSegments __FPU_CW_GpiDeleteSegments
4090
4091inline BOOL APIENTRY __FPU_CW_GpiDrawChain (HPS hps)
4092{
4093 BOOL ret = GpiDrawChain (hps);
4094 __FPU_CW_Restore();
4095 return ret;
4096}
4097#define GpiDrawChain __FPU_CW_GpiDrawChain
4098
4099inline BOOL APIENTRY __FPU_CW_GpiDrawDynamics (HPS hps)
4100{
4101 BOOL ret = GpiDrawDynamics (hps);
4102 __FPU_CW_Restore();
4103 return ret;
4104}
4105#define GpiDrawDynamics __FPU_CW_GpiDrawDynamics
4106
4107inline BOOL APIENTRY __FPU_CW_GpiDrawFrom (HPS hps, LONG lFirstSegment, LONG lLastSegment)
4108{
4109 BOOL ret = GpiDrawFrom (hps, lFirstSegment, lLastSegment);
4110 __FPU_CW_Restore();
4111 return ret;
4112}
4113#define GpiDrawFrom __FPU_CW_GpiDrawFrom
4114
4115inline BOOL APIENTRY __FPU_CW_GpiDrawSegment (HPS hps, LONG lSegment)
4116{
4117 BOOL ret = GpiDrawSegment (hps, lSegment);
4118 __FPU_CW_Restore();
4119 return ret;
4120}
4121#define GpiDrawSegment __FPU_CW_GpiDrawSegment
4122
4123inline LONG APIENTRY __FPU_CW_GpiGetData (HPS hps, LONG lSegid, PLONG plOffset, LONG lFormat, LONG lLength, PBYTE pbData)
4124{
4125 LONG ret = GpiGetData (hps, lSegid, plOffset, lFormat, lLength, pbData);
4126 __FPU_CW_Restore();
4127 return ret;
4128}
4129#define GpiGetData __FPU_CW_GpiGetData
4130
4131inline BOOL APIENTRY __FPU_CW_GpiOpenSegment (HPS hps, LONG lSegment)
4132{
4133 BOOL ret = GpiOpenSegment (hps, lSegment);
4134 __FPU_CW_Restore();
4135 return ret;
4136}
4137#define GpiOpenSegment __FPU_CW_GpiOpenSegment
4138
4139inline LONG APIENTRY __FPU_CW_GpiPutData (HPS hps, LONG lFormat, PLONG plCount, __const__ BYTE *pbData)
4140{
4141 LONG ret = GpiPutData (hps, lFormat, plCount, pbData);
4142 __FPU_CW_Restore();
4143 return ret;
4144}
4145#define GpiPutData __FPU_CW_GpiPutData
4146
4147inline LONG APIENTRY __FPU_CW_GpiQueryInitialSegmentAttrs (HPS hps, LONG lAttribute)
4148{
4149 LONG ret = GpiQueryInitialSegmentAttrs (hps, lAttribute);
4150 __FPU_CW_Restore();
4151 return ret;
4152}
4153#define GpiQueryInitialSegmentAttrs __FPU_CW_GpiQueryInitialSegmentAttrs
4154
4155inline LONG APIENTRY __FPU_CW_GpiQuerySegmentAttrs (HPS hps, LONG lSegid, LONG lAttribute)
4156{
4157 LONG ret = GpiQuerySegmentAttrs (hps, lSegid, lAttribute);
4158 __FPU_CW_Restore();
4159 return ret;
4160}
4161#define GpiQuerySegmentAttrs __FPU_CW_GpiQuerySegmentAttrs
4162
4163inline LONG APIENTRY __FPU_CW_GpiQuerySegmentNames (HPS hps, LONG lFirstSegid, LONG lLastSegid, LONG lMax, PLONG alSegids)
4164{
4165 LONG ret = GpiQuerySegmentNames (hps, lFirstSegid, lLastSegid, lMax, alSegids);
4166 __FPU_CW_Restore();
4167 return ret;
4168}
4169#define GpiQuerySegmentNames __FPU_CW_GpiQuerySegmentNames
4170
4171inline LONG APIENTRY __FPU_CW_GpiQuerySegmentPriority (HPS hps, LONG lRefSegid, LONG lOrder)
4172{
4173 LONG ret = GpiQuerySegmentPriority (hps, lRefSegid, lOrder);
4174 __FPU_CW_Restore();
4175 return ret;
4176}
4177#define GpiQuerySegmentPriority __FPU_CW_GpiQuerySegmentPriority
4178
4179inline BOOL APIENTRY __FPU_CW_GpiRemoveDynamics (HPS hps, LONG lFirstSegid, LONG lLastSegid)
4180{
4181 BOOL ret = GpiRemoveDynamics (hps, lFirstSegid, lLastSegid);
4182 __FPU_CW_Restore();
4183 return ret;
4184}
4185#define GpiRemoveDynamics __FPU_CW_GpiRemoveDynamics
4186
4187inline BOOL APIENTRY __FPU_CW_GpiSetInitialSegmentAttrs (HPS hps, LONG lAttribute, LONG lValue)
4188{
4189 BOOL ret = GpiSetInitialSegmentAttrs (hps, lAttribute, lValue);
4190 __FPU_CW_Restore();
4191 return ret;
4192}
4193#define GpiSetInitialSegmentAttrs __FPU_CW_GpiSetInitialSegmentAttrs
4194
4195inline BOOL APIENTRY __FPU_CW_GpiSetSegmentAttrs (HPS hps, LONG lSegid, LONG lAttribute, LONG lValue)
4196{
4197 BOOL ret = GpiSetSegmentAttrs (hps, lSegid, lAttribute, lValue);
4198 __FPU_CW_Restore();
4199 return ret;
4200}
4201#define GpiSetSegmentAttrs __FPU_CW_GpiSetSegmentAttrs
4202
4203inline BOOL APIENTRY __FPU_CW_GpiSetSegmentPriority (HPS hps, LONG lSegid, LONG lRefSegid, LONG lOrder)
4204{
4205 BOOL ret = GpiSetSegmentPriority (hps, lSegid, lRefSegid, lOrder);
4206 __FPU_CW_Restore();
4207 return ret;
4208}
4209#define GpiSetSegmentPriority __FPU_CW_GpiSetSegmentPriority
4210
4211inline HAPP APIENTRY __FPU_CW_WinStartApp (HWND hwndNotify, PPROGDETAILS pDetails, PCSZ pszParams, PVOID Reserved, ULONG fbOptions)
4212{
4213 HAPP ret = WinStartApp (hwndNotify, pDetails, pszParams, Reserved, fbOptions);
4214 __FPU_CW_Restore();
4215 return ret;
4216}
4217#define WinStartApp __FPU_CW_WinStartApp
4218
4219inline BOOL APIENTRY __FPU_CW_WinTerminateApp (HAPP happ)
4220{
4221 BOOL ret = WinTerminateApp (happ);
4222 __FPU_CW_Restore();
4223 return ret;
4224}
4225#define WinTerminateApp __FPU_CW_WinTerminateApp
4226
4227inline HSWITCH APIENTRY __FPU_CW_WinAddSwitchEntry (__const__ SWCNTRL *pswctl)
4228{
4229 HSWITCH ret = WinAddSwitchEntry (pswctl);
4230 __FPU_CW_Restore();
4231 return ret;
4232}
4233#define WinAddSwitchEntry __FPU_CW_WinAddSwitchEntry
4234
4235inline ULONG APIENTRY __FPU_CW_WinRemoveSwitchEntry (HSWITCH hsw)
4236{
4237 ULONG ret = WinRemoveSwitchEntry (hsw);
4238 __FPU_CW_Restore();
4239 return ret;
4240}
4241#define WinRemoveSwitchEntry __FPU_CW_WinRemoveSwitchEntry
4242
4243inline ULONG APIENTRY __FPU_CW_WinChangeSwitchEntry (HSWITCH hsw, __const__ SWCNTRL *pswctl)
4244{
4245 ULONG ret = WinChangeSwitchEntry (hsw, pswctl);
4246 __FPU_CW_Restore();
4247 return ret;
4248}
4249#define WinChangeSwitchEntry __FPU_CW_WinChangeSwitchEntry
4250
4251inline HSWITCH APIENTRY __FPU_CW_WinCreateSwitchEntry (HAB hab, __const__ SWCNTRL *pswctl)
4252{
4253 HSWITCH ret = WinCreateSwitchEntry (hab, pswctl);
4254 __FPU_CW_Restore();
4255 return ret;
4256}
4257#define WinCreateSwitchEntry __FPU_CW_WinCreateSwitchEntry
4258
4259inline ULONG APIENTRY __FPU_CW_WinQuerySessionTitle (HAB hab, ULONG usSession, PSZ pszTitle, ULONG usTitlelen)
4260{
4261 ULONG ret = WinQuerySessionTitle (hab, usSession, pszTitle, usTitlelen);
4262 __FPU_CW_Restore();
4263 return ret;
4264}
4265#define WinQuerySessionTitle __FPU_CW_WinQuerySessionTitle
4266
4267inline ULONG APIENTRY __FPU_CW_WinQuerySwitchEntry (HSWITCH hsw, PSWCNTRL pswctl)
4268{
4269 ULONG ret = WinQuerySwitchEntry (hsw, pswctl);
4270 __FPU_CW_Restore();
4271 return ret;
4272}
4273#define WinQuerySwitchEntry __FPU_CW_WinQuerySwitchEntry
4274
4275inline HSWITCH APIENTRY __FPU_CW_WinQuerySwitchHandle (HWND hwnd, PID pid)
4276{
4277 HSWITCH ret = WinQuerySwitchHandle (hwnd, pid);
4278 __FPU_CW_Restore();
4279 return ret;
4280}
4281#define WinQuerySwitchHandle __FPU_CW_WinQuerySwitchHandle
4282
4283inline ULONG APIENTRY __FPU_CW_WinQuerySwitchList (HAB hab, PSWBLOCK pswblk, ULONG usDataLength)
4284{
4285 ULONG ret = WinQuerySwitchList (hab, pswblk, usDataLength);
4286 __FPU_CW_Restore();
4287 return ret;
4288}
4289#define WinQuerySwitchList __FPU_CW_WinQuerySwitchList
4290
4291inline ULONG APIENTRY __FPU_CW_WinQueryTaskSizePos (HAB hab, ULONG usScreenGroup, PSWP pswp)
4292{
4293 ULONG ret = WinQueryTaskSizePos (hab, usScreenGroup, pswp);
4294 __FPU_CW_Restore();
4295 return ret;
4296}
4297#define WinQueryTaskSizePos __FPU_CW_WinQueryTaskSizePos
4298
4299inline ULONG APIENTRY __FPU_CW_WinQueryTaskTitle (ULONG usSession, PSZ pszTitle, ULONG usTitlelen)
4300{
4301 ULONG ret = WinQueryTaskTitle (usSession, pszTitle, usTitlelen);
4302 __FPU_CW_Restore();
4303 return ret;
4304}
4305#define WinQueryTaskTitle __FPU_CW_WinQueryTaskTitle
4306
4307inline ULONG APIENTRY __FPU_CW_WinSwitchToProgram (HSWITCH hsw)
4308{
4309 ULONG ret = WinSwitchToProgram (hsw);
4310 __FPU_CW_Restore();
4311 return ret;
4312}
4313#define WinSwitchToProgram __FPU_CW_WinSwitchToProgram
4314
4315inline MRESULT APIENTRY __FPU_CW_WinDefFileDlgProc (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
4316{
4317 MRESULT ret = WinDefFileDlgProc (hwnd, msg, mp1, mp2);
4318 __FPU_CW_Restore();
4319 return ret;
4320}
4321#define WinDefFileDlgProc __FPU_CW_WinDefFileDlgProc
4322
4323inline HWND APIENTRY __FPU_CW_WinFileDlg (HWND hwndP, HWND hwndO, PFILEDLG pfild)
4324{
4325 HWND ret = WinFileDlg (hwndP, hwndO, pfild);
4326 __FPU_CW_Restore();
4327 return ret;
4328}
4329#define WinFileDlg __FPU_CW_WinFileDlg
4330
4331inline BOOL APIENTRY __FPU_CW_WinFreeFileDlgList (PAPSZ papszFQFilename)
4332{
4333 BOOL ret = WinFreeFileDlgList (papszFQFilename);
4334 __FPU_CW_Restore();
4335 return ret;
4336}
4337#define WinFreeFileDlgList __FPU_CW_WinFreeFileDlgList
4338
4339inline HWND APIENTRY __FPU_CW_WinFontDlg (HWND hwndP, HWND hwndO, PFONTDLG pfntd)
4340{
4341 HWND ret = WinFontDlg (hwndP, hwndO, pfntd);
4342 __FPU_CW_Restore();
4343 return ret;
4344}
4345#define WinFontDlg __FPU_CW_WinFontDlg
4346
4347inline MRESULT APIENTRY __FPU_CW_WinDefFontDlgProc (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
4348{
4349 MRESULT ret = WinDefFontDlgProc (hwnd, msg, mp1, mp2);
4350 __FPU_CW_Restore();
4351 return ret;
4352}
4353#define WinDefFontDlgProc __FPU_CW_WinDefFontDlgProc
4354
4355inline HOBJECT APIENTRY __FPU_CW_WinCopyObject (HOBJECT hObjectofObject, HOBJECT hObjectofDest, ULONG ulReserved)
4356{
4357 HOBJECT ret = WinCopyObject (hObjectofObject, hObjectofDest, ulReserved);
4358 __FPU_CW_Restore();
4359 return ret;
4360}
4361#define WinCopyObject __FPU_CW_WinCopyObject
4362
4363inline HOBJECT APIENTRY __FPU_CW_WinCreateObject (PCSZ pszClassName, PCSZ pszTitle, PCSZ pszSetupString, PCSZ pszLocation, ULONG ulFlags)
4364{
4365 HOBJECT ret = WinCreateObject (pszClassName, pszTitle, pszSetupString, pszLocation, ulFlags);
4366 __FPU_CW_Restore();
4367 return ret;
4368}
4369#define WinCreateObject __FPU_CW_WinCreateObject
4370
4371inline HOBJECT APIENTRY __FPU_CW_WinCreateShadow (HOBJECT hObjectofObject, HOBJECT hObjectofDest, ULONG ulReserved)
4372{
4373 HOBJECT ret = WinCreateShadow (hObjectofObject, hObjectofDest, ulReserved);
4374 __FPU_CW_Restore();
4375 return ret;
4376}
4377#define WinCreateShadow __FPU_CW_WinCreateShadow
4378
4379inline BOOL APIENTRY __FPU_CW_WinDeregisterObjectClass (PCSZ pszClassName)
4380{
4381 BOOL ret = WinDeregisterObjectClass (pszClassName);
4382 __FPU_CW_Restore();
4383 return ret;
4384}
4385#define WinDeregisterObjectClass __FPU_CW_WinDeregisterObjectClass
4386
4387inline BOOL APIENTRY __FPU_CW_WinDestroyObject (HOBJECT hObject)
4388{
4389 BOOL ret = WinDestroyObject (hObject);
4390 __FPU_CW_Restore();
4391 return ret;
4392}
4393#define WinDestroyObject __FPU_CW_WinDestroyObject
4394
4395inline BOOL APIENTRY __FPU_CW_WinEnumObjectClasses (POBJCLASS pObjClass, PULONG pulSize)
4396{
4397 BOOL ret = WinEnumObjectClasses (pObjClass, pulSize);
4398 __FPU_CW_Restore();
4399 return ret;
4400}
4401#define WinEnumObjectClasses __FPU_CW_WinEnumObjectClasses
4402
4403inline BOOL APIENTRY __FPU_CW_WinIsSOMDDReady (VOID)
4404{
4405 BOOL ret = WinIsSOMDDReady ();
4406 __FPU_CW_Restore();
4407 return ret;
4408}
4409#define WinIsSOMDDReady __FPU_CW_WinIsSOMDDReady
4410
4411inline BOOL APIENTRY __FPU_CW_WinIsWPDServerReady (VOID)
4412{
4413 BOOL ret = WinIsWPDServerReady ();
4414 __FPU_CW_Restore();
4415 return ret;
4416}
4417#define WinIsWPDServerReady __FPU_CW_WinIsWPDServerReady
4418
4419inline HOBJECT APIENTRY __FPU_CW_WinMoveObject (HOBJECT hObjectofObject, HOBJECT hObjectofDest, ULONG ulReserved)
4420{
4421 HOBJECT ret = WinMoveObject (hObjectofObject, hObjectofDest, ulReserved);
4422 __FPU_CW_Restore();
4423 return ret;
4424}
4425#define WinMoveObject __FPU_CW_WinMoveObject
4426
4427inline BOOL APIENTRY __FPU_CW_WinOpenObject (HOBJECT hObject, ULONG ulView, BOOL fFlag)
4428{
4429 BOOL ret = WinOpenObject (hObject, ulView, fFlag);
4430 __FPU_CW_Restore();
4431 return ret;
4432}
4433#define WinOpenObject __FPU_CW_WinOpenObject
4434
4435inline BOOL APIENTRY __FPU_CW_WinQueryActiveDesktopPathname (PSZ pszPathName, ULONG ulSize)
4436{
4437 BOOL ret = WinQueryActiveDesktopPathname (pszPathName, ulSize);
4438 __FPU_CW_Restore();
4439 return ret;
4440}
4441#define WinQueryActiveDesktopPathname __FPU_CW_WinQueryActiveDesktopPathname
4442
4443inline HOBJECT APIENTRY __FPU_CW_WinQueryObject (PCSZ pszObjectID)
4444{
4445 HOBJECT ret = WinQueryObject (pszObjectID);
4446 __FPU_CW_Restore();
4447 return ret;
4448}
4449#define WinQueryObject __FPU_CW_WinQueryObject
4450
4451inline BOOL APIENTRY __FPU_CW_WinQueryObjectPath (HOBJECT hobject, PSZ pszPathName, ULONG ulSize)
4452{
4453 BOOL ret = WinQueryObjectPath (hobject, pszPathName, ulSize);
4454 __FPU_CW_Restore();
4455 return ret;
4456}
4457#define WinQueryObjectPath __FPU_CW_WinQueryObjectPath
4458
4459inline BOOL APIENTRY __FPU_CW_WinRegisterObjectClass (PCSZ pszClassName, PCSZ pszModName)
4460{
4461 BOOL ret = WinRegisterObjectClass (pszClassName, pszModName);
4462 __FPU_CW_Restore();
4463 return ret;
4464}
4465#define WinRegisterObjectClass __FPU_CW_WinRegisterObjectClass
4466
4467inline BOOL APIENTRY __FPU_CW_WinReplaceObjectClass (PCSZ pszOldClassName, PCSZ pszNewClassName, BOOL fReplace)
4468{
4469 BOOL ret = WinReplaceObjectClass (pszOldClassName, pszNewClassName, fReplace);
4470 __FPU_CW_Restore();
4471 return ret;
4472}
4473#define WinReplaceObjectClass __FPU_CW_WinReplaceObjectClass
4474
4475inline ULONG APIENTRY __FPU_CW_WinRestartSOMDD (BOOL fState)
4476{
4477 ULONG ret = WinRestartSOMDD (fState);
4478 __FPU_CW_Restore();
4479 return ret;
4480}
4481#define WinRestartSOMDD __FPU_CW_WinRestartSOMDD
4482
4483inline ULONG APIENTRY __FPU_CW_WinRestartWPDServer (BOOL fState)
4484{
4485 ULONG ret = WinRestartWPDServer (fState);
4486 __FPU_CW_Restore();
4487 return ret;
4488}
4489#define WinRestartWPDServer __FPU_CW_WinRestartWPDServer
4490
4491inline BOOL APIENTRY __FPU_CW_WinSaveObject (HOBJECT hObject, BOOL fAsync)
4492{
4493 BOOL ret = WinSaveObject (hObject, fAsync);
4494 __FPU_CW_Restore();
4495 return ret;
4496}
4497#define WinSaveObject __FPU_CW_WinSaveObject
4498
4499inline BOOL APIENTRY __FPU_CW_WinSetObjectData (HOBJECT hObject, PCSZ pszSetupString)
4500{
4501 BOOL ret = WinSetObjectData (hObject, pszSetupString);
4502 __FPU_CW_Restore();
4503 return ret;
4504}
4505#define WinSetObjectData __FPU_CW_WinSetObjectData
4506
4507inline BOOL APIENTRY __FPU_CW_WinFreeFileIcon (HPOINTER hptr)
4508{
4509 BOOL ret = WinFreeFileIcon (hptr);
4510 __FPU_CW_Restore();
4511 return ret;
4512}
4513#define WinFreeFileIcon __FPU_CW_WinFreeFileIcon
4514
4515inline HPOINTER APIENTRY __FPU_CW_WinLoadFileIcon (PCSZ pszFileName, BOOL fPrivate)
4516{
4517 HPOINTER ret = WinLoadFileIcon (pszFileName, fPrivate);
4518 __FPU_CW_Restore();
4519 return ret;
4520}
4521#define WinLoadFileIcon __FPU_CW_WinLoadFileIcon
4522
4523inline BOOL APIENTRY __FPU_CW_WinRestoreWindowPos (PCSZ pszAppName, PCSZ pszKeyName, HWND hwnd)
4524{
4525 BOOL ret = WinRestoreWindowPos (pszAppName, pszKeyName, hwnd);
4526 __FPU_CW_Restore();
4527 return ret;
4528}
4529#define WinRestoreWindowPos __FPU_CW_WinRestoreWindowPos
4530
4531inline BOOL APIENTRY __FPU_CW_WinSetFileIcon (PCSZ pszFileName, __const__ ICONINFO *pIconInfo)
4532{
4533 BOOL ret = WinSetFileIcon (pszFileName, pIconInfo);
4534 __FPU_CW_Restore();
4535 return ret;
4536}
4537#define WinSetFileIcon __FPU_CW_WinSetFileIcon
4538
4539inline BOOL APIENTRY __FPU_CW_WinShutdownSystem (HAB hab, HMQ hmq)
4540{
4541 BOOL ret = WinShutdownSystem (hab, hmq);
4542 __FPU_CW_Restore();
4543 return ret;
4544}
4545#define WinShutdownSystem __FPU_CW_WinShutdownSystem
4546
4547inline BOOL APIENTRY __FPU_CW_WinStoreWindowPos (PCSZ pszAppName, PCSZ pszKeyName, HWND hwnd)
4548{
4549 BOOL ret = WinStoreWindowPos (pszAppName, pszKeyName, hwnd);
4550 __FPU_CW_Restore();
4551 return ret;
4552}
4553#define WinStoreWindowPos __FPU_CW_WinStoreWindowPos
4554
4555inline BOOL APIENTRY __FPU_CW_WinAssociateHelpInstance (HWND hwndHelpInstance, HWND hwndApp)
4556{
4557 BOOL ret = WinAssociateHelpInstance (hwndHelpInstance, hwndApp);
4558 __FPU_CW_Restore();
4559 return ret;
4560}
4561#define WinAssociateHelpInstance __FPU_CW_WinAssociateHelpInstance
4562
4563inline HWND APIENTRY __FPU_CW_WinCreateHelpInstance (HAB hab, PHELPINIT phinitHMInitStructure)
4564{
4565 HWND ret = WinCreateHelpInstance (hab, phinitHMInitStructure);
4566 __FPU_CW_Restore();
4567 return ret;
4568}
4569#define WinCreateHelpInstance __FPU_CW_WinCreateHelpInstance
4570
4571inline BOOL APIENTRY __FPU_CW_WinCreateHelpTable (HWND hwndHelpInstance, __const__ HELPTABLE *phtHelpTable)
4572{
4573 BOOL ret = WinCreateHelpTable (hwndHelpInstance, phtHelpTable);
4574 __FPU_CW_Restore();
4575 return ret;
4576}
4577#define WinCreateHelpTable __FPU_CW_WinCreateHelpTable
4578
4579inline BOOL APIENTRY __FPU_CW_WinDestroyHelpInstance (HWND hwndHelpInstance)
4580{
4581 BOOL ret = WinDestroyHelpInstance (hwndHelpInstance);
4582 __FPU_CW_Restore();
4583 return ret;
4584}
4585#define WinDestroyHelpInstance __FPU_CW_WinDestroyHelpInstance
4586
4587inline BOOL APIENTRY __FPU_CW_WinLoadHelpTable (HWND hwndHelpInstance, ULONG idHelpTable, HMODULE Module)
4588{
4589 BOOL ret = WinLoadHelpTable (hwndHelpInstance, idHelpTable, Module);
4590 __FPU_CW_Restore();
4591 return ret;
4592}
4593#define WinLoadHelpTable __FPU_CW_WinLoadHelpTable
4594
4595inline HWND APIENTRY __FPU_CW_WinQueryHelpInstance (HWND hwndApp)
4596{
4597 HWND ret = WinQueryHelpInstance (hwndApp);
4598 __FPU_CW_Restore();
4599 return ret;
4600}
4601#define WinQueryHelpInstance __FPU_CW_WinQueryHelpInstance
4602
4603inline MRESULT APIENTRY __FPU_CW_WinDefAVioWindowProc (HWND hwnd, USHORT msg, ULONG mp1, ULONG mp2)
4604{
4605 MRESULT ret = WinDefAVioWindowProc (hwnd, msg, mp1, mp2);
4606 __FPU_CW_Restore();
4607 return ret;
4608}
4609#define WinDefAVioWindowProc __FPU_CW_WinDefAVioWindowProc
4610
4611#endif // API_FPU_CW_WRAPPERS_H
Note: See TracBrowser for help on using the repository browser.