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