/* Generated by API_FPU_CW_Wrappers.awk from os2emx.h      */
/* See http://svn.netlabs.org/qt4/ticket/105 for more info */

/*
 * Some OS/2 PM API calls modify the FPU Control Word,
 * but forget to restore it.
 *
 * This can result in unexpected XCPT_FLOAT_INVALID_OPCODE or
 * XCPT_FLOAT_INVALID_OPERATION exceptions. To avoid this, we create
 * wrappers for each API call that restore the FPU Control Word
 * after the API call back to the value expected by C/C++ programs.
 */

#ifndef API_FPU_CW_WRAPPERS_H
#define API_FPU_CW_WRAPPERS_H

extern inline unsigned int __FPU_CW_Get (void)
{
    unsigned int cw;
    asm volatile ("fstcw %0" : "=m" (cw));
    return cw;
}

extern inline void __FPU_CW_Set (unsigned int cw)
{
    asm volatile ("fldcw %0" : : "m" (cw));
}

extern inline BOOL APIENTRY __FPU_CW_WinCancelShutdown (HMQ hmq, BOOL fCancelAlways)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCancelShutdown (hmq, fCancelAlways);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCancelShutdown __FPU_CW_WinCancelShutdown

extern inline HMQ APIENTRY __FPU_CW_WinCreateMsgQueue (HAB hab, LONG cmsg)
{
    unsigned int cw = __FPU_CW_Get();
    HMQ ret = WinCreateMsgQueue (hab, cmsg);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateMsgQueue __FPU_CW_WinCreateMsgQueue

extern inline BOOL APIENTRY __FPU_CW_WinDestroyMsgQueue (HMQ hmq)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDestroyMsgQueue (hmq);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyMsgQueue __FPU_CW_WinDestroyMsgQueue

extern inline MRESULT APIENTRY __FPU_CW_WinDispatchMsg (HAB hab, PQMSG pqmsg)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinDispatchMsg (hab, pqmsg);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDispatchMsg __FPU_CW_WinDispatchMsg

extern inline BOOL APIENTRY __FPU_CW_WinGetMsg (HAB hab, PQMSG pqmsg, HWND hwndFilter, ULONG msgFilterFirst,    ULONG msgFilterLast)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinGetMsg (hab, pqmsg, hwndFilter, msgFilterFirst,    msgFilterLast);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetMsg __FPU_CW_WinGetMsg

extern inline BOOL APIENTRY __FPU_CW_WinLockInput (HMQ hmq, ULONG fLock)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinLockInput (hmq, fLock);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLockInput __FPU_CW_WinLockInput

extern inline BOOL APIENTRY __FPU_CW_WinPeekMsg (HAB hab, PQMSG pqmsg, HWND hwndFilter, ULONG msgFilterFirst,    ULONG msgFilterLast, ULONG fl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinPeekMsg (hab, pqmsg, hwndFilter, msgFilterFirst,    msgFilterLast, fl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinPeekMsg __FPU_CW_WinPeekMsg

extern inline BOOL APIENTRY __FPU_CW_WinPostMsg (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinPostMsg (hwnd, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinPostMsg __FPU_CW_WinPostMsg

extern inline HMQ APIENTRY __FPU_CW_WinQueueFromID (HAB hab, PID pid, TID tid)
{
    unsigned int cw = __FPU_CW_Get();
    HMQ ret = WinQueueFromID (hab, pid, tid);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueueFromID __FPU_CW_WinQueueFromID

extern inline BOOL APIENTRY __FPU_CW_WinQueryQueueInfo (HMQ hmq, PMQINFO pmqi, ULONG cbCopy)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryQueueInfo (hmq, pmqi, cbCopy);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryQueueInfo __FPU_CW_WinQueryQueueInfo

extern inline HMQ APIENTRY __FPU_CW_WinQuerySendMsg (HAB hab, HMQ hmqSender, HMQ hmqReceiver, PQMSG pqmsg)
{
    unsigned int cw = __FPU_CW_Get();
    HMQ ret = WinQuerySendMsg (hab, hmqSender, hmqReceiver, pqmsg);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySendMsg __FPU_CW_WinQuerySendMsg

extern inline BOOL APIENTRY __FPU_CW_WinRegisterUserDatatype (HAB hab, LONG datatype, LONG count, PLONG types)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinRegisterUserDatatype (hab, datatype, count, types);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRegisterUserDatatype __FPU_CW_WinRegisterUserDatatype

extern inline BOOL APIENTRY __FPU_CW_WinRegisterUserMsg (HAB hab, ULONG msgid, LONG datatype1, LONG dir1,    LONG datatype2, LONG dir2, LONG datatyper)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinRegisterUserMsg (hab, msgid, datatype1, dir1,    datatype2, dir2, datatyper);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRegisterUserMsg __FPU_CW_WinRegisterUserMsg

extern inline BOOL APIENTRY __FPU_CW_WinReplyMsg (HAB hab, HMQ hmqSender, HMQ hmqReceiver, MRESULT mresult)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinReplyMsg (hab, hmqSender, hmqReceiver, mresult);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinReplyMsg __FPU_CW_WinReplyMsg

extern inline MRESULT APIENTRY __FPU_CW_WinSendMsg (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinSendMsg (hwnd, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSendMsg __FPU_CW_WinSendMsg

extern inline BOOL APIENTRY __FPU_CW_WinSetMsgMode (HAB hab, PCSZ classname, LONG control)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetMsgMode (hab, classname, control);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetMsgMode __FPU_CW_WinSetMsgMode

extern inline BOOL APIENTRY __FPU_CW_WinSetSynchroMode (HAB hab, LONG mode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetSynchroMode (hab, mode);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetSynchroMode __FPU_CW_WinSetSynchroMode

extern inline BOOL APIENTRY __FPU_CW_WinThreadAssocQueue (HAB hab, HMQ hmq)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinThreadAssocQueue (hab, hmq);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinThreadAssocQueue __FPU_CW_WinThreadAssocQueue

extern inline BOOL APIENTRY __FPU_CW_WinWakeThread (HMQ hmq)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinWakeThread (hmq);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinWakeThread __FPU_CW_WinWakeThread

extern inline 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)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinCreateWindow (hwndParent, pszClass, pszName,    flStyle, x, y, cx, cy, hwndOwner,    hwndInsertBehind, id, pCtlData, pPresParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateWindow __FPU_CW_WinCreateWindow

extern inline BOOL APIENTRY __FPU_CW_WinDrawBitmap (HPS hpsDst, HBITMAP hbm, __const__ RECTL *pwrcSrc,    __const__ POINTL *pptlDst, LONG clrFore, LONG clrBack, ULONG fl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDrawBitmap (hpsDst, hbm, pwrcSrc,    pptlDst, clrFore, clrBack, fl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDrawBitmap __FPU_CW_WinDrawBitmap

extern inline BOOL APIENTRY __FPU_CW_WinDrawBorder (HPS hps, __const__ RECTL *prcl, LONG cx, LONG cy,    LONG clrFore, LONG clrBack, ULONG flCmd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDrawBorder (hps, prcl, cx, cy,    clrFore, clrBack, flCmd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDrawBorder __FPU_CW_WinDrawBorder

extern inline LONG APIENTRY __FPU_CW_WinDrawText (HPS hps, LONG cchText, PCCH lpchText, PRECTL prcl,    LONG clrFore, LONG clrBack, ULONG flCmd)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinDrawText (hps, cchText, lpchText, prcl,    clrFore, clrBack, flCmd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDrawText __FPU_CW_WinDrawText

extern inline BOOL APIENTRY __FPU_CW_WinEnableWindow (HWND hwnd, BOOL fEnable)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEnableWindow (hwnd, fEnable);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEnableWindow __FPU_CW_WinEnableWindow

extern inline BOOL APIENTRY __FPU_CW_WinEnableWindowUpdate (HWND hwnd, BOOL fEnable)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEnableWindowUpdate (hwnd, fEnable);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEnableWindowUpdate __FPU_CW_WinEnableWindowUpdate

extern inline BOOL APIENTRY __FPU_CW_WinInvalidateRect (HWND hwnd, __const__ RECTL *prcl,    BOOL fIncludeChildren)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinInvalidateRect (hwnd, prcl,    fIncludeChildren);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinInvalidateRect __FPU_CW_WinInvalidateRect

extern inline BOOL APIENTRY __FPU_CW_WinInvalidateRegion (HWND hwnd, HRGN hrgn, BOOL fIncludeChildren)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinInvalidateRegion (hwnd, hrgn, fIncludeChildren);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinInvalidateRegion __FPU_CW_WinInvalidateRegion

extern inline BOOL APIENTRY __FPU_CW_WinInvertRect (HPS hps, __const__ RECTL *prcl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinInvertRect (hps, prcl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinInvertRect __FPU_CW_WinInvertRect

extern inline BOOL APIENTRY __FPU_CW_WinIsChild (HWND hwnd, HWND hwndParent)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsChild (hwnd, hwndParent);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsChild __FPU_CW_WinIsChild

extern inline BOOL APIENTRY __FPU_CW_WinIsWindow (HAB hab, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsWindow (hab, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsWindow __FPU_CW_WinIsWindow

extern inline BOOL APIENTRY __FPU_CW_WinIsWindowEnabled (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsWindowEnabled (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsWindowEnabled __FPU_CW_WinIsWindowEnabled

extern inline BOOL APIENTRY __FPU_CW_WinIsWindowVisible (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsWindowVisible (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsWindowVisible __FPU_CW_WinIsWindowVisible

extern inline LONG APIENTRY __FPU_CW_WinLoadMessage (HAB hab, HMODULE hmod, ULONG id, LONG cchMax,    PSZ pchBuffer)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinLoadMessage (hab, hmod, id, cchMax,    pchBuffer);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadMessage __FPU_CW_WinLoadMessage

extern inline LONG APIENTRY __FPU_CW_WinLoadString (HAB hab, HMODULE hmod, ULONG id, LONG cchMax,    PSZ pchBuffer)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinLoadString (hab, hmod, id, cchMax,    pchBuffer);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadString __FPU_CW_WinLoadString

extern inline LONG APIENTRY __FPU_CW_WinMultWindowFromIDs (HWND hwndParent, PHWND prghwnd, ULONG idFirst,    ULONG idLast)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinMultWindowFromIDs (hwndParent, prghwnd, idFirst,    idLast);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMultWindowFromIDs __FPU_CW_WinMultWindowFromIDs

extern inline HWND APIENTRY __FPU_CW_WinQueryDesktopWindow (HAB hab, HDC hdc)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryDesktopWindow (hab, hdc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryDesktopWindow __FPU_CW_WinQueryDesktopWindow

extern inline HWND APIENTRY __FPU_CW_WinQueryObjectWindow (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryObjectWindow (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryObjectWindow __FPU_CW_WinQueryObjectWindow

extern inline HPOINTER APIENTRY __FPU_CW_WinQueryPointer (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    HPOINTER ret = WinQueryPointer (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryPointer __FPU_CW_WinQueryPointer

extern inline HWND APIENTRY __FPU_CW_WinQueryWindow (HWND hwnd, LONG cmd)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryWindow (hwnd, cmd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindow __FPU_CW_WinQueryWindow

extern inline BOOL APIENTRY __FPU_CW_WinQueryWindowPos (HWND hwnd, PSWP pswp)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryWindowPos (hwnd, pswp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowPos __FPU_CW_WinQueryWindowPos

extern inline BOOL APIENTRY __FPU_CW_WinQueryWindowProcess (HWND hwnd, PPID ppid, PTID ptid)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryWindowProcess (hwnd, ppid, ptid);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowProcess __FPU_CW_WinQueryWindowProcess

extern inline LONG APIENTRY __FPU_CW_WinQueryWindowText (HWND hwnd, LONG cchBufferMax, PCH pchBuffer)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQueryWindowText (hwnd, cchBufferMax, pchBuffer);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowText __FPU_CW_WinQueryWindowText

extern inline LONG APIENTRY __FPU_CW_WinQueryWindowTextLength (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQueryWindowTextLength (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowTextLength __FPU_CW_WinQueryWindowTextLength

extern inline BOOL APIENTRY __FPU_CW_WinSetMultWindowPos (HAB hab, __const__ SWP *pswp, ULONG cswp)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetMultWindowPos (hab, pswp, cswp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetMultWindowPos __FPU_CW_WinSetMultWindowPos

extern inline BOOL APIENTRY __FPU_CW_WinSetOwner (HWND hwnd, HWND hwndNewOwner)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetOwner (hwnd, hwndNewOwner);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetOwner __FPU_CW_WinSetOwner

extern inline BOOL APIENTRY __FPU_CW_WinSetParent (HWND hwnd, HWND hwndNewParent, BOOL fRedraw)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetParent (hwnd, hwndNewParent, fRedraw);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetParent __FPU_CW_WinSetParent

extern inline BOOL APIENTRY __FPU_CW_WinSetWindowPos (HWND hwnd, HWND hwndInsertBehind, LONG x, LONG y,    LONG cx, LONG cy, ULONG fl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetWindowPos (hwnd, hwndInsertBehind, x, y,    cx, cy, fl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetWindowPos __FPU_CW_WinSetWindowPos

extern inline BOOL APIENTRY __FPU_CW_WinSetWindowText (HWND hwnd, PCSZ pszText)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetWindowText (hwnd, pszText);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetWindowText __FPU_CW_WinSetWindowText

extern inline BOOL APIENTRY __FPU_CW_WinUpdateWindow (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinUpdateWindow (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinUpdateWindow __FPU_CW_WinUpdateWindow

extern inline HWND APIENTRY __FPU_CW_WinWindowFromID (HWND hwndParent, ULONG id)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinWindowFromID (hwndParent, id);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinWindowFromID __FPU_CW_WinWindowFromID

extern inline HWND APIENTRY __FPU_CW_WinCreateStdWindow (HWND hwndParent, ULONG flStyle,    PULONG pflCreateFlags, PCSZ pszClientClass, PCSZ pszTitle,    ULONG styleClient, HMODULE hmod, ULONG idResources, PHWND phwndClient)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinCreateStdWindow (hwndParent, flStyle,    pflCreateFlags, pszClientClass, pszTitle,    styleClient, hmod, idResources, phwndClient);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateStdWindow __FPU_CW_WinCreateStdWindow

extern inline BOOL APIENTRY __FPU_CW_WinCalcFrameRect (HWND hwndFrame, PRECTL prcl, BOOL fClient)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCalcFrameRect (hwndFrame, prcl, fClient);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCalcFrameRect __FPU_CW_WinCalcFrameRect

extern inline BOOL APIENTRY __FPU_CW_WinCreateFrameControls (HWND hwndFrame, PFRAMECDATA pfcdata,    PCSZ pszTitle)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCreateFrameControls (hwndFrame, pfcdata,    pszTitle);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateFrameControls __FPU_CW_WinCreateFrameControls

extern inline BOOL APIENTRY __FPU_CW_WinFlashWindow (HWND hwndFrame, BOOL fFlash)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinFlashWindow (hwndFrame, fFlash);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFlashWindow __FPU_CW_WinFlashWindow

extern inline BOOL APIENTRY __FPU_CW_WinGetMaxPosition (HWND hwnd, PSWP pswp)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinGetMaxPosition (hwnd, pswp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetMaxPosition __FPU_CW_WinGetMaxPosition

extern inline BOOL APIENTRY __FPU_CW_WinGetMinPosition (HWND hwnd, PSWP pswp, __const__ POINTL *pptl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinGetMinPosition (hwnd, pswp, pptl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetMinPosition __FPU_CW_WinGetMinPosition

extern inline BOOL APIENTRY __FPU_CW_WinSaveWindowPos (HSAVEWP hsvwp, PSWP pswp, ULONG cswp)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSaveWindowPos (hsvwp, pswp, cswp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSaveWindowPos __FPU_CW_WinSaveWindowPos

extern inline HPS APIENTRY __FPU_CW_WinBeginPaint (HWND hwnd, HPS hps, PRECTL prclPaint)
{
    unsigned int cw = __FPU_CW_Get();
    HPS ret = WinBeginPaint (hwnd, hps, prclPaint);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinBeginPaint __FPU_CW_WinBeginPaint

extern inline MRESULT APIENTRY __FPU_CW_WinDefWindowProc (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinDefWindowProc (hwnd, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDefWindowProc __FPU_CW_WinDefWindowProc

extern inline BOOL APIENTRY __FPU_CW_WinDestroyWindow (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDestroyWindow (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyWindow __FPU_CW_WinDestroyWindow

extern inline BOOL APIENTRY __FPU_CW_WinEndPaint (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEndPaint (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEndPaint __FPU_CW_WinEndPaint

extern inline BOOL APIENTRY __FPU_CW_WinFillRect (HPS hps, __const__ RECTL *prcl, LONG lColor)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinFillRect (hps, prcl, lColor);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFillRect __FPU_CW_WinFillRect

extern inline HPS APIENTRY __FPU_CW_WinGetClipPS (HWND hwnd, HWND hwndClip, ULONG fl)
{
    unsigned int cw = __FPU_CW_Get();
    HPS ret = WinGetClipPS (hwnd, hwndClip, fl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetClipPS __FPU_CW_WinGetClipPS

extern inline HPS APIENTRY __FPU_CW_WinGetPS (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    HPS ret = WinGetPS (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetPS __FPU_CW_WinGetPS

extern inline HAB APIENTRY __FPU_CW_WinInitialize (ULONG fsOptions)
{
    unsigned int cw = __FPU_CW_Get();
    HAB ret = WinInitialize (fsOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinInitialize __FPU_CW_WinInitialize

extern inline BOOL APIENTRY __FPU_CW_WinIsWindowShowing (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsWindowShowing (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsWindowShowing __FPU_CW_WinIsWindowShowing

extern inline HDC APIENTRY __FPU_CW_WinOpenWindowDC (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    HDC ret = WinOpenWindowDC (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinOpenWindowDC __FPU_CW_WinOpenWindowDC

extern inline HAB APIENTRY __FPU_CW_WinQueryAnchorBlock (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    HAB ret = WinQueryAnchorBlock (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryAnchorBlock __FPU_CW_WinQueryAnchorBlock

extern inline ULONG APIENTRY __FPU_CW_WinQueryVersion (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryVersion (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryVersion __FPU_CW_WinQueryVersion

extern inline BOOL APIENTRY __FPU_CW_WinQueryWindowRect (HWND hwnd, PRECTL prclDest)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryWindowRect (hwnd, prclDest);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowRect __FPU_CW_WinQueryWindowRect

extern inline BOOL APIENTRY __FPU_CW_WinRegisterClass (HAB hab, PCSZ pszClassName, PFNWP pfnWndProc,    ULONG flStyle, ULONG cbWindowData)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinRegisterClass (hab, pszClassName, pfnWndProc,    flStyle, cbWindowData);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRegisterClass __FPU_CW_WinRegisterClass

extern inline BOOL APIENTRY __FPU_CW_WinReleasePS (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinReleasePS (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinReleasePS __FPU_CW_WinReleasePS

extern inline LONG APIENTRY __FPU_CW_WinScrollWindow (HWND hwnd, LONG dx, LONG dy, __const__ RECTL *prclScroll,    __const__ RECTL *prclClip, HRGN hrgnUpdate, PRECTL prclUpdate,    ULONG rgfsw)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinScrollWindow (hwnd, dx, dy, prclScroll,    prclClip, hrgnUpdate, prclUpdate,    rgfsw);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinScrollWindow __FPU_CW_WinScrollWindow

extern inline BOOL APIENTRY __FPU_CW_WinSetActiveWindow (HWND hwndDesktop, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetActiveWindow (hwndDesktop, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetActiveWindow __FPU_CW_WinSetActiveWindow

extern inline BOOL APIENTRY __FPU_CW_WinShowWindow (HWND hwnd, BOOL fShow)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinShowWindow (hwnd, fShow);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinShowWindow __FPU_CW_WinShowWindow

extern inline BOOL APIENTRY __FPU_CW_WinTerminate (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinTerminate (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinTerminate __FPU_CW_WinTerminate

extern inline HENUM APIENTRY __FPU_CW_WinBeginEnumWindows (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    HENUM ret = WinBeginEnumWindows (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinBeginEnumWindows __FPU_CW_WinBeginEnumWindows

extern inline BOOL APIENTRY __FPU_CW_WinEndEnumWindows (HENUM henum)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEndEnumWindows (henum);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEndEnumWindows __FPU_CW_WinEndEnumWindows

extern inline LONG APIENTRY __FPU_CW_WinExcludeUpdateRegion (HPS hps, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinExcludeUpdateRegion (hps, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinExcludeUpdateRegion __FPU_CW_WinExcludeUpdateRegion

extern inline HWND APIENTRY __FPU_CW_WinGetNextWindow (HENUM henum)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinGetNextWindow (henum);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetNextWindow __FPU_CW_WinGetNextWindow

extern inline HPS APIENTRY __FPU_CW_WinGetScreenPS (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    HPS ret = WinGetScreenPS (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetScreenPS __FPU_CW_WinGetScreenPS

extern inline BOOL APIENTRY __FPU_CW_WinIsThreadActive (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsThreadActive (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsThreadActive __FPU_CW_WinIsThreadActive

extern inline BOOL APIENTRY __FPU_CW_WinLockVisRegions (HWND hwndDesktop, BOOL fLock)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinLockVisRegions (hwndDesktop, fLock);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLockVisRegions __FPU_CW_WinLockVisRegions

extern inline BOOL APIENTRY __FPU_CW_WinLockWindowUpdate (HWND hwndDesktop, HWND hwndLockUpdate)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinLockWindowUpdate (hwndDesktop, hwndLockUpdate);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLockWindowUpdate __FPU_CW_WinLockWindowUpdate

extern inline BOOL APIENTRY __FPU_CW_WinMapWindowPoints (HWND hwndFrom, HWND hwndTo, PPOINTL prgptl,    LONG cwpt)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinMapWindowPoints (hwndFrom, hwndTo, prgptl,    cwpt);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMapWindowPoints __FPU_CW_WinMapWindowPoints

extern inline HWND APIENTRY __FPU_CW_WinQueryActiveWindow (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryActiveWindow (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryActiveWindow __FPU_CW_WinQueryActiveWindow

extern inline BOOL APIENTRY __FPU_CW_WinQueryClassInfo (HAB hab, PCSZ pszClassName, PCLASSINFO pClassInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryClassInfo (hab, pszClassName, pClassInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryClassInfo __FPU_CW_WinQueryClassInfo

extern inline LONG APIENTRY __FPU_CW_WinQueryClassName (HWND hwnd, LONG cchMax, PCH pch)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQueryClassName (hwnd, cchMax, pch);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryClassName __FPU_CW_WinQueryClassName

extern inline BOOL APIENTRY __FPU_CW_WinQueryUpdateRect (HWND hwnd, PRECTL prcl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryUpdateRect (hwnd, prcl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryUpdateRect __FPU_CW_WinQueryUpdateRect

extern inline LONG APIENTRY __FPU_CW_WinQueryUpdateRegion (HWND hwnd, HRGN hrgn)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQueryUpdateRegion (hwnd, hrgn);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryUpdateRegion __FPU_CW_WinQueryUpdateRegion

extern inline HWND APIENTRY __FPU_CW_WinQuerySysModalWindow (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQuerySysModalWindow (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySysModalWindow __FPU_CW_WinQuerySysModalWindow

extern inline HDC APIENTRY __FPU_CW_WinQueryWindowDC (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    HDC ret = WinQueryWindowDC (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowDC __FPU_CW_WinQueryWindowDC

extern inline PVOID APIENTRY __FPU_CW_WinQueryWindowPtr (HWND hwnd, LONG index)
{
    unsigned int cw = __FPU_CW_Get();
    PVOID ret = WinQueryWindowPtr (hwnd, index);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowPtr __FPU_CW_WinQueryWindowPtr

extern inline ULONG APIENTRY __FPU_CW_WinQueryWindowULong (HWND hwnd, LONG index)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryWindowULong (hwnd, index);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowULong __FPU_CW_WinQueryWindowULong

extern inline USHORT APIENTRY __FPU_CW_WinQueryWindowUShort (HWND hwnd, LONG index)
{
    unsigned int cw = __FPU_CW_Get();
    USHORT ret = WinQueryWindowUShort (hwnd, index);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowUShort __FPU_CW_WinQueryWindowUShort

extern inline BOOL APIENTRY __FPU_CW_WinSetSysModalWindow (HWND hwndDesktop, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetSysModalWindow (hwndDesktop, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetSysModalWindow __FPU_CW_WinSetSysModalWindow

extern inline BOOL APIENTRY __FPU_CW_WinSetWindowBits (HWND hwnd, LONG index, ULONG flData, ULONG flMask)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetWindowBits (hwnd, index, flData, flMask);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetWindowBits __FPU_CW_WinSetWindowBits

extern inline BOOL APIENTRY __FPU_CW_WinSetWindowPtr (HWND hwnd, LONG index, PVOID p)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetWindowPtr (hwnd, index, p);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetWindowPtr __FPU_CW_WinSetWindowPtr

extern inline BOOL APIENTRY __FPU_CW_WinSetWindowULong (HWND hwnd, LONG index, ULONG ul)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetWindowULong (hwnd, index, ul);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetWindowULong __FPU_CW_WinSetWindowULong

extern inline BOOL APIENTRY __FPU_CW_WinSetWindowUShort (HWND hwnd, LONG index, USHORT us)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetWindowUShort (hwnd, index, us);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetWindowUShort __FPU_CW_WinSetWindowUShort

extern inline PFNWP APIENTRY __FPU_CW_WinSubclassWindow (HWND hwnd, PFNWP pfnwp)
{
    unsigned int cw = __FPU_CW_Get();
    PFNWP ret = WinSubclassWindow (hwnd, pfnwp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSubclassWindow __FPU_CW_WinSubclassWindow

extern inline BOOL APIENTRY __FPU_CW_WinValidateRect (HWND hwnd, __const__ RECTL *prcl, BOOL fIncludeChildren)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinValidateRect (hwnd, prcl, fIncludeChildren);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinValidateRect __FPU_CW_WinValidateRect

extern inline BOOL APIENTRY __FPU_CW_WinValidateRegion (HWND hwnd, HRGN hrgn, BOOL fIncludeChildren)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinValidateRegion (hwnd, hrgn, fIncludeChildren);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinValidateRegion __FPU_CW_WinValidateRegion

extern inline HWND APIENTRY __FPU_CW_WinWindowFromDC (HDC hdc)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinWindowFromDC (hdc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinWindowFromDC __FPU_CW_WinWindowFromDC

extern inline HWND APIENTRY __FPU_CW_WinWindowFromPoint (HWND hwnd, __const__ POINTL *pptl, BOOL fChildren)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinWindowFromPoint (hwnd, pptl, fChildren);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinWindowFromPoint __FPU_CW_WinWindowFromPoint

extern inline ULONG APIENTRY __FPU_CW_WinCopyAccelTable (HACCEL haccel, PACCELTABLE pAccelTable,    ULONG cbCopyMax)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinCopyAccelTable (haccel, pAccelTable,    cbCopyMax);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCopyAccelTable __FPU_CW_WinCopyAccelTable

extern inline HACCEL APIENTRY __FPU_CW_WinCreateAccelTable (HAB hab, PACCELTABLE pAccelTable)
{
    unsigned int cw = __FPU_CW_Get();
    HACCEL ret = WinCreateAccelTable (hab, pAccelTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateAccelTable __FPU_CW_WinCreateAccelTable

extern inline BOOL APIENTRY __FPU_CW_WinDestroyAccelTable (HACCEL haccel)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDestroyAccelTable (haccel);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyAccelTable __FPU_CW_WinDestroyAccelTable

extern inline HACCEL APIENTRY __FPU_CW_WinLoadAccelTable (HAB hab, HMODULE hmod, ULONG idAccelTable)
{
    unsigned int cw = __FPU_CW_Get();
    HACCEL ret = WinLoadAccelTable (hab, hmod, idAccelTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadAccelTable __FPU_CW_WinLoadAccelTable

extern inline HACCEL APIENTRY __FPU_CW_WinQueryAccelTable (HAB hab, HWND hwndFrame)
{
    unsigned int cw = __FPU_CW_Get();
    HACCEL ret = WinQueryAccelTable (hab, hwndFrame);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryAccelTable __FPU_CW_WinQueryAccelTable

extern inline BOOL APIENTRY __FPU_CW_WinSetAccelTable (HAB hab, HACCEL haccel, HWND hwndFrame)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetAccelTable (hab, haccel, hwndFrame);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetAccelTable __FPU_CW_WinSetAccelTable

extern inline BOOL APIENTRY __FPU_CW_WinTranslateAccel (HAB hab, HWND hwnd, HACCEL haccel, PQMSG pqmsg)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinTranslateAccel (hab, hwnd, haccel, pqmsg);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinTranslateAccel __FPU_CW_WinTranslateAccel

extern inline ATOM APIENTRY __FPU_CW_WinAddAtom (HATOMTBL hAtomTbl, PCSZ pszAtomName)
{
    unsigned int cw = __FPU_CW_Get();
    ATOM ret = WinAddAtom (hAtomTbl, pszAtomName);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinAddAtom __FPU_CW_WinAddAtom

extern inline HATOMTBL APIENTRY __FPU_CW_WinCreateAtomTable (ULONG cbInitial, ULONG cBuckets)
{
    unsigned int cw = __FPU_CW_Get();
    HATOMTBL ret = WinCreateAtomTable (cbInitial, cBuckets);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateAtomTable __FPU_CW_WinCreateAtomTable

extern inline ATOM APIENTRY __FPU_CW_WinDeleteAtom (HATOMTBL hAtomTbl, ATOM atom)
{
    unsigned int cw = __FPU_CW_Get();
    ATOM ret = WinDeleteAtom (hAtomTbl, atom);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDeleteAtom __FPU_CW_WinDeleteAtom

extern inline HATOMTBL APIENTRY __FPU_CW_WinDestroyAtomTable (HATOMTBL hAtomTbl)
{
    unsigned int cw = __FPU_CW_Get();
    HATOMTBL ret = WinDestroyAtomTable (hAtomTbl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyAtomTable __FPU_CW_WinDestroyAtomTable

extern inline ATOM APIENTRY __FPU_CW_WinFindAtom (HATOMTBL hAtomTbl, PCSZ pszAtomName)
{
    unsigned int cw = __FPU_CW_Get();
    ATOM ret = WinFindAtom (hAtomTbl, pszAtomName);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFindAtom __FPU_CW_WinFindAtom

extern inline ULONG APIENTRY __FPU_CW_WinQueryAtomLength (HATOMTBL hAtomTbl, ATOM atom)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryAtomLength (hAtomTbl, atom);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryAtomLength __FPU_CW_WinQueryAtomLength

extern inline ULONG APIENTRY __FPU_CW_WinQueryAtomName (HATOMTBL hAtomTbl, ATOM atom, PSZ pchBuffer,    ULONG cchBufferMax)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryAtomName (hAtomTbl, atom, pchBuffer,    cchBufferMax);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryAtomName __FPU_CW_WinQueryAtomName

extern inline ULONG APIENTRY __FPU_CW_WinQueryAtomUsage (HATOMTBL hAtomTbl, ATOM atom)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryAtomUsage (hAtomTbl, atom);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryAtomUsage __FPU_CW_WinQueryAtomUsage

extern inline HATOMTBL APIENTRY __FPU_CW_WinQuerySystemAtomTable (VOID)
{
    unsigned int cw = __FPU_CW_Get();
    HATOMTBL ret = WinQuerySystemAtomTable ();
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySystemAtomTable __FPU_CW_WinQuerySystemAtomTable

extern inline BOOL APIENTRY __FPU_CW_WinCloseClipbrd (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCloseClipbrd (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCloseClipbrd __FPU_CW_WinCloseClipbrd

extern inline BOOL APIENTRY __FPU_CW_WinEmptyClipbrd (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEmptyClipbrd (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEmptyClipbrd __FPU_CW_WinEmptyClipbrd

extern inline ULONG APIENTRY __FPU_CW_WinEnumClipbrdFmts (HAB hab, ULONG fmt)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinEnumClipbrdFmts (hab, fmt);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEnumClipbrdFmts __FPU_CW_WinEnumClipbrdFmts

extern inline BOOL APIENTRY __FPU_CW_WinOpenClipbrd (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinOpenClipbrd (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinOpenClipbrd __FPU_CW_WinOpenClipbrd

extern inline ULONG APIENTRY __FPU_CW_WinQueryClipbrdData (HAB hab, ULONG fmt)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryClipbrdData (hab, fmt);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryClipbrdData __FPU_CW_WinQueryClipbrdData

extern inline BOOL APIENTRY __FPU_CW_WinQueryClipbrdFmtInfo (HAB hab, ULONG fmt, PULONG prgfFmtInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryClipbrdFmtInfo (hab, fmt, prgfFmtInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryClipbrdFmtInfo __FPU_CW_WinQueryClipbrdFmtInfo

extern inline HWND APIENTRY __FPU_CW_WinQueryClipbrdOwner (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryClipbrdOwner (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryClipbrdOwner __FPU_CW_WinQueryClipbrdOwner

extern inline HWND APIENTRY __FPU_CW_WinQueryClipbrdViewer (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryClipbrdViewer (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryClipbrdViewer __FPU_CW_WinQueryClipbrdViewer

extern inline BOOL APIENTRY __FPU_CW_WinSetClipbrdData (HAB hab, ULONG ulData, ULONG fmt, ULONG rgfFmtInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetClipbrdData (hab, ulData, fmt, rgfFmtInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetClipbrdData __FPU_CW_WinSetClipbrdData

extern inline BOOL APIENTRY __FPU_CW_WinSetClipbrdOwner (HAB hab, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetClipbrdOwner (hab, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetClipbrdOwner __FPU_CW_WinSetClipbrdOwner

extern inline BOOL APIENTRY __FPU_CW_WinSetClipbrdViewer (HAB hab, HWND hwndNewClipViewer)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetClipbrdViewer (hab, hwndNewClipViewer);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetClipbrdViewer __FPU_CW_WinSetClipbrdViewer

extern inline BOOL APIENTRY __FPU_CW_WinDdeInitiate (HWND hwndClient, PCSZ pszAppName, PCSZ pszTopicName,    __const__ CONVCONTEXT *pcctxt)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDdeInitiate (hwndClient, pszAppName, pszTopicName,    pcctxt);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDdeInitiate __FPU_CW_WinDdeInitiate

extern inline BOOL APIENTRY __FPU_CW_WinDdePostMsg (HWND hwndTo, HWND hwndFrom, ULONG wm,    __const__ DDESTRUCT *pddest, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDdePostMsg (hwndTo, hwndFrom, wm,    pddest, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDdePostMsg __FPU_CW_WinDdePostMsg

extern inline MRESULT APIENTRY __FPU_CW_WinDdeRespond (HWND hwndClient, HWND hwndServer, PCSZ pszAppName,    PCSZ pszTopicName, __const__ CONVCONTEXT *pcctxt)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinDdeRespond (hwndClient, hwndServer, pszAppName,    pszTopicName, pcctxt);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDdeRespond __FPU_CW_WinDdeRespond

extern inline ULONG APIENTRY __FPU_CW_WinCompareStrings (HAB hab, ULONG idcp, ULONG idcc, PCSZ psz1,    PCSZ psz2, ULONG reserved)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinCompareStrings (hab, idcp, idcc, psz1,    psz2, reserved);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCompareStrings __FPU_CW_WinCompareStrings

extern inline UCHAR APIENTRY __FPU_CW_WinCpTranslateChar (HAB hab, ULONG cpSrc, UCHAR chSrc, ULONG cpDst)
{
    unsigned int cw = __FPU_CW_Get();
    UCHAR ret = WinCpTranslateChar (hab, cpSrc, chSrc, cpDst);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCpTranslateChar __FPU_CW_WinCpTranslateChar

extern inline BOOL APIENTRY __FPU_CW_WinCpTranslateString (HAB hab, ULONG cpSrc, PCSZ pszSrc, ULONG cpDst,    ULONG cchDestMax, PSZ pchDest)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCpTranslateString (hab, cpSrc, pszSrc, cpDst,    cchDestMax, pchDest);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCpTranslateString __FPU_CW_WinCpTranslateString

extern inline PSZ APIENTRY __FPU_CW_WinNextChar (HAB hab, ULONG idcp, ULONG idcc, PCSZ psz)
{
    unsigned int cw = __FPU_CW_Get();
    PSZ ret = WinNextChar (hab, idcp, idcc, psz);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinNextChar __FPU_CW_WinNextChar

extern inline PSZ APIENTRY __FPU_CW_WinPrevChar (HAB hab, ULONG idcp, ULONG idcc, PCSZ pszStart,    PCSZ psz)
{
    unsigned int cw = __FPU_CW_Get();
    PSZ ret = WinPrevChar (hab, idcp, idcc, pszStart,    psz);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinPrevChar __FPU_CW_WinPrevChar

extern inline ULONG APIENTRY __FPU_CW_WinQueryCp (HMQ hmq)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryCp (hmq);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryCp __FPU_CW_WinQueryCp

extern inline ULONG APIENTRY __FPU_CW_WinQueryCpList (HAB hab, ULONG ccpMax, PULONG prgcp)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryCpList (hab, ccpMax, prgcp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryCpList __FPU_CW_WinQueryCpList

extern inline BOOL APIENTRY __FPU_CW_WinSetCp (HMQ hmq, ULONG idCodePage)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetCp (hmq, idCodePage);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetCp __FPU_CW_WinSetCp

extern inline ULONG APIENTRY __FPU_CW_WinUpper (HAB hab, ULONG idcp, ULONG idcc, PSZ psz)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinUpper (hab, idcp, idcc, psz);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinUpper __FPU_CW_WinUpper

extern inline ULONG APIENTRY __FPU_CW_WinUpperChar (HAB hab, ULONG idcp, ULONG idcc, ULONG c)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinUpperChar (hab, idcp, idcc, c);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinUpperChar __FPU_CW_WinUpperChar

extern inline BOOL APIENTRY __FPU_CW_WinCreateCursor (HWND hwnd, LONG x, LONG y, LONG cx, LONG cy,    ULONG fs, PRECTL prclClip)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCreateCursor (hwnd, x, y, cx, cy,    fs, prclClip);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateCursor __FPU_CW_WinCreateCursor

extern inline BOOL APIENTRY __FPU_CW_WinDestroyCursor (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDestroyCursor (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyCursor __FPU_CW_WinDestroyCursor

extern inline BOOL APIENTRY __FPU_CW_WinShowCursor (HWND hwnd, BOOL fShow)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinShowCursor (hwnd, fShow);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinShowCursor __FPU_CW_WinShowCursor

extern inline BOOL APIENTRY __FPU_CW_WinQueryCursorInfo (HWND hwndDesktop, PCURSORINFO pCursorInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryCursorInfo (hwndDesktop, pCursorInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryCursorInfo __FPU_CW_WinQueryCursorInfo

extern inline BOOL APIENTRY __FPU_CW_WinQueryDesktopBkgnd (HWND hwndDesktop, PDESKTOP pdsk)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryDesktopBkgnd (hwndDesktop, pdsk);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryDesktopBkgnd __FPU_CW_WinQueryDesktopBkgnd

extern inline HBITMAP APIENTRY __FPU_CW_WinSetDesktopBkgnd (HWND hwndDesktop, __const__ DESKTOP *pdskNew)
{
    unsigned int cw = __FPU_CW_Get();
    HBITMAP ret = WinSetDesktopBkgnd (hwndDesktop, pdskNew);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetDesktopBkgnd __FPU_CW_WinSetDesktopBkgnd

extern inline BOOL APIENTRY __FPU_CW_WinAlarm (HWND hwndDesktop, ULONG rgfType)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinAlarm (hwndDesktop, rgfType);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinAlarm __FPU_CW_WinAlarm

extern inline MRESULT APIENTRY __FPU_CW_WinDefDlgProc (HWND hwndDlg, ULONG msg, MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinDefDlgProc (hwndDlg, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDefDlgProc __FPU_CW_WinDefDlgProc

extern inline BOOL APIENTRY __FPU_CW_WinDismissDlg (HWND hwndDlg, ULONG usResult)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDismissDlg (hwndDlg, usResult);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDismissDlg __FPU_CW_WinDismissDlg

extern inline ULONG APIENTRY __FPU_CW_WinDlgBox (HWND hwndParent, HWND hwndOwner, PFNWP pfnDlgProc,    HMODULE hmod, ULONG idDlg, PVOID pCreateParams)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinDlgBox (hwndParent, hwndOwner, pfnDlgProc,    hmod, idDlg, pCreateParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDlgBox __FPU_CW_WinDlgBox

extern inline BOOL APIENTRY __FPU_CW_WinGetDlgMsg (HWND hwndDlg, PQMSG pqmsg)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinGetDlgMsg (hwndDlg, pqmsg);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetDlgMsg __FPU_CW_WinGetDlgMsg

extern inline HWND APIENTRY __FPU_CW_WinLoadDlg (HWND hwndParent, HWND hwndOwner, PFNWP pfnDlgProc,    HMODULE hmod, ULONG idDlg, PVOID pCreateParams)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinLoadDlg (hwndParent, hwndOwner, pfnDlgProc,    hmod, idDlg, pCreateParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadDlg __FPU_CW_WinLoadDlg

extern inline ULONG APIENTRY __FPU_CW_WinMessageBox (HWND hwndParent, HWND hwndOwner, PCSZ pszText,    PCSZ pszCaption, ULONG idWindow, ULONG flStyle)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinMessageBox (hwndParent, hwndOwner, pszText,    pszCaption, idWindow, flStyle);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMessageBox __FPU_CW_WinMessageBox

extern inline ULONG APIENTRY __FPU_CW_WinMessageBox2 (HWND hwndParent, HWND hwndOwner, PCSZ pszText,    PCSZ pszCaption, ULONG idWindow, PMB2INFO pmb2info)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinMessageBox2 (hwndParent, hwndOwner, pszText,    pszCaption, idWindow, pmb2info);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMessageBox2 __FPU_CW_WinMessageBox2

extern inline BOOL APIENTRY __FPU_CW_WinQueryDlgItemShort (HWND hwndDlg, ULONG idItem, PSHORT pResult,    BOOL fSigned)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryDlgItemShort (hwndDlg, idItem, pResult,    fSigned);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryDlgItemShort __FPU_CW_WinQueryDlgItemShort

extern inline ULONG APIENTRY __FPU_CW_WinQueryDlgItemText (HWND hwndDlg, ULONG idItem, LONG cchBufferMax,    PSZ pchBuffer)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryDlgItemText (hwndDlg, idItem, cchBufferMax,    pchBuffer);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryDlgItemText __FPU_CW_WinQueryDlgItemText

extern inline LONG APIENTRY __FPU_CW_WinQueryDlgItemTextLength (HWND hwndDlg, ULONG idItem)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQueryDlgItemTextLength (hwndDlg, idItem);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryDlgItemTextLength __FPU_CW_WinQueryDlgItemTextLength

extern inline BOOL APIENTRY __FPU_CW_WinSetDlgItemShort (HWND hwndDlg, ULONG idItem, USHORT usValue,    BOOL fSigned)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetDlgItemShort (hwndDlg, idItem, usValue,    fSigned);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetDlgItemShort __FPU_CW_WinSetDlgItemShort

extern inline BOOL APIENTRY __FPU_CW_WinSetDlgItemText (HWND hwndDlg, ULONG idItem, PCSZ pszText)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetDlgItemText (hwndDlg, idItem, pszText);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetDlgItemText __FPU_CW_WinSetDlgItemText

extern inline HWND APIENTRY __FPU_CW_WinCreateDlg (HWND hwndParent, HWND hwndOwner, PFNWP pfnDlgProc,    PDLGTEMPLATE pdlgt, PVOID pCreateParams)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinCreateDlg (hwndParent, hwndOwner, pfnDlgProc,    pdlgt, pCreateParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateDlg __FPU_CW_WinCreateDlg

extern inline HWND APIENTRY __FPU_CW_WinEnumDlgItem (HWND hwndDlg, HWND hwnd, ULONG code)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinEnumDlgItem (hwndDlg, hwnd, code);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEnumDlgItem __FPU_CW_WinEnumDlgItem

extern inline BOOL APIENTRY __FPU_CW_WinMapDlgPoints (HWND hwndDlg, PPOINTL prgwptl, ULONG cwpt,    BOOL fCalcWindowCoords)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinMapDlgPoints (hwndDlg, prgwptl, cwpt,    fCalcWindowCoords);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMapDlgPoints __FPU_CW_WinMapDlgPoints

extern inline ULONG APIENTRY __FPU_CW_WinProcessDlg (HWND hwndDlg)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinProcessDlg (hwndDlg);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinProcessDlg __FPU_CW_WinProcessDlg

extern inline MRESULT APIENTRY __FPU_CW_WinSendDlgItemMsg (HWND hwndDlg, ULONG idItem, ULONG msg,    MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinSendDlgItemMsg (hwndDlg, idItem, msg,    mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSendDlgItemMsg __FPU_CW_WinSendDlgItemMsg

extern inline LONG APIENTRY __FPU_CW_WinSubstituteStrings (HWND hwnd, PCSZ pszSrc, LONG cchDstMax,    PSZ pszDst)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinSubstituteStrings (hwnd, pszSrc, cchDstMax,    pszDst);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSubstituteStrings __FPU_CW_WinSubstituteStrings

extern inline ERRORID APIENTRY __FPU_CW_WinGetLastError (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    ERRORID ret = WinGetLastError (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetLastError __FPU_CW_WinGetLastError

extern inline BOOL APIENTRY __FPU_CW_WinFreeErrorInfo (PERRINFO perrinfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinFreeErrorInfo (perrinfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFreeErrorInfo __FPU_CW_WinFreeErrorInfo

extern inline PERRINFO APIENTRY __FPU_CW_WinGetErrorInfo (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    PERRINFO ret = WinGetErrorInfo (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetErrorInfo __FPU_CW_WinGetErrorInfo

extern inline BOOL APIENTRY __FPU_CW_WinCallMsgFilter (HAB hab, PQMSG pqmsg, ULONG msgf)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCallMsgFilter (hab, pqmsg, msgf);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCallMsgFilter __FPU_CW_WinCallMsgFilter

extern inline BOOL APIENTRY __FPU_CW_WinReleaseHook (HAB hab, HMQ hmq, LONG iHook, PFN pfnHook, HMODULE hmod)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinReleaseHook (hab, hmq, iHook, pfnHook, hmod);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinReleaseHook __FPU_CW_WinReleaseHook

extern inline BOOL APIENTRY __FPU_CW_WinSetHook (HAB hab, HMQ hmq, LONG iHook, PFN pfnHook, HMODULE hmod)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetHook (hab, hmq, iHook, pfnHook, hmod);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetHook __FPU_CW_WinSetHook

extern inline BOOL APIENTRY __FPU_CW_WinFocusChange (HWND hwndDesktop, HWND hwndSetFocus, ULONG flFocusChange)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinFocusChange (hwndDesktop, hwndSetFocus, flFocusChange);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFocusChange __FPU_CW_WinFocusChange

extern inline BOOL APIENTRY __FPU_CW_WinLockupSystem (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinLockupSystem (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLockupSystem __FPU_CW_WinLockupSystem

extern inline BOOL APIENTRY __FPU_CW_WinSetFocus (HWND hwndDesktop, HWND hwndSetFocus)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetFocus (hwndDesktop, hwndSetFocus);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetFocus __FPU_CW_WinSetFocus

extern inline BOOL APIENTRY __FPU_CW_WinUnlockSystem (HAB hab, PCSZ pszPassword)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinUnlockSystem (hab, pszPassword);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinUnlockSystem __FPU_CW_WinUnlockSystem

extern inline BOOL APIENTRY __FPU_CW_WinCheckInput (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCheckInput (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCheckInput __FPU_CW_WinCheckInput

extern inline BOOL APIENTRY __FPU_CW_WinEnablePhysInput (HWND hwndDesktop, BOOL fEnable)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEnablePhysInput (hwndDesktop, fEnable);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEnablePhysInput __FPU_CW_WinEnablePhysInput

extern inline LONG APIENTRY __FPU_CW_WinGetKeyState (HWND hwndDesktop, LONG vkey)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinGetKeyState (hwndDesktop, vkey);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetKeyState __FPU_CW_WinGetKeyState

extern inline LONG APIENTRY __FPU_CW_WinGetPhysKeyState (HWND hwndDesktop, LONG sc)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinGetPhysKeyState (hwndDesktop, sc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetPhysKeyState __FPU_CW_WinGetPhysKeyState

extern inline BOOL APIENTRY __FPU_CW_WinIsPhysInputEnabled (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsPhysInputEnabled (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsPhysInputEnabled __FPU_CW_WinIsPhysInputEnabled

extern inline HWND APIENTRY __FPU_CW_WinQueryCapture (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryCapture (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryCapture __FPU_CW_WinQueryCapture

extern inline HWND APIENTRY __FPU_CW_WinQueryFocus (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryFocus (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryFocus __FPU_CW_WinQueryFocus

extern inline ULONG APIENTRY __FPU_CW_WinQueryVisibleRegion (HWND hwnd, HRGN hrgn)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryVisibleRegion (hwnd, hrgn);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryVisibleRegion __FPU_CW_WinQueryVisibleRegion

extern inline BOOL APIENTRY __FPU_CW_WinSetCapture (HWND hwndDesktop, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetCapture (hwndDesktop, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetCapture __FPU_CW_WinSetCapture

extern inline BOOL APIENTRY __FPU_CW_WinSetKeyboardStateTable (HWND hwndDesktop, PBYTE pKeyStateTable,    BOOL fSet)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetKeyboardStateTable (hwndDesktop, pKeyStateTable,    fSet);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetKeyboardStateTable __FPU_CW_WinSetKeyboardStateTable

extern inline BOOL APIENTRY __FPU_CW_WinSetVisibleRegionNotify (HWND hwnd, BOOL fEnable)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetVisibleRegionNotify (hwnd, fEnable);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetVisibleRegionNotify __FPU_CW_WinSetVisibleRegionNotify

extern inline BOOL APIENTRY __FPU_CW_WinDeleteLibrary (HAB hab, HLIB libhandle)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDeleteLibrary (hab, libhandle);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDeleteLibrary __FPU_CW_WinDeleteLibrary

extern inline BOOL APIENTRY __FPU_CW_WinDeleteProcedure (HAB hab, PFNWP wndproc)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDeleteProcedure (hab, wndproc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDeleteProcedure __FPU_CW_WinDeleteProcedure

extern inline HLIB APIENTRY __FPU_CW_WinLoadLibrary (HAB hab, PCSZ libname)
{
    unsigned int cw = __FPU_CW_Get();
    HLIB ret = WinLoadLibrary (hab, libname);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadLibrary __FPU_CW_WinLoadLibrary

extern inline PFNWP APIENTRY __FPU_CW_WinLoadProcedure (HAB hab, HLIB libhandle, PSZ procname)
{
    unsigned int cw = __FPU_CW_Get();
    PFNWP ret = WinLoadProcedure (hab, libhandle, procname);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadProcedure __FPU_CW_WinLoadProcedure

extern inline HWND APIENTRY __FPU_CW_WinCreateMenu (HWND hwndParent, CPVOID lpmt)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinCreateMenu (hwndParent, lpmt);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateMenu __FPU_CW_WinCreateMenu

extern inline HWND APIENTRY __FPU_CW_WinLoadMenu (HWND hwndFrame, HMODULE hmod, ULONG idMenu)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinLoadMenu (hwndFrame, hmod, idMenu);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadMenu __FPU_CW_WinLoadMenu

extern inline BOOL APIENTRY __FPU_CW_WinPopupMenu (HWND hwndParent, HWND hwndOwner, HWND hwndMenu,    LONG x, LONG y, LONG idItem, ULONG fs)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinPopupMenu (hwndParent, hwndOwner, hwndMenu,    x, y, idItem, fs);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinPopupMenu __FPU_CW_WinPopupMenu

extern inline BOOL APIENTRY __FPU_CW_WinBroadcastMsg (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2, ULONG rgf)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinBroadcastMsg (hwnd, msg, mp1, mp2, rgf);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinBroadcastMsg __FPU_CW_WinBroadcastMsg

extern inline BOOL APIENTRY __FPU_CW_WinInSendMsg (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinInSendMsg (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinInSendMsg __FPU_CW_WinInSendMsg

extern inline BOOL APIENTRY __FPU_CW_WinPostQueueMsg (HMQ hmq, ULONG msg, MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinPostQueueMsg (hmq, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinPostQueueMsg __FPU_CW_WinPostQueueMsg

extern inline BOOL APIENTRY __FPU_CW_WinQueryMsgPos (HAB hab, PPOINTL pptl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryMsgPos (hab, pptl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryMsgPos __FPU_CW_WinQueryMsgPos

extern inline ULONG APIENTRY __FPU_CW_WinQueryMsgTime (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryMsgTime (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryMsgTime __FPU_CW_WinQueryMsgTime

extern inline ULONG APIENTRY __FPU_CW_WinQueryQueueStatus (HWND hwndDesktop)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryQueueStatus (hwndDesktop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryQueueStatus __FPU_CW_WinQueryQueueStatus

extern inline ULONG APIENTRY __FPU_CW_WinRequestMutexSem (HMTX hmtx, ULONG ulTimeout)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinRequestMutexSem (hmtx, ulTimeout);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRequestMutexSem __FPU_CW_WinRequestMutexSem

extern inline BOOL APIENTRY __FPU_CW_WinSetClassMsgInterest (HAB hab, PCSZ pszClassName, ULONG msg_class,    LONG control)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetClassMsgInterest (hab, pszClassName, msg_class,    control);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetClassMsgInterest __FPU_CW_WinSetClassMsgInterest

extern inline BOOL APIENTRY __FPU_CW_WinSetMsgInterest (HWND hwnd, ULONG msg_class, LONG control)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetMsgInterest (hwnd, msg_class, control);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetMsgInterest __FPU_CW_WinSetMsgInterest

extern inline ULONG APIENTRY __FPU_CW_WinWaitEventSem (HEV hev, ULONG ulTimeout)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinWaitEventSem (hev, ulTimeout);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinWaitEventSem __FPU_CW_WinWaitEventSem

extern inline BOOL APIENTRY __FPU_CW_WinWaitMsg (HAB hab, ULONG msgFirst, ULONG msgLast)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinWaitMsg (hab, msgFirst, msgLast);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinWaitMsg __FPU_CW_WinWaitMsg

extern inline ULONG APIENTRY __FPU_CW_WinWaitMuxWaitSem (HMUX hmux, ULONG ulTimeout, PULONG pulUser)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinWaitMuxWaitSem (hmux, ulTimeout, pulUser);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinWaitMuxWaitSem __FPU_CW_WinWaitMuxWaitSem

extern inline LONG APIENTRY __FPU_CW_WinRealizePalette (HWND hwnd, HPS hps, PULONG pcclr)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinRealizePalette (hwnd, hps, pcclr);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRealizePalette __FPU_CW_WinRealizePalette

extern inline HPOINTER APIENTRY __FPU_CW_WinCreatePointer (HWND hwndDesktop, HBITMAP hbmPointer, BOOL fPointer,    LONG xHotspot, LONG yHotspot)
{
    unsigned int cw = __FPU_CW_Get();
    HPOINTER ret = WinCreatePointer (hwndDesktop, hbmPointer, fPointer,    xHotspot, yHotspot);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreatePointer __FPU_CW_WinCreatePointer

extern inline HPOINTER APIENTRY __FPU_CW_WinCreatePointerIndirect (HWND hwndDesktop,    __const__ POINTERINFO *pptri)
{
    unsigned int cw = __FPU_CW_Get();
    HPOINTER ret = WinCreatePointerIndirect (hwndDesktop,    pptri);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreatePointerIndirect __FPU_CW_WinCreatePointerIndirect

extern inline BOOL APIENTRY __FPU_CW_WinDestroyPointer (HPOINTER hptr)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDestroyPointer (hptr);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyPointer __FPU_CW_WinDestroyPointer

extern inline BOOL APIENTRY __FPU_CW_WinDrawPointer (HPS hps, LONG x, LONG y, HPOINTER hptr, ULONG fs)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDrawPointer (hps, x, y, hptr, fs);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDrawPointer __FPU_CW_WinDrawPointer

extern inline HBITMAP APIENTRY __FPU_CW_WinGetSysBitmap (HWND hwndDesktop, ULONG ibm)
{
    unsigned int cw = __FPU_CW_Get();
    HBITMAP ret = WinGetSysBitmap (hwndDesktop, ibm);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetSysBitmap __FPU_CW_WinGetSysBitmap

extern inline HPOINTER APIENTRY __FPU_CW_WinLoadPointer (HWND hwndDesktop, HMODULE hmod, ULONG idres)
{
    unsigned int cw = __FPU_CW_Get();
    HPOINTER ret = WinLoadPointer (hwndDesktop, hmod, idres);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadPointer __FPU_CW_WinLoadPointer

extern inline BOOL APIENTRY __FPU_CW_WinLockPointerUpdate (HWND hwndDesktop, HPOINTER hptrNew,    ULONG ulTimeInterval)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinLockPointerUpdate (hwndDesktop, hptrNew,    ulTimeInterval);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLockPointerUpdate __FPU_CW_WinLockPointerUpdate

extern inline BOOL APIENTRY __FPU_CW_WinQueryPointerPos (HWND hwndDesktop, PPOINTL pptl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryPointerPos (hwndDesktop, pptl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryPointerPos __FPU_CW_WinQueryPointerPos

extern inline BOOL APIENTRY __FPU_CW_WinQueryPointerInfo (HPOINTER hptr, PPOINTERINFO pPointerInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryPointerInfo (hptr, pPointerInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryPointerInfo __FPU_CW_WinQueryPointerInfo

extern inline HPOINTER APIENTRY __FPU_CW_WinQuerySysPointer (HWND hwndDesktop, LONG lId, BOOL fCopy)
{
    unsigned int cw = __FPU_CW_Get();
    HPOINTER ret = WinQuerySysPointer (hwndDesktop, lId, fCopy);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySysPointer __FPU_CW_WinQuerySysPointer

extern inline BOOL APIENTRY __FPU_CW_WinQuerySysPointerData (HWND hwndDesktop, ULONG ulId,    PICONINFO pIconInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQuerySysPointerData (hwndDesktop, ulId,    pIconInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySysPointerData __FPU_CW_WinQuerySysPointerData

extern inline BOOL APIENTRY __FPU_CW_WinSetPointer (HWND hwndDesktop, HPOINTER hptrNew)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetPointer (hwndDesktop, hptrNew);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetPointer __FPU_CW_WinSetPointer

extern inline BOOL APIENTRY __FPU_CW_WinSetPointerOwner (HPOINTER hptr, PID pid, BOOL fDestroy)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetPointerOwner (hptr, pid, fDestroy);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetPointerOwner __FPU_CW_WinSetPointerOwner

extern inline BOOL APIENTRY __FPU_CW_WinSetPointerPos (HWND hwndDesktop, LONG x, LONG y)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetPointerPos (hwndDesktop, x, y);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetPointerPos __FPU_CW_WinSetPointerPos

extern inline BOOL APIENTRY __FPU_CW_WinSetSysPointerData (HWND hwndDesktop, ULONG ulId,    __const__ ICONINFO *pIconInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetSysPointerData (hwndDesktop, ulId,    pIconInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetSysPointerData __FPU_CW_WinSetSysPointerData

extern inline BOOL APIENTRY __FPU_CW_WinShowPointer (HWND hwndDesktop, BOOL fShow)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinShowPointer (hwndDesktop, fShow);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinShowPointer __FPU_CW_WinShowPointer

extern inline BOOL APIENTRY __FPU_CW_WinCopyRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCopyRect (hab, prclDst, prclSrc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCopyRect __FPU_CW_WinCopyRect

extern inline BOOL APIENTRY __FPU_CW_WinEqualRect (HAB hab, __const__ RECTL *prcl1, __const__ RECTL *prcl2)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEqualRect (hab, prcl1, prcl2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEqualRect __FPU_CW_WinEqualRect

extern inline BOOL APIENTRY __FPU_CW_WinInflateRect (HAB hab, PRECTL prcl, LONG cx, LONG cy)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinInflateRect (hab, prcl, cx, cy);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinInflateRect __FPU_CW_WinInflateRect

extern inline BOOL APIENTRY __FPU_CW_WinIntersectRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc1,    __const__ RECTL *prclSrc2)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIntersectRect (hab, prclDst, prclSrc1,    prclSrc2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIntersectRect __FPU_CW_WinIntersectRect

extern inline BOOL APIENTRY __FPU_CW_WinIsRectEmpty (HAB hab, __const__ RECTL *prcl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsRectEmpty (hab, prcl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsRectEmpty __FPU_CW_WinIsRectEmpty

extern inline BOOL APIENTRY __FPU_CW_WinMakePoints (HAB hab, PPOINTL pwpt, ULONG cwpt)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinMakePoints (hab, pwpt, cwpt);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMakePoints __FPU_CW_WinMakePoints

extern inline BOOL APIENTRY __FPU_CW_WinMakeRect (HAB hab, PRECTL pwrc)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinMakeRect (hab, pwrc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMakeRect __FPU_CW_WinMakeRect

extern inline BOOL APIENTRY __FPU_CW_WinOffsetRect (HAB hab, PRECTL prcl, LONG cx, LONG cy)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinOffsetRect (hab, prcl, cx, cy);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinOffsetRect __FPU_CW_WinOffsetRect

extern inline BOOL APIENTRY __FPU_CW_WinPtInRect (HAB hab, __const__ RECTL *prcl, __const__ POINTL *pptl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinPtInRect (hab, prcl, pptl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinPtInRect __FPU_CW_WinPtInRect

extern inline BOOL APIENTRY __FPU_CW_WinSetRect (HAB hab, PRECTL prcl, LONG xLeft, LONG yBottom, LONG xRight,    LONG yTop)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetRect (hab, prcl, xLeft, yBottom, xRight,    yTop);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetRect __FPU_CW_WinSetRect

extern inline BOOL APIENTRY __FPU_CW_WinSetRectEmpty (HAB hab, PRECTL prcl)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetRectEmpty (hab, prcl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetRectEmpty __FPU_CW_WinSetRectEmpty

extern inline BOOL APIENTRY __FPU_CW_WinSubtractRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc1,    __const__ RECTL *prclSrc2)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSubtractRect (hab, prclDst, prclSrc1,    prclSrc2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSubtractRect __FPU_CW_WinSubtractRect

extern inline BOOL APIENTRY __FPU_CW_WinUnionRect (HAB hab, PRECTL prclDst, __const__ RECTL *prclSrc1,    __const__ RECTL *prclSrc2)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinUnionRect (hab, prclDst, prclSrc1,    prclSrc2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinUnionRect __FPU_CW_WinUnionRect

extern inline LONG APIENTRY __FPU_CW_WinQueryControlColors (HWND hwnd, LONG clrType, ULONG flCtlColor,    ULONG cCtlColor, PCTLCOLOR pCtlColor)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQueryControlColors (hwnd, clrType, flCtlColor,    cCtlColor, pCtlColor);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryControlColors __FPU_CW_WinQueryControlColors

extern inline ULONG APIENTRY __FPU_CW_WinQueryPresParam (HWND hwnd, ULONG id1, ULONG id2, PULONG pulId,    ULONG cbBuf, PVOID pbBuf, ULONG fs)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryPresParam (hwnd, id1, id2, pulId,    cbBuf, pbBuf, fs);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryPresParam __FPU_CW_WinQueryPresParam

extern inline LONG APIENTRY __FPU_CW_WinQuerySysColor (HWND hwndDesktop, LONG clr, LONG lReserved)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQuerySysColor (hwndDesktop, clr, lReserved);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySysColor __FPU_CW_WinQuerySysColor

extern inline LONG APIENTRY __FPU_CW_WinQuerySysValue (HWND hwndDesktop, LONG iSysValue)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQuerySysValue (hwndDesktop, iSysValue);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySysValue __FPU_CW_WinQuerySysValue

extern inline BOOL APIENTRY __FPU_CW_WinRemovePresParam (HWND hwnd, ULONG id)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinRemovePresParam (hwnd, id);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRemovePresParam __FPU_CW_WinRemovePresParam

extern inline LONG APIENTRY __FPU_CW_WinSetControlColors (HWND hwnd, LONG clrType, ULONG flCtlColor,    ULONG cCtlColor, PCTLCOLOR pCtlColor)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinSetControlColors (hwnd, clrType, flCtlColor,    cCtlColor, pCtlColor);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetControlColors __FPU_CW_WinSetControlColors

extern inline BOOL APIENTRY __FPU_CW_WinSetPresParam (HWND hwnd, ULONG id, ULONG cbParam, PVOID pbParam)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetPresParam (hwnd, id, cbParam, pbParam);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetPresParam __FPU_CW_WinSetPresParam

extern inline BOOL APIENTRY __FPU_CW_WinSetSysColors (HWND hwndDesktop, ULONG flOptions, ULONG flFormat,    LONG clrFirst, ULONG cclr, __const__ LONG *pclr)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetSysColors (hwndDesktop, flOptions, flFormat,    clrFirst, cclr, pclr);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetSysColors __FPU_CW_WinSetSysColors

extern inline BOOL APIENTRY __FPU_CW_WinSetSysValue (HWND hwndDesktop, LONG iSysValue, LONG lValue)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetSysValue (hwndDesktop, iSysValue, lValue);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetSysValue __FPU_CW_WinSetSysValue

extern inline PFN APIENTRY __FPU_CW_WinQueryClassThunkProc (PCSZ pszClassname)
{
    unsigned int cw = __FPU_CW_Get();
    PFN ret = WinQueryClassThunkProc (pszClassname);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryClassThunkProc __FPU_CW_WinQueryClassThunkProc

extern inline LONG APIENTRY __FPU_CW_WinQueryWindowModel (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = WinQueryWindowModel (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowModel __FPU_CW_WinQueryWindowModel

extern inline PFN APIENTRY __FPU_CW_WinQueryWindowThunkProc (HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    PFN ret = WinQueryWindowThunkProc (hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryWindowThunkProc __FPU_CW_WinQueryWindowThunkProc

extern inline BOOL APIENTRY __FPU_CW_WinSetClassThunkProc (PCSZ pszClassname, PFN pfnThunkProc)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetClassThunkProc (pszClassname, pfnThunkProc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetClassThunkProc __FPU_CW_WinSetClassThunkProc

extern inline BOOL APIENTRY __FPU_CW_WinSetWindowThunkProc (HWND hwnd, PFN pfnThunkProc)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetWindowThunkProc (hwnd, pfnThunkProc);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetWindowThunkProc __FPU_CW_WinSetWindowThunkProc

extern inline ULONG APIENTRY  __FPU_CW_WinGetCurrentTime (HAB hab)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinGetCurrentTime (hab);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinGetCurrentTime __FPU_CW_WinGetCurrentTime

extern inline ULONG APIENTRY __FPU_CW_WinStartTimer (HAB hab, HWND hwnd, ULONG idTimer, ULONG dtTimeout)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinStartTimer (hab, hwnd, idTimer, dtTimeout);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinStartTimer __FPU_CW_WinStartTimer

extern inline BOOL APIENTRY __FPU_CW_WinStopTimer (HAB hab, HWND hwnd, ULONG idTimer)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinStopTimer (hab, hwnd, idTimer);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinStopTimer __FPU_CW_WinStopTimer

extern inline BOOL APIENTRY __FPU_CW_WinShowTrackRect (HWND hwnd, BOOL fShow)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinShowTrackRect (hwnd, fShow);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinShowTrackRect __FPU_CW_WinShowTrackRect

extern inline BOOL APIENTRY __FPU_CW_WinTrackRect (HWND hwnd, HPS hps, PTRACKINFO pti)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinTrackRect (hwnd, hps, pti);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinTrackRect __FPU_CW_WinTrackRect

extern inline LONG APIENTRY __FPU_CW_GpiAnimatePalette (HPAL hpal, ULONG ulFormat, ULONG ulStart,    ULONG ulCount, __const__ ULONG *aulTable)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiAnimatePalette (hpal, ulFormat, ulStart,    ulCount, aulTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiAnimatePalette __FPU_CW_GpiAnimatePalette

extern inline BOOL APIENTRY __FPU_CW_GpiBeginArea (HPS hps, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiBeginArea (hps, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiBeginArea __FPU_CW_GpiBeginArea

extern inline BOOL APIENTRY __FPU_CW_GpiBeginElement (HPS hps, LONG lType, PCSZ pszDesc)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiBeginElement (hps, lType, pszDesc);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiBeginElement __FPU_CW_GpiBeginElement

extern inline BOOL APIENTRY __FPU_CW_GpiBeginPath (HPS hps, LONG lPath)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiBeginPath (hps, lPath);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiBeginPath __FPU_CW_GpiBeginPath

extern inline LONG APIENTRY __FPU_CW_GpiBox (HPS hps, LONG lControl, __const__ POINTL *pptlPoint, LONG lHRound,    LONG lVRound)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiBox (hps, lControl, pptlPoint, lHRound,    lVRound);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiBox __FPU_CW_GpiBox

extern inline LONG APIENTRY __FPU_CW_GpiCallSegmentMatrix (HPS hps, LONG lSegment, LONG lCount,    __const__ MATRIXLF *pmatlfArray, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCallSegmentMatrix (hps, lSegment, lCount,    pmatlfArray, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCallSegmentMatrix __FPU_CW_GpiCallSegmentMatrix

extern inline LONG APIENTRY __FPU_CW_GpiCharString (HPS hps, LONG lCount, PCCH pchString)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCharString (hps, lCount, pchString);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCharString __FPU_CW_GpiCharString

extern inline LONG APIENTRY __FPU_CW_GpiCharStringAt (HPS hps, __const__ POINTL *pptlPoint, LONG lCount,     PCCH pchString)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCharStringAt (hps, pptlPoint, lCount,     pchString);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCharStringAt __FPU_CW_GpiCharStringAt

extern inline LONG APIENTRY __FPU_CW_GpiCharStringPos (HPS hps, __const__ RECTL *prclRect, ULONG flOptions,    LONG lCount, PCCH pchString, __const__ LONG *alAdx)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCharStringPos (hps, prclRect, flOptions,    lCount, pchString, alAdx);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCharStringPos __FPU_CW_GpiCharStringPos

extern inline LONG APIENTRY  __FPU_CW_GpiCharStringPosAt (HPS hps, __const__ POINTL *pptlStart,    __const__ RECTL *prclRect, ULONG flOptions, LONG lCount, PCCH pchString,    __const__ LONG *alAdx)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCharStringPosAt (hps, pptlStart,    prclRect, flOptions, lCount, pchString,    alAdx);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCharStringPosAt __FPU_CW_GpiCharStringPosAt

extern inline BOOL APIENTRY __FPU_CW_GpiCloseFigure (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiCloseFigure (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCloseFigure __FPU_CW_GpiCloseFigure

extern inline LONG APIENTRY __FPU_CW_GpiCombineRegion (HPS hps, HRGN hrgnDest, HRGN hrgnSrc1, HRGN hrgnSrc2,    LONG lMode)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCombineRegion (hps, hrgnDest, hrgnSrc1, hrgnSrc2,    lMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCombineRegion __FPU_CW_GpiCombineRegion

extern inline BOOL APIENTRY __FPU_CW_GpiComment (HPS hps, LONG lLength, __const__ BYTE *pbData)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiComment (hps, lLength, pbData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiComment __FPU_CW_GpiComment

extern inline BOOL APIENTRY __FPU_CW_GpiConvert (HPS hps, LONG lSrc, LONG lTarg, LONG lCount,    PPOINTL aptlPoints)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiConvert (hps, lSrc, lTarg, lCount,    aptlPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiConvert __FPU_CW_GpiConvert

extern inline BOOL APIENTRY __FPU_CW_GpiConvertWithMatrix (HPS hps, LONG lCountp, PPOINTL aptlPoints,    LONG lCount, __const__ MATRIXLF *pmatlfArray)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiConvertWithMatrix (hps, lCountp, aptlPoints,    lCount, pmatlfArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiConvertWithMatrix __FPU_CW_GpiConvertWithMatrix

extern inline HMF APIENTRY __FPU_CW_GpiCopyMetaFile (HMF hmf)
{
    unsigned int cw = __FPU_CW_Get();
    HMF ret = GpiCopyMetaFile (hmf);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCopyMetaFile __FPU_CW_GpiCopyMetaFile

extern inline BOOL APIENTRY __FPU_CW_GpiCreateLogColorTable (HPS hps, ULONG flOptions, LONG lFormat,    LONG lStart, LONG lCount, __const__ LONG *alTable)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiCreateLogColorTable (hps, flOptions, lFormat,    lStart, lCount, alTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCreateLogColorTable __FPU_CW_GpiCreateLogColorTable

extern inline LONG APIENTRY __FPU_CW_GpiCreateLogFont (HPS hps, __const__ STR8 *pName, LONG lLcid,    __const__ FATTRS *pfatAttrs)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCreateLogFont (hps, pName, lLcid,    pfatAttrs);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCreateLogFont __FPU_CW_GpiCreateLogFont

extern inline HPAL APIENTRY __FPU_CW_GpiCreatePalette (HAB hab, ULONG flOptions, ULONG ulFormat,    ULONG ulCount, __const__ ULONG *aulTable)
{
    unsigned int cw = __FPU_CW_Get();
    HPAL ret = GpiCreatePalette (hab, flOptions, ulFormat,    ulCount, aulTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCreatePalette __FPU_CW_GpiCreatePalette

extern inline HRGN APIENTRY __FPU_CW_GpiCreateRegion (HPS hps, LONG lCount, __const__ RECTL *arclRectangles)
{
    unsigned int cw = __FPU_CW_Get();
    HRGN ret = GpiCreateRegion (hps, lCount, arclRectangles);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCreateRegion __FPU_CW_GpiCreateRegion

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteElement (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteElement (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteElement __FPU_CW_GpiDeleteElement

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteElementRange (HPS hps, LONG lFirstElement, LONG lLastElement)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteElementRange (hps, lFirstElement, lLastElement);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteElementRange __FPU_CW_GpiDeleteElementRange

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteElementsBetweenLabels (HPS hps, LONG lFirstLabel,    LONG lLastLabel)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteElementsBetweenLabels (hps, lFirstLabel,    lLastLabel);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteElementsBetweenLabels __FPU_CW_GpiDeleteElementsBetweenLabels

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteMetaFile (HMF hmf)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteMetaFile (hmf);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteMetaFile __FPU_CW_GpiDeleteMetaFile

extern inline BOOL APIENTRY __FPU_CW_GpiDeletePalette (HPAL hpal)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeletePalette (hpal);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeletePalette __FPU_CW_GpiDeletePalette

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteSetId (HPS hps, LONG lLcid)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteSetId (hps, lLcid);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteSetId __FPU_CW_GpiDeleteSetId

extern inline BOOL APIENTRY __FPU_CW_GpiDestroyRegion (HPS hps, HRGN hrgn)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDestroyRegion (hps, hrgn);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDestroyRegion __FPU_CW_GpiDestroyRegion

extern inline LONG APIENTRY __FPU_CW_GpiElement (HPS hps, LONG lType, PCSZ pszDesc, LONG lLength,    __const__ BYTE *pbData)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiElement (hps, lType, pszDesc, lLength,    pbData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiElement __FPU_CW_GpiElement

extern inline LONG APIENTRY __FPU_CW_GpiEndArea (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiEndArea (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiEndArea __FPU_CW_GpiEndArea

extern inline BOOL APIENTRY __FPU_CW_GpiEndElement (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiEndElement (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiEndElement __FPU_CW_GpiEndElement

extern inline BOOL APIENTRY __FPU_CW_GpiEndPath (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiEndPath (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiEndPath __FPU_CW_GpiEndPath

extern inline LONG APIENTRY __FPU_CW_GpiEqualRegion (HPS hps, HRGN hrgnSrc1, HRGN hrgnSrc2)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiEqualRegion (hps, hrgnSrc1, hrgnSrc2);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiEqualRegion __FPU_CW_GpiEqualRegion

extern inline LONG APIENTRY __FPU_CW_GpiExcludeClipRectangle (HPS hps, __const__ RECTL *prclRectangle)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiExcludeClipRectangle (hps, prclRectangle);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiExcludeClipRectangle __FPU_CW_GpiExcludeClipRectangle

extern inline LONG APIENTRY __FPU_CW_GpiFillPath (HPS hps, LONG lPath, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiFillPath (hps, lPath, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiFillPath __FPU_CW_GpiFillPath

extern inline LONG APIENTRY __FPU_CW_GpiFrameRegion (HPS hps, HRGN hrgn, __const__ SIZEL *thickness)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiFrameRegion (hps, hrgn, thickness);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiFrameRegion __FPU_CW_GpiFrameRegion

extern inline LONG APIENTRY __FPU_CW_GpiFullArc (HPS hps, LONG lControl, FIXED fxMultiplier)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiFullArc (hps, lControl, fxMultiplier);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiFullArc __FPU_CW_GpiFullArc

extern inline LONG APIENTRY __FPU_CW_GpiImage (HPS hps, LONG lFormat, __const__ SIZEL *psizlImageSize,    LONG lLength, __const__ BYTE *pbData)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiImage (hps, lFormat, psizlImageSize,    lLength, pbData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiImage __FPU_CW_GpiImage

extern inline LONG APIENTRY __FPU_CW_GpiIntersectClipRectangle (HPS hps, __const__ RECTL *prclRectangle)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiIntersectClipRectangle (hps, prclRectangle);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiIntersectClipRectangle __FPU_CW_GpiIntersectClipRectangle

extern inline BOOL APIENTRY __FPU_CW_GpiLabel (HPS hps, LONG lLabel)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiLabel (hps, lLabel);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiLabel __FPU_CW_GpiLabel

extern inline LONG APIENTRY __FPU_CW_GpiLine (HPS hps, __const__ POINTL *pptlEndPoint)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiLine (hps, pptlEndPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiLine __FPU_CW_GpiLine

extern inline BOOL APIENTRY __FPU_CW_GpiLoadFonts (HAB hab, PCSZ pszFilename)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiLoadFonts (hab, pszFilename);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiLoadFonts __FPU_CW_GpiLoadFonts

extern inline HMF APIENTRY __FPU_CW_GpiLoadMetaFile (HAB hab, PCSZ pszFilename)
{
    unsigned int cw = __FPU_CW_Get();
    HMF ret = GpiLoadMetaFile (hab, pszFilename);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiLoadMetaFile __FPU_CW_GpiLoadMetaFile

extern inline BOOL APIENTRY __FPU_CW_GpiLoadPublicFonts (HAB hab, PCSZ pszFileName)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiLoadPublicFonts (hab, pszFileName);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiLoadPublicFonts __FPU_CW_GpiLoadPublicFonts

extern inline LONG APIENTRY __FPU_CW_GpiMarker (HPS hps, __const__ POINTL *pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiMarker (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiMarker __FPU_CW_GpiMarker

extern inline BOOL APIENTRY __FPU_CW_GpiModifyPath (HPS hps, LONG lPath, LONG lMode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiModifyPath (hps, lPath, lMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiModifyPath __FPU_CW_GpiModifyPath

extern inline BOOL APIENTRY __FPU_CW_GpiMove (HPS hps, __const__ POINTL *pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiMove (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiMove __FPU_CW_GpiMove

extern inline LONG APIENTRY __FPU_CW_GpiOffsetClipRegion (HPS hps, __const__ POINTL *pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiOffsetClipRegion (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiOffsetClipRegion __FPU_CW_GpiOffsetClipRegion

extern inline BOOL APIENTRY __FPU_CW_GpiOffsetElementPointer (HPS hps, LONG loffset)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiOffsetElementPointer (hps, loffset);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiOffsetElementPointer __FPU_CW_GpiOffsetElementPointer

extern inline BOOL APIENTRY __FPU_CW_GpiOffsetRegion (HPS hps, HRGN Hrgn, __const__ POINTL *pptlOffset)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiOffsetRegion (hps, Hrgn, pptlOffset);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiOffsetRegion __FPU_CW_GpiOffsetRegion

extern inline LONG APIENTRY __FPU_CW_GpiOutlinePath (HPS hps, LONG lPath, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiOutlinePath (hps, lPath, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiOutlinePath __FPU_CW_GpiOutlinePath

extern inline LONG APIENTRY __FPU_CW_GpiPaintRegion (HPS hps, HRGN hrgn)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPaintRegion (hps, hrgn);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPaintRegion __FPU_CW_GpiPaintRegion

extern inline LONG APIENTRY __FPU_CW_GpiPartialArc (HPS hps, __const__ POINTL *pptlCenter, FIXED fxMultiplier,    FIXED fxStartAngle, FIXED fxSweepAngle)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPartialArc (hps, pptlCenter, fxMultiplier,    fxStartAngle, fxSweepAngle);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPartialArc __FPU_CW_GpiPartialArc

extern inline HRGN APIENTRY __FPU_CW_GpiPathToRegion (HPS GpiH, LONG lPath, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    HRGN ret = GpiPathToRegion (GpiH, lPath, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPathToRegion __FPU_CW_GpiPathToRegion

extern inline LONG APIENTRY __FPU_CW_GpiPlayMetaFile (HPS hps, HMF hmf, LONG lCount1,    __const__ LONG *alOptarray, PLONG plSegCount, LONG lCount2, PSZ pszDesc)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPlayMetaFile (hps, hmf, lCount1,    alOptarray, plSegCount, lCount2, pszDesc);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPlayMetaFile __FPU_CW_GpiPlayMetaFile

extern inline LONG APIENTRY __FPU_CW_GpiPointArc (HPS hps, __const__ POINTL *pptl2)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPointArc (hps, pptl2);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPointArc __FPU_CW_GpiPointArc

extern inline LONG APIENTRY __FPU_CW_GpiPolyFillet (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPolyFillet (hps, lCount, aptlPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPolyFillet __FPU_CW_GpiPolyFillet

extern inline LONG APIENTRY __FPU_CW_GpiPolyFilletSharp (HPS hps, LONG lCount, __const__ POINTL *aptlPoints,    __const__ FIXED *afxPoints)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPolyFilletSharp (hps, lCount, aptlPoints,    afxPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPolyFilletSharp __FPU_CW_GpiPolyFilletSharp

extern inline LONG APIENTRY __FPU_CW_GpiPolygons (HPS hps, ULONG ulCount, __const__ POLYGON *paplgn,    ULONG flOptions, ULONG flModel)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPolygons (hps, ulCount, paplgn,    flOptions, flModel);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPolygons __FPU_CW_GpiPolygons

extern inline LONG APIENTRY __FPU_CW_GpiPolyLine (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPolyLine (hps, lCount, aptlPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPolyLine __FPU_CW_GpiPolyLine

extern inline LONG APIENTRY __FPU_CW_GpiPolyLineDisjoint (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPolyLineDisjoint (hps, lCount, aptlPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPolyLineDisjoint __FPU_CW_GpiPolyLineDisjoint

extern inline LONG APIENTRY __FPU_CW_GpiPolyMarker (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPolyMarker (hps, lCount, aptlPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPolyMarker __FPU_CW_GpiPolyMarker

extern inline LONG APIENTRY __FPU_CW_GpiPolySpline (HPS hps, LONG lCount, __const__ POINTL *aptlPoints)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPolySpline (hps, lCount, aptlPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPolySpline __FPU_CW_GpiPolySpline

extern inline BOOL APIENTRY __FPU_CW_GpiPop (HPS hps, LONG lCount)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiPop (hps, lCount);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPop __FPU_CW_GpiPop

extern inline LONG APIENTRY __FPU_CW_GpiPtInRegion (HPS hps, HRGN hrgn, __const__ POINTL *pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPtInRegion (hps, hrgn, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPtInRegion __FPU_CW_GpiPtInRegion

extern inline LONG APIENTRY __FPU_CW_GpiPtVisible (HPS hps, __const__ POINTL *pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPtVisible (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPtVisible __FPU_CW_GpiPtVisible

extern inline BOOL APIENTRY __FPU_CW_GpiQueryArcParams (HPS hps, PARCPARAMS parcpArcParams)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryArcParams (hps, parcpArcParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryArcParams __FPU_CW_GpiQueryArcParams

extern inline LONG APIENTRY __FPU_CW_GpiQueryAttrMode (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryAttrMode (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryAttrMode __FPU_CW_GpiQueryAttrMode

extern inline LONG APIENTRY __FPU_CW_GpiQueryAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask,    PBUNDLE ppbunAttrs)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryAttrs (hps, lPrimType, flAttrMask,    ppbunAttrs);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryAttrs __FPU_CW_GpiQueryAttrs

extern inline LONG APIENTRY __FPU_CW_GpiQueryBackColor (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryBackColor (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBackColor __FPU_CW_GpiQueryBackColor

extern inline LONG APIENTRY __FPU_CW_GpiQueryBackMix (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryBackMix (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBackMix __FPU_CW_GpiQueryBackMix

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCharAngle (HPS hps, PGRADIENTL pgradlAngle)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCharAngle (hps, pgradlAngle);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharAngle __FPU_CW_GpiQueryCharAngle

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCharBox (HPS hps, PSIZEF psizfxSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCharBox (hps, psizfxSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharBox __FPU_CW_GpiQueryCharBox

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCharBreakExtra (HPS hps, PFIXED BreakExtra)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCharBreakExtra (hps, BreakExtra);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharBreakExtra __FPU_CW_GpiQueryCharBreakExtra

extern inline LONG APIENTRY __FPU_CW_GpiQueryCharDirection (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryCharDirection (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharDirection __FPU_CW_GpiQueryCharDirection

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCharExtra (HPS hps, PFIXED Extra)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCharExtra (hps, Extra);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharExtra __FPU_CW_GpiQueryCharExtra

extern inline LONG APIENTRY __FPU_CW_GpiQueryCharMode (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryCharMode (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharMode __FPU_CW_GpiQueryCharMode

extern inline LONG APIENTRY __FPU_CW_GpiQueryCharSet (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryCharSet (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharSet __FPU_CW_GpiQueryCharSet

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCharShear (HPS hps, PPOINTL pptlShear)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCharShear (hps, pptlShear);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharShear __FPU_CW_GpiQueryCharShear

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCharStringPos (HPS hps, ULONG flOptions, LONG lCount,    PCCH pchString, PLONG alXincrements, PPOINTL aptlPositions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCharStringPos (hps, flOptions, lCount,    pchString, alXincrements, aptlPositions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharStringPos __FPU_CW_GpiQueryCharStringPos

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCharStringPosAt (HPS hps, PPOINTL pptlStart, ULONG flOptions,    LONG lCount, PCCH pchString, PLONG alXincrements, PPOINTL aptlPositions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCharStringPosAt (hps, pptlStart, flOptions,    lCount, pchString, alXincrements, aptlPositions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCharStringPosAt __FPU_CW_GpiQueryCharStringPosAt

extern inline LONG APIENTRY __FPU_CW_GpiQueryClipBox (HPS hps, PRECTL prclBound)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryClipBox (hps, prclBound);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryClipBox __FPU_CW_GpiQueryClipBox

extern inline HRGN APIENTRY __FPU_CW_GpiQueryClipRegion (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    HRGN ret = GpiQueryClipRegion (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryClipRegion __FPU_CW_GpiQueryClipRegion

extern inline LONG APIENTRY __FPU_CW_GpiQueryColor (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryColor (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryColor __FPU_CW_GpiQueryColor

extern inline BOOL APIENTRY __FPU_CW_GpiQueryColorData (HPS hps, LONG lCount, PLONG alArray)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryColorData (hps, lCount, alArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryColorData __FPU_CW_GpiQueryColorData

extern inline LONG APIENTRY __FPU_CW_GpiQueryColorIndex (HPS hps, ULONG flOptions, LONG lRgbColor)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryColorIndex (hps, flOptions, lRgbColor);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryColorIndex __FPU_CW_GpiQueryColorIndex

extern inline ULONG APIENTRY __FPU_CW_GpiQueryCp (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = GpiQueryCp (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCp __FPU_CW_GpiQueryCp

extern inline BOOL APIENTRY __FPU_CW_GpiQueryCurrentPosition (HPS hps, PPOINTL pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryCurrentPosition (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryCurrentPosition __FPU_CW_GpiQueryCurrentPosition

extern inline BOOL APIENTRY __FPU_CW_GpiQueryDefArcParams (HPS hps, PARCPARAMS parcpArcParams)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryDefArcParams (hps, parcpArcParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDefArcParams __FPU_CW_GpiQueryDefArcParams

extern inline BOOL APIENTRY __FPU_CW_GpiQueryDefAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask,    PBUNDLE ppbunAttrs)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryDefAttrs (hps, lPrimType, flAttrMask,    ppbunAttrs);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDefAttrs __FPU_CW_GpiQueryDefAttrs

extern inline BOOL APIENTRY __FPU_CW_GpiQueryDefCharBox (HPS hps, PSIZEL psizlSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryDefCharBox (hps, psizlSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDefCharBox __FPU_CW_GpiQueryDefCharBox

extern inline BOOL APIENTRY __FPU_CW_GpiQueryDefTag (HPS hps, PLONG plTag)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryDefTag (hps, plTag);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDefTag __FPU_CW_GpiQueryDefTag

extern inline BOOL APIENTRY __FPU_CW_GpiQueryDefViewingLimits (HPS hps, PRECTL prclLimits)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryDefViewingLimits (hps, prclLimits);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDefViewingLimits __FPU_CW_GpiQueryDefViewingLimits

extern inline BOOL APIENTRY __FPU_CW_GpiQueryDefaultViewMatrix (HPS hps, LONG lCount, PMATRIXLF pmatlfArray)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryDefaultViewMatrix (hps, lCount, pmatlfArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDefaultViewMatrix __FPU_CW_GpiQueryDefaultViewMatrix

extern inline LONG APIENTRY __FPU_CW_GpiQueryEditMode (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryEditMode (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryEditMode __FPU_CW_GpiQueryEditMode

extern inline LONG APIENTRY __FPU_CW_GpiQueryElement (HPS hps, LONG lOff, LONG lMaxLength, PBYTE pbData)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryElement (hps, lOff, lMaxLength, pbData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryElement __FPU_CW_GpiQueryElement

extern inline LONG APIENTRY __FPU_CW_GpiQueryElementPointer (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryElementPointer (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryElementPointer __FPU_CW_GpiQueryElementPointer

extern inline LONG APIENTRY __FPU_CW_GpiQueryElementType (HPS hps, PLONG plType, LONG lLength, PSZ pszData)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryElementType (hps, plType, lLength, pszData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryElementType __FPU_CW_GpiQueryElementType

extern inline ULONG APIENTRY __FPU_CW_GpiQueryFaceString (HPS PS, PCSZ FamilyName, PFACENAMEDESC attrs,    LONG length, PSZ CompoundFaceName)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = GpiQueryFaceString (PS, FamilyName, attrs,    length, CompoundFaceName);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryFaceString __FPU_CW_GpiQueryFaceString

extern inline ULONG APIENTRY __FPU_CW_GpiQueryFontAction (HAB anchor, ULONG options)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = GpiQueryFontAction (anchor, options);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryFontAction __FPU_CW_GpiQueryFontAction

extern inline LONG APIENTRY __FPU_CW_GpiQueryFontFileDescriptions (HAB hab, PCSZ pszFilename, PLONG plCount,    PFFDESCS affdescsNames)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryFontFileDescriptions (hab, pszFilename, plCount,    affdescsNames);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryFontFileDescriptions __FPU_CW_GpiQueryFontFileDescriptions

extern inline BOOL APIENTRY __FPU_CW_GpiQueryFontMetrics (HPS hps, LONG lMetricsLength,    PFONTMETRICS pfmMetrics)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryFontMetrics (hps, lMetricsLength,    pfmMetrics);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryFontMetrics __FPU_CW_GpiQueryFontMetrics

extern inline LONG APIENTRY __FPU_CW_GpiQueryFonts (HPS hps, ULONG flOptions, PCSZ pszFacename,    PLONG plReqFonts, LONG lMetricsLength, PFONTMETRICS afmMetrics)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryFonts (hps, flOptions, pszFacename,    plReqFonts, lMetricsLength, afmMetrics);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryFonts __FPU_CW_GpiQueryFonts

extern inline LONG APIENTRY __FPU_CW_GpiQueryFullFontFileDescs (HAB hab, PCSZ pszFilename, PLONG plCount,    PVOID pNames, PLONG plNamesBuffLength)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryFullFontFileDescs (hab, pszFilename, plCount,    pNames, plNamesBuffLength);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryFullFontFileDescs __FPU_CW_GpiQueryFullFontFileDescs

extern inline BOOL APIENTRY __FPU_CW_GpiQueryGraphicsField (HPS hps, PRECTL prclField)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryGraphicsField (hps, prclField);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryGraphicsField __FPU_CW_GpiQueryGraphicsField

extern inline LONG APIENTRY __FPU_CW_GpiQueryKerningPairs (HPS hps, LONG lCount, PKERNINGPAIRS akrnprData)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryKerningPairs (hps, lCount, akrnprData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryKerningPairs __FPU_CW_GpiQueryKerningPairs

extern inline LONG APIENTRY __FPU_CW_GpiQueryLineEnd (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryLineEnd (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryLineEnd __FPU_CW_GpiQueryLineEnd

extern inline LONG APIENTRY __FPU_CW_GpiQueryLineJoin (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryLineJoin (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryLineJoin __FPU_CW_GpiQueryLineJoin

extern inline LONG APIENTRY __FPU_CW_GpiQueryLineType (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryLineType (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryLineType __FPU_CW_GpiQueryLineType

extern inline FIXED APIENTRY __FPU_CW_GpiQueryLineWidth (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    FIXED ret = GpiQueryLineWidth (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryLineWidth __FPU_CW_GpiQueryLineWidth

extern inline LONG APIENTRY __FPU_CW_GpiQueryLineWidthGeom (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryLineWidthGeom (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryLineWidthGeom __FPU_CW_GpiQueryLineWidthGeom

extern inline LONG APIENTRY __FPU_CW_GpiQueryLogColorTable (HPS hps, ULONG flOptions, LONG lStart, LONG lCount,    PLONG alArray)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryLogColorTable (hps, flOptions, lStart, lCount,    alArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryLogColorTable __FPU_CW_GpiQueryLogColorTable

extern inline BOOL APIENTRY __FPU_CW_GpiQueryLogicalFont (HPS PS, LONG lcid, PSTR8 name, PFATTRS attrs,    LONG length)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryLogicalFont (PS, lcid, name, attrs,    length);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryLogicalFont __FPU_CW_GpiQueryLogicalFont

extern inline LONG APIENTRY __FPU_CW_GpiQueryMarker (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryMarker (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryMarker __FPU_CW_GpiQueryMarker

extern inline BOOL APIENTRY __FPU_CW_GpiQueryMarkerBox (HPS hps, PSIZEF psizfxSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryMarkerBox (hps, psizfxSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryMarkerBox __FPU_CW_GpiQueryMarkerBox

extern inline LONG APIENTRY __FPU_CW_GpiQueryMarkerSet (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryMarkerSet (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryMarkerSet __FPU_CW_GpiQueryMarkerSet

extern inline BOOL APIENTRY __FPU_CW_GpiQueryMetaFileBits (HMF hmf, LONG lOffset, LONG lLength, PBYTE pbData)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryMetaFileBits (hmf, lOffset, lLength, pbData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryMetaFileBits __FPU_CW_GpiQueryMetaFileBits

extern inline LONG APIENTRY __FPU_CW_GpiQueryMetaFileLength (HMF hmf)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryMetaFileLength (hmf);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryMetaFileLength __FPU_CW_GpiQueryMetaFileLength

extern inline LONG APIENTRY __FPU_CW_GpiQueryMix (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryMix (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryMix __FPU_CW_GpiQueryMix

extern inline BOOL APIENTRY __FPU_CW_GpiQueryModelTransformMatrix (HPS hps, LONG lCount,    PMATRIXLF pmatlfArray)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryModelTransformMatrix (hps, lCount,    pmatlfArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryModelTransformMatrix __FPU_CW_GpiQueryModelTransformMatrix

extern inline LONG APIENTRY __FPU_CW_GpiQueryNearestColor (HPS hps, ULONG flOptions, LONG lRgbIn)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryNearestColor (hps, flOptions, lRgbIn);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryNearestColor __FPU_CW_GpiQueryNearestColor

extern inline LONG APIENTRY __FPU_CW_GpiQueryNumberSetIds (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryNumberSetIds (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryNumberSetIds __FPU_CW_GpiQueryNumberSetIds

extern inline BOOL APIENTRY __FPU_CW_GpiQueryPageViewport (HPS hps, PRECTL prclViewport)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryPageViewport (hps, prclViewport);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPageViewport __FPU_CW_GpiQueryPageViewport

extern inline HPAL APIENTRY __FPU_CW_GpiQueryPalette (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    HPAL ret = GpiQueryPalette (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPalette __FPU_CW_GpiQueryPalette

extern inline LONG APIENTRY __FPU_CW_GpiQueryPaletteInfo (HPAL hpal, HPS  hps, ULONG flOptions,    ULONG ulStart, ULONG ulCount, PULONG aulArray)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryPaletteInfo (hpal, hps, flOptions,    ulStart, ulCount, aulArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPaletteInfo __FPU_CW_GpiQueryPaletteInfo

extern inline LONG APIENTRY __FPU_CW_GpiQueryPattern (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryPattern (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPattern __FPU_CW_GpiQueryPattern

extern inline BOOL APIENTRY __FPU_CW_GpiQueryPatternRefPoint (HPS hps, PPOINTL pptlRefPoint)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryPatternRefPoint (hps, pptlRefPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPatternRefPoint __FPU_CW_GpiQueryPatternRefPoint

extern inline LONG APIENTRY __FPU_CW_GpiQueryPatternSet (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryPatternSet (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPatternSet __FPU_CW_GpiQueryPatternSet

extern inline LONG APIENTRY __FPU_CW_GpiQueryRealColors (HPS hps, ULONG flOptions, LONG lStart, LONG lCount,    PLONG alColors)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryRealColors (hps, flOptions, lStart, lCount,    alColors);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryRealColors __FPU_CW_GpiQueryRealColors

extern inline LONG APIENTRY __FPU_CW_GpiQueryRegionBox (HPS hps, HRGN hrgn, PRECTL prclBound)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryRegionBox (hps, hrgn, prclBound);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryRegionBox __FPU_CW_GpiQueryRegionBox

extern inline BOOL APIENTRY __FPU_CW_GpiQueryRegionRects (HPS hps, HRGN hrgn, PRECTL prclBound,    PRGNRECT prgnrcControl, PRECTL prclRect)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryRegionRects (hps, hrgn, prclBound,    prgnrcControl, prclRect);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryRegionRects __FPU_CW_GpiQueryRegionRects

extern inline LONG APIENTRY __FPU_CW_GpiQueryRGBColor (HPS hps, ULONG flOptions, LONG lColorIndex)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryRGBColor (hps, flOptions, lColorIndex);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryRGBColor __FPU_CW_GpiQueryRGBColor

extern inline BOOL APIENTRY __FPU_CW_GpiQuerySegmentTransformMatrix (HPS hps, LONG lSegid, LONG lCount,    PMATRIXLF pmatlfArray)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQuerySegmentTransformMatrix (hps, lSegid, lCount,    pmatlfArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQuerySegmentTransformMatrix __FPU_CW_GpiQuerySegmentTransformMatrix

extern inline BOOL APIENTRY __FPU_CW_GpiQuerySetIds (HPS hps, LONG lCount, PLONG alTypes, PSTR8 aNames,    PLONG allcids)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQuerySetIds (hps, lCount, alTypes, aNames,    allcids);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQuerySetIds __FPU_CW_GpiQuerySetIds

extern inline BOOL APIENTRY __FPU_CW_GpiQueryTextAlignment (HPS hps, PLONG plHoriz, PLONG plVert)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryTextAlignment (hps, plHoriz, plVert);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryTextAlignment __FPU_CW_GpiQueryTextAlignment

extern inline BOOL APIENTRY __FPU_CW_GpiQueryTextBox (HPS hps, LONG lCount1, PCH pchString, LONG lCount2,    PPOINTL aptlPoints)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryTextBox (hps, lCount1, pchString, lCount2,    aptlPoints);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryTextBox __FPU_CW_GpiQueryTextBox

extern inline BOOL APIENTRY __FPU_CW_GpiQueryViewingLimits (HPS hps, PRECTL prclLimits)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryViewingLimits (hps, prclLimits);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryViewingLimits __FPU_CW_GpiQueryViewingLimits

extern inline BOOL APIENTRY __FPU_CW_GpiQueryViewingTransformMatrix (HPS hps, LONG lCount,    PMATRIXLF pmatlfArray)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryViewingTransformMatrix (hps, lCount,    pmatlfArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryViewingTransformMatrix __FPU_CW_GpiQueryViewingTransformMatrix

extern inline BOOL APIENTRY __FPU_CW_GpiQueryWidthTable (HPS hps, LONG lFirstChar, LONG lCount, PLONG alData)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryWidthTable (hps, lFirstChar, lCount, alData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryWidthTable __FPU_CW_GpiQueryWidthTable

extern inline LONG APIENTRY __FPU_CW_GpiRectInRegion (HPS hps, HRGN hrgn, __const__ RECTL *prclRect)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiRectInRegion (hps, hrgn, prclRect);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiRectInRegion __FPU_CW_GpiRectInRegion

extern inline LONG APIENTRY __FPU_CW_GpiRectVisible (HPS hps, __const__ RECTL *prclRectangle)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiRectVisible (hps, prclRectangle);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiRectVisible __FPU_CW_GpiRectVisible

extern inline BOOL APIENTRY __FPU_CW_GpiRotate (HPS hps, PMATRIXLF pmatlfArray, LONG lOptions, FIXED fxAngle,    __const__ POINTL *pptlCenter)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiRotate (hps, pmatlfArray, lOptions, fxAngle,    pptlCenter);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiRotate __FPU_CW_GpiRotate

extern inline BOOL APIENTRY __FPU_CW_GpiSaveMetaFile (HMF hmf, PCSZ pszFilename)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSaveMetaFile (hmf, pszFilename);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSaveMetaFile __FPU_CW_GpiSaveMetaFile

extern inline BOOL APIENTRY __FPU_CW_GpiScale (HPS hps, PMATRIXLF pmfatlfArray, LONG lOptions,    __const__ FIXED *afxScale, __const__ POINTL *pptlCenter)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiScale (hps, pmfatlfArray, lOptions,    afxScale, pptlCenter);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiScale __FPU_CW_GpiScale

extern inline HPAL APIENTRY __FPU_CW_GpiSelectPalette (HPS hps, HPAL hpal)
{
    unsigned int cw = __FPU_CW_Get();
    HPAL ret = GpiSelectPalette (hps, hpal);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSelectPalette __FPU_CW_GpiSelectPalette

extern inline BOOL APIENTRY __FPU_CW_GpiSetArcParams (HPS hps, __const__ ARCPARAMS *parcpArcParams)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetArcParams (hps, parcpArcParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetArcParams __FPU_CW_GpiSetArcParams

extern inline BOOL APIENTRY __FPU_CW_GpiSetAttrMode (HPS hps, LONG lMode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetAttrMode (hps, lMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetAttrMode __FPU_CW_GpiSetAttrMode

extern inline BOOL APIENTRY __FPU_CW_GpiSetAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask, ULONG flDefMask,    __const__ VOID *ppbunAttrs)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetAttrs (hps, lPrimType, flAttrMask, flDefMask,    ppbunAttrs);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetAttrs __FPU_CW_GpiSetAttrs

extern inline BOOL APIENTRY __FPU_CW_GpiSetBackColor (HPS hps, LONG lColor)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetBackColor (hps, lColor);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetBackColor __FPU_CW_GpiSetBackColor

extern inline BOOL APIENTRY __FPU_CW_GpiSetBackMix (HPS hps, LONG lMixMode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetBackMix (hps, lMixMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetBackMix __FPU_CW_GpiSetBackMix

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharAngle (HPS hps, __const__ GRADIENTL *pgradlAngle)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharAngle (hps, pgradlAngle);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharAngle __FPU_CW_GpiSetCharAngle

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharBox (HPS hps, __const__ SIZEF *psizfxBox)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharBox (hps, psizfxBox);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharBox __FPU_CW_GpiSetCharBox

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharBreakExtra (HPS hps, FIXED BreakExtra)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharBreakExtra (hps, BreakExtra);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharBreakExtra __FPU_CW_GpiSetCharBreakExtra

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharDirection (HPS hps, LONG lDirection)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharDirection (hps, lDirection);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharDirection __FPU_CW_GpiSetCharDirection

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharExtra (HPS hps, FIXED  Extra)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharExtra (hps, Extra);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharExtra __FPU_CW_GpiSetCharExtra

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharMode (HPS hps, LONG lMode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharMode (hps, lMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharMode __FPU_CW_GpiSetCharMode

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharSet (HPS hps, LONG llcid)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharSet (hps, llcid);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharSet __FPU_CW_GpiSetCharSet

extern inline BOOL APIENTRY __FPU_CW_GpiSetCharShear (HPS hps, __const__ POINTL *pptlAngle)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCharShear (hps, pptlAngle);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCharShear __FPU_CW_GpiSetCharShear

extern inline BOOL APIENTRY __FPU_CW_GpiSetClipPath (HPS hps, LONG lPath, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetClipPath (hps, lPath, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetClipPath __FPU_CW_GpiSetClipPath

extern inline LONG APIENTRY __FPU_CW_GpiSetClipRegion (HPS hps, HRGN hrgn, PHRGN phrgnOld)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiSetClipRegion (hps, hrgn, phrgnOld);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetClipRegion __FPU_CW_GpiSetClipRegion

extern inline BOOL APIENTRY __FPU_CW_GpiSetColor (HPS hps, LONG lColor)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetColor (hps, lColor);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetColor __FPU_CW_GpiSetColor

extern inline BOOL APIENTRY __FPU_CW_GpiSetCp (HPS hps, ULONG ulCodePage)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCp (hps, ulCodePage);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCp __FPU_CW_GpiSetCp

extern inline BOOL APIENTRY __FPU_CW_GpiSetCurrentPosition (HPS hps, __const__ POINTL *pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetCurrentPosition (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetCurrentPosition __FPU_CW_GpiSetCurrentPosition

extern inline BOOL APIENTRY __FPU_CW_GpiSetDefArcParams (HPS hps, __const__ ARCPARAMS *parcpArcParams)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetDefArcParams (hps, parcpArcParams);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetDefArcParams __FPU_CW_GpiSetDefArcParams

extern inline BOOL APIENTRY __FPU_CW_GpiSetDefAttrs (HPS hps, LONG lPrimType, ULONG flAttrMask,    __const__ VOID *ppbunAttrs)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetDefAttrs (hps, lPrimType, flAttrMask,    ppbunAttrs);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetDefAttrs __FPU_CW_GpiSetDefAttrs

extern inline BOOL APIENTRY __FPU_CW_GpiSetDefaultViewMatrix (HPS hps, LONG lCount,    __const__ MATRIXLF *pmatlfarray, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetDefaultViewMatrix (hps, lCount,    pmatlfarray, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetDefaultViewMatrix __FPU_CW_GpiSetDefaultViewMatrix

extern inline BOOL APIENTRY __FPU_CW_GpiSetDefTag (HPS hps, LONG lTag)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetDefTag (hps, lTag);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetDefTag __FPU_CW_GpiSetDefTag

extern inline BOOL APIENTRY __FPU_CW_GpiSetDefViewingLimits (HPS hps, __const__ RECTL *prclLimits)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetDefViewingLimits (hps, prclLimits);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetDefViewingLimits __FPU_CW_GpiSetDefViewingLimits

extern inline BOOL APIENTRY __FPU_CW_GpiSetEditMode (HPS hps, LONG lMode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetEditMode (hps, lMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetEditMode __FPU_CW_GpiSetEditMode

extern inline BOOL APIENTRY __FPU_CW_GpiSetElementPointer (HPS hps, LONG lElement)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetElementPointer (hps, lElement);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetElementPointer __FPU_CW_GpiSetElementPointer

extern inline BOOL APIENTRY __FPU_CW_GpiSetElementPointerAtLabel (HPS hps, LONG lLabel)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetElementPointerAtLabel (hps, lLabel);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetElementPointerAtLabel __FPU_CW_GpiSetElementPointerAtLabel

extern inline BOOL APIENTRY __FPU_CW_GpiSetGraphicsField (HPS hps, __const__ RECTL *prclField)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetGraphicsField (hps, prclField);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetGraphicsField __FPU_CW_GpiSetGraphicsField

extern inline BOOL APIENTRY __FPU_CW_GpiSetLineEnd (HPS hps, LONG lLineEnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetLineEnd (hps, lLineEnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetLineEnd __FPU_CW_GpiSetLineEnd

extern inline BOOL APIENTRY __FPU_CW_GpiSetLineJoin (HPS hps, LONG lLineJoin)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetLineJoin (hps, lLineJoin);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetLineJoin __FPU_CW_GpiSetLineJoin

extern inline BOOL APIENTRY __FPU_CW_GpiSetLineType (HPS hps, LONG lLineType)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetLineType (hps, lLineType);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetLineType __FPU_CW_GpiSetLineType

extern inline BOOL APIENTRY __FPU_CW_GpiSetLineWidth (HPS hps, FIXED fxLineWidth)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetLineWidth (hps, fxLineWidth);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetLineWidth __FPU_CW_GpiSetLineWidth

extern inline BOOL APIENTRY __FPU_CW_GpiSetLineWidthGeom (HPS hps, LONG lLineWidth)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetLineWidthGeom (hps, lLineWidth);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetLineWidthGeom __FPU_CW_GpiSetLineWidthGeom

extern inline BOOL APIENTRY __FPU_CW_GpiSetMarker (HPS hps, LONG lSymbol)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetMarker (hps, lSymbol);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetMarker __FPU_CW_GpiSetMarker

extern inline BOOL APIENTRY __FPU_CW_GpiSetMarkerBox (HPS hps, __const__ SIZEF *psizfxSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetMarkerBox (hps, psizfxSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetMarkerBox __FPU_CW_GpiSetMarkerBox

extern inline BOOL APIENTRY __FPU_CW_GpiSetMarkerSet (HPS hps, LONG lSet)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetMarkerSet (hps, lSet);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetMarkerSet __FPU_CW_GpiSetMarkerSet

extern inline BOOL APIENTRY __FPU_CW_GpiSetMetaFileBits (HMF hmf, LONG lOffset, LONG lLength,    __const__ BYTE *pbBuffer)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetMetaFileBits (hmf, lOffset, lLength,    pbBuffer);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetMetaFileBits __FPU_CW_GpiSetMetaFileBits

extern inline BOOL APIENTRY __FPU_CW_GpiSetMix (HPS hps, LONG lMixMode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetMix (hps, lMixMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetMix __FPU_CW_GpiSetMix

extern inline BOOL APIENTRY __FPU_CW_GpiSetModelTransformMatrix (HPS hps, LONG lCount,    __const__ MATRIXLF *pmatlfArray, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetModelTransformMatrix (hps, lCount,    pmatlfArray, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetModelTransformMatrix __FPU_CW_GpiSetModelTransformMatrix

extern inline BOOL APIENTRY __FPU_CW_GpiSetPageViewport (HPS hps, __const__ RECTL *prclViewport)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPageViewport (hps, prclViewport);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPageViewport __FPU_CW_GpiSetPageViewport

extern inline BOOL APIENTRY __FPU_CW_GpiSetPaletteEntries (HPAL hpal, ULONG ulFormat, ULONG ulStart,    ULONG ulCount, __const__ ULONG *aulTable)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPaletteEntries (hpal, ulFormat, ulStart,    ulCount, aulTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPaletteEntries __FPU_CW_GpiSetPaletteEntries

extern inline BOOL APIENTRY __FPU_CW_GpiSetPattern (HPS hps, LONG lPatternSymbol)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPattern (hps, lPatternSymbol);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPattern __FPU_CW_GpiSetPattern

extern inline BOOL APIENTRY __FPU_CW_GpiSetPatternRefPoint (HPS hps, __const__ POINTL *pptlRefPoint)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPatternRefPoint (hps, pptlRefPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPatternRefPoint __FPU_CW_GpiSetPatternRefPoint

extern inline BOOL APIENTRY __FPU_CW_GpiSetPatternSet (HPS hps, LONG lSet)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPatternSet (hps, lSet);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPatternSet __FPU_CW_GpiSetPatternSet

extern inline BOOL APIENTRY __FPU_CW_GpiSetRegion (HPS hps, HRGN hrgn, LONG lcount,    __const__ RECTL *arclRectangles)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetRegion (hps, hrgn, lcount,    arclRectangles);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetRegion __FPU_CW_GpiSetRegion

extern inline BOOL APIENTRY __FPU_CW_GpiSetSegmentTransformMatrix (HPS hps, LONG lSegid, LONG lCount,    __const__ MATRIXLF *pmatlfarray, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetSegmentTransformMatrix (hps, lSegid, lCount,    pmatlfarray, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetSegmentTransformMatrix __FPU_CW_GpiSetSegmentTransformMatrix

extern inline BOOL APIENTRY __FPU_CW_GpiSetTextAlignment (HPS hps, LONG lHoriz, LONG lVert)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetTextAlignment (hps, lHoriz, lVert);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetTextAlignment __FPU_CW_GpiSetTextAlignment

extern inline BOOL APIENTRY __FPU_CW_GpiSetViewingLimits (HPS hps, __const__ RECTL *prclLimits)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetViewingLimits (hps, prclLimits);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetViewingLimits __FPU_CW_GpiSetViewingLimits

extern inline BOOL APIENTRY __FPU_CW_GpiSetViewingTransformMatrix (HPS hps, LONG lCount,    __const__ MATRIXLF *pmatlfArray, LONG lOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetViewingTransformMatrix (hps, lCount,    pmatlfArray, lOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetViewingTransformMatrix __FPU_CW_GpiSetViewingTransformMatrix

extern inline LONG APIENTRY __FPU_CW_GpiStrokePath (HPS hps, LONG lPath, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiStrokePath (hps, lPath, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiStrokePath __FPU_CW_GpiStrokePath

extern inline BOOL APIENTRY __FPU_CW_GpiTranslate (HPS hps, PMATRIXLF pmatlfArray, LONG lOptions,    __const__ POINTL *pptlTranslation)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiTranslate (hps, pmatlfArray, lOptions,    pptlTranslation);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiTranslate __FPU_CW_GpiTranslate

extern inline BOOL APIENTRY __FPU_CW_GpiUnloadFonts (HAB hab, PCSZ pszFilename)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiUnloadFonts (hab, pszFilename);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiUnloadFonts __FPU_CW_GpiUnloadFonts

extern inline BOOL APIENTRY __FPU_CW_GpiUnloadPublicFonts (HAB hab, PCSZ pszFilename)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiUnloadPublicFonts (hab, pszFilename);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiUnloadPublicFonts __FPU_CW_GpiUnloadPublicFonts

extern inline LONG APIENTRY __FPU_CW_GpiBitBlt (HPS hpsTarget, HPS hpsSource, LONG lCount,    __const__ POINTL *aptlPoints, LONG lRop, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiBitBlt (hpsTarget, hpsSource, lCount,    aptlPoints, lRop, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiBitBlt __FPU_CW_GpiBitBlt

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteBitmap (HBITMAP hbm)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteBitmap (hbm);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteBitmap __FPU_CW_GpiDeleteBitmap

extern inline HBITMAP APIENTRY __FPU_CW_GpiLoadBitmap (HPS hps, HMODULE Resource, ULONG idBitmap,    LONG lWidth, LONG lHeight)
{
    unsigned int cw = __FPU_CW_Get();
    HBITMAP ret = GpiLoadBitmap (hps, Resource, idBitmap,    lWidth, lHeight);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiLoadBitmap __FPU_CW_GpiLoadBitmap

extern inline HBITMAP APIENTRY __FPU_CW_GpiSetBitmap (HPS hps, HBITMAP hbm)
{
    unsigned int cw = __FPU_CW_Get();
    HBITMAP ret = GpiSetBitmap (hps, hbm);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetBitmap __FPU_CW_GpiSetBitmap

extern inline LONG APIENTRY __FPU_CW_GpiWCBitBlt (HPS hpsTarget, HBITMAP hbmSource, LONG lCount,    __const__ POINTL *aptlPoints, LONG lRop, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiWCBitBlt (hpsTarget, hbmSource, lCount,    aptlPoints, lRop, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiWCBitBlt __FPU_CW_GpiWCBitBlt

extern inline HBITMAP APIENTRY __FPU_CW_GpiCreateBitmap (HPS hps, __const__ BITMAPINFOHEADER2 *pbmpNew,    ULONG flOptions, __const__ BYTE *pbInitData,    __const__ BITMAPINFO2 *pbmiInfoTable)
{
    unsigned int cw = __FPU_CW_Get();
    HBITMAP ret = GpiCreateBitmap (hps, pbmpNew,    flOptions, pbInitData,    pbmiInfoTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCreateBitmap __FPU_CW_GpiCreateBitmap

extern inline LONG APIENTRY __FPU_CW_GpiDrawBits (HPS hps, __const__ VOID *pBits,    __const__ BITMAPINFO2 *pbmiInfoTable, LONG lCount,    __const__ POINTL *aptlPoints, LONG lRop, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiDrawBits (hps, pBits,    pbmiInfoTable, lCount,    aptlPoints, lRop, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDrawBits __FPU_CW_GpiDrawBits

extern inline LONG APIENTRY __FPU_CW_GpiFloodFill (HPS hps, LONG lOptions, LONG lColor)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiFloodFill (hps, lOptions, lColor);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiFloodFill __FPU_CW_GpiFloodFill

extern inline LONG APIENTRY __FPU_CW_GpiQueryBitmapBits (HPS hps, LONG lScanStart, LONG lScans, PBYTE pbBuffer,    PBITMAPINFO2 pbmiInfoTable)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryBitmapBits (hps, lScanStart, lScans, pbBuffer,    pbmiInfoTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBitmapBits __FPU_CW_GpiQueryBitmapBits

extern inline BOOL APIENTRY __FPU_CW_GpiQueryBitmapDimension (HBITMAP hbm, PSIZEL psizlBitmapDimension)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryBitmapDimension (hbm, psizlBitmapDimension);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBitmapDimension __FPU_CW_GpiQueryBitmapDimension

extern inline HBITMAP APIENTRY __FPU_CW_GpiQueryBitmapHandle (HPS hps, LONG lLcid)
{
    unsigned int cw = __FPU_CW_Get();
    HBITMAP ret = GpiQueryBitmapHandle (hps, lLcid);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBitmapHandle __FPU_CW_GpiQueryBitmapHandle

extern inline BOOL APIENTRY __FPU_CW_GpiQueryBitmapInfoHeader (HBITMAP hbm, PBITMAPINFOHEADER2 pbmpData)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryBitmapInfoHeader (hbm, pbmpData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBitmapInfoHeader __FPU_CW_GpiQueryBitmapInfoHeader

extern inline BOOL APIENTRY __FPU_CW_GpiQueryBitmapParameters (HBITMAP hbm, PBITMAPINFOHEADER pbmpData)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryBitmapParameters (hbm, pbmpData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBitmapParameters __FPU_CW_GpiQueryBitmapParameters

extern inline BOOL APIENTRY __FPU_CW_GpiQueryDeviceBitmapFormats (HPS hps, LONG lCount, PLONG alArray)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryDeviceBitmapFormats (hps, lCount, alArray);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDeviceBitmapFormats __FPU_CW_GpiQueryDeviceBitmapFormats

extern inline LONG APIENTRY  __FPU_CW_GpiSetBitmapBits (HPS hps, LONG lScanStart, LONG lScans,    __const__ BYTE *pbBuffer, __const__ BITMAPINFO2 *pbmiInfoTable)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiSetBitmapBits (hps, lScanStart, lScans,    pbBuffer, pbmiInfoTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetBitmapBits __FPU_CW_GpiSetBitmapBits

extern inline LONG APIENTRY __FPU_CW_GpiQueryPel (HPS hps, PPOINTL pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryPel (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPel __FPU_CW_GpiQueryPel

extern inline BOOL APIENTRY __FPU_CW_GpiSetBitmapDimension (HBITMAP hbm,    __const__ SIZEL *psizlBitmapDimension)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetBitmapDimension (hbm,    psizlBitmapDimension);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetBitmapDimension __FPU_CW_GpiSetBitmapDimension

extern inline BOOL APIENTRY __FPU_CW_GpiSetBitmapId (HPS hps, HBITMAP hbm, LONG lLcid)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetBitmapId (hps, hbm, lLcid);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetBitmapId __FPU_CW_GpiSetBitmapId

extern inline LONG APIENTRY __FPU_CW_GpiSetPel (HPS hps, __const__ POINTL *pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiSetPel (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPel __FPU_CW_GpiSetPel

extern inline BOOL APIENTRY __FPU_CW_GpiAssociate (HPS hps, HDC hdc)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiAssociate (hps, hdc);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiAssociate __FPU_CW_GpiAssociate

extern inline HPS APIENTRY __FPU_CW_GpiCreatePS (HAB hab, HDC hdc, PSIZEL psizlSize, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    HPS ret = GpiCreatePS (hab, hdc, psizlSize, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCreatePS __FPU_CW_GpiCreatePS

extern inline BOOL APIENTRY __FPU_CW_GpiDestroyPS (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDestroyPS (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDestroyPS __FPU_CW_GpiDestroyPS

extern inline BOOL APIENTRY __FPU_CW_GpiErase (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiErase (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiErase __FPU_CW_GpiErase

extern inline HDC APIENTRY __FPU_CW_GpiQueryDevice (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    HDC ret = GpiQueryDevice (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDevice __FPU_CW_GpiQueryDevice

extern inline BOOL APIENTRY __FPU_CW_GpiRestorePS (HPS hps, LONG lPSid)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiRestorePS (hps, lPSid);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiRestorePS __FPU_CW_GpiRestorePS

extern inline LONG APIENTRY __FPU_CW_GpiSavePS (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiSavePS (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSavePS __FPU_CW_GpiSavePS

extern inline LONG APIENTRY __FPU_CW_GpiErrorSegmentData (HPS hps, PLONG plSegment, PLONG plContext)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiErrorSegmentData (hps, plSegment, plContext);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiErrorSegmentData __FPU_CW_GpiErrorSegmentData

extern inline LONG APIENTRY __FPU_CW_GpiQueryDrawControl (HPS hps, LONG lControl)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryDrawControl (hps, lControl);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDrawControl __FPU_CW_GpiQueryDrawControl

extern inline LONG APIENTRY __FPU_CW_GpiQueryDrawingMode (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryDrawingMode (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryDrawingMode __FPU_CW_GpiQueryDrawingMode

extern inline ULONG APIENTRY __FPU_CW_GpiQueryPS (HPS hps, PSIZEL psizlSize)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = GpiQueryPS (hps, psizlSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPS __FPU_CW_GpiQueryPS

extern inline BOOL APIENTRY __FPU_CW_GpiResetPS (HPS hps, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiResetPS (hps, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiResetPS __FPU_CW_GpiResetPS

extern inline LONG APIENTRY __FPU_CW_GpiQueryStopDraw (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryStopDraw (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryStopDraw __FPU_CW_GpiQueryStopDraw

extern inline BOOL APIENTRY __FPU_CW_GpiSetDrawControl (HPS hps, LONG lControl, LONG lValue)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetDrawControl (hps, lControl, lValue);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetDrawControl __FPU_CW_GpiSetDrawControl

extern inline BOOL APIENTRY __FPU_CW_GpiSetDrawingMode (HPS hps, LONG lMode)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetDrawingMode (hps, lMode);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetDrawingMode __FPU_CW_GpiSetDrawingMode

extern inline BOOL APIENTRY __FPU_CW_GpiSetPS (HPS hps, __const__ SIZEL *psizlsize, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPS (hps, psizlsize, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPS __FPU_CW_GpiSetPS

extern inline BOOL APIENTRY __FPU_CW_GpiSetStopDraw (HPS hps, LONG lValue)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetStopDraw (hps, lValue);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetStopDraw __FPU_CW_GpiSetStopDraw

extern inline LONG APIENTRY __FPU_CW_GpiCorrelateChain (HPS hps, LONG lType, __const__ POINTL *pptlPick,    LONG lMaxHits, LONG lMaxDepth, PLONG pl2)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCorrelateChain (hps, lType, pptlPick,    lMaxHits, lMaxDepth, pl2);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCorrelateChain __FPU_CW_GpiCorrelateChain

extern inline LONG APIENTRY __FPU_CW_GpiCorrelateFrom (HPS hps, LONG lFirstSegment, LONG lLastSegment,    LONG lType, __const__ POINTL *pptlPick, LONG lMaxHits, LONG lMaxDepth,    PLONG plSegTag)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCorrelateFrom (hps, lFirstSegment, lLastSegment,    lType, pptlPick, lMaxHits, lMaxDepth,    plSegTag);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCorrelateFrom __FPU_CW_GpiCorrelateFrom

extern inline LONG APIENTRY __FPU_CW_GpiCorrelateSegment (HPS hps, LONG lSegment, LONG lType,    __const__ POINTL *pptlPick, LONG lMaxHits, LONG lMaxDepth, PLONG alSegTag)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiCorrelateSegment (hps, lSegment, lType,    pptlPick, lMaxHits, lMaxDepth, alSegTag);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCorrelateSegment __FPU_CW_GpiCorrelateSegment

extern inline BOOL APIENTRY __FPU_CW_GpiQueryBoundaryData (HPS hps, PRECTL prclBoundary)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryBoundaryData (hps, prclBoundary);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryBoundaryData __FPU_CW_GpiQueryBoundaryData

extern inline BOOL APIENTRY __FPU_CW_GpiQueryPickAperturePosition (HPS hps, PPOINTL pptlPoint)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryPickAperturePosition (hps, pptlPoint);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPickAperturePosition __FPU_CW_GpiQueryPickAperturePosition

extern inline BOOL APIENTRY __FPU_CW_GpiQueryPickApertureSize (HPS hps, PSIZEL psizlSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryPickApertureSize (hps, psizlSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryPickApertureSize __FPU_CW_GpiQueryPickApertureSize

extern inline BOOL APIENTRY __FPU_CW_GpiQueryTag (HPS hps, PLONG plTag)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiQueryTag (hps, plTag);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryTag __FPU_CW_GpiQueryTag

extern inline BOOL APIENTRY __FPU_CW_GpiResetBoundaryData (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiResetBoundaryData (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiResetBoundaryData __FPU_CW_GpiResetBoundaryData

extern inline BOOL APIENTRY __FPU_CW_GpiSetPickAperturePosition (HPS hps, __const__ POINTL *pptlPick)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPickAperturePosition (hps, pptlPick);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPickAperturePosition __FPU_CW_GpiSetPickAperturePosition

extern inline BOOL APIENTRY __FPU_CW_GpiSetPickApertureSize (HPS hps, LONG lOptions,    __const__ SIZEL *psizlSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetPickApertureSize (hps, lOptions,    psizlSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetPickApertureSize __FPU_CW_GpiSetPickApertureSize

extern inline BOOL APIENTRY __FPU_CW_GpiSetTag (HPS hps, LONG lTag)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetTag (hps, lTag);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetTag __FPU_CW_GpiSetTag

extern inline BOOL APIENTRY __FPU_CW_GpiBeginInkPath (HPS hps, LONG lPath, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiBeginInkPath (hps, lPath, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiBeginInkPath __FPU_CW_GpiBeginInkPath

extern inline BOOL APIENTRY __FPU_CW_GpiEndInkPath (HPS hps, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiEndInkPath (hps, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiEndInkPath __FPU_CW_GpiEndInkPath

extern inline LONG APIENTRY __FPU_CW_GpiStrokeInkPath (HPS hps, LONG lPath, LONG lCount,    __const__ POINTL *aptlPoints, ULONG flOptions)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiStrokeInkPath (hps, lPath, lCount,    aptlPoints, flOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiStrokeInkPath __FPU_CW_GpiStrokeInkPath

extern inline BOOL APIENTRY __FPU_CW_GpiCloseSegment (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiCloseSegment (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiCloseSegment __FPU_CW_GpiCloseSegment

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteSegment (HPS hps, LONG lSegid)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteSegment (hps, lSegid);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteSegment __FPU_CW_GpiDeleteSegment

extern inline BOOL APIENTRY __FPU_CW_GpiDeleteSegments (HPS hps, LONG lFirstSegment, LONG lLastSegment)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDeleteSegments (hps, lFirstSegment, lLastSegment);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDeleteSegments __FPU_CW_GpiDeleteSegments

extern inline BOOL APIENTRY __FPU_CW_GpiDrawChain (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDrawChain (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDrawChain __FPU_CW_GpiDrawChain

extern inline BOOL APIENTRY __FPU_CW_GpiDrawDynamics (HPS hps)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDrawDynamics (hps);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDrawDynamics __FPU_CW_GpiDrawDynamics

extern inline BOOL APIENTRY __FPU_CW_GpiDrawFrom (HPS hps, LONG lFirstSegment, LONG lLastSegment)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDrawFrom (hps, lFirstSegment, lLastSegment);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDrawFrom __FPU_CW_GpiDrawFrom

extern inline BOOL APIENTRY __FPU_CW_GpiDrawSegment (HPS hps, LONG lSegment)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiDrawSegment (hps, lSegment);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiDrawSegment __FPU_CW_GpiDrawSegment

extern inline LONG APIENTRY __FPU_CW_GpiGetData (HPS hps, LONG lSegid, PLONG plOffset, LONG lFormat,    LONG lLength, PBYTE pbData)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiGetData (hps, lSegid, plOffset, lFormat,    lLength, pbData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiGetData __FPU_CW_GpiGetData

extern inline BOOL APIENTRY __FPU_CW_GpiOpenSegment (HPS hps, LONG lSegment)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiOpenSegment (hps, lSegment);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiOpenSegment __FPU_CW_GpiOpenSegment

extern inline LONG APIENTRY __FPU_CW_GpiPutData (HPS hps, LONG lFormat, PLONG plCount, __const__ BYTE *pbData)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiPutData (hps, lFormat, plCount, pbData);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiPutData __FPU_CW_GpiPutData

extern inline LONG APIENTRY __FPU_CW_GpiQueryInitialSegmentAttrs (HPS hps, LONG lAttribute)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQueryInitialSegmentAttrs (hps, lAttribute);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQueryInitialSegmentAttrs __FPU_CW_GpiQueryInitialSegmentAttrs

extern inline LONG APIENTRY __FPU_CW_GpiQuerySegmentAttrs (HPS hps, LONG lSegid, LONG lAttribute)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQuerySegmentAttrs (hps, lSegid, lAttribute);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQuerySegmentAttrs __FPU_CW_GpiQuerySegmentAttrs

extern inline LONG APIENTRY __FPU_CW_GpiQuerySegmentNames (HPS hps, LONG lFirstSegid, LONG lLastSegid,    LONG lMax, PLONG alSegids)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQuerySegmentNames (hps, lFirstSegid, lLastSegid,    lMax, alSegids);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQuerySegmentNames __FPU_CW_GpiQuerySegmentNames

extern inline LONG APIENTRY __FPU_CW_GpiQuerySegmentPriority (HPS hps, LONG lRefSegid, LONG lOrder)
{
    unsigned int cw = __FPU_CW_Get();
    LONG ret = GpiQuerySegmentPriority (hps, lRefSegid, lOrder);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiQuerySegmentPriority __FPU_CW_GpiQuerySegmentPriority

extern inline BOOL APIENTRY __FPU_CW_GpiRemoveDynamics (HPS hps, LONG lFirstSegid, LONG lLastSegid)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiRemoveDynamics (hps, lFirstSegid, lLastSegid);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiRemoveDynamics __FPU_CW_GpiRemoveDynamics

extern inline BOOL APIENTRY __FPU_CW_GpiSetInitialSegmentAttrs (HPS hps, LONG lAttribute, LONG lValue)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetInitialSegmentAttrs (hps, lAttribute, lValue);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetInitialSegmentAttrs __FPU_CW_GpiSetInitialSegmentAttrs

extern inline BOOL APIENTRY __FPU_CW_GpiSetSegmentAttrs (HPS hps, LONG lSegid, LONG lAttribute, LONG lValue)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetSegmentAttrs (hps, lSegid, lAttribute, lValue);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetSegmentAttrs __FPU_CW_GpiSetSegmentAttrs

extern inline BOOL APIENTRY __FPU_CW_GpiSetSegmentPriority (HPS hps, LONG lSegid, LONG lRefSegid, LONG lOrder)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = GpiSetSegmentPriority (hps, lSegid, lRefSegid, lOrder);
    __FPU_CW_Set(cw);
    return ret;
}
#define GpiSetSegmentPriority __FPU_CW_GpiSetSegmentPriority

extern inline HAPP APIENTRY __FPU_CW_WinStartApp (HWND hwndNotify, PPROGDETAILS pDetails,    PCSZ pszParams, PVOID Reserved, ULONG fbOptions)
{
    unsigned int cw = __FPU_CW_Get();
    HAPP ret = WinStartApp (hwndNotify, pDetails,    pszParams, Reserved, fbOptions);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinStartApp __FPU_CW_WinStartApp

extern inline BOOL APIENTRY __FPU_CW_WinTerminateApp (HAPP happ)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinTerminateApp (happ);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinTerminateApp __FPU_CW_WinTerminateApp

extern inline HSWITCH APIENTRY __FPU_CW_WinAddSwitchEntry (__const__ SWCNTRL *pswctl)
{
    unsigned int cw = __FPU_CW_Get();
    HSWITCH ret = WinAddSwitchEntry (pswctl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinAddSwitchEntry __FPU_CW_WinAddSwitchEntry

extern inline ULONG APIENTRY __FPU_CW_WinRemoveSwitchEntry (HSWITCH hsw)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinRemoveSwitchEntry (hsw);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRemoveSwitchEntry __FPU_CW_WinRemoveSwitchEntry

extern inline ULONG APIENTRY __FPU_CW_WinChangeSwitchEntry (HSWITCH hsw, __const__ SWCNTRL *pswctl)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinChangeSwitchEntry (hsw, pswctl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinChangeSwitchEntry __FPU_CW_WinChangeSwitchEntry

extern inline HSWITCH APIENTRY __FPU_CW_WinCreateSwitchEntry (HAB hab, __const__ SWCNTRL *pswctl)
{
    unsigned int cw = __FPU_CW_Get();
    HSWITCH ret = WinCreateSwitchEntry (hab, pswctl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateSwitchEntry __FPU_CW_WinCreateSwitchEntry

extern inline ULONG APIENTRY __FPU_CW_WinQuerySessionTitle (HAB hab, ULONG usSession, PSZ pszTitle,    ULONG usTitlelen)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQuerySessionTitle (hab, usSession, pszTitle,    usTitlelen);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySessionTitle __FPU_CW_WinQuerySessionTitle

extern inline ULONG APIENTRY __FPU_CW_WinQuerySwitchEntry (HSWITCH hsw, PSWCNTRL pswctl)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQuerySwitchEntry (hsw, pswctl);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySwitchEntry __FPU_CW_WinQuerySwitchEntry

extern inline HSWITCH APIENTRY __FPU_CW_WinQuerySwitchHandle (HWND hwnd, PID pid)
{
    unsigned int cw = __FPU_CW_Get();
    HSWITCH ret = WinQuerySwitchHandle (hwnd, pid);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySwitchHandle __FPU_CW_WinQuerySwitchHandle

extern inline ULONG APIENTRY __FPU_CW_WinQuerySwitchList (HAB hab, PSWBLOCK pswblk, ULONG usDataLength)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQuerySwitchList (hab, pswblk, usDataLength);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQuerySwitchList __FPU_CW_WinQuerySwitchList

extern inline ULONG APIENTRY __FPU_CW_WinQueryTaskSizePos (HAB hab, ULONG usScreenGroup, PSWP pswp)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryTaskSizePos (hab, usScreenGroup, pswp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryTaskSizePos __FPU_CW_WinQueryTaskSizePos

extern inline ULONG APIENTRY __FPU_CW_WinQueryTaskTitle (ULONG usSession, PSZ pszTitle, ULONG usTitlelen)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinQueryTaskTitle (usSession, pszTitle, usTitlelen);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryTaskTitle __FPU_CW_WinQueryTaskTitle

extern inline ULONG APIENTRY __FPU_CW_WinSwitchToProgram (HSWITCH hsw)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinSwitchToProgram (hsw);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSwitchToProgram __FPU_CW_WinSwitchToProgram

extern inline MRESULT APIENTRY __FPU_CW_WinDefFileDlgProc (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinDefFileDlgProc (hwnd, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDefFileDlgProc __FPU_CW_WinDefFileDlgProc

extern inline HWND APIENTRY __FPU_CW_WinFileDlg (HWND hwndP, HWND hwndO, PFILEDLG pfild)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinFileDlg (hwndP, hwndO, pfild);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFileDlg __FPU_CW_WinFileDlg

extern inline BOOL APIENTRY __FPU_CW_WinFreeFileDlgList (PAPSZ papszFQFilename)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinFreeFileDlgList (papszFQFilename);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFreeFileDlgList __FPU_CW_WinFreeFileDlgList

extern inline HWND APIENTRY __FPU_CW_WinFontDlg (HWND hwndP, HWND hwndO, PFONTDLG pfntd)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinFontDlg (hwndP, hwndO, pfntd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFontDlg __FPU_CW_WinFontDlg

extern inline MRESULT APIENTRY __FPU_CW_WinDefFontDlgProc (HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinDefFontDlgProc (hwnd, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDefFontDlgProc __FPU_CW_WinDefFontDlgProc

extern inline HOBJECT APIENTRY __FPU_CW_WinCopyObject (HOBJECT hObjectofObject, HOBJECT hObjectofDest,    ULONG ulReserved)
{
    unsigned int cw = __FPU_CW_Get();
    HOBJECT ret = WinCopyObject (hObjectofObject, hObjectofDest,    ulReserved);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCopyObject __FPU_CW_WinCopyObject

extern inline HOBJECT APIENTRY __FPU_CW_WinCreateObject (PCSZ pszClassName, PCSZ pszTitle, PCSZ pszSetupString,    PCSZ pszLocation, ULONG ulFlags)
{
    unsigned int cw = __FPU_CW_Get();
    HOBJECT ret = WinCreateObject (pszClassName, pszTitle, pszSetupString,    pszLocation, ulFlags);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateObject __FPU_CW_WinCreateObject

extern inline HOBJECT APIENTRY __FPU_CW_WinCreateShadow (HOBJECT hObjectofObject, HOBJECT hObjectofDest,    ULONG ulReserved)
{
    unsigned int cw = __FPU_CW_Get();
    HOBJECT ret = WinCreateShadow (hObjectofObject, hObjectofDest,    ulReserved);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateShadow __FPU_CW_WinCreateShadow

extern inline BOOL APIENTRY __FPU_CW_WinDeregisterObjectClass (PCSZ pszClassName)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDeregisterObjectClass (pszClassName);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDeregisterObjectClass __FPU_CW_WinDeregisterObjectClass

extern inline BOOL APIENTRY __FPU_CW_WinDestroyObject (HOBJECT hObject)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDestroyObject (hObject);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyObject __FPU_CW_WinDestroyObject

extern inline BOOL APIENTRY __FPU_CW_WinEnumObjectClasses (POBJCLASS pObjClass, PULONG pulSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinEnumObjectClasses (pObjClass, pulSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinEnumObjectClasses __FPU_CW_WinEnumObjectClasses

extern inline BOOL APIENTRY __FPU_CW_WinIsSOMDDReady (VOID)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsSOMDDReady ();
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsSOMDDReady __FPU_CW_WinIsSOMDDReady

extern inline BOOL APIENTRY __FPU_CW_WinIsWPDServerReady (VOID)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinIsWPDServerReady ();
    __FPU_CW_Set(cw);
    return ret;
}
#define WinIsWPDServerReady __FPU_CW_WinIsWPDServerReady

extern inline HOBJECT APIENTRY __FPU_CW_WinMoveObject (HOBJECT hObjectofObject, HOBJECT hObjectofDest,    ULONG ulReserved)
{
    unsigned int cw = __FPU_CW_Get();
    HOBJECT ret = WinMoveObject (hObjectofObject, hObjectofDest,    ulReserved);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinMoveObject __FPU_CW_WinMoveObject

extern inline BOOL APIENTRY __FPU_CW_WinOpenObject (HOBJECT hObject, ULONG ulView, BOOL fFlag)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinOpenObject (hObject, ulView, fFlag);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinOpenObject __FPU_CW_WinOpenObject

extern inline BOOL APIENTRY __FPU_CW_WinQueryActiveDesktopPathname (PSZ pszPathName, ULONG ulSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryActiveDesktopPathname (pszPathName, ulSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryActiveDesktopPathname __FPU_CW_WinQueryActiveDesktopPathname

extern inline HOBJECT APIENTRY __FPU_CW_WinQueryObject (PCSZ pszObjectID)
{
    unsigned int cw = __FPU_CW_Get();
    HOBJECT ret = WinQueryObject (pszObjectID);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryObject __FPU_CW_WinQueryObject

extern inline BOOL APIENTRY __FPU_CW_WinQueryObjectPath (HOBJECT hobject, PSZ pszPathName, ULONG ulSize)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinQueryObjectPath (hobject, pszPathName, ulSize);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryObjectPath __FPU_CW_WinQueryObjectPath

extern inline BOOL APIENTRY __FPU_CW_WinRegisterObjectClass (PCSZ pszClassName, PCSZ pszModName)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinRegisterObjectClass (pszClassName, pszModName);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRegisterObjectClass __FPU_CW_WinRegisterObjectClass

extern inline BOOL APIENTRY __FPU_CW_WinReplaceObjectClass (PCSZ pszOldClassName, PCSZ pszNewClassName,    BOOL fReplace)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinReplaceObjectClass (pszOldClassName, pszNewClassName,    fReplace);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinReplaceObjectClass __FPU_CW_WinReplaceObjectClass

extern inline ULONG APIENTRY __FPU_CW_WinRestartSOMDD (BOOL fState)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinRestartSOMDD (fState);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRestartSOMDD __FPU_CW_WinRestartSOMDD

extern inline ULONG APIENTRY __FPU_CW_WinRestartWPDServer (BOOL fState)
{
    unsigned int cw = __FPU_CW_Get();
    ULONG ret = WinRestartWPDServer (fState);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRestartWPDServer __FPU_CW_WinRestartWPDServer

extern inline BOOL APIENTRY __FPU_CW_WinSaveObject (HOBJECT hObject, BOOL fAsync)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSaveObject (hObject, fAsync);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSaveObject __FPU_CW_WinSaveObject

extern inline BOOL APIENTRY __FPU_CW_WinSetObjectData (HOBJECT hObject, PCSZ pszSetupString)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetObjectData (hObject, pszSetupString);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetObjectData __FPU_CW_WinSetObjectData

extern inline BOOL APIENTRY __FPU_CW_WinFreeFileIcon (HPOINTER hptr)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinFreeFileIcon (hptr);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinFreeFileIcon __FPU_CW_WinFreeFileIcon

extern inline HPOINTER APIENTRY __FPU_CW_WinLoadFileIcon (PCSZ pszFileName, BOOL fPrivate)
{
    unsigned int cw = __FPU_CW_Get();
    HPOINTER ret = WinLoadFileIcon (pszFileName, fPrivate);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadFileIcon __FPU_CW_WinLoadFileIcon

extern inline BOOL APIENTRY __FPU_CW_WinRestoreWindowPos (PCSZ pszAppName, PCSZ pszKeyName, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinRestoreWindowPos (pszAppName, pszKeyName, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinRestoreWindowPos __FPU_CW_WinRestoreWindowPos

extern inline BOOL APIENTRY __FPU_CW_WinSetFileIcon (PCSZ pszFileName, __const__ ICONINFO *pIconInfo)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinSetFileIcon (pszFileName, pIconInfo);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinSetFileIcon __FPU_CW_WinSetFileIcon

extern inline BOOL APIENTRY __FPU_CW_WinShutdownSystem (HAB hab, HMQ hmq)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinShutdownSystem (hab, hmq);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinShutdownSystem __FPU_CW_WinShutdownSystem

extern inline BOOL APIENTRY __FPU_CW_WinStoreWindowPos (PCSZ pszAppName, PCSZ pszKeyName, HWND hwnd)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinStoreWindowPos (pszAppName, pszKeyName, hwnd);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinStoreWindowPos __FPU_CW_WinStoreWindowPos

extern inline BOOL APIENTRY __FPU_CW_WinAssociateHelpInstance (HWND hwndHelpInstance, HWND hwndApp)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinAssociateHelpInstance (hwndHelpInstance, hwndApp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinAssociateHelpInstance __FPU_CW_WinAssociateHelpInstance

extern inline HWND APIENTRY __FPU_CW_WinCreateHelpInstance (HAB hab, PHELPINIT phinitHMInitStructure)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinCreateHelpInstance (hab, phinitHMInitStructure);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateHelpInstance __FPU_CW_WinCreateHelpInstance

extern inline BOOL APIENTRY __FPU_CW_WinCreateHelpTable (HWND hwndHelpInstance,    __const__ HELPTABLE *phtHelpTable)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinCreateHelpTable (hwndHelpInstance,    phtHelpTable);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinCreateHelpTable __FPU_CW_WinCreateHelpTable

extern inline BOOL APIENTRY __FPU_CW_WinDestroyHelpInstance (HWND hwndHelpInstance)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinDestroyHelpInstance (hwndHelpInstance);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDestroyHelpInstance __FPU_CW_WinDestroyHelpInstance

extern inline BOOL APIENTRY __FPU_CW_WinLoadHelpTable (HWND hwndHelpInstance, ULONG idHelpTable,    HMODULE Module)
{
    unsigned int cw = __FPU_CW_Get();
    BOOL ret = WinLoadHelpTable (hwndHelpInstance, idHelpTable,    Module);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinLoadHelpTable __FPU_CW_WinLoadHelpTable

extern inline HWND APIENTRY __FPU_CW_WinQueryHelpInstance (HWND hwndApp)
{
    unsigned int cw = __FPU_CW_Get();
    HWND ret = WinQueryHelpInstance (hwndApp);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinQueryHelpInstance __FPU_CW_WinQueryHelpInstance

extern inline MRESULT APIENTRY __FPU_CW_WinDefAVioWindowProc (HWND hwnd, USHORT msg, ULONG mp1, ULONG mp2)
{
    unsigned int cw = __FPU_CW_Get();
    MRESULT ret = WinDefAVioWindowProc (hwnd, msg, mp1, mp2);
    __FPU_CW_Set(cw);
    return ret;
}
#define WinDefAVioWindowProc __FPU_CW_WinDefAVioWindowProc

#endif // API_FPU_CW_WRAPPERS_H
