source: trunk/include/OS2WIN.H@ 9075

Last change on this file since 9075 was 8448, checked in by sandervl, 23 years ago

header updates

File size: 180.8 KB
RevLine 
[4]1#ifndef _OS2WIN_H
[4285]2 #define _OS2WIN_H
[4]3
[43]4#ifdef OS2_INCLUDED
[4285]5 #include <win32type.h>
[43]6#else
[4285]7 #include <odin.h>
[13]8
[4285]9 #include <windef.h>
10 #include <winbase.h>
11 #include <wingdi.h>
12 #include <winuser.h>
13 #include <winerror.h>
14 #include <commdlg.h>
15 #include <ddeml.h>
16 #include <mmsystem.h>
[43]17#endif
[4]18
[43]19#include <os2sel.h>
[4]20
[43]21#include "misc.h"
22
[8448]23#define OPEN32API SYSTEM
24#define EXPENTRY_O32 SYSTEM
25#define APIENTRY_O32 SYSTEM
[4]26
27/* WinMain/WinProcs/TimerProcs
28 */
29typedef int (* EXPENTRY_O32 FNMAIN_O32 )( HINSTANCE, HINSTANCE, LPSTR, int );
30typedef FNMAIN_O32 PFNMAIN_O32;
31typedef LRESULT (* EXPENTRY_O32 WNDPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
32typedef int (* EXPENTRY_O32 FARPROC_O32 ) ( );
33typedef UINT (* EXPENTRY_O32 LPOFNHOOKPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
34typedef BOOL (* EXPENTRY_O32 DLGPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
35typedef void (* EXPENTRY_O32 TIMERPROC_O32)( HWND, UINT, UINT, DWORD );
36typedef BOOL (* EXPENTRY_O32 ABORTPROC_O32)( HDC, int);
37typedef UINT (* APIENTRY_O32 LPPRINTHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
38typedef UINT (* APIENTRY_O32 LPSETUPHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
39typedef LRESULT (* EXPENTRY_O32 HOOKPROC_O32)(int code, WPARAM wParam, LPARAM lParam);
40typedef DWORD (* EXPENTRY_O32 PTHREAD_START_ROUTINE_O32)(PVOID lpThreadParameter);
41typedef DWORD (* EXPENTRY_O32 LPTHREAD_START_ROUTINE_O32)(PVOID lpThreadParameter);
42
43typedef int (* EXPENTRY_O32 GOBJENUMPROC_O32)(PVOID, LPARAM);
44typedef VOID (* EXPENTRY_O32 LINEDDAPROC_O32)(int, int, LPARAM);
45typedef int (* EXPENTRY_O32 OLDFONTENUMPROC_O32)( PLOGFONTA, LPTEXTMETRICA, DWORD, LPARAM );
46typedef int (* EXPENTRY_O32 FONTENUMPROC_O32)( LPENUMLOGFONTA, LPNEWTEXTMETRICA, DWORD, LPARAM );
47typedef BOOL (* EXPENTRY_O32 WNDENUMPROC_O32)( HWND, LPARAM );
48typedef BOOL (* EXPENTRY_O32 PROPENUMPROC_O32)( HWND, LPCSTR, HANDLE );
49typedef UINT (* EXPENTRY_O32 PFRHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
50typedef BOOL (* EXPENTRY_O32 GRAYSTRINGPROC_O32)(HDC, LPARAM, int);
51typedef UINT (* EXPENTRY_O32 LPCCHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
52typedef UINT (* EXPENTRY_O32 LPCFHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
53typedef HDDEDATA (* EXPENTRY_O32 FNCALLBACK_O32)(UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD, DWORD );
54typedef BOOL (* EXPENTRY_O32 PROPENUMPROCEX_O32)( HWND, LPCSTR, HANDLE, DWORD );
55typedef FNCALLBACK_O32 *PFNCALLBACK_O32;
56
57typedef int (* EXPENTRY_O32 ENHMFENUMPROC_O32)(HDC, LPHANDLETABLE, const PENHMETARECORD, int, LPARAM);
58typedef int (* EXPENTRY_O32 MFENUMPROC_O32)(HDC, LPHANDLETABLE, PMETARECORD, int, LPARAM);
59
[43]60#define HKEY_LOCAL_MACHINE_O32 0xFFFFFFEFL
61#define HKEY_CURRENT_USER_O32 0xFFFFFFEEL
62#define HKEY_USERS_O32 0xFFFFFFEDL
63#define HKEY_CLASSES_ROOT_O32 0xFFFFFFECL
[4]64
65#define O32_MakeProcInstance(proc, hinst) (proc)
66#define O32_FreeProcInstance(proc) (proc)
67#define O32_FreeModule(hLibModule) O32_FreeLibrary((hLibModule))
68#define O32_Yield()
69
70#define O32_GetWindowTask(hWnd) ((HANDLE)O32_GetWindowThreadProcessId(hWnd, NULL))
71
72
73/* Macro'd APIs
74 */
75#define O32_CreateWindow(lpClassName, lpWindowName, dwStyle, x, y,\
76 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
77 O32_CreateWindowEx(0, lpClassName, lpWindowName, dwStyle, x, y,\
78 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
79
80/* TBD: This must be removed before release
81 */
82#ifndef NO_HEAPSIZE_MACRO
[43]83#define _O32_HeapSize(handle, flags, pMem) AweHeapSize(handle, flags, pMem)
[4]84#endif
85
86#define O32_AnsiToOem O32_CharToOem
87#define O32_OemToAnsi O32_OemToChar
88#define O32_AnsiToOemBuff O32_CharToOemBuff
89#define O32_OemToAnsiBuff O32_OemToCharBuff
90#define O32_AnsiUpper O32_CharUpper
91#define O32_AnsiUpperBuff O32_CharUpperBuff
92#define O32_AnsiLower O32_CharLower
93#define O32_AnsiLowerBuff O32_CharLowerBuff
94#define O32_AnsiNext O32_CharNext
95#define O32_AnsiPrev O32_CharPrev
96
97/* Name Mapped API's
98 */
[43]99#define _O32_CreateBitmapIndirect _O32__CreateBitmapIndirect
100#define _O32_CreateDialogIndirect _O32__CreateDialogIndirect
101#define _O32_CreateDialogIndirectParam _O32__CreateDialogIndirectParam
102#define _O32_CreateIconIndirect _O32__CreateIconIndirect
103#define _O32_DialogBoxIndirect _O32__DialogBoxIndirect
104#define _O32_DialogBoxIndirectParam _O32__DialogBoxIndirectParam
105#define _O32_LoadMenuIndirect _O32__LoadMenuIndirect
106#define _O32_LoadResource _O32__LoadResource
[4]107
108/* API Prototypes
109 */
[43]110int OPEN32API _O32_WinMain( HINSTANCE, HINSTANCE, LPSTR, int );
[4]111
[43]112int OPEN32API _O32_AbortDoc( HDC );
[4]113
[43]114BOOL OPEN32API _O32_AbortPath( HDC );
[4]115
[43]116ATOM OPEN32API _O32_AddAtom( LPCSTR );
[4]117
[43]118int OPEN32API _O32_AddFontResource( LPCSTR );
[4]119
[43]120BOOL OPEN32API _O32_AdjustWindowRect( PRECT, DWORD, BOOL );
[4]121
[43]122BOOL OPEN32API _O32_AdjustWindowRectEx( PRECT, DWORD, BOOL, DWORD );
[4]123
[43]124BOOL OPEN32API _O32_AngleArc( HDC, int, int, DWORD, float startAngle, float sweepAngle );
[4]125
[43]126BOOL OPEN32API _O32_AnimatePalette( HPALETTE, UINT, UINT, const PALETTEENTRY *);
[4]127
[43]128BOOL OPEN32API _O32_AppendMenu( HMENU, UINT, UINT, LPCSTR );
[4]129
[43]130BOOL OPEN32API _O32_Arc( HDC, int, int, int, int, int, int, int, int );
[4]131
[43]132BOOL OPEN32API _O32_ArcTo( HDC, int, int, int, int, int xRad1, int yRad1, int xRad2, int yRad2);
[4]133
[43]134UINT OPEN32API _O32_ArrangeIconicWindows( HWND );
[4]135
[43]136BOOL OPEN32API _O32_Beep( DWORD, DWORD );
[4]137
[43]138HDWP OPEN32API _O32_BeginDeferWindowPos( int );
[4]139
[43]140HDC OPEN32API _O32_BeginPaint( HWND, PPAINTSTRUCT );
[4]141
[43]142BOOL OPEN32API _O32_BeginPath( HDC );
[4]143
[43]144BOOL OPEN32API _O32_BitBlt( HDC , int, int, int, int, HDC , int, int, DWORD );
[4]145
[43]146BOOL OPEN32API _O32_BringWindowToTop( HWND );
[4]147
[43]148BOOL OPEN32API _O32_CallMsgFilter( LPMSG, int );
[4]149
[43]150LRESULT OPEN32API _O32_CallNextHookEx( HHOOK, int, WPARAM, LPARAM );
[4]151
[43]152LRESULT OPEN32API _O32_CallWindowProc( WNDPROC_O32, HWND, UINT, WPARAM, LPARAM );
[4]153
[43]154BOOL OPEN32API _O32_ChangeClipboardChain( HWND, HWND );
[4]155
[43]156LPSTR OPEN32API _O32_CharLower( LPSTR );
[4]157
[43]158DWORD OPEN32API _O32_CharLowerBuff( LPSTR, DWORD );
[4]159
[43]160LPSTR OPEN32API _O32_CharUpper( LPSTR );
[4]161
[43]162DWORD OPEN32API _O32_CharUpperBuff( LPSTR, DWORD );
[4]163
[43]164BOOL OPEN32API _O32_CheckDlgButton( HWND, int, UINT );
[4]165
[43]166DWORD OPEN32API _O32_CheckMenuItem( HMENU, UINT, UINT );
[4]167
[43]168BOOL OPEN32API _O32_CheckRadioButton( HWND, int, int, int );
[4]169
[43]170HWND OPEN32API _O32_ChildWindowFromPoint( HWND, POINT );
[4]171
[43]172BOOL OPEN32API _O32_ChooseColor( LPCHOOSECOLORA );
[4]173
[43]174BOOL OPEN32API _O32_ChooseFont( LPCHOOSEFONTA );
[4]175
[43]176BOOL OPEN32API _O32_Chord( HDC , int, int, int, int, int xRadial1, int yRadial1, int xRadial2, int yRadial2);
[4]177
[43]178BOOL OPEN32API _O32_ClientToScreen( HWND, PPOINT );
[4]179
[43]180BOOL OPEN32API _O32_ClipCursor( const RECT *);
[4]181
[43]182BOOL OPEN32API _O32_CloseClipboard( VOID );
[4]183
[43]184HENHMETAFILE OPEN32API _O32_CloseEnhMetaFile( HDC );
[4]185
[43]186BOOL OPEN32API _O32_CloseFigure( HDC );
[4]187
[43]188BOOL OPEN32API _O32_CloseHandle( HANDLE );
[4]189
[43]190HMETAFILE OPEN32API _O32_CloseMetaFile( HDC );
[4]191
[43]192BOOL OPEN32API _O32_CloseWindow( HWND );
[4]193
[43]194int OPEN32API _O32_CombineRgn( HRGN, HRGN hrgnSrc1, HRGN hrgnSrc2, int );
[4]195
[43]196DWORD OPEN32API _O32_CommDlgExtendedError( VOID );
[4]197
[43]198LONG OPEN32API _O32_CompareFileTime( FILETIME *, FILETIME * );
[4]199
[43]200HCURSOR OPEN32API _O32_CopyCursor( HCURSOR );
[4]201
[43]202HENHMETAFILE OPEN32API _O32_CopyEnhMetaFile( HENHMETAFILE, LPCSTR );
[4]203
[43]204BOOL OPEN32API _O32_CopyFile( LPCSTR, LPCSTR, BOOL );
[4]205
[43]206HICON OPEN32API _O32_CopyIcon( HICON );
[4]207
[43]208HMETAFILE OPEN32API _O32_CopyMetaFile( HMETAFILE, LPCSTR );
[4]209
[43]210BOOL OPEN32API _O32_CopyRect( PRECT, const RECT *);
[4]211
[43]212int OPEN32API _O32_CountClipboardFormats( VOID );
[4]213
[43]214HACCEL OPEN32API _O32_CreateAcceleratorTable( LPACCEL, int );
[4]215
[43]216HBITMAP OPEN32API _O32_CreateBitmap( int, int, UINT, UINT, const void * );
[4]217
[43]218HBITMAP OPEN32API _O32_CreateBitmapIndirect( const BITMAP * );
[4]219
[43]220HBRUSH OPEN32API _O32_CreateBrushIndirect( LPLOGBRUSH );
[4]221
[43]222BOOL OPEN32API _O32_CreateCaret( HWND, HBITMAP, int, int );
[4]223
[43]224HBITMAP OPEN32API _O32_CreateCompatibleBitmap( HDC , int, int );
[4]225
[43]226HDC OPEN32API _O32_CreateCompatibleDC( HDC );
[4]227
[43]228HCURSOR OPEN32API _O32_CreateCursor( HINSTANCE, int, int, int, int, const VOID *, const VOID *);
[4]229
[43]230HDC OPEN32API _O32_CreateDC( LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *);
[4]231
[43]232HBRUSH OPEN32API _O32_CreateDIBPatternBrushPt( const VOID *, UINT );
[4]233
[43]234HBITMAP OPEN32API _O32_CreateDIBitmap( HDC, const BITMAPINFOHEADER *, DWORD, const void *, const BITMAPINFO *, UINT );
[4]235
[43]236HWND OPEN32API _O32_CreateDialog( HINSTANCE, LPCSTR, HWND, DLGPROC_O32 );
[4]237
[43]238HWND OPEN32API _O32_CreateDialogParam( HINSTANCE, LPCSTR, HWND, DLGPROC_O32, LPARAM );
[4]239
[43]240HWND OPEN32API _O32_CreateDialogIndirect( HINSTANCE, const DLGTEMPLATE *, HWND, DLGPROC_O32 );
[4]241
[43]242HWND OPEN32API _O32_CreateDialogIndirectParam( HINSTANCE, const DLGTEMPLATE *, HWND, DLGPROC_O32, LPARAM );
[4]243
[43]244BOOL OPEN32API _O32_CreateDirectory( LPCSTR, PSECURITY_ATTRIBUTES );
[4]245
[43]246HRGN OPEN32API _O32_CreateEllipticRgn( int, int, int, int );
[4]247
[43]248HRGN OPEN32API _O32_CreateEllipticRgnIndirect( const RECT * );
[4]249
[43]250HENHMETAFILE OPEN32API _O32_CreateEnhMetaFile( HDC, LPCSTR, const RECT *, LPCSTR );
[4]251
[43]252HANDLE OPEN32API _O32_CreateEvent( PSECURITY_ATTRIBUTES, BOOL, BOOL, LPCSTR );
[4]253
[43]254HANDLE OPEN32API _O32_CreateFile( LPCSTR, DWORD, DWORD, PSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE );
[4]255
[43]256HFONT OPEN32API _O32_CreateFont( int, int, int, int, int, DWORD, DWORD, DWORD, DWORD,
[4]257 DWORD, DWORD, DWORD, DWORD, LPCSTR );
258
[43]259HFONT OPEN32API _O32_CreateFontIndirect( const LOGFONTA *);
[4]260
[43]261HBRUSH OPEN32API _O32_CreateHatchBrush( int, COLORREF );
[4]262
[43]263HDC OPEN32API _O32_CreateIC( LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *);
[4]264
[43]265HICON OPEN32API _O32_CreateIcon( HINSTANCE, int, int, BYTE, BYTE, const BYTE *, const BYTE * );
[4]266
[43]267HICON OPEN32API _O32_CreateIconFromResource( PBYTE, DWORD, BOOL, DWORD );
[4]268
[43]269HICON OPEN32API _O32_CreateIconIndirect( LPICONINFO );
[4]270
[43]271HMENU OPEN32API _O32_CreateMenu( void);
[4]272
[43]273HDC OPEN32API _O32_CreateMetaFile( LPCSTR );
[4]274
[43]275HWND OPEN32API _O32_CreateMDIWindow( LPSTR, LPSTR, DWORD, int, int, int, int, HWND, HINSTANCE, LPARAM );
[4]276
[43]277HANDLE OPEN32API _O32_CreateMutex( PSECURITY_ATTRIBUTES, BOOL, LPCSTR );
[4]278
[43]279HPALETTE OPEN32API _O32_CreatePalette( const LOGPALETTE * );
[4]280
[43]281HBRUSH OPEN32API _O32_CreatePatternBrush( HBITMAP );
[4]282
[43]283HPEN OPEN32API _O32_CreatePen( int, int, COLORREF );
[4]284
[43]285HPEN OPEN32API _O32_CreatePenIndirect( const LOGPEN * );
[4]286
[43]287HRGN OPEN32API _O32_CreatePolyPolygonRgn( const POINT *, const INT *, int, int );
[4]288
[43]289HRGN OPEN32API _O32_CreatePolygonRgn( const POINT *, int, int );
[4]290
[43]291HMENU OPEN32API _O32_CreatePopupMenu( VOID );
[4]292
[43]293BOOL OPEN32API _O32_CreateProcess( LPCSTR, LPCSTR, PSECURITY_ATTRIBUTES, PSECURITY_ATTRIBUTES,
[4]294 BOOL, DWORD, PVOID, LPCSTR, LPSTARTUPINFOA,
295 LPPROCESS_INFORMATION );
296
[43]297HRGN OPEN32API _O32_CreateRectRgn( int, int, int, int );
[4]298
[43]299HRGN OPEN32API _O32_CreateRectRgnIndirect( const RECT * );
[4]300
[43]301HRGN OPEN32API _O32_CreateRoundRectRgn( int, int, int, int, int, int );
[4]302
[43]303HANDLE OPEN32API _O32_CreateSemaphore( PSECURITY_ATTRIBUTES, LONG, LONG, LPSTR );
[4]304
[43]305HBRUSH OPEN32API _O32_CreateSolidBrush( COLORREF );
[4]306
[43]307HANDLE OPEN32API _O32_CreateThread( PSECURITY_ATTRIBUTES, DWORD, PTHREAD_START_ROUTINE_O32, PVOID, DWORD, PDWORD );
[4]308
[43]309HWND OPEN32API _O32_CreateWindowEx( DWORD, LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, PVOID );
[4]310
[43]311BOOL OPEN32API _O32_DPtoLP( HDC, PPOINT, int );
[4]312
[43]313BOOL OPEN32API _O32_DdeAbandonTransaction( DWORD, HCONV, DWORD );
[4]314
[43]315PBYTE OPEN32API _O32_DdeAccessData(HDDEDATA, PDWORD );
[4]316
[43]317HDDEDATA OPEN32API _O32_DdeAddData( HDDEDATA, PVOID, DWORD, DWORD );
[4]318
[43]319HDDEDATA OPEN32API _O32_DdeClientTransaction( PVOID, DWORD, HCONV,
[4]320 HSZ, UINT, UINT, DWORD, PDWORD );
321
[43]322int OPEN32API _O32_DdeCmpStringHandles( HSZ hsz1, HSZ hsz2);
[4]323
[43]324HCONV OPEN32API _O32_DdeConnect( DWORD, HSZ, HSZ, LPCONVCONTEXT );
[4]325
[43]326HCONVLIST OPEN32API _O32_DdeConnectList(DWORD, HSZ, HSZ, HCONVLIST, LPCONVCONTEXT );
[4]327
[43]328HDDEDATA OPEN32API _O32_DdeCreateDataHandle(DWORD, PVOID, DWORD, DWORD, HSZ, UINT, UINT );
[4]329
[43]330HSZ OPEN32API _O32_DdeCreateStringHandle(DWORD, LPCSTR, int );
[4]331
[43]332BOOL OPEN32API _O32_DdeDisconnect(HCONV );
[4]333
[43]334BOOL OPEN32API _O32_DdeDisconnectList( HCONVLIST );
[4]335
[43]336BOOL OPEN32API _O32_DdeEnableCallback(DWORD, HCONV, UINT );
[4]337
[43]338BOOL OPEN32API _O32_DdeFreeDataHandle( HDDEDATA );
[4]339
[43]340BOOL OPEN32API _O32_DdeFreeStringHandle(DWORD, HSZ );
[4]341
[43]342DWORD OPEN32API _O32_DdeGetData( HDDEDATA, PVOID, DWORD, DWORD );
[4]343
[43]344UINT OPEN32API _O32_DdeGetLastError(DWORD );
[4]345
[5369]346UINT OPEN32API _O32_DdeInitialize(PDWORD, PFNCALLBACK_O32, DWORD, DWORD );
[4]347
[43]348BOOL OPEN32API _O32_DdeKeepStringHandle(DWORD, HSZ );
[4]349
[43]350HDDEDATA OPEN32API _O32_DdeNameService( DWORD, HSZ hsz1, HSZ hsz2, UINT );
[4]351
[43]352BOOL OPEN32API _O32_DdePostAdvise(DWORD, HSZ, HSZ );
[4]353
[43]354UINT OPEN32API _O32_DdeQueryConvInfo( HCONV, DWORD, LPCONVINFO );
[4]355
[43]356HCONV OPEN32API _O32_DdeQueryNextServer( HCONVLIST, HCONV );
[4]357
[43]358DWORD OPEN32API _O32_DdeQueryString(DWORD, HSZ, LPSTR, DWORD, int );
[4]359
[43]360HCONV OPEN32API _O32_DdeReconnect( HCONV );
[4]361
[43]362BOOL OPEN32API _O32_DdeSetUserHandle( HCONV, DWORD, DWORD );
[4]363
[43]364BOOL OPEN32API _O32_DdeUnaccessData( HDDEDATA );
[4]365
[43]366BOOL OPEN32API _O32_DdeUninitialize(DWORD );
[4]367
[43]368LRESULT OPEN32API _O32_DefDlgProc( HWND, UINT, WPARAM mp1, LPARAM mp2 );
[4]369
[43]370HDWP OPEN32API _O32_DeferWindowPos( HDWP, HWND, HWND hWndInsertAfter , int, int, int, int, UINT );
[4]371
[43]372LRESULT OPEN32API _O32_DefFrameProc( HWND, HWND, UINT, WPARAM, LPARAM );
[4]373
[43]374LRESULT OPEN32API _O32_DefMDIChildProc( HWND, UINT, WPARAM, LPARAM );
[4]375
[43]376LRESULT OPEN32API _O32_DefWindowProc( HWND, UINT, WPARAM mp1, LPARAM mp2 );
[4]377
[43]378ATOM OPEN32API _O32_DeleteAtom( ATOM );
[4]379
[43]380VOID OPEN32API _O32_DeleteCriticalSection( CRITICAL_SECTION * );
[4]381
[43]382BOOL OPEN32API _O32_DeleteDC( HDC );
[4]383
[43]384BOOL OPEN32API _O32_DeleteEnhMetaFile( HENHMETAFILE );
[4]385
[43]386BOOL OPEN32API _O32_DeleteFile( LPCSTR );
[4]387
[43]388BOOL OPEN32API _O32_DeleteMenu( HMENU, UINT, UINT );
[4]389
[43]390BOOL OPEN32API _O32_DeleteMetaFile( HMETAFILE );
[4]391
[43]392BOOL OPEN32API _O32_DeleteObject( HANDLE );
[4]393
[43]394BOOL OPEN32API _O32_DestroyAcceleratorTable( HACCEL );
[4]395
[43]396BOOL OPEN32API _O32_DestroyCaret( VOID );
[4]397
[43]398BOOL OPEN32API _O32_DestroyCursor( HCURSOR );
[4]399
[43]400BOOL OPEN32API _O32_DestroyIcon( HICON );
[4]401
[43]402BOOL OPEN32API _O32_DestroyMenu( HMENU );
[4]403
[43]404BOOL OPEN32API _O32_DestroyWindow( HWND );
[4]405
[43]406DWORD OPEN32API _O32_DeviceCapabilities( LPCSTR, LPCSTR, WORD, LPTSTR, const DEVMODEA *);
[4]407
[43]408int OPEN32API _O32_DialogBox( HINSTANCE, LPCSTR, HWND, DLGPROC_O32 );
[4]409
[43]410int OPEN32API _O32_DialogBoxParam( HINSTANCE, LPCSTR, HWND, DLGPROC_O32, LPARAM );
[4]411
[43]412BOOL OPEN32API _O32_DialogBoxIndirect( HINSTANCE, LPDLGTEMPLATEA, HWND, DLGPROC_O32 );
[4]413
[43]414BOOL OPEN32API _O32_DialogBoxIndirectParam( HINSTANCE, LPDLGTEMPLATEA, HWND, DLGPROC_O32, LPARAM );
[4]415
[43]416LONG OPEN32API _O32_DispatchMessage( const MSG * );
[4]417
[43]418int OPEN32API _O32_DlgDirList( HWND, LPSTR, int, int, UINT );
[4]419
[43]420int OPEN32API _O32_DlgDirListComboBox( HWND, LPSTR, int, int, UINT );
[4]421
[43]422BOOL OPEN32API _O32_DlgDirSelectEx( HWND, LPSTR, int, int );
[4]423
[43]424BOOL OPEN32API _O32_DlgDirSelectComboBoxEx( HWND, LPSTR, int, int );
[4]425
[43]426BOOL OPEN32API _O32_DllEntryPoint( HINSTANCE, DWORD, LPVOID );
[4]427
[43]428BOOL OPEN32API _O32_DosDateTimeToFileTime( WORD, WORD, LPFILETIME );
[4]429
[43]430VOID OPEN32API _O32_DragAcceptFiles( HWND, BOOL );
[4]431
[43]432VOID OPEN32API _O32_DragFinish( HDROP );
[4]433
[43]434UINT OPEN32API _O32_DragQueryFile( HDROP, int, LPSTR, int );
[4]435
[43]436BOOL OPEN32API _O32_DragQueryPoint( HDROP, PPOINT );
[4]437
[43]438BOOL OPEN32API _O32_DrawFocusRect( HDC, const RECT * );
[4]439
[43]440BOOL OPEN32API _O32_DrawIcon( HDC, int, int, HICON );
[4]441
[43]442BOOL OPEN32API _O32_DrawMenuBar( HWND );
[4]443
[43]444int OPEN32API _O32_DrawText( HDC, LPCSTR, int, PRECT, UINT );
[4]445
[43]446BOOL OPEN32API _O32_DuplicateHandle( HANDLE, HANDLE, HANDLE, LPHANDLE, DWORD, BOOL, DWORD );
[4]447
[43]448BOOL OPEN32API _O32_Ellipse( HDC, int, int, int, int );
[4]449
[43]450BOOL OPEN32API _O32_EmptyClipboard( void);
[4]451
[43]452BOOL OPEN32API _O32_EnableMenuItem( HMENU, UINT, UINT );
[4]453
[43]454BOOL OPEN32API _O32_EnableScrollBar( HWND, UINT, UINT );
[4]455
[43]456BOOL OPEN32API _O32_EnableWindow( HWND, BOOL );
[4]457
[43]458BOOL OPEN32API _O32_EndDeferWindowPos( HDWP );
[4]459
[43]460BOOL OPEN32API _O32_EndDialog( HWND, int );
[4]461
[43]462int OPEN32API _O32_EndDoc( HDC );
[4]463
[43]464int OPEN32API _O32_EndPage( HDC );
[4]465
[43]466BOOL OPEN32API _O32_EndPath( HDC );
[4]467
[43]468BOOL OPEN32API _O32_EndPaint( HWND, const PAINTSTRUCT *);
[4]469
[43]470VOID OPEN32API _O32_EnterCriticalSection( CRITICAL_SECTION * );
[4]471
[43]472BOOL OPEN32API _O32_EnumChildWindows( HWND, WNDENUMPROC_O32, LPARAM );
[4]473
[43]474UINT OPEN32API _O32_EnumClipboardFormats( UINT );
[4]475
[43]476BOOL OPEN32API _O32_EnumEnhMetaFile( HDC , HENHMETAFILE, ENHMFENUMPROC_O32, PVOID, const RECT * );
[4]477
[43]478int OPEN32API _O32_EnumFonts( HDC , LPCSTR, OLDFONTENUMPROC_O32, LPARAM );
[4]479
[43]480int OPEN32API _O32_EnumFontFamilies( HDC , LPCSTR, FONTENUMPROC_O32, LPARAM );
[4]481
[43]482BOOL OPEN32API _O32_EnumMetaFile( HDC , HMETAFILE, MFENUMPROC_O32, LPARAM );
[4]483
[43]484int OPEN32API _O32_EnumObjects( HDC , int, GOBJENUMPROC_O32, LPARAM );
[4]485
[43]486BOOL OPEN32API _O32_EnumPrinters( DWORD, LPTSTR, DWORD, LPBYTE, DWORD, LPDWORD, LPDWORD);
[4]487
[43]488int OPEN32API _O32_EnumProps( HWND, PROPENUMPROC_O32 );
[4]489
[43]490int OPEN32API _O32_EnumPropsEx( HWND, PROPENUMPROCEX_O32, LPARAM );
[4]491
[43]492BOOL OPEN32API _O32_EnumThreadWindows( DWORD, WNDENUMPROC_O32, LPARAM );
[4]493
[43]494BOOL OPEN32API _O32_EnumWindows( WNDENUMPROC_O32, LPARAM );
[4]495
[43]496BOOL OPEN32API _O32_EqualRect( const RECT *, const RECT * );
[4]497
[43]498BOOL OPEN32API _O32_EqualRgn( HRGN, HRGN );
[4]499
[43]500int OPEN32API _O32_Escape( HDC, int, int, LPCSTR, PVOID );
[4]501
[43]502int OPEN32API _O32_ExcludeClipRect( HDC, int, int, int, int );
[4]503
[43]504BOOL OPEN32API _O32_ExcludeUpdateRgn( HDC, HWND );
[4]505
[43]506VOID OPEN32API _O32_ExitProcess( UINT );
[4]507
[43]508VOID OPEN32API _O32_ExitThread( DWORD );
[4]509
[43]510BOOL OPEN32API _O32_ExitWindows( DWORD, UINT );
[4]511
[43]512BOOL OPEN32API _O32_ExitWindowsEx( UINT, DWORD );
[4]513
[43]514HPEN OPEN32API _O32_ExtCreatePen( DWORD, DWORD, const LOGBRUSH *, DWORD, const DWORD * );
[4]515
[43]516HRGN OPEN32API _O32_ExtCreateRegion( const XFORM *, DWORD, const RGNDATA * );
[4]517
[43]518BOOL OPEN32API _O32_ExtFloodFill( HDC, int, int, COLORREF, UINT );
[4]519
[43]520int OPEN32API _O32_ExtSelectClipRgn( HDC, HRGN, int );
[4]521
[43]522BOOL OPEN32API _O32_ExtTextOut( HDC, int, int, UINT, const RECT *, LPCSTR, UINT, const int * );
[4]523
[43]524VOID OPEN32API _O32_FatalAppExit( UINT, LPCSTR );
[4]525
[43]526VOID OPEN32API _O32_FatalExit( UINT );
[4]527
[43]528BOOL OPEN32API _O32_FileTimeToDosDateTime( const FILETIME *, LPWORD, LPWORD );
[4]529
[43]530BOOL OPEN32API _O32_FileTimeToLocalFileTime( const FILETIME *, FILETIME * );
[4]531
[43]532BOOL OPEN32API _O32_FileTimeToSystemTime( const FILETIME *, LPSYSTEMTIME );
[4]533
[43]534BOOL OPEN32API _O32_FillPath( HDC );
[4]535
[43]536int OPEN32API _O32_FillRect( HDC, const RECT *, HBRUSH );
[4]537
[43]538BOOL OPEN32API _O32_FillRgn( HDC, HRGN, HBRUSH );
[4]539
[43]540ATOM OPEN32API _O32_FindAtom( LPCSTR );
[4]541
[43]542BOOL OPEN32API _O32_FindClose( HANDLE );
[4]543
[43]544HANDLE OPEN32API _O32_FindFirstFile( LPCSTR, LPWIN32_FIND_DATAA );
[4]545
[43]546BOOL OPEN32API _O32_FindNextFile( HANDLE, LPWIN32_FIND_DATAA );
[4]547
[43]548HRSRC OPEN32API _O32_FindResource( HINSTANCE, LPCSTR, LPCSTR );
[4]549
[43]550HWND OPEN32API _O32_FindText( LPFINDREPLACEA );
[4]551
[43]552HWND OPEN32API _O32_FindWindow( LPCSTR lpClassName , LPCSTR );
[4]553
[43]554BOOL OPEN32API _O32_FlashWindow( HWND, BOOL );
[4]555
[43]556BOOL OPEN32API _O32_FlattenPath( HDC );
[4]557
[43]558BOOL OPEN32API _O32_FlushFileBuffers( HANDLE );
[4]559
[43]560int OPEN32API _O32_FrameRect( HDC, const RECT *, HBRUSH );
[4]561
[43]562BOOL OPEN32API _O32_FrameRgn( HDC, HRGN, HBRUSH, int, int );
[4]563
[43]564BOOL OPEN32API _O32_FreeDDElParam( UINT, LONG );
[4]565
[43]566BOOL OPEN32API _O32_FreeLibrary( HINSTANCE );
[4]567
[5369]568BOOL OPEN32API _O32_GdiComment(HDC hdc, UINT cbSize, CONST BYTE * lpData);
569
[43]570UINT OPEN32API _O32_GetACP( VOID );
[4]571
[43]572HWND OPEN32API _O32_GetActiveWindow( void);
[4]573
[43]574int OPEN32API _O32_GetArcDirection( HDC );
[4]575
[43]576BOOL OPEN32API _O32_GetAspectRatioFilterEx( HDC, PSIZE );
[4]577
[43]578UINT OPEN32API _O32_GetAtomName( ATOM, LPSTR, int );
[4]579
[43]580LONG OPEN32API _O32_GetBitmapBits( HBITMAP, LONG, PVOID );
[4]581
[43]582BOOL OPEN32API _O32_GetBitmapDimensionEx( HBITMAP, PSIZE );
[4]583
[43]584COLORREF OPEN32API _O32_GetBkColor( HDC );
[4]585
[43]586int OPEN32API _O32_GetBkMode( HDC );
[4]587
[43]588UINT OPEN32API _O32_GetBoundsRect( HDC, PRECT, UINT );
[4]589
[43]590BOOL OPEN32API _O32_GetBrushOrgEx( HDC, PPOINT );
[4]591
[43]592HWND OPEN32API _O32_GetCapture( void);
[4]593
[43]594UINT OPEN32API _O32_GetCaretBlinkTime( VOID );
[4]595
[43]596BOOL OPEN32API _O32_GetCaretPos( PPOINT );
[4]597
[43]598BOOL OPEN32API _O32_GetCharABCWidths( HDC, UINT, UINT, LPABC );
[4]599
[43]600BOOL OPEN32API _O32_GetCharWidth( HDC, UINT, UINT, PINT );
[4]601
[43]602BOOL OPEN32API _O32_GetClassInfo( HINSTANCE hInstance , LPCSTR, WNDCLASSA * );
[4]603
[43]604DWORD OPEN32API _O32_GetClassLong( HWND, int );
[4]605
[43]606int OPEN32API _O32_GetClassName( HWND, LPSTR, int );
[4]607
[43]608WORD OPEN32API _O32_GetClassWord( HWND, int );
[4]609
[43]610BOOL OPEN32API _O32_GetClientRect( HWND, PRECT );
[4]611
[43]612HANDLE OPEN32API _O32_GetClipboardData( UINT );
[4]613
[43]614int OPEN32API _O32_GetClipboardFormatName( UINT, LPSTR, int );
[4]615
[43]616HWND OPEN32API _O32_GetClipboardOwner( void);
[4]617
[43]618HWND OPEN32API _O32_GetClipboardViewer( VOID );
[4]619
[43]620int OPEN32API _O32_GetClipBox( HDC, PRECT );
[4]621
[43]622BOOL OPEN32API _O32_GetClipCursor( PRECT );
[4]623
[43]624int OPEN32API _O32_GetClipRgn( HDC, HRGN );
[4]625
[43]626LPSTR OPEN32API _O32_GetCommandLine( VOID );
[4]627
[43]628int OPEN32API _O32_GetCurrentDirectory( DWORD, LPSTR );
[4]629
[43]630HGDIOBJ OPEN32API _O32_GetCurrentObject( HDC, DWORD );
[4]631
[43]632BOOL OPEN32API _O32_GetCurrentPositionEx( HDC, PPOINT );
[4]633
[43]634HANDLE OPEN32API _O32_GetCurrentProcess( VOID );
[4]635
[43]636DWORD OPEN32API _O32_GetCurrentProcessId( VOID );
[4]637
[43]638HANDLE OPEN32API _O32_GetCurrentThread( VOID );
[4]639
[43]640DWORD OPEN32API _O32_GetCurrentThreadId( VOID );
[4]641
[43]642DWORD OPEN32API _O32_GetCurrentTime( VOID );
[4]643
[43]644HCURSOR OPEN32API _O32_GetCursor( VOID );
[4]645
[43]646BOOL OPEN32API _O32_GetCursorPos( PPOINT );
[4]647
[43]648HDC OPEN32API _O32_GetDC( HWND );
[4]649
[43]650HDC OPEN32API _O32_GetDCEx( HWND, HRGN, DWORD );
[4]651
[43]652BOOL OPEN32API _O32_GetDCOrgEx( HDC, PPOINT );
[4]653
[43]654int OPEN32API _O32_GetDIBits( HDC, HBITMAP, UINT, UINT, void *, PBITMAPINFO, UINT );
[4]655
[43]656int OPEN32API _O32_GetDeviceCaps( HDC, int );
[4]657
[43]658LONG OPEN32API _O32_GetDialogBaseUnits( void);
[4]659
[43]660BOOL OPEN32API _O32_GetDiskFreeSpace( LPCSTR, PDWORD, PDWORD, PDWORD, PDWORD );
[4]661
[43]662int OPEN32API _O32_GetDlgCtrlID( HWND );
[4]663
[43]664HWND OPEN32API _O32_GetDlgItem( HWND, int );
[4]665
[43]666UINT OPEN32API _O32_GetDlgItemInt( HWND, int, PBOOL, BOOL );
[4]667
[43]668UINT OPEN32API _O32_GetDlgItemText( HWND, int, LPSTR, int );
[4]669
[43]670UINT OPEN32API _O32_GetDoubleClickTime( VOID );
[4]671
[43]672UINT OPEN32API _O32_GetDriveType( LPCSTR );
[4]673
[43]674HENHMETAFILE OPEN32API _O32_GetEnhMetaFile( LPCSTR );
[4]675
[43]676UINT OPEN32API _O32_GetEnhMetaFileBits( HENHMETAFILE, UINT, PBYTE );
[4]677
[43]678UINT OPEN32API _O32_GetEnhMetaFileHeader( HENHMETAFILE, UINT, LPENHMETAHEADER );
[4]679
[43]680UINT OPEN32API _O32_GetEnhMetaFilePaletteEntries( HENHMETAFILE, UINT, LPPALETTEENTRY );
[4]681
[43]682PVOID OPEN32API _O32_GetEnvironmentStrings( VOID );
[4]683
[43]684DWORD OPEN32API _O32_GetEnvironmentVariable(LPCSTR, LPSTR, DWORD );
[4]685
[43]686BOOL OPEN32API _O32_GetExitCodeProcess( HANDLE, LPDWORD );
[4]687
[43]688BOOL OPEN32API _O32_GetExitCodeThread( HANDLE, LPDWORD );
[4]689
[43]690DWORD OPEN32API _O32_GetFileAttributes( LPSTR );
[4]691
[43]692DWORD OPEN32API _O32_GetFileInformationByHandle( HANDLE, BY_HANDLE_FILE_INFORMATION * );
[4]693
[43]694DWORD OPEN32API _O32_GetFileSize( HANDLE, PDWORD );
[4]695
[43]696BOOL OPEN32API _O32_GetFileTime( HANDLE, FILETIME *, FILETIME *, FILETIME * );
[4]697
[43]698short OPEN32API _O32_GetFileTitle( LPCSTR, LPSTR, WORD );
[4]699
[43]700DWORD OPEN32API _O32_GetFileType( HANDLE );
[4]701
[43]702HWND OPEN32API _O32_GetFocus( VOID );
[4]703
[43]704HWND OPEN32API _O32_GetForegroundWindow( VOID );
[4]705
[43]706DWORD OPEN32API _O32_GetFullPathName( LPCSTR, DWORD, LPSTR, LPSTR * );
[4]707
[43]708int OPEN32API _O32_GetGraphicsMode(HDC);
[4]709
[43]710BOOL OPEN32API _O32_GetIconInfo( HICON, LPICONINFO );
[4]711
[43]712DWORD OPEN32API _O32_GetKerningPairs( HDC, DWORD, LPKERNINGPAIR );
[4]713
[43]714int OPEN32API _O32_GetKeyboardType( int );
[4]715
[43]716int OPEN32API _O32_GetKeyNameText( LPARAM, LPSTR, int );
[4]717
[5369]718USHORT OPEN32API _O32_GetAsyncKeyState(INT nVirtKey);
[43]719SHORT OPEN32API _O32_GetKeyState( int );
[4]720
[43]721HWND OPEN32API _O32_GetLastActivePopup( HWND );
[4]722
[43]723DWORD OPEN32API _O32_GetLastError( VOID );
[4]724
[43]725VOID OPEN32API _O32_GetLocalTime( LPSYSTEMTIME );
[4]726
[43]727DWORD OPEN32API _O32_GetLogicalDriveStrings( DWORD, LPSTR );
[4]728
[43]729DWORD OPEN32API _O32_GetLogicalDrives( VOID );
[4]730
[43]731int OPEN32API _O32_GetMapMode( HDC);
[4]732
[43]733HMENU OPEN32API _O32_GetMenu( HWND );
[4]734
[43]735LONG OPEN32API _O32_GetMenuCheckMarkDimensions(void);
[4]736
[43]737int OPEN32API _O32_GetMenuItemCount( HMENU );
[4]738
[43]739UINT OPEN32API _O32_GetMenuItemID( HMENU, int );
[4]740
[43]741UINT OPEN32API _O32_GetMenuState( HMENU, UINT, UINT );
[4]742
[43]743int OPEN32API _O32_GetMenuString( HMENU, UINT, LPSTR, int, UINT );
[4]744
[43]745BOOL OPEN32API _O32_GetMessage( LPMSG, HWND hwnd , UINT, UINT );
[4]746
[43]747LONG OPEN32API _O32_GetMessageExtraInfo( VOID );
[4]748
[43]749DWORD OPEN32API _O32_GetMessagePos( VOID );
[4]750
[43]751LONG OPEN32API _O32_GetMessageTime( VOID );
[4]752
[43]753HMETAFILE OPEN32API _O32_GetMetaFile( LPCSTR );
[4]754
[43]755UINT OPEN32API _O32_GetMetaFileBitsEx( HMETAFILE, UINT, LPVOID );
[4]756
[43]757BOOL OPEN32API _O32_GetMiterLimit( HDC, float *);
[4]758
[43]759DWORD OPEN32API _O32_GetModuleFileName( HINSTANCE, LPSTR, DWORD );
[4]760
[43]761HMODULE OPEN32API _O32_GetModuleHandle( LPCSTR );
[4]762
[43]763COLORREF OPEN32API _O32_GetNearestColor( HDC, COLORREF );
[4]764
[43]765UINT OPEN32API _O32_GetNearestPaletteIndex( HPALETTE, COLORREF );
[4]766
[43]767HWND OPEN32API _O32_GetNextDlgGroupItem( HWND, HWND, BOOL );
[4]768
[43]769HWND OPEN32API _O32_GetNextDlgTabItem( HWND, HWND, BOOL );
[4]770
[43]771HWND OPEN32API _O32_GetNextWindow( HWND, UINT );
[4]772
[43]773int OPEN32API _O32_GetOEMCP( VOID );
[4]774
[43]775int OPEN32API _O32_GetObject( HGDIOBJ, int, void * );
[4]776
[43]777DWORD OPEN32API _O32_GetObjectType( HGDIOBJ );
[4]778
[43]779HWND OPEN32API _O32_GetOpenClipboardWindow( VOID );
[4]780
[43]781BOOL OPEN32API _O32_GetOpenFileName( LPOPENFILENAMEA );
[4]782
[43]783UINT OPEN32API _O32_GetOutlineTextMetrics( HDC, UINT, LPOUTLINETEXTMETRICA );
[4]784
[43]785BOOL OPEN32API _O32_GetOverlappedResult(HANDLE, LPOVERLAPPED, LPDWORD, BOOL );
[4]786
[43]787UINT OPEN32API _O32_GetPaletteEntries( HPALETTE, UINT, UINT, PPALETTEENTRY );
[4]788
[43]789HWND OPEN32API _O32_GetParent( HWND );
[4]790
[43]791UINT OPEN32API _O32_GetPath( HDC, PPOINT, PBYTE, int );
[4]792
[43]793COLORREF OPEN32API _O32_GetPixel( HDC, int, int );
[4]794
[43]795int OPEN32API _O32_GetPolyFillMode( HDC);
[4]796
[43]797DWORD OPEN32API _O32_GetPriorityClass( HANDLE );
[4]798
[43]799int OPEN32API _O32_GetPriorityClipboardFormat( PUINT, int );
[4]800
[43]801UINT OPEN32API _O32_GetPrivateProfileInt( LPCSTR, LPCSTR, INT, LPCSTR );
[4]802
[43]803DWORD OPEN32API _O32_GetPrivateProfileString( LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD, LPCSTR );
[4]804
[43]805FARPROC OPEN32API _O32_GetProcAddress( HMODULE, LPCSTR );
[4]806
[43]807UINT OPEN32API _O32_GetProfileInt( LPCSTR, LPCSTR, INT );
[4]808
[43]809DWORD OPEN32API _O32_GetProfileString( LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD );
[4]810
[43]811HANDLE OPEN32API _O32_GetProp( HWND, LPCSTR );
[4]812
[43]813DWORD OPEN32API _O32_GetQueueStatus( UINT );
[4]814
[43]815int OPEN32API _O32_GetROP2( HDC );
[4]816
[43]817BOOL OPEN32API _O32_GetRasterizerCaps( LPRASTERIZER_STATUS, UINT );
[4]818
[43]819int OPEN32API _O32_GetRgnBox( HRGN, PRECT );
[4]820
[43]821DWORD OPEN32API _O32_GetRegionData( HRGN, DWORD, PRGNDATA );
[4]822
[43]823BOOL OPEN32API _O32_GetSaveFileName( LPOPENFILENAMEA );
[4]824
[43]825int OPEN32API _O32_GetScrollPos( HWND, int );
[4]826
[43]827BOOL OPEN32API _O32_GetScrollRange( HWND, int, int *, int * );
[4]828
[43]829HANDLE OPEN32API _O32_GetStdHandle( DWORD );
[4]830
[43]831HGDIOBJ OPEN32API _O32_GetStockObject( int );
[4]832
[43]833int OPEN32API _O32_GetStretchBltMode( HDC );
[4]834
[43]835HMENU OPEN32API _O32_GetSubMenu( HWND, int );
[4]836
[43]837DWORD OPEN32API _O32_GetSysColor( int );
[4]838
[43]839UINT OPEN32API _O32_GetSystemDirectory( LPSTR, UINT );
[4]840
[43]841HMENU OPEN32API _O32_GetSystemMenu( HWND, BOOL );
[4]842
[43]843int OPEN32API _O32_GetSystemMetrics( int );
[4]844
[43]845UINT OPEN32API _O32_GetSystemPaletteEntries( HDC, UINT, UINT, PPALETTEENTRY );
[4]846
[43]847void OPEN32API _O32_GetSystemTime( LPSYSTEMTIME );
[4]848
[43]849DWORD OPEN32API _O32_GetTabbedTextExtent( HDC, LPCSTR, int, int, int * );
[4]850
[43]851UINT OPEN32API _O32_GetTempFileName( LPCSTR, LPCSTR, UINT, LPSTR );
[4]852
[43]853DWORD OPEN32API _O32_GetTempPath( DWORD, LPSTR );
[4]854
[43]855UINT OPEN32API _O32_GetTextAlign( HDC);
[4]856
[43]857int OPEN32API _O32_GetTextCharacterExtra( HDC);
[4]858
[43]859COLORREF OPEN32API _O32_GetTextColor( HDC );
[4]860
[43]861BOOL OPEN32API _O32_GetTextExtentPoint( HDC, LPCSTR, int, PSIZE );
[4]862
[43]863BOOL OPEN32API _O32_GetTextExtentPoint32( HDC, LPCSTR, int, PSIZE );
[4]864
[43]865int OPEN32API _O32_GetTextFace( HDC, int, LPSTR );
[4]866
[43]867BOOL OPEN32API _O32_GetTextMetrics( HDC, LPTEXTMETRICA );
[4]868
[43]869DWORD OPEN32API _O32_GetThreadPriority( HANDLE );
[4]870
[43]871DWORD OPEN32API _O32_GetTickCount( VOID );
[4]872
[43]873DWORD OPEN32API _O32_GetTimeZoneInformation( LPTIME_ZONE_INFORMATION );
[4]874
[43]875HWND OPEN32API _O32_GetTopWindow( HWND );
[4]876
[43]877BOOL OPEN32API _O32_GetUpdateRect( HWND, PRECT, BOOL );
[4]878
[43]879int OPEN32API _O32_GetUpdateRgn( HWND, HRGN, BOOL );
[4]880
[43]881BOOL OPEN32API _O32_GetViewportExtEx( HDC, PSIZE );
[4]882
[43]883BOOL OPEN32API _O32_GetViewportOrgEx( HDC, PPOINT );
[4]884
[43]885DWORD OPEN32API _O32_GetVolumeInformation( LPCSTR, LPSTR, DWORD, PDWORD,
[4]886 PDWORD, PDWORD, LPSTR, DWORD );
887
[43]888UINT OPEN32API _O32_GetWinMetaFileBits( HENHMETAFILE, UINT, PBYTE, int, HDC);
[4]889
[43]890HWND OPEN32API _O32_GetWindow( HWND, UINT );
[4]891
[43]892HDC OPEN32API _O32_GetWindowDC( HWND );
[4]893
[43]894BOOL OPEN32API _O32_GetWindowExtEx( HDC, PSIZE );
[4]895
[43]896LONG OPEN32API _O32_GetWindowLong( HWND, int );
[4]897
[43]898BOOL OPEN32API _O32_GetWindowOrgEx( HDC, PPOINT );
[4]899
[43]900BOOL OPEN32API _O32_GetWindowPlacement( HWND, LPWINDOWPLACEMENT );
[4]901
[43]902BOOL OPEN32API _O32_GetWindowRect( HWND, PRECT );
[4]903
[43]904UINT OPEN32API _O32_GetWindowsDirectory( LPSTR, UINT );
[4]905
[43]906int OPEN32API _O32_GetWindowText( HWND, LPSTR, int );
[4]907
[43]908int OPEN32API _O32_GetWindowTextLength( HWND );
[4]909
[43]910DWORD OPEN32API _O32_GetWindowThreadProcessId(HWND, PDWORD );
[4]911
[43]912WORD OPEN32API _O32_GetWindowWord( HWND, int );
[4]913
[43]914BOOL OPEN32API _O32_GetWorldTransform( HDC, LPXFORM );
[4]915
[43]916ATOM OPEN32API _O32_GlobalAddAtom( LPCSTR );
[4]917
[43]918HGLOBAL OPEN32API _O32_GlobalAlloc( UINT, DWORD );
[4]919
[43]920ATOM OPEN32API _O32_GlobalDeleteAtom( ATOM );
[4]921
[43]922HGLOBAL OPEN32API _O32_GlobalDiscard( HGLOBAL );
[4]923
[43]924ATOM OPEN32API _O32_GlobalFindAtom( LPCSTR );
[4]925
[43]926UINT OPEN32API _O32_GlobalFlags( HGLOBAL );
[4]927
[43]928HGLOBAL OPEN32API _O32_GlobalFree( HGLOBAL );
[4]929
[43]930UINT OPEN32API _O32_GlobalGetAtomName( ATOM, LPSTR, int );
[4]931
[43]932HGLOBAL OPEN32API _O32_GlobalHandle( PVOID memPtr );
[4]933
[43]934PVOID OPEN32API _O32_GlobalLock( HGLOBAL hglbMem );
[4]935
[43]936VOID OPEN32API _O32_GlobalMemoryStatus( LPMEMORYSTATUS );
[4]937
[43]938HGLOBAL OPEN32API _O32_GlobalReAlloc( HGLOBAL, DWORD, UINT );
[4]939
[43]940DWORD OPEN32API _O32_GlobalSize( HGLOBAL );
[4]941
[43]942BOOL OPEN32API _O32_GlobalUnlock( HGLOBAL hglbMem );
[4]943
[43]944PVOID OPEN32API _O32_HeapAlloc( HANDLE, DWORD, DWORD );
[4]945
[43]946HANDLE OPEN32API _O32_HeapCreate( DWORD, DWORD, DWORD );
[4]947
[43]948BOOL OPEN32API _O32_HeapDestroy( HANDLE );
[4]949
[43]950BOOL OPEN32API _O32_HeapFree( HANDLE, DWORD, PVOID );
[4]951
[43]952PVOID OPEN32API _O32_HeapReAlloc( HANDLE, DWORD, PVOID, DWORD );
[4]953
[43]954DWORD OPEN32API _O32_HeapSize( HANDLE, DWORD, PVOID );
[4]955
[43]956BOOL OPEN32API _O32_HideCaret( HWND );
[4]957
[43]958BOOL OPEN32API _O32_HiliteMenuItem( HWND, HMENU, UINT, UINT );
[4]959
[43]960BOOL OPEN32API _O32_InflateRect( PRECT, int, int );
[4]961
[43]962BOOL OPEN32API _O32_InSendMessage( VOID );
[4]963
[43]964BOOL OPEN32API _O32_InitAtomTable( DWORD );
[4]965
[43]966VOID OPEN32API _O32_InitializeCriticalSection( CRITICAL_SECTION * );
[4]967
[43]968BOOL OPEN32API _O32_InsertMenu( HMENU, UINT, UINT, UINT, LPCSTR );
[4]969
[43]970LONG OPEN32API _O32_InterlockedDecrement( PLONG );
[4]971
[43]972LONG OPEN32API _O32_InterlockedExchange( PLONG, LONG );
[4]973
[43]974LONG OPEN32API _O32_InterlockedIncrement( PLONG );
[4]975
[43]976int OPEN32API _O32_IntersectClipRect( HDC, int, int, int, int );
[4]977
[43]978BOOL OPEN32API _O32_IntersectRect( PRECT, const RECT * rect1, const RECT * rect2);
[4]979
[43]980BOOL OPEN32API _O32_InvalidateRect( HWND, const RECT *, BOOL );
[4]981
[43]982BOOL OPEN32API _O32_InvalidateRgn( HWND, HRGN, BOOL );
[4]983
[43]984BOOL OPEN32API _O32_InvertRect( HDC, const RECT *);
[4]985
[43]986BOOL OPEN32API _O32_InvertRgn( HDC, HRGN );
[4]987
[43]988BOOL OPEN32API _O32_IsBadCodePtr( FARPROC );
[4]989
[43]990BOOL OPEN32API _O32_IsBadReadPtr( const VOID *, UINT );
[4]991
[43]992BOOL OPEN32API _O32_IsBadStringPtr( LPCSTR, UINT );
[4]993
[43]994BOOL OPEN32API _O32_IsBadWritePtr( PVOID, UINT );
[4]995
[43]996BOOL OPEN32API _O32_IsChild( HWND, HWND );
[4]997
[43]998BOOL OPEN32API _O32_IsClipboardFormatAvailable( UINT );
[4]999
[43]1000BOOL OPEN32API _O32_IsDBCSLeadByte( BYTE );
[4]1001
[43]1002BOOL OPEN32API _O32_IsDialogMessage( HWND, LPMSG );
[4]1003
[43]1004BOOL OPEN32API _O32_IsDlgButtonChecked( HWND, int );
[4]1005
[43]1006BOOL OPEN32API _O32_IsIconic( HWND );
[4]1007
[43]1008BOOL OPEN32API _O32_IsMenu( HMENU );
[4]1009
[43]1010BOOL OPEN32API _O32_IsRectEmpty( const RECT *);
[4]1011
[43]1012BOOL OPEN32API _O32_IsWindow( HWND );
[4]1013
[43]1014BOOL OPEN32API _O32_IsWindowEnabled( HWND );
[4]1015
[43]1016BOOL OPEN32API _O32_IsWindowVisible( HWND );
[4]1017
[43]1018BOOL OPEN32API _O32_IsZoomed( HWND );
[4]1019
[43]1020BOOL OPEN32API _O32_KillTimer(HWND, UINT );
[4]1021
[43]1022BOOL OPEN32API _O32_LPtoDP( HDC, PPOINT, int );
[4]1023
[43]1024VOID OPEN32API _O32_LeaveCriticalSection( CRITICAL_SECTION * );
[4]1025
[43]1026BOOL OPEN32API _O32_LineDDA( int, int, int, int, LINEDDAPROC_O32, LPARAM );
[4]1027
[43]1028 BOOL OPEN32API _O32_LineTo( HDC, int, int );
[4]1029
[43]1030HACCEL OPEN32API _O32_LoadAccelerators( HINSTANCE, LPCSTR );
[4]1031
[43]1032HBITMAP OPEN32API _O32_LoadBitmap( HINSTANCE, LPCSTR );
[4]1033
[43]1034HCURSOR OPEN32API _O32_LoadCursor( HINSTANCE, LPCSTR );
[4]1035
[43]1036HICON OPEN32API _O32_LoadIcon( HINSTANCE, LPCSTR );
[4]1037
[43]1038HINSTANCE OPEN32API _O32_LoadLibrary( LPCSTR );
[4]1039
[43]1040HMENU OPEN32API _O32_LoadMenu( HINSTANCE, LPCSTR );
[4]1041
[43]1042HMENU OPEN32API _O32_LoadMenuIndirect( const MENUITEMTEMPLATEHEADER * );
[4]1043
[43]1044DWORD OPEN32API _O32_LoadModule( LPCSTR, PVOID );
[4]1045
[43]1046HGLOBAL OPEN32API _O32_LoadResource( HINSTANCE, HRSRC );
[4]1047
[43]1048PVOID OPEN32API _O32_LockResource( HGLOBAL );
[4]1049
[43]1050int OPEN32API _O32_LoadString( HINSTANCE, UINT, LPSTR, int );
[4]1051
[43]1052HLOCAL OPEN32API _O32_LocalAlloc( UINT, UINT );
[4]1053
[43]1054HLOCAL OPEN32API _O32_LocalDiscard( HLOCAL );
[4]1055
[43]1056UINT OPEN32API _O32_LocalFlags( HLOCAL );
[4]1057
[43]1058BOOL OPEN32API _O32_LocalFileTimeToFileTime( const FILETIME *, FILETIME * );
[4]1059
[43]1060HLOCAL OPEN32API _O32_LocalFree( HLOCAL );
[4]1061
[43]1062HLOCAL OPEN32API _O32_LocalHandle( PVOID lpvMem );
[4]1063
[43]1064BOOL OPEN32API _O32_LocalUnlock( HLOCAL hlocal);
[4]1065
[43]1066HLOCAL OPEN32API _O32_LocalReAlloc( HLOCAL, UINT, UINT );
[4]1067
[43]1068UINT OPEN32API _O32_LocalSize( HLOCAL );
[4]1069
[43]1070PVOID OPEN32API _O32_LocalLock( HLOCAL hlocal );
[4]1071
[43]1072BOOL OPEN32API _O32_LockFile( HANDLE, DWORD, DWORD, DWORD, DWORD );
[4]1073
[43]1074BOOL OPEN32API _O32_LockWindowUpdate( HWND );
[4]1075
[43]1076BOOL OPEN32API _O32_MapDialogRect( HWND, PRECT );
[4]1077
[43]1078UINT OPEN32API _O32_MapVirtualKey( UINT, UINT );
[4]1079
[43]1080int OPEN32API _O32_MapWindowPoints( HWND, HWND, PPOINT, int );
[4]1081
[43]1082BOOL OPEN32API _O32_MaskBlt( HDC, int, int, int, int, HDC hdcSrc, int, int, HBITMAP, int, int, DWORD );
[4]1083
[43]1084int OPEN32API _O32_MessageBox( HWND hwnd , LPCSTR, LPCSTR, UINT );
[4]1085
[43]1086BOOL OPEN32API _O32_MessageBeep( UINT );
[4]1087
[43]1088DWORD OPEN32API _O32_MsgWaitForMultipleObjects( DWORD, LPHANDLE, BOOL, DWORD, DWORD );
[4]1089
[43]1090BOOL OPEN32API _O32_ModifyMenu( HMENU, UINT, UINT, UINT, LPCSTR );
[4]1091
[43]1092BOOL OPEN32API _O32_ModifyWorldTransform( HDC, LPXFORM, DWORD );
[4]1093
[43]1094BOOL OPEN32API _O32_MoveFile( LPCSTR, LPCSTR );
[4]1095
[43]1096BOOL OPEN32API _O32_MoveToEx( HDC, int, int, PPOINT );
[4]1097
[43]1098BOOL OPEN32API _O32_MoveWindow( HWND, int, int, int, int, BOOL );
[4]1099
[43]1100int OPEN32API _O32_MulDiv(int, int, int );
[4]1101
[43]1102int OPEN32API _O32_OffsetClipRgn( HDC, int, int );
[4]1103
[43]1104BOOL OPEN32API _O32_OffsetRect( PRECT, int, int );
[4]1105
[43]1106int OPEN32API _O32_OffsetRgn( HRGN, int, int );
[4]1107
[43]1108BOOL OPEN32API _O32_OffsetViewportOrgEx( HDC, int, int, PPOINT );
[4]1109
[43]1110BOOL OPEN32API _O32_OffsetWindowOrgEx( HDC, int, int, PPOINT );
[4]1111
[43]1112BOOL OPEN32API _O32_OpenClipboard( HWND );
[4]1113
[43]1114HANDLE OPEN32API _O32_OpenEvent( DWORD, BOOL, LPCSTR );
[4]1115
[43]1116HFILE OPEN32API _O32_OpenFile( LPCSTR, LPOFSTRUCT, UINT );
[4]1117
[43]1118HANDLE OPEN32API _O32_OpenMutex( DWORD, BOOL, LPCSTR );
[4]1119
[43]1120HANDLE OPEN32API _O32_OpenProcess( DWORD, BOOL, DWORD );
[4]1121
[43]1122HANDLE OPEN32API _O32_OpenSemaphore( DWORD, BOOL, LPCSTR );
[4]1123
[43]1124VOID OPEN32API _O32_OutputDebugString( LPCSTR );
[4]1125
[43]1126LONG OPEN32API _O32_PackDDElParam(UINT, UINT, UINT );
[4]1127
[43]1128BOOL OPEN32API _O32_PaintRgn( HDC, HRGN );
[4]1129
[43]1130BOOL OPEN32API _O32_PatBlt( HDC, int, int, int, int, DWORD );
[4]1131
[43]1132HRGN OPEN32API _O32_PathToRegion( HDC);
[4]1133
[43]1134BOOL OPEN32API _O32_PeekMessage( LPMSG, HWND, UINT, UINT, UINT );
[4]1135
[43]1136BOOL OPEN32API _O32_Pie( HDC, int, int, int, int, int, int, int, int );
[4]1137
[43]1138BOOL OPEN32API _O32_PlayEnhMetaFile( HDC, HENHMETAFILE, const RECT * );
[4]1139
[43]1140BOOL OPEN32API _O32_PlayMetaFile( HDC, HMETAFILE );
[4]1141
[43]1142BOOL OPEN32API _O32_PlayMetaFileRecord( HDC, LPHANDLETABLE, PMETARECORD, int );
[4]1143
[43]1144BOOL OPEN32API _O32_PolyBezier( HDC, const POINT *, int );
[4]1145
[43]1146BOOL OPEN32API _O32_PolyBezierTo( HDC, const POINT *, DWORD );
[4]1147
[43]1148BOOL OPEN32API _O32_PolyDraw( HDC, const POINT *, const BYTE *, int );
[4]1149
[43]1150BOOL OPEN32API _O32_Polygon( HDC, const POINT *, int );
[4]1151
[43]1152BOOL OPEN32API _O32_Polyline( HDC, const POINT *, int );
[4]1153
[43]1154BOOL OPEN32API _O32_PolylineTo( HDC, const POINT *, DWORD );
[4]1155
[43]1156BOOL OPEN32API _O32_PolyPolygon( HDC, const POINT *, const int *, int );
[4]1157
[43]1158BOOL OPEN32API _O32_PolyPolyline( HDC, const POINT *, const DWORD *, DWORD );
[4]1159
[43]1160VOID OPEN32API _O32_PostQuitMessage( int );
[4]1161
[43]1162BOOL OPEN32API _O32_PostMessage( HWND, UINT, WPARAM mp1, LPARAM mp2 );
[4]1163
[43]1164BOOL OPEN32API _O32_PostThreadMessage( DWORD, UINT, WPARAM, LPARAM );
[4]1165
[43]1166BOOL OPEN32API _O32_PtInRect( const RECT *, POINT );
[4]1167
[43]1168BOOL OPEN32API _O32_PtInRegion( HRGN, int, int );
[4]1169
[43]1170BOOL OPEN32API _O32_PtVisible( HDC, int, int );
[4]1171
[43]1172BOOL OPEN32API _O32_PrintDlg( LPPRINTDLGA );
[4]1173
[43]1174BOOL OPEN32API _O32_PulseEvent ( HANDLE );
[4]1175
[43]1176BOOL OPEN32API _O32_ReadFile( HANDLE, PVOID, DWORD, PDWORD, LPOVERLAPPED );
[4]1177
[43]1178UINT OPEN32API _O32_RealizePalette( HDC);
[4]1179
[43]1180BOOL OPEN32API _O32_RectInRegion( HRGN, const RECT * );
[4]1181
[43]1182BOOL OPEN32API _O32_RectVisible( HDC, const RECT *);
[4]1183
[43]1184BOOL OPEN32API _O32_Rectangle( HDC, int, int, int, int );
[4]1185
[43]1186BOOL OPEN32API _O32_RedrawWindow( HWND, const RECT *, HRGN, DWORD );
[4]1187
[43]1188LONG OPEN32API _O32_RegCloseKey( HKEY );
[4]1189
[43]1190LONG OPEN32API _O32_RegCreateKey( HKEY, LPCSTR, PHKEY );
[4]1191
[43]1192LONG OPEN32API _O32_RegCreateKeyEx( HKEY, LPCSTR, DWORD, LPSTR, DWORD, REGSAM, LPSECURITY_ATTRIBUTES, PHKEY, PDWORD );
[4]1193
[43]1194LONG OPEN32API _O32_RegDeleteKey( HKEY, LPCSTR );
[4]1195
[43]1196LONG OPEN32API _O32_RegDeleteValue( HKEY, LPSTR );
[4]1197
[43]1198LONG OPEN32API _O32_RegEnumKey( HKEY, DWORD, LPSTR, DWORD );
[4]1199
[43]1200LONG OPEN32API _O32_RegEnumKeyEx( HKEY, DWORD, LPSTR, PDWORD, PDWORD, LPSTR, PDWORD, FILETIME * );
[4]1201
[43]1202LONG OPEN32API _O32_RegEnumValue( HKEY, DWORD, LPSTR, PDWORD, PDWORD, PDWORD, LPBYTE, PDWORD );
[4]1203
[43]1204LONG OPEN32API _O32_RegOpenKey( HKEY, LPCSTR, PHKEY );
[4]1205
[43]1206LONG OPEN32API _O32_RegOpenKeyEx( HKEY, LPCSTR, DWORD, REGSAM, PHKEY );
[4]1207
[43]1208LONG OPEN32API _O32_RegQueryInfoKey( HKEY, LPSTR, PDWORD, PDWORD, PDWORD, PDWORD,
[4]1209 PDWORD, PDWORD, PDWORD, PDWORD, PDWORD, FILETIME * );
1210
[43]1211LONG OPEN32API _O32_RegQueryValue( HKEY, LPCSTR, LPSTR, PLONG );
[4]1212
[43]1213LONG OPEN32API _O32_RegQueryValueEx( HKEY, LPCSTR, PDWORD, PDWORD, LPBYTE, PDWORD );
[4]1214
[43]1215LONG OPEN32API _O32_RegSetValue( HKEY, LPCSTR, DWORD, LPCSTR, DWORD );
[4]1216
[43]1217LONG OPEN32API _O32_RegSetValueEx( HKEY, LPCSTR, DWORD, DWORD, const BYTE *, DWORD );
[4]1218
[43]1219WORD OPEN32API _O32_RegisterClass( const WNDCLASSA *);
[4]1220
[43]1221UINT OPEN32API _O32_RegisterClipboardFormat( LPCSTR );
[4]1222
[43]1223UINT OPEN32API _O32_RegisterWindowMessage( LPCSTR );
[4]1224
[43]1225BOOL OPEN32API _O32_ReleaseCapture( void );
[4]1226
[43]1227int OPEN32API _O32_ReleaseDC( HWND, HDC );
[4]1228
[43]1229BOOL OPEN32API _O32_ReleaseMutex( HANDLE );
[4]1230
[43]1231BOOL OPEN32API _O32_ReleaseSemaphore( HANDLE, LONG, PLONG );
[4]1232
[43]1233BOOL OPEN32API _O32_RemoveDirectory( LPCSTR );
[4]1234
[43]1235BOOL OPEN32API _O32_RemoveFontResource( LPCSTR );
[4]1236
[43]1237BOOL OPEN32API _O32_RemoveMenu( HMENU, UINT, UINT );
[4]1238
[43]1239HANDLE OPEN32API _O32_RemoveProp( HWND, LPCSTR );
[4]1240
[43]1241HWND OPEN32API _O32_ReplaceText( LPFINDREPLACEA );
[4]1242
[43]1243BOOL OPEN32API _O32_ReplyMessage( LRESULT );
[4]1244
[43]1245BOOL OPEN32API _O32_ResetDC( HDC, const DEVMODEA * );
[4]1246
[43]1247BOOL OPEN32API _O32_ResetEvent( HANDLE );
[4]1248
[43]1249BOOL OPEN32API _O32_ResizePalette( HPALETTE, UINT );
[4]1250
[43]1251BOOL OPEN32API _O32_RestoreDC( HDC, int );
[4]1252
[43]1253DWORD OPEN32API _O32_ResumeThread( HANDLE );
[4]1254
[43]1255LONG OPEN32API _O32_ReuseDDElParam( LONG, UINT, UINT, UINT, UINT );
[4]1256
[43]1257BOOL OPEN32API _O32_RoundRect( HDC, int, int, int, int, int, int );
[4]1258
[43]1259int OPEN32API _O32_SaveDC( HDC );
[4]1260
[43]1261BOOL OPEN32API _O32_ScaleViewportExtEx( HDC, int, int, int, int, PSIZE );
[4]1262
[43]1263BOOL OPEN32API _O32_ScaleWindowExtEx( HDC, int, int, int, int, PSIZE );
[4]1264
[43]1265BOOL OPEN32API _O32_ScreenToClient( HWND, PPOINT );
[4]1266
[43]1267BOOL OPEN32API _O32_ScrollDC( HDC, int, int, const RECT *, const RECT *, HRGN, PRECT );
[4]1268
[43]1269BOOL OPEN32API _O32_ScrollWindow( HWND, int, int, const RECT *, const RECT * );
[4]1270
[43]1271BOOL OPEN32API _O32_ScrollWindowEx( HWND, int, int, const RECT *, const RECT *, HRGN, PRECT, UINT );
[4]1272
[43]1273DWORD OPEN32API _O32_SearchPath( LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPSTR *);
[4]1274
[43]1275int OPEN32API _O32_SelectClipRgn( HDC, HRGN );
[4]1276
[43]1277HGDIOBJ OPEN32API _O32_SelectObject( HDC, HGDIOBJ );
[4]1278
[43]1279HPALETTE OPEN32API _O32_SelectPalette( HDC, HPALETTE, BOOL );
[4]1280
[43]1281LONG OPEN32API _O32_SendDlgItemMessage( HWND, int, UINT, WPARAM, LPARAM );
[4]1282
[43]1283LRESULT OPEN32API _O32_SendMessage( HWND, UINT, WPARAM mp1, LPARAM mp2 );
[4]1284
[43]1285HWND OPEN32API _O32_SetActiveWindow( HWND );
[4]1286
[43]1287int OPEN32API _O32_SetArcDirection( HDC, int );
[4]1288
[43]1289LONG OPEN32API _O32_SetBitmapBits( HBITMAP, DWORD, const VOID * );
[4]1290
[43]1291BOOL OPEN32API _O32_SetBitmapDimensionEx( HBITMAP, int, int, PSIZE );
[4]1292
[43]1293COLORREF OPEN32API _O32_SetBkColor( HDC, COLORREF );
[4]1294
[43]1295int OPEN32API _O32_SetBkMode( HDC, int );
[4]1296
[43]1297LONG OPEN32API _O32_SetBoundsRect( HDC, const RECT *, UINT );
[4]1298
[43]1299BOOL OPEN32API _O32_SetBrushOrgEx( HDC, int, int, PPOINT );
[4]1300
[43]1301HWND OPEN32API _O32_SetCapture( HWND );
[4]1302
[43]1303BOOL OPEN32API _O32_SetCaretBlinkTime( UINT );
[4]1304
[43]1305BOOL OPEN32API _O32_SetCaretPos( int, int );
[4]1306
[43]1307DWORD OPEN32API _O32_SetClassLong( HWND, int, LONG );
[4]1308
[43]1309WORD OPEN32API _O32_SetClassWord( HWND, int, WORD );
[4]1310
[43]1311HANDLE OPEN32API _O32_SetClipboardData( UINT, HANDLE );
[4]1312
[43]1313HWND OPEN32API _O32_SetClipboardViewer( HWND );
[4]1314
[43]1315BOOL OPEN32API _O32_SetCurrentDirectory( LPSTR );
[4]1316
[43]1317HCURSOR OPEN32API _O32_SetCursor( HCURSOR );
[4]1318
[43]1319BOOL OPEN32API _O32_SetCursorPos( int, int );
[4]1320
[43]1321int OPEN32API _O32_SetDIBits( HDC, HBITMAP, UINT, UINT, const VOID *, const BITMAPINFO *, UINT );
[4]1322
[43]1323int OPEN32API _O32_SetDIBitsToDevice( HDC, int, int, int, int, int, int, UINT, UINT, PVOID, PBITMAPINFO, UINT );
[4]1324
[43]1325BOOL OPEN32API _O32_SetDlgItemInt( HWND, int, UINT, BOOL );
[4]1326
[43]1327BOOL OPEN32API _O32_SetDlgItemText( HWND, int, LPCSTR );
[4]1328
[43]1329BOOL OPEN32API _O32_SetDoubleClickTime( UINT );
[4]1330
[43]1331BOOL OPEN32API _O32_SetEndOfFile( HANDLE );
[4]1332
[43]1333HENHMETAFILE OPEN32API _O32_SetEnhMetaFileBits( UINT, const BYTE * );
[4]1334
[43]1335BOOL OPEN32API _O32_SetEnvironmentVariable( LPCSTR, LPCSTR );
[4]1336
[43]1337BOOL OPEN32API _O32_SetEvent( HANDLE );
[4]1338
[43]1339BOOL OPEN32API _O32_SetFileAttributes( LPCSTR, DWORD );
[4]1340
[43]1341DWORD OPEN32API _O32_SetFilePointer( HANDLE, LONG, PLONG, DWORD );
[4]1342
[43]1343BOOL OPEN32API _O32_SetFileTime( HANDLE, const FILETIME *, const FILETIME *, const FILETIME * );
[4]1344
[43]1345HWND OPEN32API _O32_SetFocus( HWND );
[4]1346
[43]1347BOOL OPEN32API _O32_SetForegroundWindow( HWND );
[4]1348
[43]1349int OPEN32API _O32_SetGraphicsMode(HDC, int );
[4]1350
[43]1351UINT OPEN32API _O32_SetHandleCount( UINT );
[4]1352
[43]1353VOID OPEN32API _O32_SetLastError( DWORD );
[4]1354
[43]1355BOOL OPEN32API _O32_SetLocalTime( const SYSTEMTIME * );
[4]1356
[43]1357int OPEN32API _O32_SetMapMode( HDC, int );
[4]1358
[43]1359DWORD OPEN32API _O32_SetMapperFlags( HDC, DWORD );
[4]1360
[43]1361BOOL OPEN32API _O32_SetMenu( HWND, HMENU );
[4]1362
[43]1363BOOL OPEN32API _O32_SetMenuItemBitmaps( HMENU, UINT, UINT, HBITMAP, HBITMAP );
[4]1364
[43]1365HMETAFILE OPEN32API _O32_SetMetaFileBitsEx( UINT, PBYTE );
[4]1366
[43]1367BOOL OPEN32API _O32_SetMiterLimit( HDC, float limit, float * );
[4]1368
[43]1369UINT OPEN32API _O32_SetPaletteEntries( HPALETTE, UINT, UINT, const PALETTEENTRY *);
[4]1370
[43]1371HWND OPEN32API _O32_SetParent( HWND, HWND );
[4]1372
1373COLORREF
[43]1374 OPEN32API _O32_SetPixel( HDC, int, int, COLORREF );
[4]1375
[43]1376int OPEN32API _O32_SetPolyFillMode( HDC, int );
[4]1377
[43]1378BOOL OPEN32API _O32_SetPriorityClass( HANDLE, DWORD );
[4]1379
[43]1380BOOL OPEN32API _O32_SetProp( HWND, LPCSTR, HANDLE );
[4]1381
[43]1382BOOL OPEN32API _O32_SetRect( PRECT, int, int, int, int );
[4]1383
[43]1384BOOL OPEN32API _O32_SetRectEmpty( PRECT );
[4]1385
[43]1386BOOL OPEN32API _O32_SetRectRgn( HRGN, int, int, int, int );
[4]1387
[43]1388int OPEN32API _O32_SetROP2( HDC, int );
[4]1389
[43]1390int OPEN32API _O32_SetScrollPos( HWND, int, int, BOOL );
[4]1391
[43]1392BOOL OPEN32API _O32_SetScrollRange( HWND, int, int, int, BOOL );
[4]1393
[43]1394BOOL OPEN32API _O32_SetStdHandle( DWORD, HANDLE );
[4]1395
[43]1396int OPEN32API _O32_SetStretchBltMode( HDC, int );
[4]1397
[43]1398UINT OPEN32API _O32_SetSysColors( int, const int *, const COLORREF * );
[4]1399
[43]1400BOOL OPEN32API _O32_SetSystemTime( const SYSTEMTIME * );
[4]1401
[43]1402BOOL OPEN32API _O32_SetTimeZoneInformation( const TIME_ZONE_INFORMATION * );
[4]1403
[43]1404UINT OPEN32API _O32_SetTextAlign( HDC, UINT );
[4]1405
[43]1406int OPEN32API _O32_SetTextCharacterExtra( HDC, int );
[4]1407
[43]1408COLORREF OPEN32API _O32_SetTextColor( HDC, COLORREF );
[4]1409
[43]1410BOOL OPEN32API _O32_SetTextJustification( HDC, int, int );
[4]1411
[43]1412BOOL OPEN32API _O32_SetThreadPriority( HANDLE, int );
[4]1413
[43]1414UINT OPEN32API _O32_SetTimer( HWND, UINT, UINT, TIMERPROC_O32 );
[4]1415
[43]1416BOOL OPEN32API _O32_SetViewportExtEx( HDC, int, int, PSIZE );
[4]1417
[43]1418BOOL OPEN32API _O32_SetViewportOrgEx( HDC, int, int, PPOINT );
[4]1419
[43]1420BOOL OPEN32API _O32_SetVolumeLabel( LPCSTR, LPCSTR );
[4]1421
[43]1422BOOL OPEN32API _O32_SetWindowExtEx( HDC, int, int, PSIZE );
[4]1423
[43]1424LONG OPEN32API _O32_SetWindowLong( HWND, int, LONG );
[4]1425
[43]1426BOOL OPEN32API _O32_SetWindowOrgEx( HDC, int, int, PPOINT );
[4]1427
[43]1428BOOL OPEN32API _O32_SetWindowPlacement( HWND, const WINDOWPLACEMENT * );
[4]1429
[43]1430BOOL OPEN32API _O32_SetWindowPos( HWND, HWND, int, int, int, int, UINT );
[4]1431
[43]1432HHOOK OPEN32API _O32_SetWindowsHookEx( int, HOOKPROC_O32, HINSTANCE, DWORD );
[4]1433
[43]1434BOOL OPEN32API _O32_SetWindowText( HWND, LPCSTR );
[4]1435
[43]1436WORD OPEN32API _O32_SetWindowWord( HWND, int, WORD );
[4]1437
[43]1438HENHMETAFILE OPEN32API _O32_SetWinMetaFileBits( UINT, const BYTE *, HDC, const METAFILEPICT * );
[4]1439
[43]1440BOOL OPEN32API _O32_SetWorldTransform( HDC, LPXFORM );
[4]1441
[43]1442BOOL OPEN32API _O32_ShowCaret( HWND );
[4]1443
[43]1444int OPEN32API _O32_ShowCursor( BOOL );
[4]1445
[43]1446BOOL OPEN32API _O32_ShowOwnedPopups( HWND, BOOL );
[4]1447
[43]1448BOOL OPEN32API _O32_ShowScrollBar( HWND, int, BOOL );
[4]1449
[43]1450BOOL OPEN32API _O32_ShowWindow( HWND, int );
[4]1451
[43]1452DWORD OPEN32API _O32_SizeofResource( HINSTANCE, HRSRC );
[4]1453
[43]1454VOID OPEN32API _O32_Sleep( DWORD );
[4]1455
[43]1456int OPEN32API _O32_StartDoc( HDC, LPDOCINFOA );
[4]1457
[43]1458int OPEN32API _O32_StartPage( HDC );
[4]1459
[43]1460int OPEN32API _O32_StretchDIBits( HDC, int, int, int, int, int, int, int, int, void *, PBITMAPINFO, UINT, DWORD );
[4]1461
[43]1462BOOL OPEN32API _O32_StretchBlt( HDC, int, int, int, int, HDC, int, int, int, int, DWORD );
[4]1463
[43]1464BOOL OPEN32API _O32_StrokeAndFillPath( HDC );
[4]1465
[43]1466BOOL OPEN32API _O32_StrokePath( HDC );
[4]1467
[43]1468BOOL OPEN32API _O32_SubtractRect( PRECT, const RECT *, const RECT *);
[4]1469
[43]1470DWORD OPEN32API _O32_SuspendThread( HANDLE );
[4]1471
[43]1472BOOL OPEN32API _O32_SwapMouseButton( BOOL );
[4]1473
[43]1474UINT OPEN32API _O32_SystemParametersInfo( UINT, UINT, PVOID, UINT );
[4]1475
[43]1476BOOL OPEN32API _O32_SystemTimeToFileTime( const SYSTEMTIME *, FILETIME * );
[4]1477
[43]1478BOOL OPEN32API _O32_SystemTimeToTzSpecificLocalTime( LPTIME_ZONE_INFORMATION, LPSYSTEMTIME, LPSYSTEMTIME );
[4]1479
[43]1480LONG OPEN32API _O32_TabbedTextOut( HDC, int, int, LPCSTR, int, int, int *, int );
[4]1481
[43]1482BOOL OPEN32API _O32_TerminateProcess( HANDLE, UINT );
[4]1483
[43]1484BOOL OPEN32API _O32_TerminateThread( HANDLE, DWORD );
[4]1485
[43]1486BOOL OPEN32API _O32_TextOut( HDC, int, int, LPCSTR, int );
[4]1487
[43]1488DWORD OPEN32API _O32_TlsAlloc( VOID );
[4]1489
[43]1490BOOL OPEN32API _O32_TlsFree( DWORD );
[4]1491
[43]1492PVOID OPEN32API _O32_TlsGetValue( DWORD );
[4]1493
[43]1494BOOL OPEN32API _O32_TlsSetValue( DWORD, PVOID );
[4]1495
[43]1496BOOL OPEN32API _O32_TrackPopupMenu( HMENU, UINT, int, int, int, HWND, const RECT * );
[4]1497
[43]1498int OPEN32API _O32_TranslateAccelerator( HWND, HACCEL, LPMSG );
[4]1499
[43]1500BOOL OPEN32API _O32_TranslateMDISysAccel( HWND, LPMSG );
[4]1501
[43]1502BOOL OPEN32API _O32_TranslateMessage( const MSG * );
[4]1503
[43]1504BOOL OPEN32API _O32_UnhookWindowsHookEx( HHOOK );
[4]1505
[43]1506BOOL OPEN32API _O32_UnionRect( PRECT, const RECT *, const RECT * );
[4]1507
[43]1508BOOL OPEN32API _O32_UnlockFile( HANDLE, DWORD, DWORD, DWORD, DWORD );
[4]1509
[43]1510BOOL OPEN32API _O32_UnpackDDElParam(UINT, LONG, PUINT, PUINT );
[4]1511
[43]1512BOOL OPEN32API _O32_UnrealizeObject( HGDIOBJ );
[4]1513
[43]1514BOOL OPEN32API _O32_UnregisterClass( LPCSTR, HINSTANCE );
[4]1515
[43]1516BOOL OPEN32API _O32_UpdateWindow( HWND );
[4]1517
[43]1518BOOL OPEN32API _O32_ValidateRect( HWND, const RECT *);
[4]1519
[43]1520BOOL OPEN32API _O32_ValidateRgn( HWND, HRGN );
[4]1521
[43]1522SHORT OPEN32API _O32_VkKeyScan( char keyScan);
[4]1523
[43]1524DWORD OPEN32API _O32_WaitForMultipleObjects( DWORD, const HANDLE *, BOOL, DWORD );
[4]1525
[43]1526DWORD OPEN32API _O32_WaitForSingleObject( HANDLE, DWORD );
[4]1527
[2694]1528DWORD OPEN32API _O32_WaitForInputIdle(HANDLE hProcess, DWORD dwTimeOut);
1529
[43]1530BOOL OPEN32API _O32_WaitMessage( void);
[4]1531
[43]1532BOOL OPEN32API _O32_WidenPath( HDC);
[4]1533
[43]1534UINT OPEN32API _O32_WinExec( LPCSTR, UINT );
[4]1535
[43]1536BOOL OPEN32API _O32_WinHelp( HWND, LPCSTR, UINT, DWORD );
[4]1537
[43]1538HWND OPEN32API _O32_WindowFromPoint( POINT );
[4]1539
[43]1540HWND OPEN32API _O32_WindowFromDC( HDC );
[4]1541
[43]1542BOOL OPEN32API _O32_WriteFile( HANDLE, const VOID *, DWORD, PDWORD, LPOVERLAPPED );
[4]1543
[43]1544BOOL OPEN32API _O32_WritePrivateProfileString( LPCSTR, LPCSTR, LPCSTR, LPCSTR );
[4]1545
[43]1546BOOL OPEN32API _O32_WriteProfileString( LPCSTR, LPCSTR, LPCSTR );
[4]1547
[43]1548VOID OPEN32API _O32_ZeroMemory( PVOID, DWORD );
[4]1549
[43]1550HFILE OPEN32API _O32__lclose( HFILE );
[4]1551
[43]1552HFILE OPEN32API _O32__lcreat( LPCSTR, int );
[4]1553
[43]1554HFILE OPEN32API _O32__lopen( LPCSTR, int );
[4]1555
[43]1556UINT OPEN32API _O32__lread( HFILE, PVOID, UINT );
[4]1557
[43]1558LONG OPEN32API _O32__llseek( HFILE, LONG, int );
[4]1559
[43]1560UINT OPEN32API _O32__lwrite( HFILE, const VOID *, UINT );
[4]1561
[43]1562DWORD OPEN32API _O32_timeGetSystemTime( LPMMTIME, UINT );
[4]1563
[43]1564DWORD OPEN32API _O32_timeGetTime( VOID );
[4]1565
[43]1566int OPEN32API _O32_wsprintf( LPSTR, LPCSTR, ... );
1567int OPEN32API _O32_wvsprintf( LPSTR, LPCSTR, const VOID *);
[4]1568
[43]1569LPSTR OPEN32API _O32_CharNext( LPCSTR );
[4]1570
[43]1571LPSTR OPEN32API _O32_CharPrev( LPCSTR, LPCSTR );
[4]1572
[43]1573HWND OPEN32API _O32_GetDesktopWindow( VOID );
[4]1574
[43]1575BOOL OPEN32API _O32_CharToOem( LPCSTR, LPSTR );
[4]1576
[43]1577BOOL OPEN32API _O32_OemToChar( LPCSTR, LPSTR );
[4]1578
[43]1579BOOL OPEN32API _O32_CharToOemBuff( LPCSTR, LPSTR, DWORD );
[4]1580
[43]1581BOOL OPEN32API _O32_OemToCharBuff( LPCSTR, LPSTR, DWORD );
[4]1582
[43]1583BOOL OPEN32API _O32_IsBadHugeReadPtr( const void *, UINT );
[4]1584
[43]1585BOOL OPEN32API _O32_IsBadHugeWritePtr( PVOID, UINT );
[4]1586
[43]1587BOOL OPEN32API _O32_FloodFill(HDC, int, int, COLORREF );
[4]1588
[43]1589BOOL OPEN32API _O32_IsCharAlpha( WCHAR );
[4]1590
[43]1591BOOL OPEN32API _O32_IsCharAlphaNumeric( WCHAR );
[4]1592
[43]1593BOOL OPEN32API _O32_IsCharLower( WCHAR );
[4]1594
[43]1595BOOL OPEN32API _O32_IsCharUpper( WCHAR );
[4]1596
[43]1597LPSTR OPEN32API _O32_lstrcat( LPSTR, LPCSTR );
[4]1598
[43]1599int OPEN32API _O32_lstrcmp( LPCSTR, LPCSTR );
[4]1600
[43]1601int OPEN32API _O32_lstrcmpi( LPCSTR, LPCSTR );
[4]1602
[43]1603LPSTR OPEN32API _O32_lstrcpy( LPSTR, LPCSTR );
[4]1604
[43]1605int OPEN32API _O32_lstrlen( LPCSTR );
[4]1606
1607/* -----------------------------------------------------------------*/
1608
1609
[43]1610int OPEN32API _O32_WinCallWinMain(int, char *[], FNMAIN_O32, int);
[4]1611
1612/* The following functions are used for translating data between the native
1613 * Presentation Manager format and the Developer API Extensions equivalents.
1614 */
1615typedef enum { WINX2PM, PM2WINX} XLATEDIR;
1616
1617/* Use the GDI object type to specify the type of handle passing in
1618 */
[43]1619BOOL OPEN32API _O32_WinTranslateDevicePoints( HDC, HWND, PPOINT, INT, XLATEDIR );
1620BOOL OPEN32API _O32_WinTranslateDeviceRects ( HDC, HWND, PRECT, INT, XLATEDIR );
1621ULONG OPEN32API _O32_WinTranslateGraphicsObjectHandle( HGDIOBJ, XLATEDIR, ULONG );
1622ULONG OPEN32API _O32_WinTranslateMnemonicString( LPCSTR, LPSTR *, ULONG, XLATEDIR );
1623DWORD OPEN32API _O32_WinQueryTranslateMode( VOID );
1624BOOL OPEN32API _O32_WinSetTranslateMode( DWORD );
[4]1625
[43]1626inline int O32_WinMain(HINSTANCE a, HINSTANCE b, LPSTR c, int d)
1627{
1628 int yyrc;
[223]1629 USHORT sel = RestoreOS2FS();
[43]1630
1631 yyrc = _O32_WinMain(a, b, c, d);
1632 SetFS(sel);
1633
1634 return yyrc;
1635}
1636
1637inline int O32_AbortDoc(HDC a)
1638{
1639 int yyrc;
[223]1640 USHORT sel = RestoreOS2FS();
[43]1641
1642 yyrc = _O32_AbortDoc(a);
1643 SetFS(sel);
1644
1645 return yyrc;
1646}
1647
1648inline BOOL O32_AbortPath(HDC a)
1649{
1650 BOOL yyrc;
[223]1651 USHORT sel = RestoreOS2FS();
[43]1652
1653 yyrc = _O32_AbortPath(a);
1654 SetFS(sel);
1655
1656 return yyrc;
1657}
1658
1659inline ATOM O32_AddAtom(LPCSTR a)
1660{
1661 ATOM yyrc;
[223]1662 USHORT sel = RestoreOS2FS();
[43]1663
1664 yyrc = _O32_AddAtom(a);
1665 SetFS(sel);
1666
1667 return yyrc;
1668}
1669
1670inline int O32_AddFontResource(LPCSTR a)
1671{
1672 int yyrc;
[223]1673 USHORT sel = RestoreOS2FS();
[43]1674
1675 yyrc = _O32_AddFontResource(a);
1676 SetFS(sel);
1677
1678 return yyrc;
1679}
1680
1681inline BOOL O32_AdjustWindowRect(PRECT a, DWORD b, BOOL c)
1682{
1683 BOOL yyrc;
[223]1684 USHORT sel = RestoreOS2FS();
[43]1685
1686 yyrc = _O32_AdjustWindowRect(a, b, c);
1687 SetFS(sel);
1688
1689 return yyrc;
1690}
1691
1692inline BOOL O32_AdjustWindowRectEx(PRECT a, DWORD b, BOOL c, DWORD d)
1693{
1694 BOOL yyrc;
[223]1695 USHORT sel = RestoreOS2FS();
[43]1696
1697 yyrc = _O32_AdjustWindowRectEx(a, b, c, d);
1698 SetFS(sel);
1699
1700 return yyrc;
1701}
1702
1703inline BOOL O32_AngleArc(HDC a, int b, int c, DWORD d, float e, float f)
1704{
1705 BOOL yyrc;
[223]1706 USHORT sel = RestoreOS2FS();
[43]1707
1708 yyrc = _O32_AngleArc(a, b, c, d, e, f);
1709 SetFS(sel);
1710
1711 return yyrc;
1712}
1713
1714inline BOOL O32_AnimatePalette(HPALETTE a, UINT b, UINT c, CONST PALETTEENTRY *d)
1715{
1716 BOOL yyrc;
[223]1717 USHORT sel = RestoreOS2FS();
[43]1718
1719 yyrc = _O32_AnimatePalette(a, b, c, d);
1720 SetFS(sel);
1721
1722 return yyrc;
1723}
1724
1725inline BOOL O32_AppendMenu(HMENU a, UINT b, UINT c, LPCSTR d)
1726{
1727 BOOL yyrc;
[223]1728 USHORT sel = RestoreOS2FS();
[43]1729
1730 yyrc = _O32_AppendMenu(a, b, c, d);
1731 SetFS(sel);
1732
1733 return yyrc;
1734}
1735
1736inline BOOL O32_Arc(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
1737{
1738 BOOL yyrc;
[223]1739 USHORT sel = RestoreOS2FS();
[43]1740
1741 yyrc = _O32_Arc(a, b, c, d, e, f, g, h, i);
1742 SetFS(sel);
1743
1744 return yyrc;
1745}
1746
1747inline BOOL O32_ArcTo(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
1748{
1749 BOOL yyrc;
[223]1750 USHORT sel = RestoreOS2FS();
[43]1751
1752 yyrc = _O32_ArcTo(a, b, c, d, e, f, g, h, i);
1753 SetFS(sel);
1754
1755 return yyrc;
1756}
1757
1758inline UINT O32_ArrangeIconicWindows(HWND a)
1759{
1760 UINT yyrc;
[223]1761 USHORT sel = RestoreOS2FS();
[43]1762
1763 yyrc = _O32_ArrangeIconicWindows(a);
1764 SetFS(sel);
1765
1766 return yyrc;
1767}
1768
1769inline BOOL O32_Beep(DWORD a, DWORD b)
1770{
1771 BOOL yyrc;
[223]1772 USHORT sel = RestoreOS2FS();
[43]1773
1774 yyrc = _O32_Beep(a, b);
1775 SetFS(sel);
1776
1777 return yyrc;
1778}
1779
1780inline HDWP O32_BeginDeferWindowPos(int a)
1781{
1782 HDWP yyrc;
[223]1783 USHORT sel = RestoreOS2FS();
[43]1784
1785 yyrc = _O32_BeginDeferWindowPos(a);
1786 SetFS(sel);
1787
1788 return yyrc;
1789}
1790
1791inline HDC O32_BeginPaint(HWND a, PPAINTSTRUCT b)
1792{
1793 HDC yyrc;
[223]1794 USHORT sel = RestoreOS2FS();
[43]1795
1796 yyrc = _O32_BeginPaint(a, b);
1797 SetFS(sel);
1798
1799 return yyrc;
1800}
1801
1802inline BOOL O32_BeginPath(HDC a)
1803{
1804 BOOL yyrc;
[223]1805 USHORT sel = RestoreOS2FS();
[43]1806
1807 yyrc = _O32_BeginPath(a);
1808 SetFS(sel);
1809
1810 return yyrc;
1811}
1812
1813inline BOOL O32_BitBlt(HDC a, int b, int c, int d, int e, HDC f, int g, int h, DWORD i)
1814{
1815 BOOL yyrc;
[223]1816 USHORT sel = RestoreOS2FS();
[43]1817
1818 yyrc = _O32_BitBlt(a, b, c, d, e, f, g, h, i);
1819 SetFS(sel);
1820
1821 return yyrc;
1822}
1823
1824inline BOOL O32_BringWindowToTop(HWND a)
1825{
1826 BOOL yyrc;
[223]1827 USHORT sel = RestoreOS2FS();
[43]1828
1829 yyrc = _O32_BringWindowToTop(a);
1830 SetFS(sel);
1831
1832 return yyrc;
1833}
1834
1835inline BOOL O32_CallMsgFilter(LPMSG a, int b)
1836{
1837 BOOL yyrc;
[223]1838 USHORT sel = RestoreOS2FS();
[43]1839
1840 yyrc = _O32_CallMsgFilter(a, b);
1841 SetFS(sel);
1842
1843 return yyrc;
1844}
1845
1846inline LRESULT O32_CallNextHookEx(HHOOK a, int b, WPARAM c, LPARAM d)
1847{
1848 LRESULT yyrc;
[223]1849 USHORT sel = RestoreOS2FS();
[43]1850
1851 yyrc = _O32_CallNextHookEx(a, b, c, d);
1852 SetFS(sel);
1853
1854 return yyrc;
1855}
1856
1857inline LRESULT O32_CallWindowProc(WNDPROC_O32 a, HWND b, UINT c, WPARAM d, LPARAM e)
1858{
1859 LRESULT yyrc;
[223]1860 USHORT sel = RestoreOS2FS();
[43]1861
1862 yyrc = _O32_CallWindowProc(a, b, c, d, e);
1863 SetFS(sel);
1864
1865 return yyrc;
1866}
1867
1868inline BOOL O32_ChangeClipboardChain(HWND a, HWND b)
1869{
1870 BOOL yyrc;
[223]1871 USHORT sel = RestoreOS2FS();
[43]1872
1873 yyrc = _O32_ChangeClipboardChain(a, b);
1874 SetFS(sel);
1875
1876 return yyrc;
1877}
1878
1879inline LPSTR O32_CharLower(LPSTR a)
1880{
1881 LPSTR yyrc;
[223]1882 USHORT sel = RestoreOS2FS();
[43]1883
1884 yyrc = _O32_CharLower(a);
1885 SetFS(sel);
1886
1887 return yyrc;
1888}
1889
1890inline DWORD O32_CharLowerBuff(LPSTR a, DWORD b)
1891{
1892 DWORD yyrc;
[223]1893 USHORT sel = RestoreOS2FS();
[43]1894
1895 yyrc = _O32_CharLowerBuff(a, b);
1896 SetFS(sel);
1897
1898 return yyrc;
1899}
1900
1901inline LPSTR O32_CharUpper(LPSTR a)
1902{
1903 LPSTR yyrc;
[223]1904 USHORT sel = RestoreOS2FS();
[43]1905
1906 yyrc = _O32_CharUpper(a);
1907 SetFS(sel);
1908
1909 return yyrc;
1910}
1911
1912inline DWORD O32_CharUpperBuff(LPSTR a, DWORD b)
1913{
1914 DWORD yyrc;
[223]1915 USHORT sel = RestoreOS2FS();
[43]1916
1917 yyrc = _O32_CharUpperBuff(a, b);
1918 SetFS(sel);
1919
1920 return yyrc;
1921}
1922
1923inline BOOL O32_CheckDlgButton(HWND a, int b, UINT c)
1924{
1925 BOOL yyrc;
[223]1926 USHORT sel = RestoreOS2FS();
[43]1927
1928 yyrc = _O32_CheckDlgButton(a, b, c);
1929 SetFS(sel);
1930
1931 return yyrc;
1932}
1933
1934inline DWORD O32_CheckMenuItem(HMENU a, UINT b, UINT c)
1935{
1936 DWORD yyrc;
[223]1937 USHORT sel = RestoreOS2FS();
[43]1938
1939 yyrc = _O32_CheckMenuItem(a, b, c);
1940 SetFS(sel);
1941
1942 return yyrc;
1943}
1944
1945inline BOOL O32_CheckRadioButton(HWND a, int b, int c, int d)
1946{
1947 BOOL yyrc;
[223]1948 USHORT sel = RestoreOS2FS();
[43]1949
1950 yyrc = _O32_CheckRadioButton(a, b, c, d);
1951 SetFS(sel);
1952
1953 return yyrc;
1954}
1955
1956inline HWND O32_ChildWindowFromPoint(HWND a, POINT b)
1957{
1958 HWND yyrc;
[223]1959 USHORT sel = RestoreOS2FS();
[43]1960
1961 yyrc = _O32_ChildWindowFromPoint(a, b);
1962 SetFS(sel);
1963
1964 return yyrc;
1965}
1966
1967inline BOOL O32_ChooseColor(LPCHOOSECOLORA a)
1968{
1969 BOOL yyrc;
[223]1970 USHORT sel = RestoreOS2FS();
[43]1971
1972 yyrc = _O32_ChooseColor(a);
1973 SetFS(sel);
1974
1975 return yyrc;
1976}
1977
1978inline BOOL O32_ChooseFont(LPCHOOSEFONTA a)
1979{
1980 BOOL yyrc;
[223]1981 USHORT sel = RestoreOS2FS();
[43]1982
1983 yyrc = _O32_ChooseFont(a);
1984 SetFS(sel);
1985
1986 return yyrc;
1987}
1988
1989inline BOOL O32_Chord(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
1990{
1991 BOOL yyrc;
[223]1992 USHORT sel = RestoreOS2FS();
[43]1993
1994 yyrc = _O32_Chord(a, b, c, d, e, f, g, h, i);
1995 SetFS(sel);
1996
1997 return yyrc;
1998}
1999
2000inline BOOL O32_ClientToScreen(HWND a, PPOINT b)
2001{
2002 BOOL yyrc;
[223]2003 USHORT sel = RestoreOS2FS();
[43]2004
2005 yyrc = _O32_ClientToScreen(a, b);
2006 SetFS(sel);
2007
2008 return yyrc;
2009}
2010
2011inline BOOL O32_ClipCursor(CONST RECT *a)
2012{
2013 BOOL yyrc;
[223]2014 USHORT sel = RestoreOS2FS();
[43]2015
2016 yyrc = _O32_ClipCursor(a);
2017 SetFS(sel);
2018
2019 return yyrc;
2020}
2021
2022inline BOOL O32_CloseClipboard()
2023{
2024 BOOL yyrc;
[223]2025 USHORT sel = RestoreOS2FS();
[43]2026
2027 yyrc = _O32_CloseClipboard();
2028 SetFS(sel);
2029
2030 return yyrc;
2031}
2032
2033inline HENHMETAFILE O32_CloseEnhMetaFile(HDC a)
2034{
2035 HENHMETAFILE yyrc;
[223]2036 USHORT sel = RestoreOS2FS();
[43]2037
2038 yyrc = _O32_CloseEnhMetaFile(a);
2039 SetFS(sel);
2040
2041 return yyrc;
2042}
2043
2044inline BOOL O32_CloseFigure(HDC a)
2045{
2046 BOOL yyrc;
[223]2047 USHORT sel = RestoreOS2FS();
[43]2048
2049 yyrc = _O32_CloseFigure(a);
2050 SetFS(sel);
2051
2052 return yyrc;
2053}
2054
2055inline BOOL O32_CloseHandle(HANDLE a)
2056{
2057 BOOL yyrc;
[223]2058 USHORT sel = RestoreOS2FS();
[43]2059
2060 yyrc = _O32_CloseHandle(a);
2061 SetFS(sel);
2062
2063 return yyrc;
2064}
2065
2066inline HMETAFILE O32_CloseMetaFile(HDC a)
2067{
2068 HMETAFILE yyrc;
[223]2069 USHORT sel = RestoreOS2FS();
[43]2070
2071 yyrc = _O32_CloseMetaFile(a);
2072 SetFS(sel);
2073
2074 return yyrc;
2075}
2076
2077inline BOOL O32_CloseWindow(HWND a)
2078{
2079 BOOL yyrc;
[223]2080 USHORT sel = RestoreOS2FS();
[43]2081
2082 yyrc = _O32_CloseWindow(a);
2083 SetFS(sel);
2084
2085 return yyrc;
2086}
2087
2088inline int O32_CombineRgn(HRGN a, HRGN b, HRGN c, int d)
2089{
2090 int yyrc;
[223]2091 USHORT sel = RestoreOS2FS();
[43]2092
2093 yyrc = _O32_CombineRgn(a, b, c, d);
2094 SetFS(sel);
2095
2096 return yyrc;
2097}
2098
2099inline DWORD O32_CommDlgExtendedError()
2100{
2101 DWORD yyrc;
[223]2102 USHORT sel = RestoreOS2FS();
[43]2103
2104 yyrc = _O32_CommDlgExtendedError();
2105 SetFS(sel);
2106
2107 return yyrc;
2108}
2109
2110inline LONG O32_CompareFileTime(FILETIME *a, FILETIME *b)
2111{
2112 LONG yyrc;
[223]2113 USHORT sel = RestoreOS2FS();
[43]2114
2115 yyrc = _O32_CompareFileTime(a, b);
2116 SetFS(sel);
2117
2118 return yyrc;
2119}
2120
2121inline HCURSOR O32_CopyCursor(HCURSOR a)
2122{
2123 HCURSOR yyrc;
[223]2124 USHORT sel = RestoreOS2FS();
[43]2125
2126 yyrc = _O32_CopyCursor(a);
2127 SetFS(sel);
2128
2129 return yyrc;
2130}
2131
2132inline HENHMETAFILE O32_CopyEnhMetaFile(HENHMETAFILE a, LPCSTR b)
2133{
2134 HENHMETAFILE yyrc;
[223]2135 USHORT sel = RestoreOS2FS();
[43]2136
2137 yyrc = _O32_CopyEnhMetaFile(a, b);
2138 SetFS(sel);
2139
2140 return yyrc;
2141}
2142
2143inline BOOL O32_CopyFile(LPCSTR a, LPCSTR b, BOOL c)
2144{
2145 BOOL yyrc;
[223]2146 USHORT sel = RestoreOS2FS();
[43]2147
2148 yyrc = _O32_CopyFile(a, b, c);
2149 SetFS(sel);
2150
2151 return yyrc;
2152}
2153
2154inline HICON O32_CopyIcon(HICON a)
2155{
2156 HICON yyrc;
[223]2157 USHORT sel = RestoreOS2FS();
[43]2158
2159 yyrc = _O32_CopyIcon(a);
2160 SetFS(sel);
2161
2162 return yyrc;
2163}
2164
2165inline HMETAFILE O32_CopyMetaFile(HMETAFILE a, LPCSTR b)
2166{
2167 HMETAFILE yyrc;
[223]2168 USHORT sel = RestoreOS2FS();
[43]2169
2170 yyrc = _O32_CopyMetaFile(a, b);
2171 SetFS(sel);
2172
2173 return yyrc;
2174}
2175
2176inline BOOL O32_CopyRect(PRECT a, CONST RECT *b)
2177{
2178 BOOL yyrc;
[223]2179 USHORT sel = RestoreOS2FS();
[43]2180
2181 yyrc = _O32_CopyRect(a, b);
2182 SetFS(sel);
2183
2184 return yyrc;
2185}
2186
2187inline int O32_CountClipboardFormats()
2188{
2189 int yyrc;
[223]2190 USHORT sel = RestoreOS2FS();
[43]2191
2192 yyrc = _O32_CountClipboardFormats();
2193 SetFS(sel);
2194
2195 return yyrc;
2196}
2197
2198inline HACCEL O32_CreateAcceleratorTable(LPACCEL a, int b)
2199{
2200 HACCEL yyrc;
[223]2201 USHORT sel = RestoreOS2FS();
[43]2202
2203 yyrc = _O32_CreateAcceleratorTable(a, b);
2204 SetFS(sel);
2205
2206 return yyrc;
2207}
2208
2209inline HBITMAP O32_CreateBitmap(int a, int b, UINT c, UINT d, CONST void *e)
2210{
2211 HBITMAP yyrc;
[223]2212 USHORT sel = RestoreOS2FS();
[43]2213
2214 yyrc = _O32_CreateBitmap(a, b, c, d, e);
2215 SetFS(sel);
2216
2217 return yyrc;
2218}
2219
2220inline HBITMAP O32_CreateBitmapIndirect(CONST BITMAP *a)
2221{
2222 HBITMAP yyrc;
[223]2223 USHORT sel = RestoreOS2FS();
[43]2224
2225 yyrc = _O32_CreateBitmapIndirect(a);
2226 SetFS(sel);
2227
2228 return yyrc;
2229}
2230
2231inline HBRUSH O32_CreateBrushIndirect(LPLOGBRUSH a)
2232{
2233 HBRUSH yyrc;
[223]2234 USHORT sel = RestoreOS2FS();
[43]2235
2236 yyrc = _O32_CreateBrushIndirect(a);
2237 SetFS(sel);
2238
2239 return yyrc;
2240}
2241
2242inline BOOL O32_CreateCaret(HWND a, HBITMAP b, int c, int d)
2243{
2244 BOOL yyrc;
[223]2245 USHORT sel = RestoreOS2FS();
[43]2246
2247 yyrc = _O32_CreateCaret(a, b, c, d);
2248 SetFS(sel);
2249
2250 return yyrc;
2251}
2252
2253inline HBITMAP O32_CreateCompatibleBitmap(HDC a, int b, int c)
2254{
2255 HBITMAP yyrc;
[223]2256 USHORT sel = RestoreOS2FS();
[43]2257
2258 yyrc = _O32_CreateCompatibleBitmap(a, b, c);
2259 SetFS(sel);
2260
2261 return yyrc;
2262}
2263
2264inline HDC O32_CreateCompatibleDC(HDC a)
2265{
2266 HDC yyrc;
[223]2267 USHORT sel = RestoreOS2FS();
[43]2268
2269 yyrc = _O32_CreateCompatibleDC(a);
2270 SetFS(sel);
2271
2272 return yyrc;
2273}
2274
2275inline HCURSOR O32_CreateCursor(HINSTANCE a, int b, int c, int d, int e, CONST VOID *f, CONST VOID *g)
2276{
2277 HCURSOR yyrc;
[223]2278 USHORT sel = RestoreOS2FS();
[43]2279
2280 yyrc = _O32_CreateCursor(a, b, c, d, e, f, g);
2281 SetFS(sel);
2282
2283 return yyrc;
2284}
2285
2286inline HDC O32_CreateDC(LPCSTR a, LPCSTR b, LPCSTR c, CONST DEVMODEA *d)
2287{
2288 HDC yyrc;
[223]2289 USHORT sel = RestoreOS2FS();
[43]2290
2291 yyrc = _O32_CreateDC(a, b, c, d);
2292 SetFS(sel);
2293
2294 return yyrc;
2295}
2296
2297inline HBRUSH O32_CreateDIBPatternBrushPt(CONST VOID *a, UINT b)
2298{
2299 HBRUSH yyrc;
[223]2300 USHORT sel = RestoreOS2FS();
[43]2301
2302 yyrc = _O32_CreateDIBPatternBrushPt(a, b);
2303 SetFS(sel);
2304
2305 return yyrc;
2306}
2307
2308inline HBITMAP O32_CreateDIBitmap(HDC a, CONST BITMAPINFOHEADER *b, DWORD c, CONST void *d, CONST BITMAPINFO *e, UINT f)
2309{
2310 HBITMAP yyrc;
[223]2311 USHORT sel = RestoreOS2FS();
[43]2312
2313 yyrc = _O32_CreateDIBitmap(a, b, c, d, e, f);
2314 SetFS(sel);
2315
2316 return yyrc;
2317}
2318
2319inline HWND O32_CreateDialog(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d)
2320{
2321 HWND yyrc;
[223]2322 USHORT sel = RestoreOS2FS();
[43]2323
2324 yyrc = _O32_CreateDialog(a, b, c, d);
2325 SetFS(sel);
2326
2327 return yyrc;
2328}
2329
2330inline HWND O32_CreateDialogParam(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d, LPARAM e)
2331{
2332 HWND yyrc;
[223]2333 USHORT sel = RestoreOS2FS();
[43]2334
2335 yyrc = _O32_CreateDialogParam(a, b, c, d, e);
2336 SetFS(sel);
2337
2338 return yyrc;
2339}
2340
2341inline HWND O32_CreateDialogIndirect(HINSTANCE a, CONST DLGTEMPLATE *b, HWND c, DLGPROC_O32 d)
2342{
2343 HWND yyrc;
[223]2344 USHORT sel = RestoreOS2FS();
[43]2345
2346 yyrc = _O32_CreateDialogIndirect(a, b, c, d);
2347 SetFS(sel);
2348
2349 return yyrc;
2350}
2351
2352inline HWND O32_CreateDialogIndirectParam(HINSTANCE a, CONST DLGTEMPLATE *b, HWND c, DLGPROC_O32 d, LPARAM e)
2353{
2354 HWND yyrc;
[223]2355 USHORT sel = RestoreOS2FS();
[43]2356
2357 yyrc = _O32_CreateDialogIndirectParam(a, b, c, d, e);
2358 SetFS(sel);
2359
2360 return yyrc;
2361}
2362
2363inline BOOL O32_CreateDirectory(LPCSTR a, PSECURITY_ATTRIBUTES b)
2364{
2365 BOOL yyrc;
[223]2366 USHORT sel = RestoreOS2FS();
[43]2367
2368 yyrc = _O32_CreateDirectory(a, b);
2369 SetFS(sel);
2370
2371 return yyrc;
2372}
2373
2374inline HRGN O32_CreateEllipticRgn(int a, int b, int c, int d)
2375{
2376 HRGN yyrc;
[223]2377 USHORT sel = RestoreOS2FS();
[43]2378
2379 yyrc = _O32_CreateEllipticRgn(a, b, c, d);
2380 SetFS(sel);
2381
2382 return yyrc;
2383}
2384
2385inline HRGN O32_CreateEllipticRgnIndirect(CONST RECT *a)
2386{
2387 HRGN yyrc;
[223]2388 USHORT sel = RestoreOS2FS();
[43]2389
2390 yyrc = _O32_CreateEllipticRgnIndirect(a);
2391 SetFS(sel);
2392
2393 return yyrc;
2394}
2395
2396inline HENHMETAFILE O32_CreateEnhMetaFile(HDC a, LPCSTR b, CONST RECT *c, LPCSTR d)
2397{
2398 HENHMETAFILE yyrc;
[223]2399 USHORT sel = RestoreOS2FS();
[43]2400
2401 yyrc = _O32_CreateEnhMetaFile(a, b, c, d);
2402 SetFS(sel);
2403
2404 return yyrc;
2405}
2406
2407inline HANDLE O32_CreateEvent(PSECURITY_ATTRIBUTES a, BOOL b, BOOL c, LPCSTR d)
2408{
2409 HANDLE yyrc;
[223]2410 USHORT sel = RestoreOS2FS();
[43]2411
2412 yyrc = _O32_CreateEvent(a, b, c, d);
2413 SetFS(sel);
2414
2415 return yyrc;
2416}
2417
2418inline HANDLE O32_CreateFile(LPCSTR a, DWORD b, DWORD c, PSECURITY_ATTRIBUTES d, DWORD e, DWORD f, HANDLE g)
2419{
2420 HANDLE yyrc;
[223]2421 USHORT sel = RestoreOS2FS();
[43]2422
2423 yyrc = _O32_CreateFile(a, b, c, d, e, f, g);
2424 SetFS(sel);
2425
2426 return yyrc;
2427}
2428
2429inline HFONT O32_CreateFont(int a, int b, int c, int d, int e, DWORD f, DWORD g, DWORD h, DWORD i, DWORD j, DWORD k, DWORD l, DWORD m, LPCSTR n)
2430{
2431 HFONT yyrc;
[223]2432 USHORT sel = RestoreOS2FS();
[43]2433
2434 yyrc = _O32_CreateFont(a, b, c, d, e, f, g, h, i, j, k, l, m, n);
2435 SetFS(sel);
2436
2437 return yyrc;
2438}
2439
2440inline HFONT O32_CreateFontIndirect(CONST LOGFONTA *a)
2441{
2442 HFONT yyrc;
[223]2443 USHORT sel = RestoreOS2FS();
[43]2444
2445 yyrc = _O32_CreateFontIndirect(a);
2446 SetFS(sel);
2447
2448 return yyrc;
2449}
2450
2451inline HBRUSH O32_CreateHatchBrush(int a, COLORREF b)
2452{
2453 HBRUSH yyrc;
[223]2454 USHORT sel = RestoreOS2FS();
[43]2455
2456 yyrc = _O32_CreateHatchBrush(a, b);
2457 SetFS(sel);
2458
2459 return yyrc;
2460}
2461
2462inline HDC O32_CreateIC(LPCSTR a, LPCSTR b, LPCSTR c, CONST DEVMODEA *d)
2463{
2464 HDC yyrc;
[223]2465 USHORT sel = RestoreOS2FS();
[43]2466
2467 yyrc = _O32_CreateIC(a, b, c, d);
2468 SetFS(sel);
2469
2470 return yyrc;
2471}
2472
2473inline HICON O32_CreateIcon(HINSTANCE a, int b, int c, BYTE d, BYTE e, CONST BYTE *f, CONST BYTE *g)
2474{
2475 HICON yyrc;
[223]2476 USHORT sel = RestoreOS2FS();
[43]2477
2478 yyrc = _O32_CreateIcon(a, b, c, d, e, f, g);
2479 SetFS(sel);
2480
2481 return yyrc;
2482}
2483
2484inline HICON O32_CreateIconFromResource(PBYTE a, DWORD b, BOOL c, DWORD d)
2485{
2486 HICON yyrc;
[223]2487 USHORT sel = RestoreOS2FS();
[43]2488
2489 yyrc = _O32_CreateIconFromResource(a, b, c, d);
2490 SetFS(sel);
2491
2492 return yyrc;
2493}
2494
2495inline HICON O32_CreateIconIndirect(LPICONINFO a)
2496{
2497 HICON yyrc;
[223]2498 USHORT sel = RestoreOS2FS();
[43]2499
2500 yyrc = _O32_CreateIconIndirect(a);
2501 SetFS(sel);
2502
2503 return yyrc;
2504}
2505
2506inline HMENU O32_CreateMenu()
2507{
2508 HMENU yyrc;
[223]2509 USHORT sel = RestoreOS2FS();
[43]2510
2511 yyrc = _O32_CreateMenu();
2512 SetFS(sel);
2513
2514 return yyrc;
2515}
2516
2517inline HDC O32_CreateMetaFile(LPCSTR a)
2518{
2519 HDC yyrc;
[223]2520 USHORT sel = RestoreOS2FS();
[43]2521
2522 yyrc = _O32_CreateMetaFile(a);
2523 SetFS(sel);
2524
2525 return yyrc;
2526}
2527
2528inline HWND O32_CreateMDIWindow(LPSTR a, LPSTR b, DWORD c, int d, int e, int f, int g, HWND h, HINSTANCE i, LPARAM j)
2529{
2530 HWND yyrc;
[223]2531 USHORT sel = RestoreOS2FS();
[43]2532
2533 yyrc = _O32_CreateMDIWindow(a, b, c, d, e, f, g, h, i, j);
2534 SetFS(sel);
2535
2536 return yyrc;
2537}
2538
2539inline HANDLE O32_CreateMutex(PSECURITY_ATTRIBUTES a, BOOL b, LPCSTR c)
2540{
2541 HANDLE yyrc;
[223]2542 USHORT sel = RestoreOS2FS();
[43]2543
2544 yyrc = _O32_CreateMutex(a, b, c);
2545 SetFS(sel);
2546
2547 return yyrc;
2548}
2549
2550inline HPALETTE O32_CreatePalette(CONST LOGPALETTE *a)
2551{
2552 HPALETTE yyrc;
[223]2553 USHORT sel = RestoreOS2FS();
[43]2554
2555 yyrc = _O32_CreatePalette(a);
2556 SetFS(sel);
2557
2558 return yyrc;
2559}
2560
2561inline HBRUSH O32_CreatePatternBrush(HBITMAP a)
2562{
2563 HBRUSH yyrc;
[223]2564 USHORT sel = RestoreOS2FS();
[43]2565
2566 yyrc = _O32_CreatePatternBrush(a);
2567 SetFS(sel);
2568
2569 return yyrc;
2570}
2571
2572inline HPEN O32_CreatePen(int a, int b, COLORREF c)
2573{
2574 HPEN yyrc;
[223]2575 USHORT sel = RestoreOS2FS();
[43]2576
2577 yyrc = _O32_CreatePen(a, b, c);
2578 SetFS(sel);
2579
2580 return yyrc;
2581}
2582
2583inline HPEN O32_CreatePenIndirect(CONST LOGPEN *a)
2584{
2585 HPEN yyrc;
[223]2586 USHORT sel = RestoreOS2FS();
[43]2587
2588 yyrc = _O32_CreatePenIndirect(a);
2589 SetFS(sel);
2590
2591 return yyrc;
2592}
2593
2594inline HRGN O32_CreatePolyPolygonRgn(CONST POINT *a, CONST INT *b, int c, int d)
2595{
2596 HRGN yyrc;
[223]2597 USHORT sel = RestoreOS2FS();
[43]2598
2599 yyrc = _O32_CreatePolyPolygonRgn(a, b, c, d);
2600 SetFS(sel);
2601
2602 return yyrc;
2603}
2604
2605inline HRGN O32_CreatePolygonRgn(CONST POINT *a, int b, int c)
2606{
2607 HRGN yyrc;
[223]2608 USHORT sel = RestoreOS2FS();
[43]2609
2610 yyrc = _O32_CreatePolygonRgn(a, b, c);
2611 SetFS(sel);
2612
2613 return yyrc;
2614}
2615
2616inline HMENU O32_CreatePopupMenu()
2617{
2618 HMENU yyrc;
[223]2619 USHORT sel = RestoreOS2FS();
[43]2620
2621 yyrc = _O32_CreatePopupMenu();
2622 SetFS(sel);
2623
2624 return yyrc;
2625}
2626
2627inline BOOL O32_CreateProcess(LPCSTR a, LPCSTR b, PSECURITY_ATTRIBUTES c, PSECURITY_ATTRIBUTES d, BOOL e, DWORD f, PVOID g, LPCSTR h, LPSTARTUPINFOA i, LPPROCESS_INFORMATION j)
2628{
2629 BOOL yyrc;
[223]2630 USHORT sel = RestoreOS2FS();
[43]2631
2632 yyrc = _O32_CreateProcess(a, b, c, d, e, f, g, h, i, j);
2633 SetFS(sel);
2634
2635 return yyrc;
2636}
2637
2638inline HRGN O32_CreateRectRgn(int a, int b, int c, int d)
2639{
2640 HRGN yyrc;
[223]2641 USHORT sel = RestoreOS2FS();
[43]2642
2643 yyrc = _O32_CreateRectRgn(a, b, c, d);
2644 SetFS(sel);
2645
2646 return yyrc;
2647}
2648
2649inline HRGN O32_CreateRectRgnIndirect(CONST RECT *a)
2650{
2651 HRGN yyrc;
[223]2652 USHORT sel = RestoreOS2FS();
[43]2653
2654 yyrc = _O32_CreateRectRgnIndirect(a);
2655 SetFS(sel);
2656
2657 return yyrc;
2658}
2659
2660inline HRGN O32_CreateRoundRectRgn(int a, int b, int c, int d, int e, int f)
2661{
2662 HRGN yyrc;
[223]2663 USHORT sel = RestoreOS2FS();
[43]2664
2665 yyrc = _O32_CreateRoundRectRgn(a, b, c, d, e, f);
2666 SetFS(sel);
2667
2668 return yyrc;
2669}
2670
2671inline HANDLE O32_CreateSemaphore(PSECURITY_ATTRIBUTES a, LONG b, LONG c, LPSTR d)
2672{
2673 HANDLE yyrc;
[223]2674 USHORT sel = RestoreOS2FS();
[43]2675
2676 yyrc = _O32_CreateSemaphore(a, b, c, d);
2677 SetFS(sel);
2678
2679 return yyrc;
2680}
2681
2682inline HBRUSH O32_CreateSolidBrush(COLORREF a)
2683{
2684 HBRUSH yyrc;
[223]2685 USHORT sel = RestoreOS2FS();
[43]2686
2687 yyrc = _O32_CreateSolidBrush(a);
2688 SetFS(sel);
2689
2690 return yyrc;
2691}
2692
2693inline HANDLE O32_CreateThread(PSECURITY_ATTRIBUTES a, DWORD b, PTHREAD_START_ROUTINE_O32 c, PVOID d, DWORD e, PDWORD f)
2694{
2695 HANDLE yyrc;
[223]2696 USHORT sel = RestoreOS2FS();
[43]2697
2698 yyrc = _O32_CreateThread(a, b, c, d, e, f);
2699 SetFS(sel);
2700
2701 return yyrc;
2702}
2703
2704inline HWND O32_CreateWindowEx(DWORD a, LPCSTR b, LPCSTR c, DWORD d, int e, int f, int g, int h, HWND i, HMENU j, HINSTANCE k, PVOID l)
2705{
2706 HWND yyrc;
[223]2707 USHORT sel = RestoreOS2FS();
[43]2708
2709 yyrc = _O32_CreateWindowEx(a, b, c, d, e, f, g, h, i, j, k, l);
2710 SetFS(sel);
2711
2712 return yyrc;
2713}
2714
2715inline BOOL O32_DPtoLP(HDC a, PPOINT b, int c)
2716{
2717 BOOL yyrc;
[223]2718 USHORT sel = RestoreOS2FS();
[43]2719
2720 yyrc = _O32_DPtoLP(a, b, c);
2721 SetFS(sel);
2722
2723 return yyrc;
2724}
2725
2726inline BOOL O32_DdeAbandonTransaction(DWORD a, HCONV b, DWORD c)
2727{
2728 BOOL yyrc;
[223]2729 USHORT sel = RestoreOS2FS();
[43]2730
2731 yyrc = _O32_DdeAbandonTransaction(a, b, c);
2732 SetFS(sel);
2733
2734 return yyrc;
2735}
2736
2737inline PBYTE O32_DdeAccessData(HDDEDATA a, PDWORD b)
2738{
2739 PBYTE yyrc;
[223]2740 USHORT sel = RestoreOS2FS();
[43]2741
2742 yyrc = _O32_DdeAccessData(a, b);
2743 SetFS(sel);
2744
2745 return yyrc;
2746}
2747
2748inline HDDEDATA O32_DdeAddData(HDDEDATA a, PVOID b, DWORD c, DWORD d)
2749{
2750 HDDEDATA yyrc;
[223]2751 USHORT sel = RestoreOS2FS();
[43]2752
2753 yyrc = _O32_DdeAddData(a, b, c, d);
2754 SetFS(sel);
2755
2756 return yyrc;
2757}
2758
2759inline HDDEDATA O32_DdeClientTransaction(PVOID a, DWORD b, HCONV c, HSZ d, UINT e, UINT f, DWORD g, PDWORD h)
2760{
2761 HDDEDATA yyrc;
[223]2762 USHORT sel = RestoreOS2FS();
[43]2763
2764 yyrc = _O32_DdeClientTransaction(a, b, c, d, e, f, g, h);
2765 SetFS(sel);
2766
2767 return yyrc;
2768}
2769
2770inline int O32_DdeCmpStringHandles(HSZ a, HSZ b)
2771{
2772 int yyrc;
[223]2773 USHORT sel = RestoreOS2FS();
[43]2774
2775 yyrc = _O32_DdeCmpStringHandles(a, b);
2776 SetFS(sel);
2777
2778 return yyrc;
2779}
2780
2781inline HCONV O32_DdeConnect(DWORD a, HSZ b, HSZ c, LPCONVCONTEXT d)
2782{
2783 HCONV yyrc;
[223]2784 USHORT sel = RestoreOS2FS();
[43]2785
2786 yyrc = _O32_DdeConnect(a, b, c, d);
2787 SetFS(sel);
2788
2789 return yyrc;
2790}
2791
2792inline HCONVLIST O32_DdeConnectList(DWORD a, HSZ b, HSZ c, HCONVLIST d, LPCONVCONTEXT e)
2793{
2794 HCONVLIST yyrc;
[223]2795 USHORT sel = RestoreOS2FS();
[43]2796
2797 yyrc = _O32_DdeConnectList(a, b, c, d, e);
2798 SetFS(sel);
2799
2800 return yyrc;
2801}
2802
2803inline HDDEDATA O32_DdeCreateDataHandle(DWORD a, PVOID b, DWORD c, DWORD d, HSZ e, UINT f, UINT g)
2804{
2805 HDDEDATA yyrc;
[223]2806 USHORT sel = RestoreOS2FS();
[43]2807
2808 yyrc = _O32_DdeCreateDataHandle(a, b, c, d, e, f, g);
2809 SetFS(sel);
2810
2811 return yyrc;
2812}
2813
2814inline HSZ O32_DdeCreateStringHandle(DWORD a, LPCSTR b, int c)
2815{
2816 HSZ yyrc;
[223]2817 USHORT sel = RestoreOS2FS();
[43]2818
2819 yyrc = _O32_DdeCreateStringHandle(a, b, c);
2820 SetFS(sel);
2821
2822 return yyrc;
2823}
2824
2825inline BOOL O32_DdeDisconnect(HCONV a)
2826{
2827 BOOL yyrc;
[223]2828 USHORT sel = RestoreOS2FS();
[43]2829
2830 yyrc = _O32_DdeDisconnect(a);
2831 SetFS(sel);
2832
2833 return yyrc;
2834}
2835
2836inline BOOL O32_DdeDisconnectList(HCONVLIST a)
2837{
2838 BOOL yyrc;
[223]2839 USHORT sel = RestoreOS2FS();
[43]2840
2841 yyrc = _O32_DdeDisconnectList(a);
2842 SetFS(sel);
2843
2844 return yyrc;
2845}
2846
2847inline BOOL O32_DdeEnableCallback(DWORD a, HCONV b, UINT c)
2848{
2849 BOOL yyrc;
[223]2850 USHORT sel = RestoreOS2FS();
[43]2851
2852 yyrc = _O32_DdeEnableCallback(a, b, c);
2853 SetFS(sel);
2854
2855 return yyrc;
2856}
2857
2858inline BOOL O32_DdeFreeDataHandle(HDDEDATA a)
2859{
2860 BOOL yyrc;
[223]2861 USHORT sel = RestoreOS2FS();
[43]2862
2863 yyrc = _O32_DdeFreeDataHandle(a);
2864 SetFS(sel);
2865
2866 return yyrc;
2867}
2868
2869inline BOOL O32_DdeFreeStringHandle(DWORD a, HSZ b)
2870{
2871 BOOL yyrc;
[223]2872 USHORT sel = RestoreOS2FS();
[43]2873
2874 yyrc = _O32_DdeFreeStringHandle(a, b);
2875 SetFS(sel);
2876
2877 return yyrc;
2878}
2879
2880inline DWORD O32_DdeGetData(HDDEDATA a, PVOID b, DWORD c, DWORD d)
2881{
2882 DWORD yyrc;
[223]2883 USHORT sel = RestoreOS2FS();
[43]2884
2885 yyrc = _O32_DdeGetData(a, b, c, d);
2886 SetFS(sel);
2887
2888 return yyrc;
2889}
2890
2891inline UINT O32_DdeGetLastError(DWORD a)
2892{
2893 UINT yyrc;
[223]2894 USHORT sel = RestoreOS2FS();
[43]2895
2896 yyrc = _O32_DdeGetLastError(a);
2897 SetFS(sel);
2898
2899 return yyrc;
2900}
2901
[5369]2902inline UINT O32_DdeInitialize(PDWORD a, PFNCALLBACK_O32 b, DWORD c, DWORD d)
[43]2903{
2904 UINT yyrc;
[223]2905 USHORT sel = RestoreOS2FS();
[43]2906
2907 yyrc = _O32_DdeInitialize(a, b, c, d);
2908 SetFS(sel);
2909
2910 return yyrc;
2911}
2912
2913inline BOOL O32_DdeKeepStringHandle(DWORD a, HSZ b)
2914{
2915 BOOL yyrc;
[223]2916 USHORT sel = RestoreOS2FS();
[43]2917
2918 yyrc = _O32_DdeKeepStringHandle(a, b);
2919 SetFS(sel);
2920
2921 return yyrc;
2922}
2923
2924inline HDDEDATA O32_DdeNameService(DWORD a, HSZ b, HSZ c, UINT d)
2925{
2926 HDDEDATA yyrc;
[223]2927 USHORT sel = RestoreOS2FS();
[43]2928
2929 yyrc = _O32_DdeNameService(a, b, c, d);
2930 SetFS(sel);
2931
2932 return yyrc;
2933}
2934
2935inline BOOL O32_DdePostAdvise(DWORD a, HSZ b, HSZ c)
2936{
2937 BOOL yyrc;
[223]2938 USHORT sel = RestoreOS2FS();
[43]2939
2940 yyrc = _O32_DdePostAdvise(a, b, c);
2941 SetFS(sel);
2942
2943 return yyrc;
2944}
2945
2946inline UINT O32_DdeQueryConvInfo(HCONV a, DWORD b, LPCONVINFO c)
2947{
2948 UINT yyrc;
[223]2949 USHORT sel = RestoreOS2FS();
[43]2950
2951 yyrc = _O32_DdeQueryConvInfo(a, b, c);
2952 SetFS(sel);
2953
2954 return yyrc;
2955}
2956
2957inline HCONV O32_DdeQueryNextServer(HCONVLIST a, HCONV b)
2958{
2959 HCONV yyrc;
[223]2960 USHORT sel = RestoreOS2FS();
[43]2961
2962 yyrc = _O32_DdeQueryNextServer(a, b);
2963 SetFS(sel);
2964
2965 return yyrc;
2966}
2967
2968inline DWORD O32_DdeQueryString(DWORD a, HSZ b, LPSTR c, DWORD d, int e)
2969{
2970 DWORD yyrc;
[223]2971 USHORT sel = RestoreOS2FS();
[43]2972
2973 yyrc = _O32_DdeQueryString(a, b, c, d, e);
2974 SetFS(sel);
2975
2976 return yyrc;
2977}
2978
2979inline HCONV O32_DdeReconnect(HCONV a)
2980{
2981 HCONV yyrc;
[223]2982 USHORT sel = RestoreOS2FS();
[43]2983
2984 yyrc = _O32_DdeReconnect(a);
2985 SetFS(sel);
2986
2987 return yyrc;
2988}
2989
2990inline BOOL O32_DdeSetUserHandle(HCONV a, DWORD b, DWORD c)
2991{
2992 BOOL yyrc;
[223]2993 USHORT sel = RestoreOS2FS();
[43]2994
2995 yyrc = _O32_DdeSetUserHandle(a, b, c);
2996 SetFS(sel);
2997
2998 return yyrc;
2999}
3000
3001inline BOOL O32_DdeUnaccessData(HDDEDATA a)
3002{
3003 BOOL yyrc;
[223]3004 USHORT sel = RestoreOS2FS();
[43]3005
3006 yyrc = _O32_DdeUnaccessData(a);
3007 SetFS(sel);
3008
3009 return yyrc;
3010}
3011
3012inline BOOL O32_DdeUninitialize(DWORD a)
3013{
3014 BOOL yyrc;
[223]3015 USHORT sel = RestoreOS2FS();
[43]3016
3017 yyrc = _O32_DdeUninitialize(a);
3018 SetFS(sel);
3019
3020 return yyrc;
3021}
3022
3023inline LRESULT O32_DefDlgProc(HWND a, UINT b, WPARAM c, LPARAM d)
3024{
3025 LRESULT yyrc;
[223]3026 USHORT sel = RestoreOS2FS();
[43]3027
3028 yyrc = _O32_DefDlgProc(a, b, c, d);
3029 SetFS(sel);
3030
3031 return yyrc;
3032}
3033
3034inline HDWP O32_DeferWindowPos(HDWP a, HWND b, HWND c, int d, int e, int f, int g, UINT h)
3035{
3036 HDWP yyrc;
[223]3037 USHORT sel = RestoreOS2FS();
[43]3038
3039 yyrc = _O32_DeferWindowPos(a, b, c, d, e, f, g, h);
3040 SetFS(sel);
3041
3042 return yyrc;
3043}
3044
3045inline LRESULT O32_DefFrameProc(HWND a, HWND b, UINT c, WPARAM d, LPARAM e)
3046{
3047 LRESULT yyrc;
[223]3048 USHORT sel = RestoreOS2FS();
[43]3049
3050 yyrc = _O32_DefFrameProc(a, b, c, d, e);
3051 SetFS(sel);
3052
3053 return yyrc;
3054}
3055
3056inline LRESULT O32_DefMDIChildProc(HWND a, UINT b, WPARAM c, LPARAM d)
3057{
3058 LRESULT yyrc;
[223]3059 USHORT sel = RestoreOS2FS();
[43]3060
3061 yyrc = _O32_DefMDIChildProc(a, b, c, d);
3062 SetFS(sel);
3063
3064 return yyrc;
3065}
3066
3067inline LRESULT O32_DefWindowProc(HWND a, UINT b, WPARAM c, LPARAM d)
3068{
3069 LRESULT yyrc;
[223]3070 USHORT sel = RestoreOS2FS();
[43]3071
3072 yyrc = _O32_DefWindowProc(a, b, c, d);
3073 SetFS(sel);
3074
3075 return yyrc;
3076}
3077
3078inline ATOM O32_DeleteAtom(ATOM a)
3079{
3080 ATOM yyrc;
[223]3081 USHORT sel = RestoreOS2FS();
[43]3082
3083 yyrc = _O32_DeleteAtom(a);
3084 SetFS(sel);
3085
3086 return yyrc;
3087}
3088
3089inline VOID O32_DeleteCriticalSection(CRITICAL_SECTION *a)
3090{
[223]3091 USHORT sel = RestoreOS2FS();
[43]3092
3093 _O32_DeleteCriticalSection(a);
3094 SetFS(sel);
3095}
3096
3097inline BOOL O32_DeleteDC(HDC a)
3098{
3099 BOOL yyrc;
[223]3100 USHORT sel = RestoreOS2FS();
[43]3101
3102 yyrc = _O32_DeleteDC(a);
3103 SetFS(sel);
3104
3105 return yyrc;
3106}
3107
3108inline BOOL O32_DeleteEnhMetaFile(HENHMETAFILE a)
3109{
3110 BOOL yyrc;
[223]3111 USHORT sel = RestoreOS2FS();
[43]3112
3113 yyrc = _O32_DeleteEnhMetaFile(a);
3114 SetFS(sel);
3115
3116 return yyrc;
3117}
3118
3119inline BOOL O32_DeleteFile(LPCSTR a)
3120{
3121 BOOL yyrc;
[223]3122 USHORT sel = RestoreOS2FS();
[43]3123
3124 yyrc = _O32_DeleteFile(a);
3125 SetFS(sel);
3126
3127 return yyrc;
3128}
3129
3130inline BOOL O32_DeleteMenu(HMENU a, UINT b, UINT c)
3131{
3132 BOOL yyrc;
[223]3133 USHORT sel = RestoreOS2FS();
[43]3134
3135 yyrc = _O32_DeleteMenu(a, b, c);
3136 SetFS(sel);
3137
3138 return yyrc;
3139}
3140
3141inline BOOL O32_DeleteMetaFile(HMETAFILE a)
3142{
3143 BOOL yyrc;
[223]3144 USHORT sel = RestoreOS2FS();
[43]3145
3146 yyrc = _O32_DeleteMetaFile(a);
3147 SetFS(sel);
3148
3149 return yyrc;
3150}
3151
3152inline BOOL O32_DeleteObject(HANDLE a)
3153{
3154 BOOL yyrc;
[223]3155 USHORT sel = RestoreOS2FS();
[43]3156
3157 yyrc = _O32_DeleteObject(a);
3158 SetFS(sel);
3159
3160 return yyrc;
3161}
3162
3163inline BOOL O32_DestroyAcceleratorTable(HACCEL a)
3164{
3165 BOOL yyrc;
[223]3166 USHORT sel = RestoreOS2FS();
[43]3167
3168 yyrc = _O32_DestroyAcceleratorTable(a);
3169 SetFS(sel);
3170
3171 return yyrc;
3172}
3173
3174inline BOOL O32_DestroyCaret()
3175{
3176 BOOL yyrc;
[223]3177 USHORT sel = RestoreOS2FS();
[43]3178
3179 yyrc = _O32_DestroyCaret();
3180 SetFS(sel);
3181
3182 return yyrc;
3183}
3184
3185inline BOOL O32_DestroyCursor(HCURSOR a)
3186{
3187 BOOL yyrc;
[223]3188 USHORT sel = RestoreOS2FS();
[43]3189
3190 yyrc = _O32_DestroyCursor(a);
3191 SetFS(sel);
3192
3193 return yyrc;
3194}
3195
3196inline BOOL O32_DestroyIcon(HICON a)
3197{
3198 BOOL yyrc;
[223]3199 USHORT sel = RestoreOS2FS();
[43]3200
3201 yyrc = _O32_DestroyIcon(a);
3202 SetFS(sel);
3203
3204 return yyrc;
3205}
3206
3207inline BOOL O32_DestroyMenu(HMENU a)
3208{
3209 BOOL yyrc;
[223]3210 USHORT sel = RestoreOS2FS();
[43]3211
3212 yyrc = _O32_DestroyMenu(a);
3213 SetFS(sel);
3214
3215 return yyrc;
3216}
3217
3218inline BOOL O32_DestroyWindow(HWND a)
3219{
3220 BOOL yyrc;
[223]3221 USHORT sel = RestoreOS2FS();
[43]3222
3223 yyrc = _O32_DestroyWindow(a);
3224 SetFS(sel);
3225
3226 return yyrc;
3227}
3228
3229inline DWORD O32_DeviceCapabilities(LPCSTR a, LPCSTR b, WORD c, LPTSTR d, CONST DEVMODEA *e)
3230{
3231 DWORD yyrc;
[223]3232 USHORT sel = RestoreOS2FS();
[43]3233
3234 yyrc = _O32_DeviceCapabilities(a, b, c, d, e);
3235 SetFS(sel);
3236
3237 return yyrc;
3238}
3239
3240inline int O32_DialogBox(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d)
3241{
3242 int yyrc;
[223]3243 USHORT sel = RestoreOS2FS();
[43]3244
3245 yyrc = _O32_DialogBox(a, b, c, d);
3246 SetFS(sel);
3247
3248 return yyrc;
3249}
3250
3251inline int O32_DialogBoxParam(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d, LPARAM e)
3252{
3253 int yyrc;
[223]3254 USHORT sel = RestoreOS2FS();
[43]3255
3256 yyrc = _O32_DialogBoxParam(a, b, c, d, e);
3257 SetFS(sel);
3258
3259 return yyrc;
3260}
3261
3262inline BOOL O32_DialogBoxIndirect(HINSTANCE a, LPDLGTEMPLATEA b, HWND c, DLGPROC_O32 d)
3263{
3264 BOOL yyrc;
[223]3265 USHORT sel = RestoreOS2FS();
[43]3266
3267 yyrc = _O32_DialogBoxIndirect(a, b, c, d);
3268 SetFS(sel);
3269
3270 return yyrc;
3271}
3272
3273inline BOOL O32_DialogBoxIndirectParam(HINSTANCE a, LPDLGTEMPLATEA b, HWND c, DLGPROC_O32 d, LPARAM e)
3274{
3275 BOOL yyrc;
[223]3276 USHORT sel = RestoreOS2FS();
[43]3277
3278 yyrc = _O32_DialogBoxIndirectParam(a, b, c, d, e);
3279 SetFS(sel);
3280
3281 return yyrc;
3282}
3283
3284inline LONG O32_DispatchMessage(CONST MSG *a)
3285{
3286 LONG yyrc;
[223]3287 USHORT sel = RestoreOS2FS();
[43]3288
3289 yyrc = _O32_DispatchMessage(a);
3290 SetFS(sel);
3291
3292 return yyrc;
3293}
3294
3295inline int O32_DlgDirList(HWND a, LPSTR b, int c, int d, UINT e)
3296{
3297 int yyrc;
[223]3298 USHORT sel = RestoreOS2FS();
[43]3299
3300 yyrc = _O32_DlgDirList(a, b, c, d, e);
3301 SetFS(sel);
3302
3303 return yyrc;
3304}
3305
3306inline int O32_DlgDirListComboBox(HWND a, LPSTR b, int c, int d, UINT e)
3307{
3308 int yyrc;
[223]3309 USHORT sel = RestoreOS2FS();
[43]3310
3311 yyrc = _O32_DlgDirListComboBox(a, b, c, d, e);
3312 SetFS(sel);
3313
3314 return yyrc;
3315}
3316
3317inline BOOL O32_DlgDirSelectEx(HWND a, LPSTR b, int c, int d)
3318{
3319 BOOL yyrc;
[223]3320 USHORT sel = RestoreOS2FS();
[43]3321
3322 yyrc = _O32_DlgDirSelectEx(a, b, c, d);
3323 SetFS(sel);
3324
3325 return yyrc;
3326}
3327
3328inline BOOL O32_DlgDirSelectComboBoxEx(HWND a, LPSTR b, int c, int d)
3329{
3330 BOOL yyrc;
[223]3331 USHORT sel = RestoreOS2FS();
[43]3332
3333 yyrc = _O32_DlgDirSelectComboBoxEx(a, b, c, d);
3334 SetFS(sel);
3335
3336 return yyrc;
3337}
3338
3339inline BOOL O32_DllEntryPoint(HINSTANCE a, DWORD b, LPVOID c)
3340{
3341 BOOL yyrc;
[223]3342 USHORT sel = RestoreOS2FS();
[43]3343
3344 yyrc = _O32_DllEntryPoint(a, b, c);
3345 SetFS(sel);
3346
3347 return yyrc;
3348}
3349
3350inline BOOL O32_DosDateTimeToFileTime(WORD a, WORD b, LPFILETIME c)
3351{
3352 BOOL yyrc;
[223]3353 USHORT sel = RestoreOS2FS();
[43]3354
3355 yyrc = _O32_DosDateTimeToFileTime(a, b, c);
3356 SetFS(sel);
3357
3358 return yyrc;
3359}
3360
3361inline VOID O32_DragAcceptFiles(HWND a, BOOL b)
3362{
[223]3363 USHORT sel = RestoreOS2FS();
[43]3364
3365 _O32_DragAcceptFiles(a, b);
3366 SetFS(sel);
3367}
3368
3369inline VOID O32_DragFinish(HDROP a)
3370{
[223]3371 USHORT sel = RestoreOS2FS();
[43]3372
3373 _O32_DragFinish(a);
3374 SetFS(sel);
3375}
3376
3377inline UINT O32_DragQueryFile(HDROP a, int b, LPSTR c, int d)
3378{
3379 UINT yyrc;
[223]3380 USHORT sel = RestoreOS2FS();
[43]3381
3382 yyrc = _O32_DragQueryFile(a, b, c, d);
3383 SetFS(sel);
3384
3385 return yyrc;
3386}
3387
3388inline BOOL O32_DragQueryPoint(HDROP a, PPOINT b)
3389{
3390 BOOL yyrc;
[223]3391 USHORT sel = RestoreOS2FS();
[43]3392
3393 yyrc = _O32_DragQueryPoint(a, b);
3394 SetFS(sel);
3395
3396 return yyrc;
3397}
3398
3399inline BOOL O32_DrawFocusRect(HDC a, CONST RECT *b)
3400{
3401 BOOL yyrc;
[223]3402 USHORT sel = RestoreOS2FS();
[43]3403
3404 yyrc = _O32_DrawFocusRect(a, b);
3405 SetFS(sel);
3406
3407 return yyrc;
3408}
3409
3410inline BOOL O32_DrawIcon(HDC a, int b, int c, HICON d)
3411{
3412 BOOL yyrc;
[223]3413 USHORT sel = RestoreOS2FS();
[43]3414
3415 yyrc = _O32_DrawIcon(a, b, c, d);
3416 SetFS(sel);
3417
3418 return yyrc;
3419}
3420
3421inline BOOL O32_DrawMenuBar(HWND a)
3422{
3423 BOOL yyrc;
[223]3424 USHORT sel = RestoreOS2FS();
[43]3425
3426 yyrc = _O32_DrawMenuBar(a);
3427 SetFS(sel);
3428
3429 return yyrc;
3430}
3431
3432inline int O32_DrawText(HDC a, LPCSTR b, int c, PRECT d, UINT e)
3433{
3434 int yyrc;
[223]3435 USHORT sel = RestoreOS2FS();
[43]3436
3437 yyrc = _O32_DrawText(a, b, c, d, e);
3438 SetFS(sel);
3439
3440 return yyrc;
3441}
3442
3443inline BOOL O32_DuplicateHandle(HANDLE a, HANDLE b, HANDLE c, LPHANDLE d, DWORD e, BOOL f, DWORD g)
3444{
3445 BOOL yyrc;
[223]3446 USHORT sel = RestoreOS2FS();
[43]3447
3448 yyrc = _O32_DuplicateHandle(a, b, c, d, e, f, g);
3449 SetFS(sel);
3450
3451 return yyrc;
3452}
3453
3454inline BOOL O32_Ellipse(HDC a, int b, int c, int d, int e)
3455{
3456 BOOL yyrc;
[223]3457 USHORT sel = RestoreOS2FS();
[43]3458
3459 yyrc = _O32_Ellipse(a, b, c, d, e);
3460 SetFS(sel);
3461
3462 return yyrc;
3463}
3464
3465inline BOOL O32_EmptyClipboard()
3466{
3467 BOOL yyrc;
[223]3468 USHORT sel = RestoreOS2FS();
[43]3469
3470 yyrc = _O32_EmptyClipboard();
3471 SetFS(sel);
3472
3473 return yyrc;
3474}
3475
3476inline BOOL O32_EnableMenuItem(HMENU a, UINT b, UINT c)
3477{
3478 BOOL yyrc;
[223]3479 USHORT sel = RestoreOS2FS();
[43]3480
3481 yyrc = _O32_EnableMenuItem(a, b, c);
3482 SetFS(sel);
3483
3484 return yyrc;
3485}
3486
3487inline BOOL O32_EnableScrollBar(HWND a, UINT b, UINT c)
3488{
3489 BOOL yyrc;
[223]3490 USHORT sel = RestoreOS2FS();
[43]3491
3492 yyrc = _O32_EnableScrollBar(a, b, c);
3493 SetFS(sel);
3494
3495 return yyrc;
3496}
3497
3498inline BOOL O32_EnableWindow(HWND a, BOOL b)
3499{
3500 BOOL yyrc;
[223]3501 USHORT sel = RestoreOS2FS();
[43]3502
3503 yyrc = _O32_EnableWindow(a, b);
3504 SetFS(sel);
3505
3506 return yyrc;
3507}
3508
3509inline BOOL O32_EndDeferWindowPos(HDWP a)
3510{
3511 BOOL yyrc;
[223]3512 USHORT sel = RestoreOS2FS();
[43]3513
3514 yyrc = _O32_EndDeferWindowPos(a);
3515 SetFS(sel);
3516
3517 return yyrc;
3518}
3519
3520inline BOOL O32_EndDialog(HWND a, int b)
3521{
3522 BOOL yyrc;
[223]3523 USHORT sel = RestoreOS2FS();
[43]3524
3525 yyrc = _O32_EndDialog(a, b);
3526 SetFS(sel);
3527
3528 return yyrc;
3529}
3530
3531inline int O32_EndDoc(HDC a)
3532{
3533 int yyrc;
[223]3534 USHORT sel = RestoreOS2FS();
[43]3535
3536 yyrc = _O32_EndDoc(a);
3537 SetFS(sel);
3538
3539 return yyrc;
3540}
3541
3542inline int O32_EndPage(HDC a)
3543{
3544 int yyrc;
[223]3545 USHORT sel = RestoreOS2FS();
[43]3546
3547 yyrc = _O32_EndPage(a);
3548 SetFS(sel);
3549
3550 return yyrc;
3551}
3552
3553inline BOOL O32_EndPath(HDC a)
3554{
3555 BOOL yyrc;
[223]3556 USHORT sel = RestoreOS2FS();
[43]3557
3558 yyrc = _O32_EndPath(a);
3559 SetFS(sel);
3560
3561 return yyrc;
3562}
3563
3564inline BOOL O32_EndPaint(HWND a, CONST PAINTSTRUCT *b)
3565{
3566 BOOL yyrc;
[223]3567 USHORT sel = RestoreOS2FS();
[43]3568
3569 yyrc = _O32_EndPaint(a, b);
3570 SetFS(sel);
3571
3572 return yyrc;
3573}
3574
3575inline VOID O32_EnterCriticalSection(CRITICAL_SECTION *a)
3576{
[223]3577 USHORT sel = RestoreOS2FS();
[43]3578
3579 _O32_EnterCriticalSection(a);
3580 SetFS(sel);
3581}
3582
3583inline BOOL O32_EnumChildWindows(HWND a, WNDENUMPROC_O32 b, LPARAM c)
3584{
3585 BOOL yyrc;
[223]3586 USHORT sel = RestoreOS2FS();
[43]3587
3588 yyrc = _O32_EnumChildWindows(a, b, c);
3589 SetFS(sel);
3590
3591 return yyrc;
3592}
3593
3594inline UINT O32_EnumClipboardFormats(UINT a)
3595{
3596 UINT yyrc;
[223]3597 USHORT sel = RestoreOS2FS();
[43]3598
3599 yyrc = _O32_EnumClipboardFormats(a);
3600 SetFS(sel);
3601
3602 return yyrc;
3603}
3604
3605inline BOOL O32_EnumEnhMetaFile(HDC a, HENHMETAFILE b, ENHMFENUMPROC_O32 c, PVOID d, CONST RECT *e)
3606{
3607 BOOL yyrc;
[223]3608 USHORT sel = RestoreOS2FS();
[43]3609
3610 yyrc = _O32_EnumEnhMetaFile(a, b, c, d, e);
3611 SetFS(sel);
3612
3613 return yyrc;
3614}
3615
3616inline int O32_EnumFonts(HDC a, LPCSTR b, OLDFONTENUMPROC_O32 c, LPARAM d)
3617{
3618 int yyrc;
[223]3619 USHORT sel = RestoreOS2FS();
[43]3620
3621 yyrc = _O32_EnumFonts(a, b, c, d);
3622 SetFS(sel);
3623
3624 return yyrc;
3625}
3626
3627inline int O32_EnumFontFamilies(HDC a, LPCSTR b, FONTENUMPROC_O32 c, LPARAM d)
3628{
3629 int yyrc;
[223]3630 USHORT sel = RestoreOS2FS();
[43]3631
3632 yyrc = _O32_EnumFontFamilies(a, b, c, d);
3633 SetFS(sel);
3634
3635 return yyrc;
3636}
3637
3638inline BOOL O32_EnumMetaFile(HDC a, HMETAFILE b, MFENUMPROC_O32 c, LPARAM d)
3639{
3640 BOOL yyrc;
[223]3641 USHORT sel = RestoreOS2FS();
[43]3642
3643 yyrc = _O32_EnumMetaFile(a, b, c, d);
3644 SetFS(sel);
3645
3646 return yyrc;
3647}
3648
3649inline int O32_EnumObjects(HDC a, int b, GOBJENUMPROC_O32 c, LPARAM d)
3650{
3651 int yyrc;
[223]3652 USHORT sel = RestoreOS2FS();
[43]3653
3654 yyrc = _O32_EnumObjects(a, b, c, d);
3655 SetFS(sel);
3656
3657 return yyrc;
3658}
3659
3660inline BOOL O32_EnumPrinters(DWORD a, LPTSTR b, DWORD c, LPBYTE d, DWORD e, LPDWORD f, LPDWORD g)
3661{
3662 BOOL yyrc;
[223]3663 USHORT sel = RestoreOS2FS();
[43]3664
3665 yyrc = _O32_EnumPrinters(a, b, c, d, e, f, g);
3666 SetFS(sel);
3667
3668 return yyrc;
3669}
3670
3671inline int O32_EnumProps(HWND a, PROPENUMPROC_O32 b)
3672{
3673 int yyrc;
[223]3674 USHORT sel = RestoreOS2FS();
[43]3675
3676 yyrc = _O32_EnumProps(a, b);
3677 SetFS(sel);
3678
3679 return yyrc;
3680}
3681
3682inline int O32_EnumPropsEx(HWND a, PROPENUMPROCEX_O32 b, LPARAM c)
3683{
3684 int yyrc;
[223]3685 USHORT sel = RestoreOS2FS();
[43]3686
3687 yyrc = _O32_EnumPropsEx(a, b, c);
3688 SetFS(sel);
3689
3690 return yyrc;
3691}
3692
3693inline BOOL O32_EnumThreadWindows(DWORD a, WNDENUMPROC_O32 b, LPARAM c)
3694{
3695 BOOL yyrc;
[223]3696 USHORT sel = RestoreOS2FS();
[43]3697
3698 yyrc = _O32_EnumThreadWindows(a, b, c);
3699 SetFS(sel);
3700
3701 return yyrc;
3702}
3703
3704inline BOOL O32_EnumWindows(WNDENUMPROC_O32 a, LPARAM b)
3705{
3706 BOOL yyrc;
[223]3707 USHORT sel = RestoreOS2FS();
[43]3708
3709 yyrc = _O32_EnumWindows(a, b);
3710 SetFS(sel);
3711
3712 return yyrc;
3713}
3714
3715inline BOOL O32_EqualRect(CONST RECT *a, CONST RECT *b)
3716{
3717 BOOL yyrc;
[223]3718 USHORT sel = RestoreOS2FS();
[43]3719
3720 yyrc = _O32_EqualRect(a, b);
3721 SetFS(sel);
3722
3723 return yyrc;
3724}
3725
3726inline BOOL O32_EqualRgn(HRGN a, HRGN b)
3727{
3728 BOOL yyrc;
[223]3729 USHORT sel = RestoreOS2FS();
[43]3730
3731 yyrc = _O32_EqualRgn(a, b);
3732 SetFS(sel);
3733
3734 return yyrc;
3735}
3736
3737inline int O32_Escape(HDC a, int b, int c, LPCSTR d, PVOID e)
3738{
3739 int yyrc;
[223]3740 USHORT sel = RestoreOS2FS();
[43]3741
3742 yyrc = _O32_Escape(a, b, c, d, e);
3743 SetFS(sel);
3744
3745 return yyrc;
3746}
3747
3748inline int O32_ExcludeClipRect(HDC a, int b, int c, int d, int e)
3749{
3750 int yyrc;
[223]3751 USHORT sel = RestoreOS2FS();
[43]3752
3753 yyrc = _O32_ExcludeClipRect(a, b, c, d, e);
3754 SetFS(sel);
3755
3756 return yyrc;
3757}
3758
3759inline BOOL O32_ExcludeUpdateRgn(HDC a, HWND b)
3760{
3761 BOOL yyrc;
[223]3762 USHORT sel = RestoreOS2FS();
[43]3763
3764 yyrc = _O32_ExcludeUpdateRgn(a, b);
3765 SetFS(sel);
3766
3767 return yyrc;
3768}
3769
3770inline VOID O32_ExitProcess(UINT a)
3771{
[223]3772 USHORT sel = RestoreOS2FS();
[43]3773
3774 _O32_ExitProcess(a);
3775 SetFS(sel);
3776}
3777
3778inline VOID O32_ExitThread(DWORD a)
3779{
[223]3780 USHORT sel = RestoreOS2FS();
[43]3781
3782 _O32_ExitThread(a);
3783 SetFS(sel);
3784}
3785
3786inline BOOL O32_ExitWindows(DWORD a, UINT b)
3787{
3788 BOOL yyrc;
[223]3789 USHORT sel = RestoreOS2FS();
[43]3790
3791 yyrc = _O32_ExitWindows(a, b);
3792 SetFS(sel);
3793
3794 return yyrc;
3795}
3796
3797inline BOOL O32_ExitWindowsEx(UINT a, DWORD b)
3798{
3799 BOOL yyrc;
[223]3800 USHORT sel = RestoreOS2FS();
[43]3801
3802 yyrc = _O32_ExitWindowsEx(a, b);
3803 SetFS(sel);
3804
3805 return yyrc;
3806}
3807
3808inline HPEN O32_ExtCreatePen(DWORD a, DWORD b, CONST LOGBRUSH *c, DWORD d, CONST DWORD *e)
3809{
3810 HPEN yyrc;
[223]3811 USHORT sel = RestoreOS2FS();
[43]3812
3813 yyrc = _O32_ExtCreatePen(a, b, c, d, e);
3814 SetFS(sel);
3815
3816 return yyrc;
3817}
3818
3819inline HRGN O32_ExtCreateRegion(CONST XFORM *a, DWORD b, CONST RGNDATA *c)
3820{
3821 HRGN yyrc;
[223]3822 USHORT sel = RestoreOS2FS();
[43]3823
3824 yyrc = _O32_ExtCreateRegion(a, b, c);
3825 SetFS(sel);
3826
3827 return yyrc;
3828}
3829
3830inline BOOL O32_ExtFloodFill(HDC a, int b, int c, COLORREF d, UINT e)
3831{
3832 BOOL yyrc;
[223]3833 USHORT sel = RestoreOS2FS();
[43]3834
3835 yyrc = _O32_ExtFloodFill(a, b, c, d, e);
3836 SetFS(sel);
3837
3838 return yyrc;
3839}
3840
3841inline int O32_ExtSelectClipRgn(HDC a, HRGN b, int c)
3842{
3843 int yyrc;
[223]3844 USHORT sel = RestoreOS2FS();
[43]3845
3846 yyrc = _O32_ExtSelectClipRgn(a, b, c);
3847 SetFS(sel);
3848
3849 return yyrc;
3850}
3851
3852inline BOOL O32_ExtTextOut(HDC a, int b, int c, UINT d, CONST RECT *e, LPCSTR f, UINT g, CONST int *h)
3853{
3854 BOOL yyrc;
[223]3855 USHORT sel = RestoreOS2FS();
[43]3856
3857 yyrc = _O32_ExtTextOut(a, b, c, d, e, f, g, h);
3858 SetFS(sel);
3859
3860 return yyrc;
3861}
3862
3863inline VOID O32_FatalAppExit(UINT a, LPCSTR b)
3864{
[223]3865 USHORT sel = RestoreOS2FS();
[43]3866
3867 _O32_FatalAppExit(a, b);
3868 SetFS(sel);
3869}
3870
3871inline VOID O32_FatalExit(UINT a)
3872{
[223]3873 USHORT sel = RestoreOS2FS();
[43]3874
3875 _O32_FatalExit(a);
3876 SetFS(sel);
3877}
3878
3879inline BOOL O32_FileTimeToDosDateTime(CONST FILETIME *a, LPWORD b, LPWORD c)
3880{
3881 BOOL yyrc;
[223]3882 USHORT sel = RestoreOS2FS();
[43]3883
3884 yyrc = _O32_FileTimeToDosDateTime(a, b, c);
3885 SetFS(sel);
3886
3887 return yyrc;
3888}
3889
3890inline BOOL O32_FileTimeToLocalFileTime(CONST FILETIME *a, FILETIME *b)
3891{
3892 BOOL yyrc;
[223]3893 USHORT sel = RestoreOS2FS();
[43]3894
3895 yyrc = _O32_FileTimeToLocalFileTime(a, b);
3896 SetFS(sel);
3897
3898 return yyrc;
3899}
3900
3901inline BOOL O32_FileTimeToSystemTime(CONST FILETIME *a, LPSYSTEMTIME b)
3902{
3903 BOOL yyrc;
[223]3904 USHORT sel = RestoreOS2FS();
[43]3905
3906 yyrc = _O32_FileTimeToSystemTime(a, b);
3907 SetFS(sel);
3908
3909 return yyrc;
3910}
3911
3912inline BOOL O32_FillPath(HDC a)
3913{
3914 BOOL yyrc;
[223]3915 USHORT sel = RestoreOS2FS();
[43]3916
3917 yyrc = _O32_FillPath(a);
3918 SetFS(sel);
3919
3920 return yyrc;
3921}
3922
3923inline int O32_FillRect(HDC a, CONST RECT *b, HBRUSH c)
3924{
3925 int yyrc;
[223]3926 USHORT sel = RestoreOS2FS();
[43]3927
3928 yyrc = _O32_FillRect(a, b, c);
3929 SetFS(sel);
3930
3931 return yyrc;
3932}
3933
3934inline BOOL O32_FillRgn(HDC a, HRGN b, HBRUSH c)
3935{
3936 BOOL yyrc;
[223]3937 USHORT sel = RestoreOS2FS();
[43]3938
3939 yyrc = _O32_FillRgn(a, b, c);
3940 SetFS(sel);
3941
3942 return yyrc;
3943}
3944
3945inline ATOM O32_FindAtom(LPCSTR a)
3946{
3947 ATOM yyrc;
[223]3948 USHORT sel = RestoreOS2FS();
[43]3949
3950 yyrc = _O32_FindAtom(a);
3951 SetFS(sel);
3952
3953 return yyrc;
3954}
3955
3956inline BOOL O32_FindClose(HANDLE a)
3957{
3958 BOOL yyrc;
[223]3959 USHORT sel = RestoreOS2FS();
[43]3960
3961 yyrc = _O32_FindClose(a);
3962 SetFS(sel);
3963
3964 return yyrc;
3965}
3966
3967inline HANDLE O32_FindFirstFile(LPCSTR a, LPWIN32_FIND_DATAA b)
3968{
3969 HANDLE yyrc;
[223]3970 USHORT sel = RestoreOS2FS();
[43]3971
3972 yyrc = _O32_FindFirstFile(a, b);
3973 SetFS(sel);
3974
3975 return yyrc;
3976}
3977
3978inline BOOL O32_FindNextFile(HANDLE a, LPWIN32_FIND_DATAA b)
3979{
3980 BOOL yyrc;
[223]3981 USHORT sel = RestoreOS2FS();
[43]3982
3983 yyrc = _O32_FindNextFile(a, b);
3984 SetFS(sel);
3985
3986 return yyrc;
3987}
3988
3989inline HRSRC O32_FindResource(HINSTANCE a, LPCSTR b, LPCSTR c)
3990{
3991 HRSRC yyrc;
[223]3992 USHORT sel = RestoreOS2FS();
[43]3993
3994 yyrc = _O32_FindResource(a, b, c);
3995 SetFS(sel);
3996
3997 return yyrc;
3998}
3999
4000inline HWND O32_FindText(LPFINDREPLACEA a)
4001{
4002 HWND yyrc;
[223]4003 USHORT sel = RestoreOS2FS();
[43]4004
4005 yyrc = _O32_FindText(a);
4006 SetFS(sel);
4007
4008 return yyrc;
4009}
4010
4011inline HWND O32_FindWindow(LPCSTR a, LPCSTR b)
4012{
4013 HWND yyrc;
[223]4014 USHORT sel = RestoreOS2FS();
[43]4015
4016 yyrc = _O32_FindWindow(a, b);
4017 SetFS(sel);
4018
4019 return yyrc;
4020}
4021
4022inline BOOL O32_FlashWindow(HWND a, BOOL b)
4023{
4024 BOOL yyrc;
[223]4025 USHORT sel = RestoreOS2FS();
[43]4026
4027 yyrc = _O32_FlashWindow(a, b);
4028 SetFS(sel);
4029
4030 return yyrc;
4031}
4032
4033inline BOOL O32_FlattenPath(HDC a)
4034{
4035 BOOL yyrc;
[223]4036 USHORT sel = RestoreOS2FS();
[43]4037
4038 yyrc = _O32_FlattenPath(a);
4039 SetFS(sel);
4040
4041 return yyrc;
4042}
4043
4044inline BOOL O32_FlushFileBuffers(HANDLE a)
4045{
4046 BOOL yyrc;
[223]4047 USHORT sel = RestoreOS2FS();
[43]4048
4049 yyrc = _O32_FlushFileBuffers(a);
4050 SetFS(sel);
4051
4052 return yyrc;
4053}
4054
4055inline int O32_FrameRect(HDC a, CONST RECT *b, HBRUSH c)
4056{
4057 int yyrc;
[223]4058 USHORT sel = RestoreOS2FS();
[43]4059
4060 yyrc = _O32_FrameRect(a, b, c);
4061 SetFS(sel);
4062
4063 return yyrc;
4064}
4065
4066inline BOOL O32_FrameRgn(HDC a, HRGN b, HBRUSH c, int d, int e)
4067{
4068 BOOL yyrc;
[223]4069 USHORT sel = RestoreOS2FS();
[43]4070
4071 yyrc = _O32_FrameRgn(a, b, c, d, e);
4072 SetFS(sel);
4073
4074 return yyrc;
4075}
4076
4077inline BOOL O32_FreeDDElParam(UINT a, LONG b)
4078{
4079 BOOL yyrc;
[223]4080 USHORT sel = RestoreOS2FS();
[43]4081
4082 yyrc = _O32_FreeDDElParam(a, b);
4083 SetFS(sel);
4084
4085 return yyrc;
4086}
4087
4088inline BOOL O32_FreeLibrary(HINSTANCE a)
4089{
4090 BOOL yyrc;
[223]4091 USHORT sel = RestoreOS2FS();
[43]4092
4093 yyrc = _O32_FreeLibrary(a);
4094 SetFS(sel);
4095
4096 return yyrc;
4097}
4098
[5369]4099inline BOOL O32_GdiComment(HDC hdc, UINT cbSize, CONST BYTE * lpData)
4100{
4101 BOOL yyrc;
4102 USHORT sel = RestoreOS2FS();
4103
4104 yyrc = _O32_GdiComment(hdc, cbSize, lpData);
4105 SetFS(sel);
4106
4107 return yyrc;
4108}
4109
[43]4110inline UINT O32_GetACP()
4111{
4112 UINT yyrc;
[223]4113 USHORT sel = RestoreOS2FS();
[43]4114
4115 yyrc = _O32_GetACP();
4116 SetFS(sel);
4117
4118 return yyrc;
4119}
4120
4121inline HWND O32_GetActiveWindow()
4122{
4123 HWND yyrc;
[223]4124 USHORT sel = RestoreOS2FS();
[43]4125
4126 yyrc = _O32_GetActiveWindow();
4127 SetFS(sel);
4128
4129 return yyrc;
4130}
4131
4132inline int O32_GetArcDirection(HDC a)
4133{
4134 int yyrc;
[223]4135 USHORT sel = RestoreOS2FS();
[43]4136
4137 yyrc = _O32_GetArcDirection(a);
4138 SetFS(sel);
4139
4140 return yyrc;
4141}
4142
4143inline BOOL O32_GetAspectRatioFilterEx(HDC a, PSIZE b)
4144{
4145 BOOL yyrc;
[223]4146 USHORT sel = RestoreOS2FS();
[43]4147
4148 yyrc = _O32_GetAspectRatioFilterEx(a, b);
4149 SetFS(sel);
4150
4151 return yyrc;
4152}
4153
4154inline UINT O32_GetAtomName(ATOM a, LPSTR b, int c)
4155{
4156 UINT yyrc;
[223]4157 USHORT sel = RestoreOS2FS();
[43]4158
4159 yyrc = _O32_GetAtomName(a, b, c);
4160 SetFS(sel);
4161
4162 return yyrc;
4163}
4164
4165inline LONG O32_GetBitmapBits(HBITMAP a, LONG b, PVOID c)
4166{
4167 LONG yyrc;
[223]4168 USHORT sel = RestoreOS2FS();
[43]4169
4170 yyrc = _O32_GetBitmapBits(a, b, c);
4171 SetFS(sel);
4172
4173 return yyrc;
4174}
4175
4176inline BOOL O32_GetBitmapDimensionEx(HBITMAP a, PSIZE b)
4177{
4178 BOOL yyrc;
[223]4179 USHORT sel = RestoreOS2FS();
[43]4180
4181 yyrc = _O32_GetBitmapDimensionEx(a, b);
4182 SetFS(sel);
4183
4184 return yyrc;
4185}
4186
4187inline COLORREF O32_GetBkColor(HDC a)
4188{
4189 COLORREF yyrc;
[223]4190 USHORT sel = RestoreOS2FS();
[43]4191
4192 yyrc = _O32_GetBkColor(a);
4193 SetFS(sel);
4194
4195 return yyrc;
4196}
4197
4198inline int O32_GetBkMode(HDC a)
4199{
4200 int yyrc;
[223]4201 USHORT sel = RestoreOS2FS();
[43]4202
4203 yyrc = _O32_GetBkMode(a);
4204 SetFS(sel);
4205
4206 return yyrc;
4207}
4208
4209inline UINT O32_GetBoundsRect(HDC a, PRECT b, UINT c)
4210{
4211 UINT yyrc;
[223]4212 USHORT sel = RestoreOS2FS();
[43]4213
4214 yyrc = _O32_GetBoundsRect(a, b, c);
4215 SetFS(sel);
4216
4217 return yyrc;
4218}
4219
4220inline BOOL O32_GetBrushOrgEx(HDC a, PPOINT b)
4221{
4222 BOOL yyrc;
[223]4223 USHORT sel = RestoreOS2FS();
[43]4224
4225 yyrc = _O32_GetBrushOrgEx(a, b);
4226 SetFS(sel);
4227
4228 return yyrc;
4229}
4230
4231inline HWND O32_GetCapture()
4232{
4233 HWND yyrc;
[223]4234 USHORT sel = RestoreOS2FS();
[43]4235
4236 yyrc = _O32_GetCapture();
4237 SetFS(sel);
4238
4239 return yyrc;
4240}
4241
4242inline UINT O32_GetCaretBlinkTime()
4243{
4244 UINT yyrc;
[223]4245 USHORT sel = RestoreOS2FS();
[43]4246
4247 yyrc = _O32_GetCaretBlinkTime();
4248 SetFS(sel);
4249
4250 return yyrc;
4251}
4252
4253inline BOOL O32_GetCaretPos(PPOINT a)
4254{
4255 BOOL yyrc;
[223]4256 USHORT sel = RestoreOS2FS();
[43]4257
4258 yyrc = _O32_GetCaretPos(a);
4259 SetFS(sel);
4260
4261 return yyrc;
4262}
4263
4264inline BOOL O32_GetCharABCWidths(HDC a, UINT b, UINT c, LPABC d)
4265{
4266 BOOL yyrc;
[223]4267 USHORT sel = RestoreOS2FS();
[43]4268
4269 yyrc = _O32_GetCharABCWidths(a, b, c, d);
4270 SetFS(sel);
4271
4272 return yyrc;
4273}
4274
4275inline BOOL O32_GetCharWidth(HDC a, UINT b, UINT c, PINT d)
4276{
4277 BOOL yyrc;
[223]4278 USHORT sel = RestoreOS2FS();
[43]4279
4280 yyrc = _O32_GetCharWidth(a, b, c, d);
4281 SetFS(sel);
4282
4283 return yyrc;
4284}
4285
4286inline BOOL O32_GetClassInfo(HINSTANCE a, LPCSTR b, WNDCLASSA *c)
4287{
4288 BOOL yyrc;
[223]4289 USHORT sel = RestoreOS2FS();
[43]4290
4291 yyrc = _O32_GetClassInfo(a, b, c);
4292 SetFS(sel);
4293
4294 return yyrc;
4295}
4296
4297inline DWORD O32_GetClassLong(HWND a, int b)
4298{
4299 DWORD yyrc;
[223]4300 USHORT sel = RestoreOS2FS();
[43]4301
4302 yyrc = _O32_GetClassLong(a, b);
4303 SetFS(sel);
4304
4305 return yyrc;
4306}
4307
4308inline int O32_GetClassName(HWND a, LPSTR b, int c)
4309{
4310 int yyrc;
[223]4311 USHORT sel = RestoreOS2FS();
[43]4312
4313 yyrc = _O32_GetClassName(a, b, c);
4314 SetFS(sel);
4315
4316 return yyrc;
4317}
4318
4319inline WORD O32_GetClassWord(HWND a, int b)
4320{
4321 WORD yyrc;
[223]4322 USHORT sel = RestoreOS2FS();
[43]4323
4324 yyrc = _O32_GetClassWord(a, b);
4325 SetFS(sel);
4326
4327 return yyrc;
4328}
4329
4330inline BOOL O32_GetClientRect(HWND a, PRECT b)
4331{
4332 BOOL yyrc;
[223]4333 USHORT sel = RestoreOS2FS();
[43]4334
4335 yyrc = _O32_GetClientRect(a, b);
4336 SetFS(sel);
4337
4338 return yyrc;
4339}
4340
4341inline HANDLE O32_GetClipboardData(UINT a)
4342{
4343 HANDLE yyrc;
[223]4344 USHORT sel = RestoreOS2FS();
[43]4345
4346 yyrc = _O32_GetClipboardData(a);
4347 SetFS(sel);
4348
4349 return yyrc;
4350}
4351
4352inline int O32_GetClipboardFormatName(UINT a, LPSTR b, int c)
4353{
4354 int yyrc;
[223]4355 USHORT sel = RestoreOS2FS();
[43]4356
4357 yyrc = _O32_GetClipboardFormatName(a, b, c);
4358 SetFS(sel);
4359
4360 return yyrc;
4361}
4362
4363inline HWND O32_GetClipboardOwner()
4364{
4365 HWND yyrc;
[223]4366 USHORT sel = RestoreOS2FS();
[43]4367
4368 yyrc = _O32_GetClipboardOwner();
4369 SetFS(sel);
4370
4371 return yyrc;
4372}
4373
4374inline HWND O32_GetClipboardViewer()
4375{
4376 HWND yyrc;
[223]4377 USHORT sel = RestoreOS2FS();
[43]4378
4379 yyrc = _O32_GetClipboardViewer();
4380 SetFS(sel);
4381
4382 return yyrc;
4383}
4384
4385inline int O32_GetClipBox(HDC a, PRECT b)
4386{
4387 int yyrc;
[223]4388 USHORT sel = RestoreOS2FS();
[43]4389
4390 yyrc = _O32_GetClipBox(a, b);
4391 SetFS(sel);
4392
4393 return yyrc;
4394}
4395
4396inline BOOL O32_GetClipCursor(PRECT a)
4397{
4398 BOOL yyrc;
[223]4399 USHORT sel = RestoreOS2FS();
[43]4400
4401 yyrc = _O32_GetClipCursor(a);
4402 SetFS(sel);
4403
4404 return yyrc;
4405}
4406
4407inline int O32_GetClipRgn(HDC a, HRGN b)
4408{
4409 int yyrc;
[223]4410 USHORT sel = RestoreOS2FS();
[43]4411
4412 yyrc = _O32_GetClipRgn(a, b);
4413 SetFS(sel);
4414
4415 return yyrc;
4416}
4417
4418inline LPSTR O32_GetCommandLine()
4419{
4420 LPSTR yyrc;
[223]4421 USHORT sel = RestoreOS2FS();
[43]4422
4423 yyrc = _O32_GetCommandLine();
4424 SetFS(sel);
4425
4426 return yyrc;
4427}
4428
4429inline int O32_GetCurrentDirectory(DWORD a, LPSTR b)
4430{
4431 int yyrc;
[223]4432 USHORT sel = RestoreOS2FS();
[43]4433
4434 yyrc = _O32_GetCurrentDirectory(a, b);
4435 SetFS(sel);
4436
4437 return yyrc;
4438}
4439
4440inline HGDIOBJ O32_GetCurrentObject(HDC a, DWORD b)
4441{
4442 HGDIOBJ yyrc;
[223]4443 USHORT sel = RestoreOS2FS();
[43]4444
4445 yyrc = _O32_GetCurrentObject(a, b);
4446 SetFS(sel);
4447
4448 return yyrc;
4449}
4450
4451inline BOOL O32_GetCurrentPositionEx(HDC a, PPOINT b)
4452{
4453 BOOL yyrc;
[223]4454 USHORT sel = RestoreOS2FS();
[43]4455
4456 yyrc = _O32_GetCurrentPositionEx(a, b);
4457 SetFS(sel);
4458
4459 return yyrc;
4460}
4461
4462inline HANDLE O32_GetCurrentProcess()
4463{
4464 HANDLE yyrc;
[223]4465 USHORT sel = RestoreOS2FS();
[43]4466
4467 yyrc = _O32_GetCurrentProcess();
4468 SetFS(sel);
4469
4470 return yyrc;
4471}
4472
4473inline DWORD O32_GetCurrentProcessId()
4474{
4475 DWORD yyrc;
[223]4476 USHORT sel = RestoreOS2FS();
[43]4477
4478 yyrc = _O32_GetCurrentProcessId();
4479 SetFS(sel);
4480
4481 return yyrc;
4482}
4483
4484inline HANDLE O32_GetCurrentThread()
4485{
4486 HANDLE yyrc;
[223]4487 USHORT sel = RestoreOS2FS();
[43]4488
4489 yyrc = _O32_GetCurrentThread();
4490 SetFS(sel);
4491
4492 return yyrc;
4493}
4494
4495inline DWORD O32_GetCurrentThreadId()
4496{
4497 DWORD yyrc;
[223]4498 USHORT sel = RestoreOS2FS();
[43]4499
4500 yyrc = _O32_GetCurrentThreadId();
4501 SetFS(sel);
4502
4503 return yyrc;
4504}
4505
4506inline DWORD O32_GetCurrentTime()
4507{
4508 DWORD yyrc;
[223]4509 USHORT sel = RestoreOS2FS();
[43]4510
4511 yyrc = _O32_GetCurrentTime();
4512 SetFS(sel);
4513
4514 return yyrc;
4515}
4516
4517inline HCURSOR O32_GetCursor()
4518{
4519 HCURSOR yyrc;
[223]4520 USHORT sel = RestoreOS2FS();
[43]4521
4522 yyrc = _O32_GetCursor();
4523 SetFS(sel);
4524
4525 return yyrc;
4526}
4527
4528inline BOOL O32_GetCursorPos(PPOINT a)
4529{
4530 BOOL yyrc;
[223]4531 USHORT sel = RestoreOS2FS();
[43]4532
4533 yyrc = _O32_GetCursorPos(a);
4534 SetFS(sel);
4535
4536 return yyrc;
4537}
4538
4539inline HDC O32_GetDC(HWND a)
4540{
4541 HDC yyrc;
[223]4542 USHORT sel = RestoreOS2FS();
[43]4543
4544 yyrc = _O32_GetDC(a);
4545 SetFS(sel);
4546
4547 return yyrc;
4548}
4549
4550inline HDC O32_GetDCEx(HWND a, HRGN b, DWORD c)
4551{
4552 HDC yyrc;
[223]4553 USHORT sel = RestoreOS2FS();
[43]4554
4555 yyrc = _O32_GetDCEx(a, b, c);
4556 SetFS(sel);
4557
4558 return yyrc;
4559}
4560
4561inline BOOL O32_GetDCOrgEx(HDC a, PPOINT b)
4562{
4563 BOOL yyrc;
[223]4564 USHORT sel = RestoreOS2FS();
[43]4565
4566 yyrc = _O32_GetDCOrgEx(a, b);
4567 SetFS(sel);
4568
4569 return yyrc;
4570}
4571
4572inline int O32_GetDIBits(HDC a, HBITMAP b, UINT c, UINT d, void *e, PBITMAPINFO f, UINT g)
4573{
4574 int yyrc;
[223]4575 USHORT sel = RestoreOS2FS();
[43]4576
4577 yyrc = _O32_GetDIBits(a, b, c, d, e, f, g);
4578 SetFS(sel);
4579
4580 return yyrc;
4581}
4582
4583inline int O32_GetDeviceCaps(HDC a, int b)
4584{
4585 int yyrc;
[223]4586 USHORT sel = RestoreOS2FS();
[43]4587
4588 yyrc = _O32_GetDeviceCaps(a, b);
4589 SetFS(sel);
4590
4591 return yyrc;
4592}
4593
4594inline LONG O32_GetDialogBaseUnits()
4595{
4596 LONG yyrc;
[223]4597 USHORT sel = RestoreOS2FS();
[43]4598
4599 yyrc = _O32_GetDialogBaseUnits();
4600 SetFS(sel);
4601
4602 return yyrc;
4603}
4604
4605inline BOOL O32_GetDiskFreeSpace(LPCSTR a, PDWORD b, PDWORD c, PDWORD d, PDWORD e)
4606{
4607 BOOL yyrc;
[223]4608 USHORT sel = RestoreOS2FS();
[43]4609
4610 yyrc = _O32_GetDiskFreeSpace(a, b, c, d, e);
4611 SetFS(sel);
4612
4613 return yyrc;
4614}
4615
4616inline int O32_GetDlgCtrlID(HWND a)
4617{
4618 int yyrc;
[223]4619 USHORT sel = RestoreOS2FS();
[43]4620
4621 yyrc = _O32_GetDlgCtrlID(a);
4622 SetFS(sel);
4623
4624 return yyrc;
4625}
4626
4627inline HWND O32_GetDlgItem(HWND a, int b)
4628{
4629 HWND yyrc;
[223]4630 USHORT sel = RestoreOS2FS();
[43]4631
4632 yyrc = _O32_GetDlgItem(a, b);
4633 SetFS(sel);
4634
4635 return yyrc;
4636}
4637
4638inline UINT O32_GetDlgItemInt(HWND a, int b, PBOOL c, BOOL d)
4639{
4640 UINT yyrc;
[223]4641 USHORT sel = RestoreOS2FS();
[43]4642
4643 yyrc = _O32_GetDlgItemInt(a, b, c, d);
4644 SetFS(sel);
4645
4646 return yyrc;
4647}
4648
4649inline UINT O32_GetDlgItemText(HWND a, int b, LPSTR c, int d)
4650{
4651 UINT yyrc;
[223]4652 USHORT sel = RestoreOS2FS();
[43]4653
4654 yyrc = _O32_GetDlgItemText(a, b, c, d);
4655 SetFS(sel);
4656
4657 return yyrc;
4658}
4659
4660inline UINT O32_GetDoubleClickTime()
4661{
4662 UINT yyrc;
[223]4663 USHORT sel = RestoreOS2FS();
[43]4664
4665 yyrc = _O32_GetDoubleClickTime();
4666 SetFS(sel);
4667
4668 return yyrc;
4669}
4670
4671inline UINT O32_GetDriveType(LPCSTR a)
4672{
4673 UINT yyrc;
[223]4674 USHORT sel = RestoreOS2FS();
[43]4675
4676 yyrc = _O32_GetDriveType(a);
4677 SetFS(sel);
4678
4679 return yyrc;
4680}
4681
4682inline HENHMETAFILE O32_GetEnhMetaFile(LPCSTR a)
4683{
4684 HENHMETAFILE yyrc;
[223]4685 USHORT sel = RestoreOS2FS();
[43]4686
4687 yyrc = _O32_GetEnhMetaFile(a);
4688 SetFS(sel);
4689
4690 return yyrc;
4691}
4692
4693inline UINT O32_GetEnhMetaFileBits(HENHMETAFILE a, UINT b, PBYTE c)
4694{
4695 UINT yyrc;
[223]4696 USHORT sel = RestoreOS2FS();
[43]4697
4698 yyrc = _O32_GetEnhMetaFileBits(a, b, c);
4699 SetFS(sel);
4700
4701 return yyrc;
4702}
4703
4704inline UINT O32_GetEnhMetaFileHeader(HENHMETAFILE a, UINT b, LPENHMETAHEADER c)
4705{
4706 UINT yyrc;
[223]4707 USHORT sel = RestoreOS2FS();
[43]4708
4709 yyrc = _O32_GetEnhMetaFileHeader(a, b, c);
4710 SetFS(sel);
4711
4712 return yyrc;
4713}
4714
4715inline UINT O32_GetEnhMetaFilePaletteEntries(HENHMETAFILE a, UINT b, LPPALETTEENTRY c)
4716{
4717 UINT yyrc;
[223]4718 USHORT sel = RestoreOS2FS();
[43]4719
4720 yyrc = _O32_GetEnhMetaFilePaletteEntries(a, b, c);
4721 SetFS(sel);
4722
4723 return yyrc;
4724}
4725
4726inline PVOID O32_GetEnvironmentStrings()
4727{
4728 PVOID yyrc;
[223]4729 USHORT sel = RestoreOS2FS();
[43]4730
4731 yyrc = _O32_GetEnvironmentStrings();
4732 SetFS(sel);
4733
4734 return yyrc;
4735}
4736
4737inline DWORD O32_GetEnvironmentVariable(LPCSTR a, LPSTR b, DWORD c)
4738{
4739 DWORD yyrc;
[223]4740 USHORT sel = RestoreOS2FS();
[43]4741
4742 yyrc = _O32_GetEnvironmentVariable(a, b, c);
4743 SetFS(sel);
4744
4745 return yyrc;
4746}
4747
4748inline BOOL O32_GetExitCodeProcess(HANDLE a, LPDWORD b)
4749{
4750 BOOL yyrc;
[223]4751 USHORT sel = RestoreOS2FS();
[43]4752
4753 yyrc = _O32_GetExitCodeProcess(a, b);
4754 SetFS(sel);
4755
4756 return yyrc;
4757}
4758
4759inline BOOL O32_GetExitCodeThread(HANDLE a, LPDWORD b)
4760{
4761 BOOL yyrc;
[223]4762 USHORT sel = RestoreOS2FS();
[43]4763
4764 yyrc = _O32_GetExitCodeThread(a, b);
4765 SetFS(sel);
4766
4767 return yyrc;
4768}
4769
4770inline DWORD O32_GetFileAttributes(LPSTR a)
4771{
4772 DWORD yyrc;
[223]4773 USHORT sel = RestoreOS2FS();
[43]4774
4775 yyrc = _O32_GetFileAttributes(a);
4776 SetFS(sel);
4777
4778 return yyrc;
4779}
4780
4781inline DWORD O32_GetFileInformationByHandle(HANDLE a, BY_HANDLE_FILE_INFORMATION *b)
4782{
4783 DWORD yyrc;
[223]4784 USHORT sel = RestoreOS2FS();
[43]4785
4786 yyrc = _O32_GetFileInformationByHandle(a, b);
4787 SetFS(sel);
4788
4789 return yyrc;
4790}
4791
4792inline DWORD O32_GetFileSize(HANDLE a, PDWORD b)
4793{
4794 DWORD yyrc;
[223]4795 USHORT sel = RestoreOS2FS();
[43]4796
4797 yyrc = _O32_GetFileSize(a, b);
4798 SetFS(sel);
4799
4800 return yyrc;
4801}
4802
4803inline BOOL O32_GetFileTime(HANDLE a, FILETIME *b, FILETIME *c, FILETIME *d)
4804{
4805 BOOL yyrc;
[223]4806 USHORT sel = RestoreOS2FS();
[43]4807
4808 yyrc = _O32_GetFileTime(a, b, c, d);
4809 SetFS(sel);
4810
4811 return yyrc;
4812}
4813
4814inline short O32_GetFileTitle(LPCSTR a, LPSTR b, WORD c)
4815{
4816 short yyrc;
[223]4817 USHORT sel = RestoreOS2FS();
[43]4818
4819 yyrc = _O32_GetFileTitle(a, b, c);
4820 SetFS(sel);
4821
4822 return yyrc;
4823}
4824
4825inline DWORD O32_GetFileType(HANDLE a)
4826{
4827 DWORD yyrc;
[223]4828 USHORT sel = RestoreOS2FS();
[43]4829
4830 yyrc = _O32_GetFileType(a);
4831 SetFS(sel);
4832
4833 return yyrc;
4834}
4835
4836inline HWND O32_GetFocus()
4837{
4838 HWND yyrc;
[223]4839 USHORT sel = RestoreOS2FS();
[43]4840
4841 yyrc = _O32_GetFocus();
4842 SetFS(sel);
4843
4844 return yyrc;
4845}
4846
4847inline HWND O32_GetForegroundWindow()
4848{
4849 HWND yyrc;
[223]4850 USHORT sel = RestoreOS2FS();
[43]4851
4852 yyrc = _O32_GetForegroundWindow();
4853 SetFS(sel);
4854
4855 return yyrc;
4856}
4857
4858inline DWORD O32_GetFullPathName(LPCSTR a, DWORD b, LPSTR c, LPSTR *d)
4859{
4860 DWORD yyrc;
[223]4861 USHORT sel = RestoreOS2FS();
[43]4862
4863 yyrc = _O32_GetFullPathName(a, b, c, d);
4864 SetFS(sel);
4865
4866 return yyrc;
4867}
4868
4869inline int O32_GetGraphicsMode(HDC a)
4870{
4871 int yyrc;
[223]4872 USHORT sel = RestoreOS2FS();
[43]4873
4874 yyrc = _O32_GetGraphicsMode(a);
4875 SetFS(sel);
4876
4877 return yyrc;
4878}
4879
4880inline BOOL O32_GetIconInfo(HICON a, LPICONINFO b)
4881{
4882 BOOL yyrc;
[223]4883 USHORT sel = RestoreOS2FS();
[43]4884
4885 yyrc = _O32_GetIconInfo(a, b);
4886 SetFS(sel);
4887
4888 return yyrc;
4889}
4890
4891inline DWORD O32_GetKerningPairs(HDC a, DWORD b, LPKERNINGPAIR c)
4892{
4893 DWORD yyrc;
[223]4894 USHORT sel = RestoreOS2FS();
[43]4895
4896 yyrc = _O32_GetKerningPairs(a, b, c);
4897 SetFS(sel);
4898
4899 return yyrc;
4900}
4901
4902inline int O32_GetKeyboardType(int a)
4903{
4904 int yyrc;
[223]4905 USHORT sel = RestoreOS2FS();
[43]4906
4907 yyrc = _O32_GetKeyboardType(a);
4908 SetFS(sel);
4909
4910 return yyrc;
4911}
4912
4913inline int O32_GetKeyNameText(LPARAM a, LPSTR b, int c)
4914{
4915 int yyrc;
[223]4916 USHORT sel = RestoreOS2FS();
[43]4917
4918 yyrc = _O32_GetKeyNameText(a, b, c);
4919 SetFS(sel);
4920
4921 return yyrc;
4922}
4923
[5369]4924inline SHORT O32_GetAsyncKeyState(int a)
4925{
4926 SHORT yyrc;
4927 USHORT sel = RestoreOS2FS();
4928
4929 yyrc = _O32_GetAsyncKeyState(a);
4930 SetFS(sel);
4931
4932 return yyrc;
4933}
4934
[43]4935inline SHORT O32_GetKeyState(int a)
4936{
4937 SHORT yyrc;
[223]4938 USHORT sel = RestoreOS2FS();
[43]4939
4940 yyrc = _O32_GetKeyState(a);
4941 SetFS(sel);
4942
4943 return yyrc;
4944}
4945
4946inline HWND O32_GetLastActivePopup(HWND a)
4947{
4948 HWND yyrc;
[223]4949 USHORT sel = RestoreOS2FS();
[43]4950
4951 yyrc = _O32_GetLastActivePopup(a);
4952 SetFS(sel);
4953
4954 return yyrc;
4955}
4956
4957inline DWORD O32_GetLastError()
4958{
4959 DWORD yyrc;
[223]4960 USHORT sel = RestoreOS2FS();
[43]4961
4962 yyrc = _O32_GetLastError();
4963 SetFS(sel);
4964
4965 return yyrc;
4966}
4967
4968inline VOID O32_GetLocalTime(LPSYSTEMTIME a)
4969{
[223]4970 USHORT sel = RestoreOS2FS();
[43]4971
4972 _O32_GetLocalTime(a);
4973 SetFS(sel);
4974}
4975
4976inline DWORD O32_GetLogicalDriveStrings(DWORD a, LPSTR b)
4977{
4978 DWORD yyrc;
[223]4979 USHORT sel = RestoreOS2FS();
[43]4980
4981 yyrc = _O32_GetLogicalDriveStrings(a, b);
4982 SetFS(sel);
4983
4984 return yyrc;
4985}
4986
4987inline DWORD O32_GetLogicalDrives()
4988{
4989 DWORD yyrc;
[223]4990 USHORT sel = RestoreOS2FS();
[43]4991
4992 yyrc = _O32_GetLogicalDrives();
4993 SetFS(sel);
4994
4995 return yyrc;
4996}
4997
4998inline int O32_GetMapMode(HDC a)
4999{
5000 int yyrc;
[223]5001 USHORT sel = RestoreOS2FS();
[43]5002
5003 yyrc = _O32_GetMapMode(a);
5004 SetFS(sel);
5005
5006 return yyrc;
5007}
5008
5009inline HMENU O32_GetMenu(HWND a)
5010{
5011 HMENU yyrc;
[223]5012 USHORT sel = RestoreOS2FS();
[43]5013
5014 yyrc = _O32_GetMenu(a);
5015 SetFS(sel);
5016
5017 return yyrc;
5018}
5019
5020inline LONG O32_GetMenuCheckMarkDimensions()
5021{
5022 LONG yyrc;
[223]5023 USHORT sel = RestoreOS2FS();
[43]5024
5025 yyrc = _O32_GetMenuCheckMarkDimensions();
5026 SetFS(sel);
5027
5028 return yyrc;
5029}
5030
5031inline int O32_GetMenuItemCount(HMENU a)
5032{
5033 int yyrc;
[223]5034 USHORT sel = RestoreOS2FS();
[43]5035
5036 yyrc = _O32_GetMenuItemCount(a);
5037 SetFS(sel);
5038
5039 return yyrc;
5040}
5041
5042inline UINT O32_GetMenuItemID(HMENU a, int b)
5043{
5044 UINT yyrc;
[223]5045 USHORT sel = RestoreOS2FS();
[43]5046
5047 yyrc = _O32_GetMenuItemID(a, b);
5048 SetFS(sel);
5049
5050 return yyrc;
5051}
5052
5053inline UINT O32_GetMenuState(HMENU a, UINT b, UINT c)
5054{
5055 UINT yyrc;
[223]5056 USHORT sel = RestoreOS2FS();
[43]5057
5058 yyrc = _O32_GetMenuState(a, b, c);
5059 SetFS(sel);
5060
5061 return yyrc;
5062}
5063
5064inline int O32_GetMenuString(HMENU a, UINT b, LPSTR c, int d, UINT e)
5065{
5066 int yyrc;
[223]5067 USHORT sel = RestoreOS2FS();
[43]5068
5069 yyrc = _O32_GetMenuString(a, b, c, d, e);
5070 SetFS(sel);
5071
5072 return yyrc;
5073}
5074
5075inline BOOL O32_GetMessage(LPMSG a, HWND b, UINT c, UINT d)
5076{
5077 BOOL yyrc;
[223]5078 USHORT sel = RestoreOS2FS();
[43]5079
5080 yyrc = _O32_GetMessage(a, b, c, d);
5081 SetFS(sel);
5082
5083 return yyrc;
5084}
5085
5086inline LONG O32_GetMessageExtraInfo()
5087{
5088 LONG yyrc;
[223]5089 USHORT sel = RestoreOS2FS();
[43]5090
5091 yyrc = _O32_GetMessageExtraInfo();
5092 SetFS(sel);
5093
5094 return yyrc;
5095}
5096
5097inline DWORD O32_GetMessagePos()
5098{
5099 DWORD yyrc;
[223]5100 USHORT sel = RestoreOS2FS();
[43]5101
5102 yyrc = _O32_GetMessagePos();
5103 SetFS(sel);
5104
5105 return yyrc;
5106}
5107
5108inline LONG O32_GetMessageTime()
5109{
5110 LONG yyrc;
[223]5111 USHORT sel = RestoreOS2FS();
[43]5112
5113 yyrc = _O32_GetMessageTime();
5114 SetFS(sel);
5115
5116 return yyrc;
5117}
5118
5119inline HMETAFILE O32_GetMetaFile(LPCSTR a)
5120{
5121 HMETAFILE yyrc;
[223]5122 USHORT sel = RestoreOS2FS();
[43]5123
5124 yyrc = _O32_GetMetaFile(a);
5125 SetFS(sel);
5126
5127 return yyrc;
5128}
5129
5130inline UINT O32_GetMetaFileBitsEx(HMETAFILE a, UINT b, LPVOID c)
5131{
5132 UINT yyrc;
[223]5133 USHORT sel = RestoreOS2FS();
[43]5134
5135 yyrc = _O32_GetMetaFileBitsEx(a, b, c);
5136 SetFS(sel);
5137
5138 return yyrc;
5139}
5140
5141inline BOOL O32_GetMiterLimit(HDC a, float *b)
5142{
5143 BOOL yyrc;
[223]5144 USHORT sel = RestoreOS2FS();
[43]5145
5146 yyrc = _O32_GetMiterLimit(a, b);
5147 SetFS(sel);
5148
5149 return yyrc;
5150}
5151
5152inline DWORD O32_GetModuleFileName(HINSTANCE a, LPSTR b, DWORD c)
5153{
5154 DWORD yyrc;
[223]5155 USHORT sel = RestoreOS2FS();
[43]5156
5157 yyrc = _O32_GetModuleFileName(a, b, c);
5158 SetFS(sel);
5159
5160 return yyrc;
5161}
5162
5163inline HMODULE O32_GetModuleHandle(LPCSTR a)
5164{
5165 HMODULE yyrc;
[223]5166 USHORT sel = RestoreOS2FS();
[43]5167
5168 yyrc = _O32_GetModuleHandle(a);
5169 SetFS(sel);
5170
5171 return yyrc;
5172}
5173
5174inline COLORREF O32_GetNearestColor(HDC a, COLORREF b)
5175{
5176 COLORREF yyrc;
[223]5177 USHORT sel = RestoreOS2FS();
[43]5178
5179 yyrc = _O32_GetNearestColor(a, b);
5180 SetFS(sel);
5181
5182 return yyrc;
5183}
5184
5185inline UINT O32_GetNearestPaletteIndex(HPALETTE a, COLORREF b)
5186{
5187 UINT yyrc;
[223]5188 USHORT sel = RestoreOS2FS();
[43]5189
5190 yyrc = _O32_GetNearestPaletteIndex(a, b);
5191 SetFS(sel);
5192
5193 return yyrc;
5194}
5195
5196inline HWND O32_GetNextDlgGroupItem(HWND a, HWND b, BOOL c)
5197{
5198 HWND yyrc;
[223]5199 USHORT sel = RestoreOS2FS();
[43]5200
5201 yyrc = _O32_GetNextDlgGroupItem(a, b, c);
5202 SetFS(sel);
5203
5204 return yyrc;
5205}
5206
5207inline HWND O32_GetNextDlgTabItem(HWND a, HWND b, BOOL c)
5208{
5209 HWND yyrc;
[223]5210 USHORT sel = RestoreOS2FS();
[43]5211
5212 yyrc = _O32_GetNextDlgTabItem(a, b, c);
5213 SetFS(sel);
5214
5215 return yyrc;
5216}
5217
5218inline HWND O32_GetNextWindow(HWND a, UINT b)
5219{
5220 HWND yyrc;
[223]5221 USHORT sel = RestoreOS2FS();
[43]5222
5223 yyrc = _O32_GetNextWindow(a, b);
5224 SetFS(sel);
5225
5226 return yyrc;
5227}
5228
5229inline int O32_GetOEMCP()
5230{
5231 int yyrc;
[223]5232 USHORT sel = RestoreOS2FS();
[43]5233
5234 yyrc = _O32_GetOEMCP();
5235 SetFS(sel);
5236
5237 return yyrc;
5238}
5239
5240inline int O32_GetObject(HGDIOBJ a, int b, void *c)
5241{
5242 int yyrc;
[223]5243 USHORT sel = RestoreOS2FS();
[43]5244
5245 yyrc = _O32_GetObject(a, b, c);
5246 SetFS(sel);
5247
5248 return yyrc;
5249}
5250
5251inline DWORD O32_GetObjectType(HGDIOBJ a)
5252{
5253 DWORD yyrc;
[223]5254 USHORT sel = RestoreOS2FS();
[43]5255
5256 yyrc = _O32_GetObjectType(a);
5257 SetFS(sel);
5258
5259 return yyrc;
5260}
5261
5262inline HWND O32_GetOpenClipboardWindow()
5263{
5264 HWND yyrc;
[223]5265 USHORT sel = RestoreOS2FS();
[43]5266
5267 yyrc = _O32_GetOpenClipboardWindow();
5268 SetFS(sel);
5269
5270 return yyrc;
5271}
5272
5273inline BOOL O32_GetOpenFileName(LPOPENFILENAMEA a)
5274{
5275 BOOL yyrc;
[223]5276 USHORT sel = RestoreOS2FS();
[43]5277
5278 yyrc = _O32_GetOpenFileName(a);
5279 SetFS(sel);
5280
5281 return yyrc;
5282}
5283
5284inline UINT O32_GetOutlineTextMetrics(HDC a, UINT b, LPOUTLINETEXTMETRICA c)
5285{
5286 UINT yyrc;
[223]5287 USHORT sel = RestoreOS2FS();
[43]5288
5289 yyrc = _O32_GetOutlineTextMetrics(a, b, c);
5290 SetFS(sel);
5291
5292 return yyrc;
5293}
5294
5295inline BOOL O32_GetOverlappedResult(HANDLE a, LPOVERLAPPED b, LPDWORD c, BOOL d)
5296{
5297 BOOL yyrc;
[223]5298 USHORT sel = RestoreOS2FS();
[43]5299
5300 yyrc = _O32_GetOverlappedResult(a, b, c, d);
5301 SetFS(sel);
5302
5303 return yyrc;
5304}
5305
5306inline UINT O32_GetPaletteEntries(HPALETTE a, UINT b, UINT c, PPALETTEENTRY d)
5307{
5308 UINT yyrc;
[223]5309 USHORT sel = RestoreOS2FS();
[43]5310
5311 yyrc = _O32_GetPaletteEntries(a, b, c, d);
5312 SetFS(sel);
5313
5314 return yyrc;
5315}
5316
5317inline HWND O32_GetParent(HWND a)
5318{
5319 HWND yyrc;
[223]5320 USHORT sel = RestoreOS2FS();
[43]5321
5322 yyrc = _O32_GetParent(a);
5323 SetFS(sel);
5324
5325 return yyrc;
5326}
5327
5328inline UINT O32_GetPath(HDC a, PPOINT b, PBYTE c, int d)
5329{
5330 UINT yyrc;
[223]5331 USHORT sel = RestoreOS2FS();
[43]5332
5333 yyrc = _O32_GetPath(a, b, c, d);
5334 SetFS(sel);
5335
5336 return yyrc;
5337}
5338
5339inline COLORREF O32_GetPixel(HDC a, int b, int c)
5340{
5341 COLORREF yyrc;
[223]5342 USHORT sel = RestoreOS2FS();
[43]5343
5344 yyrc = _O32_GetPixel(a, b, c);
5345 SetFS(sel);
5346
5347 return yyrc;
5348}
5349
5350inline int O32_GetPolyFillMode(HDC a)
5351{
5352 int yyrc;
[223]5353 USHORT sel = RestoreOS2FS();
[43]5354
5355 yyrc = _O32_GetPolyFillMode(a);
5356 SetFS(sel);
5357
5358 return yyrc;
5359}
5360
5361inline DWORD O32_GetPriorityClass(HANDLE a)
5362{
5363 DWORD yyrc;
[223]5364 USHORT sel = RestoreOS2FS();
[43]5365
5366 yyrc = _O32_GetPriorityClass(a);
5367 SetFS(sel);
5368
5369 return yyrc;
5370}
5371
5372inline int O32_GetPriorityClipboardFormat(PUINT a, int b)
5373{
5374 int yyrc;
[223]5375 USHORT sel = RestoreOS2FS();
[43]5376
5377 yyrc = _O32_GetPriorityClipboardFormat(a, b);
5378 SetFS(sel);
5379
5380 return yyrc;
5381}
5382
5383inline UINT O32_GetPrivateProfileInt(LPCSTR a, LPCSTR b, INT c, LPCSTR d)
5384{
5385 UINT yyrc;
[223]5386 USHORT sel = RestoreOS2FS();
[43]5387
5388 yyrc = _O32_GetPrivateProfileInt(a, b, c, d);
5389 SetFS(sel);
5390
5391 return yyrc;
5392}
5393
5394inline DWORD O32_GetPrivateProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPSTR d, DWORD e, LPCSTR f)
5395{
5396 DWORD yyrc;
[223]5397 USHORT sel = RestoreOS2FS();
[43]5398
5399 yyrc = _O32_GetPrivateProfileString(a, b, c, d, e, f);
5400 SetFS(sel);
5401
5402 return yyrc;
5403}
5404
5405inline FARPROC O32_GetProcAddress(HMODULE a, LPCSTR b)
5406{
5407 FARPROC yyrc;
[223]5408 USHORT sel = RestoreOS2FS();
[43]5409
5410 yyrc = _O32_GetProcAddress(a, b);
5411 SetFS(sel);
5412
5413 return yyrc;
5414}
5415
5416inline UINT O32_GetProfileInt(LPCSTR a, LPCSTR b, INT c)
5417{
5418 UINT yyrc;
[223]5419 USHORT sel = RestoreOS2FS();
[43]5420
5421 yyrc = _O32_GetProfileInt(a, b, c);
5422 SetFS(sel);
5423
5424 return yyrc;
5425}
5426
5427inline DWORD O32_GetProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPSTR d, DWORD e)
5428{
5429 DWORD yyrc;
[223]5430 USHORT sel = RestoreOS2FS();
[43]5431
5432 yyrc = _O32_GetProfileString(a, b, c, d, e);
5433 SetFS(sel);
5434
5435 return yyrc;
5436}
5437
5438inline HANDLE O32_GetProp(HWND a, LPCSTR b)
5439{
5440 HANDLE yyrc;
[223]5441 USHORT sel = RestoreOS2FS();
[43]5442
5443 yyrc = _O32_GetProp(a, b);
5444 SetFS(sel);
5445
5446 return yyrc;
5447}
5448
5449inline DWORD O32_GetQueueStatus(UINT a)
5450{
5451 DWORD yyrc;
[223]5452 USHORT sel = RestoreOS2FS();
[43]5453
5454 yyrc = _O32_GetQueueStatus(a);
5455 SetFS(sel);
5456
5457 return yyrc;
5458}
5459
5460inline int O32_GetROP2(HDC a)
5461{
5462 int yyrc;
[223]5463 USHORT sel = RestoreOS2FS();
[43]5464
5465 yyrc = _O32_GetROP2(a);
5466 SetFS(sel);
5467
5468 return yyrc;
5469}
5470
5471inline BOOL O32_GetRasterizerCaps(LPRASTERIZER_STATUS a, UINT b)
5472{
5473 BOOL yyrc;
[223]5474 USHORT sel = RestoreOS2FS();
[43]5475
5476 yyrc = _O32_GetRasterizerCaps(a, b);
5477 SetFS(sel);
5478
5479 return yyrc;
5480}
5481
5482inline int O32_GetRgnBox(HRGN a, PRECT b)
5483{
5484 int yyrc;
[223]5485 USHORT sel = RestoreOS2FS();
[43]5486
5487 yyrc = _O32_GetRgnBox(a, b);
5488 SetFS(sel);
5489
5490 return yyrc;
5491}
5492
5493inline DWORD O32_GetRegionData(HRGN a, DWORD b, PRGNDATA c)
5494{
5495 DWORD yyrc;
[223]5496 USHORT sel = RestoreOS2FS();
[43]5497
5498 yyrc = _O32_GetRegionData(a, b, c);
5499 SetFS(sel);
5500
5501 return yyrc;
5502}
5503
5504inline BOOL O32_GetSaveFileName(LPOPENFILENAMEA a)
5505{
5506 BOOL yyrc;
[223]5507 USHORT sel = RestoreOS2FS();
[43]5508
5509 yyrc = _O32_GetSaveFileName(a);
5510 SetFS(sel);
5511
5512 return yyrc;
5513}
5514
5515inline int O32_GetScrollPos(HWND a, int b)
5516{
5517 int yyrc;
[223]5518 USHORT sel = RestoreOS2FS();
[43]5519
5520 yyrc = _O32_GetScrollPos(a, b);
5521 SetFS(sel);
5522
5523 return yyrc;
5524}
5525
5526inline BOOL O32_GetScrollRange(HWND a, int b, int *c, int *d)
5527{
5528 BOOL yyrc;
[223]5529 USHORT sel = RestoreOS2FS();
[43]5530
5531 yyrc = _O32_GetScrollRange(a, b, c, d);
5532 SetFS(sel);
5533
5534 return yyrc;
5535}
5536
5537inline HANDLE O32_GetStdHandle(DWORD a)
5538{
5539 HANDLE yyrc;
[223]5540 USHORT sel = RestoreOS2FS();
[43]5541
5542 yyrc = _O32_GetStdHandle(a);
5543 SetFS(sel);
5544
5545 return yyrc;
5546}
5547
5548inline HGDIOBJ O32_GetStockObject(int a)
5549{
5550 HGDIOBJ yyrc;
[223]5551 USHORT sel = RestoreOS2FS();
[43]5552
5553 yyrc = _O32_GetStockObject(a);
5554 SetFS(sel);
5555
5556 return yyrc;
5557}
5558
5559inline int O32_GetStretchBltMode(HDC a)
5560{
5561 int yyrc;
[223]5562 USHORT sel = RestoreOS2FS();
[43]5563
5564 yyrc = _O32_GetStretchBltMode(a);
5565 SetFS(sel);
5566
5567 return yyrc;
5568}
5569
5570inline HMENU O32_GetSubMenu(HWND a, int b)
5571{
5572 HMENU yyrc;
[223]5573 USHORT sel = RestoreOS2FS();
[43]5574
5575 yyrc = _O32_GetSubMenu(a, b);
5576 SetFS(sel);
5577
5578 return yyrc;
5579}
5580
5581inline DWORD O32_GetSysColor(int a)
5582{
5583 DWORD yyrc;
[223]5584 USHORT sel = RestoreOS2FS();
[43]5585
5586 yyrc = _O32_GetSysColor(a);
5587 SetFS(sel);
5588
5589 return yyrc;
5590}
5591
5592inline UINT O32_GetSystemDirectory(LPSTR a, UINT b)
5593{
5594 UINT yyrc;
[223]5595 USHORT sel = RestoreOS2FS();
[43]5596
5597 yyrc = _O32_GetSystemDirectory(a, b);
5598 SetFS(sel);
5599
5600 return yyrc;
5601}
5602
5603inline HMENU O32_GetSystemMenu(HWND a, BOOL b)
5604{
5605 HMENU yyrc;
[223]5606 USHORT sel = RestoreOS2FS();
[43]5607
5608 yyrc = _O32_GetSystemMenu(a, b);
5609 SetFS(sel);
5610
5611 return yyrc;
5612}
5613
5614inline int O32_GetSystemMetrics(int a)
5615{
5616 int yyrc;
[223]5617 USHORT sel = RestoreOS2FS();
[43]5618
5619 yyrc = _O32_GetSystemMetrics(a);
5620 SetFS(sel);
5621
5622 return yyrc;
5623}
5624
5625inline UINT O32_GetSystemPaletteEntries(HDC a, UINT b, UINT c, PPALETTEENTRY d)
5626{
5627 UINT yyrc;
[223]5628 USHORT sel = RestoreOS2FS();
[43]5629
5630 yyrc = _O32_GetSystemPaletteEntries(a, b, c, d);
5631 SetFS(sel);
5632
5633 return yyrc;
5634}
5635
5636inline void O32_GetSystemTime(LPSYSTEMTIME a)
5637{
[223]5638 USHORT sel = RestoreOS2FS();
[43]5639
5640 _O32_GetSystemTime(a);
5641 SetFS(sel);
5642}
5643
5644inline DWORD O32_GetTabbedTextExtent(HDC a, LPCSTR b, int c, int d, int *e)
5645{
5646 DWORD yyrc;
[223]5647 USHORT sel = RestoreOS2FS();
[43]5648
5649 yyrc = _O32_GetTabbedTextExtent(a, b, c, d, e);
5650 SetFS(sel);
5651
5652 return yyrc;
5653}
5654
5655inline UINT O32_GetTempFileName(LPCSTR a, LPCSTR b, UINT c, LPSTR d)
5656{
5657 UINT yyrc;
[223]5658 USHORT sel = RestoreOS2FS();
[43]5659
5660 yyrc = _O32_GetTempFileName(a, b, c, d);
5661 SetFS(sel);
5662
5663 return yyrc;
5664}
5665
5666inline DWORD O32_GetTempPath(DWORD a, LPSTR b)
5667{
5668 DWORD yyrc;
[223]5669 USHORT sel = RestoreOS2FS();
[43]5670
5671 yyrc = _O32_GetTempPath(a, b);
5672 SetFS(sel);
5673
5674 return yyrc;
5675}
5676
5677inline UINT O32_GetTextAlign(HDC a)
5678{
5679 UINT yyrc;
[223]5680 USHORT sel = RestoreOS2FS();
[43]5681
5682 yyrc = _O32_GetTextAlign(a);
5683 SetFS(sel);
5684
5685 return yyrc;
5686}
5687
5688inline int O32_GetTextCharacterExtra(HDC a)
5689{
5690 int yyrc;
[223]5691 USHORT sel = RestoreOS2FS();
[43]5692
5693 yyrc = _O32_GetTextCharacterExtra(a);
5694 SetFS(sel);
5695
5696 return yyrc;
5697}
5698
5699inline COLORREF O32_GetTextColor(HDC a)
5700{
5701 COLORREF yyrc;
[223]5702 USHORT sel = RestoreOS2FS();
[43]5703
5704 yyrc = _O32_GetTextColor(a);
5705 SetFS(sel);
5706
5707 return yyrc;
5708}
5709
5710inline BOOL O32_GetTextExtentPoint(HDC a, LPCSTR b, int c, PSIZE d)
5711{
5712 BOOL yyrc;
[223]5713 USHORT sel = RestoreOS2FS();
[43]5714
5715 yyrc = _O32_GetTextExtentPoint(a, b, c, d);
5716 SetFS(sel);
5717
5718 return yyrc;
5719}
5720
5721inline BOOL O32_GetTextExtentPoint32(HDC a, LPCSTR b, int c, PSIZE d)
5722{
5723 BOOL yyrc;
[223]5724 USHORT sel = RestoreOS2FS();
[43]5725
5726 yyrc = _O32_GetTextExtentPoint32(a, b, c, d);
5727 SetFS(sel);
5728
5729 return yyrc;
5730}
5731
5732inline int O32_GetTextFace(HDC a, int b, LPSTR c)
5733{
5734 int yyrc;
[223]5735 USHORT sel = RestoreOS2FS();
[43]5736
5737 yyrc = _O32_GetTextFace(a, b, c);
5738 SetFS(sel);
5739
5740 return yyrc;
5741}
5742
5743inline BOOL O32_GetTextMetrics(HDC a, LPTEXTMETRICA b)
5744{
5745 BOOL yyrc;
[223]5746 USHORT sel = RestoreOS2FS();
[43]5747
5748 yyrc = _O32_GetTextMetrics(a, b);
5749 SetFS(sel);
5750
5751 return yyrc;
5752}
5753
5754inline DWORD O32_GetThreadPriority(HANDLE a)
5755{
5756 DWORD yyrc;
[223]5757 USHORT sel = RestoreOS2FS();
[43]5758
5759 yyrc = _O32_GetThreadPriority(a);
5760 SetFS(sel);
5761
5762 return yyrc;
5763}
5764
5765inline DWORD O32_GetTickCount()
5766{
5767 DWORD yyrc;
[223]5768 USHORT sel = RestoreOS2FS();
[43]5769
5770 yyrc = _O32_GetTickCount();
5771 SetFS(sel);
5772
5773 return yyrc;
5774}
5775
5776inline DWORD O32_GetTimeZoneInformation(LPTIME_ZONE_INFORMATION a)
5777{
5778 DWORD yyrc;
[223]5779 USHORT sel = RestoreOS2FS();
[43]5780
5781 yyrc = _O32_GetTimeZoneInformation(a);
5782 SetFS(sel);
5783
5784 return yyrc;
5785}
5786
5787inline HWND O32_GetTopWindow(HWND a)
5788{
5789 HWND yyrc;
[223]5790 USHORT sel = RestoreOS2FS();
[43]5791
5792 yyrc = _O32_GetTopWindow(a);
5793 SetFS(sel);
5794
5795 return yyrc;
5796}
5797
5798inline BOOL O32_GetUpdateRect(HWND a, PRECT b, BOOL c)
5799{
5800 BOOL yyrc;
[223]5801 USHORT sel = RestoreOS2FS();
[43]5802
5803 yyrc = _O32_GetUpdateRect(a, b, c);
5804 SetFS(sel);
5805
5806 return yyrc;
5807}
5808
5809inline int O32_GetUpdateRgn(HWND a, HRGN b, BOOL c)
5810{
5811 int yyrc;
[223]5812 USHORT sel = RestoreOS2FS();
[43]5813
5814 yyrc = _O32_GetUpdateRgn(a, b, c);
5815 SetFS(sel);
5816
5817 return yyrc;
5818}
5819
5820inline BOOL O32_GetViewportExtEx(HDC a, PSIZE b)
5821{
5822 BOOL yyrc;
[223]5823 USHORT sel = RestoreOS2FS();
[43]5824
5825 yyrc = _O32_GetViewportExtEx(a, b);
5826 SetFS(sel);
5827
5828 return yyrc;
5829}
5830
5831inline BOOL O32_GetViewportOrgEx(HDC a, PPOINT b)
5832{
5833 BOOL yyrc;
[223]5834 USHORT sel = RestoreOS2FS();
[43]5835
5836 yyrc = _O32_GetViewportOrgEx(a, b);
5837 SetFS(sel);
5838
5839 return yyrc;
5840}
5841
5842inline DWORD O32_GetVolumeInformation(LPCSTR a, LPSTR b, DWORD c, PDWORD d, PDWORD e, PDWORD f, LPSTR g, DWORD h)
5843{
5844 DWORD yyrc;
[223]5845 USHORT sel = RestoreOS2FS();
[43]5846
5847 yyrc = _O32_GetVolumeInformation(a, b, c, d, e, f, g, h);
5848 SetFS(sel);
5849
5850 return yyrc;
5851}
5852
5853inline UINT O32_GetWinMetaFileBits(HENHMETAFILE a, UINT b, PBYTE c, int d, HDC e)
5854{
5855 UINT yyrc;
[223]5856 USHORT sel = RestoreOS2FS();
[43]5857
5858 yyrc = _O32_GetWinMetaFileBits(a, b, c, d, e);
5859 SetFS(sel);
5860
5861 return yyrc;
5862}
5863
5864inline HWND O32_GetWindow(HWND a, UINT b)
5865{
5866 HWND yyrc;
[223]5867 USHORT sel = RestoreOS2FS();
[43]5868
5869 yyrc = _O32_GetWindow(a, b);
5870 SetFS(sel);
5871
5872 return yyrc;
5873}
5874
5875inline HDC O32_GetWindowDC(HWND a)
5876{
5877 HDC yyrc;
[223]5878 USHORT sel = RestoreOS2FS();
[43]5879
5880 yyrc = _O32_GetWindowDC(a);
5881 SetFS(sel);
5882
5883 return yyrc;
5884}
5885
5886inline BOOL O32_GetWindowExtEx(HDC a, PSIZE b)
5887{
5888 BOOL yyrc;
[223]5889 USHORT sel = RestoreOS2FS();
[43]5890
5891 yyrc = _O32_GetWindowExtEx(a, b);
5892 SetFS(sel);
5893
5894 return yyrc;
5895}
5896
5897inline LONG O32_GetWindowLong(HWND a, int b)
5898{
5899 LONG yyrc;
[223]5900 USHORT sel = RestoreOS2FS();
[43]5901
5902 yyrc = _O32_GetWindowLong(a, b);
5903 SetFS(sel);
5904
5905 return yyrc;
5906}
5907
5908inline BOOL O32_GetWindowOrgEx(HDC a, PPOINT b)
5909{
5910 BOOL yyrc;
[223]5911 USHORT sel = RestoreOS2FS();
[43]5912
5913 yyrc = _O32_GetWindowOrgEx(a, b);
5914 SetFS(sel);
5915
5916 return yyrc;
5917}
5918
5919inline BOOL O32_GetWindowPlacement(HWND a, LPWINDOWPLACEMENT b)
5920{
5921 BOOL yyrc;
[223]5922 USHORT sel = RestoreOS2FS();
[43]5923
5924 yyrc = _O32_GetWindowPlacement(a, b);
5925 SetFS(sel);
5926
5927 return yyrc;
5928}
5929
5930inline BOOL O32_GetWindowRect(HWND a, PRECT b)
5931{
5932 BOOL yyrc;
[223]5933 USHORT sel = RestoreOS2FS();
[43]5934
5935 yyrc = _O32_GetWindowRect(a, b);
5936 SetFS(sel);
5937
5938 return yyrc;
5939}
5940
5941inline UINT O32_GetWindowsDirectory(LPSTR a, UINT b)
5942{
5943 UINT yyrc;
[223]5944 USHORT sel = RestoreOS2FS();
[43]5945
5946 yyrc = _O32_GetWindowsDirectory(a, b);
5947 SetFS(sel);
5948
5949 return yyrc;
5950}
5951
5952inline int O32_GetWindowText(HWND a, LPSTR b, int c)
5953{
5954 int yyrc;
[223]5955 USHORT sel = RestoreOS2FS();
[43]5956
5957 yyrc = _O32_GetWindowText(a, b, c);
5958 SetFS(sel);
5959
5960 return yyrc;
5961}
5962
5963inline int O32_GetWindowTextLength(HWND a)
5964{
5965 int yyrc;
[223]5966 USHORT sel = RestoreOS2FS();
[43]5967
5968 yyrc = _O32_GetWindowTextLength(a);
5969 SetFS(sel);
5970
5971 return yyrc;
5972}
5973
5974inline DWORD O32_GetWindowThreadProcessId(HWND a, PDWORD b)
5975{
5976 DWORD yyrc;
[223]5977 USHORT sel = RestoreOS2FS();
[43]5978
5979 yyrc = _O32_GetWindowThreadProcessId(a, b);
5980 SetFS(sel);
5981
5982 return yyrc;
5983}
5984
5985inline WORD O32_GetWindowWord(HWND a, int b)
5986{
5987 WORD yyrc;
[223]5988 USHORT sel = RestoreOS2FS();
[43]5989
5990 yyrc = _O32_GetWindowWord(a, b);
5991 SetFS(sel);
5992
5993 return yyrc;
5994}
5995
5996inline BOOL O32_GetWorldTransform(HDC a, LPXFORM b)
5997{
5998 BOOL yyrc;
[223]5999 USHORT sel = RestoreOS2FS();
[43]6000
6001 yyrc = _O32_GetWorldTransform(a, b);
6002 SetFS(sel);
6003
6004 return yyrc;
6005}
6006
6007inline ATOM O32_GlobalAddAtom(LPCSTR a)
6008{
6009 ATOM yyrc;
[223]6010 USHORT sel = RestoreOS2FS();
[43]6011
6012 yyrc = _O32_GlobalAddAtom(a);
6013 SetFS(sel);
6014
6015 return yyrc;
6016}
6017
6018inline HGLOBAL O32_GlobalAlloc(UINT a, DWORD b)
6019{
6020 HGLOBAL yyrc;
[223]6021 USHORT sel = RestoreOS2FS();
[43]6022
6023 yyrc = _O32_GlobalAlloc(a, b);
6024 SetFS(sel);
6025
6026 return yyrc;
6027}
6028
6029inline ATOM O32_GlobalDeleteAtom(ATOM a)
6030{
6031 ATOM yyrc;
[223]6032 USHORT sel = RestoreOS2FS();
[43]6033
6034 yyrc = _O32_GlobalDeleteAtom(a);
6035 SetFS(sel);
6036
6037 return yyrc;
6038}
6039
6040inline HGLOBAL O32_GlobalDiscard(HGLOBAL a)
6041{
6042 HGLOBAL yyrc;
[223]6043 USHORT sel = RestoreOS2FS();
[43]6044
6045 yyrc = _O32_GlobalDiscard(a);
6046 SetFS(sel);
6047
6048 return yyrc;
6049}
6050
6051inline ATOM O32_GlobalFindAtom(LPCSTR a)
6052{
6053 ATOM yyrc;
[223]6054 USHORT sel = RestoreOS2FS();
[43]6055
6056 yyrc = _O32_GlobalFindAtom(a);
6057 SetFS(sel);
6058
6059 return yyrc;
6060}
6061
6062inline UINT O32_GlobalFlags(HGLOBAL a)
6063{
6064 UINT yyrc;
[223]6065 USHORT sel = RestoreOS2FS();
[43]6066
6067 yyrc = _O32_GlobalFlags(a);
6068 SetFS(sel);
6069
6070 return yyrc;
6071}
6072
6073inline HGLOBAL O32_GlobalFree(HGLOBAL a)
6074{
6075 HGLOBAL yyrc;
[223]6076 USHORT sel = RestoreOS2FS();
[43]6077
6078 yyrc = _O32_GlobalFree(a);
6079 SetFS(sel);
6080
6081 return yyrc;
6082}
6083
6084inline UINT O32_GlobalGetAtomName(ATOM a, LPSTR b, int c)
6085{
6086 UINT yyrc;
[223]6087 USHORT sel = RestoreOS2FS();
[43]6088
6089 yyrc = _O32_GlobalGetAtomName(a, b, c);
6090 SetFS(sel);
6091
6092 return yyrc;
6093}
6094
6095inline HGLOBAL O32_GlobalHandle(PVOID a)
6096{
6097 HGLOBAL yyrc;
[223]6098 USHORT sel = RestoreOS2FS();
[43]6099
6100 yyrc = _O32_GlobalHandle(a);
6101 SetFS(sel);
6102
6103 return yyrc;
6104}
6105
6106inline PVOID O32_GlobalLock(HGLOBAL a)
6107{
6108 PVOID yyrc;
[223]6109 USHORT sel = RestoreOS2FS();
[43]6110
6111 yyrc = _O32_GlobalLock(a);
6112 SetFS(sel);
6113
6114 return yyrc;
6115}
6116
6117inline VOID O32_GlobalMemoryStatus(LPMEMORYSTATUS a)
6118{
[223]6119 USHORT sel = RestoreOS2FS();
[43]6120
6121 _O32_GlobalMemoryStatus(a);
6122 SetFS(sel);
6123}
6124
6125inline HGLOBAL O32_GlobalReAlloc(HGLOBAL a, DWORD b, UINT c)
6126{
6127 HGLOBAL yyrc;
[223]6128 USHORT sel = RestoreOS2FS();
[43]6129
6130 yyrc = _O32_GlobalReAlloc(a, b, c);
6131 SetFS(sel);
6132
6133 return yyrc;
6134}
6135
6136inline DWORD O32_GlobalSize(HGLOBAL a)
6137{
6138 DWORD yyrc;
[223]6139 USHORT sel = RestoreOS2FS();
[43]6140
6141 yyrc = _O32_GlobalSize(a);
6142 SetFS(sel);
6143
6144 return yyrc;
6145}
6146
6147inline BOOL O32_GlobalUnlock(HGLOBAL a)
6148{
6149 BOOL yyrc;
[223]6150 USHORT sel = RestoreOS2FS();
[43]6151
6152 yyrc = _O32_GlobalUnlock(a);
6153 SetFS(sel);
6154
6155 return yyrc;
6156}
6157
6158inline PVOID O32_HeapAlloc(HANDLE a, DWORD b, DWORD c)
6159{
6160 PVOID yyrc;
[223]6161 USHORT sel = RestoreOS2FS();
[43]6162
6163 yyrc = _O32_HeapAlloc(a, b, c);
6164 SetFS(sel);
6165
6166 return yyrc;
6167}
6168
6169inline HANDLE O32_HeapCreate(DWORD a, DWORD b, DWORD c)
6170{
6171 HANDLE yyrc;
[223]6172 USHORT sel = RestoreOS2FS();
[43]6173
6174 yyrc = _O32_HeapCreate(a, b, c);
6175 SetFS(sel);
6176
6177 return yyrc;
6178}
6179
6180inline BOOL O32_HeapDestroy(HANDLE a)
6181{
6182 BOOL yyrc;
[223]6183 USHORT sel = RestoreOS2FS();
[43]6184
6185 yyrc = _O32_HeapDestroy(a);
6186 SetFS(sel);
6187
6188 return yyrc;
6189}
6190
6191inline BOOL O32_HeapFree(HANDLE a, DWORD b, PVOID c)
6192{
6193 BOOL yyrc;
[223]6194 USHORT sel = RestoreOS2FS();
[43]6195
6196 yyrc = _O32_HeapFree(a, b, c);
6197 SetFS(sel);
6198
6199 return yyrc;
6200}
6201
6202inline PVOID O32_HeapReAlloc(HANDLE a, DWORD b, PVOID c, DWORD d)
6203{
6204 PVOID yyrc;
[223]6205 USHORT sel = RestoreOS2FS();
[43]6206
6207 yyrc = _O32_HeapReAlloc(a, b, c, d);
6208 SetFS(sel);
6209
6210 return yyrc;
6211}
6212
6213inline DWORD O32_HeapSize(HANDLE a, DWORD b, PVOID c)
6214{
6215 DWORD yyrc;
[223]6216 USHORT sel = RestoreOS2FS();
[43]6217
6218 yyrc = _O32_HeapSize(a, b, c);
6219 SetFS(sel);
6220
6221 return yyrc;
6222}
6223
6224inline BOOL O32_HideCaret(HWND a)
6225{
6226 BOOL yyrc;
[223]6227 USHORT sel = RestoreOS2FS();
[43]6228
6229 yyrc = _O32_HideCaret(a);
6230 SetFS(sel);
6231
6232 return yyrc;
6233}
6234
6235inline BOOL O32_HiliteMenuItem(HWND a, HMENU b, UINT c, UINT d)
6236{
6237 BOOL yyrc;
[223]6238 USHORT sel = RestoreOS2FS();
[43]6239
6240 yyrc = _O32_HiliteMenuItem(a, b, c, d);
6241 SetFS(sel);
6242
6243 return yyrc;
6244}
6245
6246inline BOOL O32_InflateRect(PRECT a, int b, int c)
6247{
6248 BOOL yyrc;
[223]6249 USHORT sel = RestoreOS2FS();
[43]6250
6251 yyrc = _O32_InflateRect(a, b, c);
6252 SetFS(sel);
6253
6254 return yyrc;
6255}
6256
6257inline BOOL O32_InSendMessage()
6258{
6259 BOOL yyrc;
[223]6260 USHORT sel = RestoreOS2FS();
[43]6261
6262 yyrc = _O32_InSendMessage();
6263 SetFS(sel);
6264
6265 return yyrc;
6266}
6267
6268inline BOOL O32_InitAtomTable(DWORD a)
6269{
6270 BOOL yyrc;
[223]6271 USHORT sel = RestoreOS2FS();
[43]6272
6273 yyrc = _O32_InitAtomTable(a);
6274 SetFS(sel);
6275
6276 return yyrc;
6277}
6278
6279inline VOID O32_InitializeCriticalSection(CRITICAL_SECTION *a)
6280{
[223]6281 USHORT sel = RestoreOS2FS();
[43]6282
6283 _O32_InitializeCriticalSection(a);
6284 SetFS(sel);
6285}
6286
6287inline BOOL O32_InsertMenu(HMENU a, UINT b, UINT c, UINT d, LPCSTR e)
6288{
6289 BOOL yyrc;
[223]6290 USHORT sel = RestoreOS2FS();
[43]6291
6292 yyrc = _O32_InsertMenu(a, b, c, d, e);
6293 SetFS(sel);
6294
6295 return yyrc;
6296}
6297
6298inline LONG O32_InterlockedDecrement(PLONG a)
6299{
6300 LONG yyrc;
[223]6301 USHORT sel = RestoreOS2FS();
[43]6302
6303 yyrc = _O32_InterlockedDecrement(a);
6304 SetFS(sel);
6305
6306 return yyrc;
6307}
6308
6309inline LONG O32_InterlockedExchange(PLONG a, LONG b)
6310{
6311 LONG yyrc;
[223]6312 USHORT sel = RestoreOS2FS();
[43]6313
6314 yyrc = _O32_InterlockedExchange(a, b);
6315 SetFS(sel);
6316
6317 return yyrc;
6318}
6319
6320inline LONG O32_InterlockedIncrement(PLONG a)
6321{
6322 LONG yyrc;
[223]6323 USHORT sel = RestoreOS2FS();
[43]6324
6325 yyrc = _O32_InterlockedIncrement(a);
6326 SetFS(sel);
6327
6328 return yyrc;
6329}
6330
6331inline int O32_IntersectClipRect(HDC a, int b, int c, int d, int e)
6332{
6333 int yyrc;
[223]6334 USHORT sel = RestoreOS2FS();
[43]6335
6336 yyrc = _O32_IntersectClipRect(a, b, c, d, e);
6337 SetFS(sel);
6338
6339 return yyrc;
6340}
6341
6342inline BOOL O32_IntersectRect(PRECT a, CONST RECT *b, CONST RECT *c)
6343{
6344 BOOL yyrc;
[223]6345 USHORT sel = RestoreOS2FS();
[43]6346
6347 yyrc = _O32_IntersectRect(a, b, c);
6348 SetFS(sel);
6349
6350 return yyrc;
6351}
6352
6353inline BOOL O32_InvalidateRect(HWND a, CONST RECT *b, BOOL c)
6354{
6355 BOOL yyrc;
[223]6356 USHORT sel = RestoreOS2FS();
[43]6357
6358 yyrc = _O32_InvalidateRect(a, b, c);
6359 SetFS(sel);
6360
6361 return yyrc;
6362}
6363
6364inline BOOL O32_InvalidateRgn(HWND a, HRGN b, BOOL c)
6365{
6366 BOOL yyrc;
[223]6367 USHORT sel = RestoreOS2FS();
[43]6368
6369 yyrc = _O32_InvalidateRgn(a, b, c);
6370 SetFS(sel);
6371
6372 return yyrc;
6373}
6374
6375inline BOOL O32_InvertRect(HDC a, CONST RECT *b)
6376{
6377 BOOL yyrc;
[223]6378 USHORT sel = RestoreOS2FS();
[43]6379
6380 yyrc = _O32_InvertRect(a, b);
6381 SetFS(sel);
6382
6383 return yyrc;
6384}
6385
6386inline BOOL O32_InvertRgn(HDC a, HRGN b)
6387{
6388 BOOL yyrc;
[223]6389 USHORT sel = RestoreOS2FS();
[43]6390
6391 yyrc = _O32_InvertRgn(a, b);
6392 SetFS(sel);
6393
6394 return yyrc;
6395}
6396
6397inline BOOL O32_IsBadCodePtr(FARPROC a)
6398{
6399 BOOL yyrc;
[223]6400 USHORT sel = RestoreOS2FS();
[43]6401
6402 yyrc = _O32_IsBadCodePtr(a);
6403 SetFS(sel);
6404
6405 return yyrc;
6406}
6407
6408inline BOOL O32_IsBadReadPtr(CONST VOID *a, UINT b)
6409{
6410 BOOL yyrc;
[223]6411 USHORT sel = RestoreOS2FS();
[43]6412
6413 yyrc = _O32_IsBadReadPtr(a, b);
6414 SetFS(sel);
6415
6416 return yyrc;
6417}
6418
6419inline BOOL O32_IsBadStringPtr(LPCSTR a, UINT b)
6420{
6421 BOOL yyrc;
[223]6422 USHORT sel = RestoreOS2FS();
[43]6423
6424 yyrc = _O32_IsBadStringPtr(a, b);
6425 SetFS(sel);
6426
6427 return yyrc;
6428}
6429
6430inline BOOL O32_IsBadWritePtr(PVOID a, UINT b)
6431{
6432 BOOL yyrc;
[223]6433 USHORT sel = RestoreOS2FS();
[43]6434
6435 yyrc = _O32_IsBadWritePtr(a, b);
6436 SetFS(sel);
6437
6438 return yyrc;
6439}
6440
6441inline BOOL O32_IsChild(HWND a, HWND b)
6442{
6443 BOOL yyrc;
[223]6444 USHORT sel = RestoreOS2FS();
[43]6445
6446 yyrc = _O32_IsChild(a, b);
6447 SetFS(sel);
6448
6449 return yyrc;
6450}
6451
6452inline BOOL O32_IsClipboardFormatAvailable(UINT a)
6453{
6454 BOOL yyrc;
[223]6455 USHORT sel = RestoreOS2FS();
[43]6456
6457 yyrc = _O32_IsClipboardFormatAvailable(a);
6458 SetFS(sel);
6459
6460 return yyrc;
6461}
6462
6463inline BOOL O32_IsDBCSLeadByte(BYTE a)
6464{
6465 BOOL yyrc;
[223]6466 USHORT sel = RestoreOS2FS();
[43]6467
6468 yyrc = _O32_IsDBCSLeadByte(a);
6469 SetFS(sel);
6470
6471 return yyrc;
6472}
6473
6474inline BOOL O32_IsDialogMessage(HWND a, LPMSG b)
6475{
6476 BOOL yyrc;
[223]6477 USHORT sel = RestoreOS2FS();
[43]6478
6479 yyrc = _O32_IsDialogMessage(a, b);
6480 SetFS(sel);
6481
6482 return yyrc;
6483}
6484
6485inline BOOL O32_IsDlgButtonChecked(HWND a, int b)
6486{
6487 BOOL yyrc;
[223]6488 USHORT sel = RestoreOS2FS();
[43]6489
6490 yyrc = _O32_IsDlgButtonChecked(a, b);
6491 SetFS(sel);
6492
6493 return yyrc;
6494}
6495
6496inline BOOL O32_IsIconic(HWND a)
6497{
6498 BOOL yyrc;
[223]6499 USHORT sel = RestoreOS2FS();
[43]6500
6501 yyrc = _O32_IsIconic(a);
6502 SetFS(sel);
6503
6504 return yyrc;
6505}
6506
6507inline BOOL O32_IsMenu(HMENU a)
6508{
6509 BOOL yyrc;
[223]6510 USHORT sel = RestoreOS2FS();
[43]6511
6512 yyrc = _O32_IsMenu(a);
6513 SetFS(sel);
6514
6515 return yyrc;
6516}
6517
6518inline BOOL O32_IsRectEmpty(CONST RECT *a)
6519{
6520 BOOL yyrc;
[223]6521 USHORT sel = RestoreOS2FS();
[43]6522
6523 yyrc = _O32_IsRectEmpty(a);
6524 SetFS(sel);
6525
6526 return yyrc;
6527}
6528
6529inline BOOL O32_IsWindow(HWND a)
6530{
6531 BOOL yyrc;
[223]6532 USHORT sel = RestoreOS2FS();
[43]6533
6534 yyrc = _O32_IsWindow(a);
6535 SetFS(sel);
6536
6537 return yyrc;
6538}
6539
6540inline BOOL O32_IsWindowEnabled(HWND a)
6541{
6542 BOOL yyrc;
[223]6543 USHORT sel = RestoreOS2FS();
[43]6544
6545 yyrc = _O32_IsWindowEnabled(a);
6546 SetFS(sel);
6547
6548 return yyrc;
6549}
6550
6551inline BOOL O32_IsWindowVisible(HWND a)
6552{
6553 BOOL yyrc;
[223]6554 USHORT sel = RestoreOS2FS();
[43]6555
6556 yyrc = _O32_IsWindowVisible(a);
6557 SetFS(sel);
6558
6559 return yyrc;
6560}
6561
6562inline BOOL O32_IsZoomed(HWND a)
6563{
6564 BOOL yyrc;
[223]6565 USHORT sel = RestoreOS2FS();
[43]6566
6567 yyrc = _O32_IsZoomed(a);
6568 SetFS(sel);
6569
6570 return yyrc;
6571}
6572
6573inline BOOL O32_KillTimer(HWND a, UINT b)
6574{
6575 BOOL yyrc;
[223]6576 USHORT sel = RestoreOS2FS();
[43]6577
6578 yyrc = _O32_KillTimer(a, b);
6579 SetFS(sel);
6580
6581 return yyrc;
6582}
6583
6584inline BOOL O32_LPtoDP(HDC a, PPOINT b, int c)
6585{
6586 BOOL yyrc;
[223]6587 USHORT sel = RestoreOS2FS();
[43]6588
6589 yyrc = _O32_LPtoDP(a, b, c);
6590 SetFS(sel);
6591
6592 return yyrc;
6593}
6594
6595inline VOID O32_LeaveCriticalSection(CRITICAL_SECTION *a)
6596{
[223]6597 USHORT sel = RestoreOS2FS();
[43]6598
6599 _O32_LeaveCriticalSection(a);
6600 SetFS(sel);
6601}
6602
6603inline BOOL O32_LineDDA(int a, int b, int c, int d, LINEDDAPROC_O32 e, LPARAM f)
6604{
6605 BOOL yyrc;
[223]6606 USHORT sel = RestoreOS2FS();
[43]6607
6608 yyrc = _O32_LineDDA(a, b, c, d, e, f);
6609 SetFS(sel);
6610
6611 return yyrc;
6612}
6613
6614inline BOOL O32_LineTo(HDC a, int b, int c)
6615{
6616 BOOL yyrc;
[223]6617 USHORT sel = RestoreOS2FS();
[43]6618
6619 yyrc = _O32_LineTo(a, b, c);
6620 SetFS(sel);
6621
6622 return yyrc;
6623}
6624
6625inline HACCEL O32_LoadAccelerators(HINSTANCE a, LPCSTR b)
6626{
6627 HACCEL yyrc;
[223]6628 USHORT sel = RestoreOS2FS();
[43]6629
6630 yyrc = _O32_LoadAccelerators(a, b);
6631 SetFS(sel);
6632
6633 return yyrc;
6634}
6635
6636inline HBITMAP O32_LoadBitmap(HINSTANCE a, LPCSTR b)
6637{
6638 HBITMAP yyrc;
[223]6639 USHORT sel = RestoreOS2FS();
[43]6640
6641 yyrc = _O32_LoadBitmap(a, b);
6642 SetFS(sel);
6643
6644 return yyrc;
6645}
6646
6647inline HCURSOR O32_LoadCursor(HINSTANCE a, LPCSTR b)
6648{
6649 HCURSOR yyrc;
[223]6650 USHORT sel = RestoreOS2FS();
[43]6651
6652 yyrc = _O32_LoadCursor(a, b);
6653 SetFS(sel);
6654
6655 return yyrc;
6656}
6657
6658inline HICON O32_LoadIcon(HINSTANCE a, LPCSTR b)
6659{
6660 HICON yyrc;
[223]6661 USHORT sel = RestoreOS2FS();
[43]6662
6663 yyrc = _O32_LoadIcon(a, b);
6664 SetFS(sel);
6665
6666 return yyrc;
6667}
6668
6669inline HINSTANCE O32_LoadLibrary(LPCSTR a)
6670{
6671 HINSTANCE yyrc;
[223]6672 USHORT sel = RestoreOS2FS();
[43]6673
6674 yyrc = _O32_LoadLibrary(a);
6675 SetFS(sel);
6676
6677 return yyrc;
6678}
6679
6680inline HMENU O32_LoadMenu(HINSTANCE a, LPCSTR b)
6681{
6682 HMENU yyrc;
[223]6683 USHORT sel = RestoreOS2FS();
[43]6684
6685 yyrc = _O32_LoadMenu(a, b);
6686 SetFS(sel);
6687
6688 return yyrc;
6689}
6690
6691inline HMENU O32_LoadMenuIndirect(CONST MENUITEMTEMPLATEHEADER *a)
6692{
6693 HMENU yyrc;
[223]6694 USHORT sel = RestoreOS2FS();
[43]6695
6696 yyrc = _O32_LoadMenuIndirect(a);
6697 SetFS(sel);
6698
6699 return yyrc;
6700}
6701
6702inline DWORD O32_LoadModule(LPCSTR a, PVOID b)
6703{
6704 DWORD yyrc;
[223]6705 USHORT sel = RestoreOS2FS();
[43]6706
6707 yyrc = _O32_LoadModule(a, b);
6708 SetFS(sel);
6709
6710 return yyrc;
6711}
6712
6713inline HGLOBAL O32_LoadResource(HINSTANCE a, HRSRC b)
6714{
6715 HGLOBAL yyrc;
[223]6716 USHORT sel = RestoreOS2FS();
[43]6717
6718 yyrc = _O32_LoadResource(a, b);
6719 SetFS(sel);
6720
6721 return yyrc;
6722}
6723
6724inline PVOID O32_LockResource(HGLOBAL a)
6725{
6726 PVOID yyrc;
[223]6727 USHORT sel = RestoreOS2FS();
[43]6728
6729 yyrc = _O32_LockResource(a);
6730 SetFS(sel);
6731
6732 return yyrc;
6733}
6734
6735inline int O32_LoadString(HINSTANCE a, UINT b, LPSTR c, int d)
6736{
6737 int yyrc;
[223]6738 USHORT sel = RestoreOS2FS();
[43]6739
6740 yyrc = _O32_LoadString(a, b, c, d);
6741 SetFS(sel);
6742
6743 return yyrc;
6744}
6745
6746inline HLOCAL O32_LocalAlloc(UINT a, UINT b)
6747{
6748 HLOCAL yyrc;
[223]6749 USHORT sel = RestoreOS2FS();
[43]6750
6751 yyrc = _O32_LocalAlloc(a, b);
6752 SetFS(sel);
6753
6754 return yyrc;
6755}
6756
6757inline HLOCAL O32_LocalDiscard(HLOCAL a)
6758{
6759 HLOCAL yyrc;
[223]6760 USHORT sel = RestoreOS2FS();
[43]6761
6762 yyrc = _O32_LocalDiscard(a);
6763 SetFS(sel);
6764
6765 return yyrc;
6766}
6767
6768inline UINT O32_LocalFlags(HLOCAL a)
6769{
6770 UINT yyrc;
[223]6771 USHORT sel = RestoreOS2FS();
[43]6772
6773 yyrc = _O32_LocalFlags(a);
6774 SetFS(sel);
6775
6776 return yyrc;
6777}
6778
6779inline BOOL O32_LocalFileTimeToFileTime(CONST FILETIME *a, FILETIME *b)
6780{
6781 BOOL yyrc;
[223]6782 USHORT sel = RestoreOS2FS();
[43]6783
6784 yyrc = _O32_LocalFileTimeToFileTime(a, b);
6785 SetFS(sel);
6786
6787 return yyrc;
6788}
6789
6790inline HLOCAL O32_LocalFree(HLOCAL a)
6791{
6792 HLOCAL yyrc;
[223]6793 USHORT sel = RestoreOS2FS();
[43]6794
6795 yyrc = _O32_LocalFree(a);
6796 SetFS(sel);
6797
6798 return yyrc;
6799}
6800
6801inline HLOCAL O32_LocalHandle(PVOID a)
6802{
6803 HLOCAL yyrc;
[223]6804 USHORT sel = RestoreOS2FS();
[43]6805
6806 yyrc = _O32_LocalHandle(a);
6807 SetFS(sel);
6808
6809 return yyrc;
6810}
6811
6812inline BOOL O32_LocalUnlock(HLOCAL a)
6813{
6814 BOOL yyrc;
[223]6815 USHORT sel = RestoreOS2FS();
[43]6816
6817 yyrc = _O32_LocalUnlock(a);
6818 SetFS(sel);
6819
6820 return yyrc;
6821}
6822
6823inline HLOCAL O32_LocalReAlloc(HLOCAL a, UINT b, UINT c)
6824{
6825 HLOCAL yyrc;
[223]6826 USHORT sel = RestoreOS2FS();
[43]6827
6828 yyrc = _O32_LocalReAlloc(a, b, c);
6829 SetFS(sel);
6830
6831 return yyrc;
6832}
6833
6834inline UINT O32_LocalSize(HLOCAL a)
6835{
6836 UINT yyrc;
[223]6837 USHORT sel = RestoreOS2FS();
[43]6838
6839 yyrc = _O32_LocalSize(a);
6840 SetFS(sel);
6841
6842 return yyrc;
6843}
6844
6845inline PVOID O32_LocalLock(HLOCAL a)
6846{
6847 PVOID yyrc;
[223]6848 USHORT sel = RestoreOS2FS();
[43]6849
6850 yyrc = _O32_LocalLock(a);
6851 SetFS(sel);
6852
6853 return yyrc;
6854}
6855
6856inline BOOL O32_LockFile(HANDLE a, DWORD b, DWORD c, DWORD d, DWORD e)
6857{
6858 BOOL yyrc;
[223]6859 USHORT sel = RestoreOS2FS();
[43]6860
6861 yyrc = _O32_LockFile(a, b, c, d, e);
6862 SetFS(sel);
6863
6864 return yyrc;
6865}
6866
6867inline BOOL O32_LockWindowUpdate(HWND a)
6868{
6869 BOOL yyrc;
[223]6870 USHORT sel = RestoreOS2FS();
[43]6871
6872 yyrc = _O32_LockWindowUpdate(a);
6873 SetFS(sel);
6874
6875 return yyrc;
6876}
6877
6878inline BOOL O32_MapDialogRect(HWND a, PRECT b)
6879{
6880 BOOL yyrc;
[223]6881 USHORT sel = RestoreOS2FS();
[43]6882
6883 yyrc = _O32_MapDialogRect(a, b);
6884 SetFS(sel);
6885
6886 return yyrc;
6887}
6888
6889inline UINT O32_MapVirtualKey(UINT a, UINT b)
6890{
6891 UINT yyrc;
[223]6892 USHORT sel = RestoreOS2FS();
[43]6893
6894 yyrc = _O32_MapVirtualKey(a, b);
6895 SetFS(sel);
6896
6897 return yyrc;
6898}
6899
6900inline int O32_MapWindowPoints(HWND a, HWND b, PPOINT c, int d)
6901{
6902 int yyrc;
[223]6903 USHORT sel = RestoreOS2FS();
[43]6904
6905 yyrc = _O32_MapWindowPoints(a, b, c, d);
6906 SetFS(sel);
6907
6908 return yyrc;
6909}
6910
6911inline BOOL O32_MaskBlt(HDC a, int b, int c, int d, int e, HDC f, int g, int h, HBITMAP i, int j, int k, DWORD l)
6912{
6913 BOOL yyrc;
[223]6914 USHORT sel = RestoreOS2FS();
[43]6915
6916 yyrc = _O32_MaskBlt(a, b, c, d, e, f, g, h, i, j, k, l);
6917 SetFS(sel);
6918
6919 return yyrc;
6920}
6921
6922inline int O32_MessageBox(HWND a, LPCSTR b, LPCSTR c, UINT d)
6923{
6924 int yyrc;
[223]6925 USHORT sel = RestoreOS2FS();
[43]6926
6927 yyrc = _O32_MessageBox(a, b, c, d);
6928 SetFS(sel);
6929
6930 return yyrc;
6931}
6932
6933inline BOOL O32_MessageBeep(UINT a)
6934{
6935 BOOL yyrc;
[223]6936 USHORT sel = RestoreOS2FS();
[43]6937
6938 yyrc = _O32_MessageBeep(a);
6939 SetFS(sel);
6940
6941 return yyrc;
6942}
6943
6944inline DWORD O32_MsgWaitForMultipleObjects(DWORD a, LPHANDLE b, BOOL c, DWORD d, DWORD e)
6945{
6946 DWORD yyrc;
[223]6947 USHORT sel = RestoreOS2FS();
[43]6948
6949 yyrc = _O32_MsgWaitForMultipleObjects(a, b, c, d, e);
6950 SetFS(sel);
6951
6952 return yyrc;
6953}
6954
6955inline BOOL O32_ModifyMenu(HMENU a, UINT b, UINT c, UINT d, LPCSTR e)
6956{
6957 BOOL yyrc;
[223]6958 USHORT sel = RestoreOS2FS();
[43]6959
6960 yyrc = _O32_ModifyMenu(a, b, c, d, e);
6961 SetFS(sel);
6962
6963 return yyrc;
6964}
6965
6966inline BOOL O32_ModifyWorldTransform(HDC a, LPXFORM b, DWORD c)
6967{
6968 BOOL yyrc;
[223]6969 USHORT sel = RestoreOS2FS();
[43]6970
6971 yyrc = _O32_ModifyWorldTransform(a, b, c);
6972 SetFS(sel);
6973
6974 return yyrc;
6975}
6976
6977inline BOOL O32_MoveFile(LPCSTR a, LPCSTR b)
6978{
6979 BOOL yyrc;
[223]6980 USHORT sel = RestoreOS2FS();
[43]6981
6982 yyrc = _O32_MoveFile(a, b);
6983 SetFS(sel);
6984
6985 return yyrc;
6986}
6987
6988inline BOOL O32_MoveToEx(HDC a, int b, int c, PPOINT d)
6989{
6990 BOOL yyrc;
[223]6991 USHORT sel = RestoreOS2FS();
[43]6992
6993 yyrc = _O32_MoveToEx(a, b, c, d);
6994 SetFS(sel);
6995
6996 return yyrc;
6997}
6998
6999inline BOOL O32_MoveWindow(HWND a, int b, int c, int d, int e, BOOL f)
7000{
7001 BOOL yyrc;
[223]7002 USHORT sel = RestoreOS2FS();
[43]7003
7004 yyrc = _O32_MoveWindow(a, b, c, d, e, f);
7005 SetFS(sel);
7006
7007 return yyrc;
7008}
7009
7010inline int O32_MulDiv(int a, int b, int c)
7011{
7012 int yyrc;
[223]7013 USHORT sel = RestoreOS2FS();
[43]7014
7015 yyrc = _O32_MulDiv(a, b, c);
7016 SetFS(sel);
7017
7018 return yyrc;
7019}
7020
7021inline int O32_OffsetClipRgn(HDC a, int b, int c)
7022{
7023 int yyrc;
[223]7024 USHORT sel = RestoreOS2FS();
[43]7025
7026 yyrc = _O32_OffsetClipRgn(a, b, c);
7027 SetFS(sel);
7028
7029 return yyrc;
7030}
7031
7032inline BOOL O32_OffsetRect(PRECT a, int b, int c)
7033{
7034 BOOL yyrc;
[223]7035 USHORT sel = RestoreOS2FS();
[43]7036
7037 yyrc = _O32_OffsetRect(a, b, c);
7038 SetFS(sel);
7039
7040 return yyrc;
7041}
7042
7043inline int O32_OffsetRgn(HRGN a, int b, int c)
7044{
7045 int yyrc;
[223]7046 USHORT sel = RestoreOS2FS();
[43]7047
7048 yyrc = _O32_OffsetRgn(a, b, c);
7049 SetFS(sel);
7050
7051 return yyrc;
7052}
7053
7054inline BOOL O32_OffsetViewportOrgEx(HDC a, int b, int c, PPOINT d)
7055{
7056 BOOL yyrc;
[223]7057 USHORT sel = RestoreOS2FS();
[43]7058
7059 yyrc = _O32_OffsetViewportOrgEx(a, b, c, d);
7060 SetFS(sel);
7061
7062 return yyrc;
7063}
7064
7065inline BOOL O32_OffsetWindowOrgEx(HDC a, int b, int c, PPOINT d)
7066{
7067 BOOL yyrc;
[223]7068 USHORT sel = RestoreOS2FS();
[43]7069
7070 yyrc = _O32_OffsetWindowOrgEx(a, b, c, d);
7071 SetFS(sel);
7072
7073 return yyrc;
7074}
7075
7076inline BOOL O32_OpenClipboard(HWND a)
7077{
7078 BOOL yyrc;
[223]7079 USHORT sel = RestoreOS2FS();
[43]7080
7081 yyrc = _O32_OpenClipboard(a);
7082 SetFS(sel);
7083
7084 return yyrc;
7085}
7086
7087inline HANDLE O32_OpenEvent(DWORD a, BOOL b, LPCSTR c)
7088{
7089 HANDLE yyrc;
[223]7090 USHORT sel = RestoreOS2FS();
[43]7091
7092 yyrc = _O32_OpenEvent(a, b, c);
7093 SetFS(sel);
7094
7095 return yyrc;
7096}
7097
7098inline HFILE O32_OpenFile(LPCSTR a, LPOFSTRUCT b, UINT c)
7099{
7100 HFILE yyrc;
[223]7101 USHORT sel = RestoreOS2FS();
[43]7102
7103 yyrc = _O32_OpenFile(a, b, c);
7104 SetFS(sel);
7105
7106 return yyrc;
7107}
7108
7109inline HANDLE O32_OpenMutex(DWORD a, BOOL b, LPCSTR c)
7110{
7111 HANDLE yyrc;
[223]7112 USHORT sel = RestoreOS2FS();
[43]7113
7114 yyrc = _O32_OpenMutex(a, b, c);
7115 SetFS(sel);
7116
7117 return yyrc;
7118}
7119
7120inline HANDLE O32_OpenProcess(DWORD a, BOOL b, DWORD c)
7121{
7122 HANDLE yyrc;
[223]7123 USHORT sel = RestoreOS2FS();
[43]7124
7125 yyrc = _O32_OpenProcess(a, b, c);
7126 SetFS(sel);
7127
7128 return yyrc;
7129}
7130
7131inline HANDLE O32_OpenSemaphore(DWORD a, BOOL b, LPCSTR c)
7132{
7133 HANDLE yyrc;
[223]7134 USHORT sel = RestoreOS2FS();
[43]7135
7136 yyrc = _O32_OpenSemaphore(a, b, c);
7137 SetFS(sel);
7138
7139 return yyrc;
7140}
7141
7142inline VOID O32_OutputDebugString(LPCSTR a)
7143{
[223]7144 USHORT sel = RestoreOS2FS();
[43]7145
7146 _O32_OutputDebugString(a);
7147 SetFS(sel);
7148}
7149
7150inline LONG O32_PackDDElParam(UINT a, UINT b, UINT c)
7151{
7152 LONG yyrc;
[223]7153 USHORT sel = RestoreOS2FS();
[43]7154
7155 yyrc = _O32_PackDDElParam(a, b, c);
7156 SetFS(sel);
7157
7158 return yyrc;
7159}
7160
7161inline BOOL O32_PaintRgn(HDC a, HRGN b)
7162{
7163 BOOL yyrc;
[223]7164 USHORT sel = RestoreOS2FS();
[43]7165
7166 yyrc = _O32_PaintRgn(a, b);
7167 SetFS(sel);
7168
7169 return yyrc;
7170}
7171
7172inline BOOL O32_PatBlt(HDC a, int b, int c, int d, int e, DWORD f)
7173{
7174 BOOL yyrc;
[223]7175 USHORT sel = RestoreOS2FS();
[43]7176
7177 yyrc = _O32_PatBlt(a, b, c, d, e, f);
7178 SetFS(sel);
7179
7180 return yyrc;
7181}
7182
7183inline HRGN O32_PathToRegion(HDC a)
7184{
7185 HRGN yyrc;
[223]7186 USHORT sel = RestoreOS2FS();
[43]7187
7188 yyrc = _O32_PathToRegion(a);
7189 SetFS(sel);
7190
7191 return yyrc;
7192}
7193
7194inline BOOL O32_PeekMessage(LPMSG a, HWND b, UINT c, UINT d, UINT e)
7195{
7196 BOOL yyrc;
[223]7197 USHORT sel = RestoreOS2FS();
[43]7198
7199 yyrc = _O32_PeekMessage(a, b, c, d, e);
7200 SetFS(sel);
7201
7202 return yyrc;
7203}
7204
7205inline BOOL O32_Pie(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
7206{
7207 BOOL yyrc;
[223]7208 USHORT sel = RestoreOS2FS();
[43]7209
7210 yyrc = _O32_Pie(a, b, c, d, e, f, g, h, i);
7211 SetFS(sel);
7212
7213 return yyrc;
7214}
7215
7216inline BOOL O32_PlayEnhMetaFile(HDC a, HENHMETAFILE b, CONST RECT *c)
7217{
7218 BOOL yyrc;
[223]7219 USHORT sel = RestoreOS2FS();
[43]7220
7221 yyrc = _O32_PlayEnhMetaFile(a, b, c);
7222 SetFS(sel);
7223
7224 return yyrc;
7225}
7226
7227inline BOOL O32_PlayMetaFile(HDC a, HMETAFILE b)
7228{
7229 BOOL yyrc;
[223]7230 USHORT sel = RestoreOS2FS();
[43]7231
7232 yyrc = _O32_PlayMetaFile(a, b);
7233 SetFS(sel);
7234
7235 return yyrc;
7236}
7237
7238inline BOOL O32_PlayMetaFileRecord(HDC a, LPHANDLETABLE b, PMETARECORD c, int d)
7239{
7240 BOOL yyrc;
[223]7241 USHORT sel = RestoreOS2FS();
[43]7242
7243 yyrc = _O32_PlayMetaFileRecord(a, b, c, d);
7244 SetFS(sel);
7245
7246 return yyrc;
7247}
7248
7249inline BOOL O32_PolyBezier(HDC a, CONST POINT *b, int c)
7250{
7251 BOOL yyrc;
[223]7252 USHORT sel = RestoreOS2FS();
[43]7253
7254 yyrc = _O32_PolyBezier(a, b, c);
7255 SetFS(sel);
7256
7257 return yyrc;
7258}
7259
7260inline BOOL O32_PolyBezierTo(HDC a, CONST POINT *b, DWORD c)
7261{
7262 BOOL yyrc;
[223]7263 USHORT sel = RestoreOS2FS();
[43]7264
7265 yyrc = _O32_PolyBezierTo(a, b, c);
7266 SetFS(sel);
7267
7268 return yyrc;
7269}
7270
7271inline BOOL O32_PolyDraw(HDC a, CONST POINT *b, CONST BYTE *c, int d)
7272{
7273 BOOL yyrc;
[223]7274 USHORT sel = RestoreOS2FS();
[43]7275
7276 yyrc = _O32_PolyDraw(a, b, c, d);
7277 SetFS(sel);
7278
7279 return yyrc;
7280}
7281
7282inline BOOL O32_Polygon(HDC a, CONST POINT *b, int c)
7283{
7284 BOOL yyrc;
[223]7285 USHORT sel = RestoreOS2FS();
[43]7286
7287 yyrc = _O32_Polygon(a, b, c);
7288 SetFS(sel);
7289
7290 return yyrc;
7291}
7292
7293inline BOOL O32_Polyline(HDC a, CONST POINT *b, int c)
7294{
7295 BOOL yyrc;
[223]7296 USHORT sel = RestoreOS2FS();
[43]7297
7298 yyrc = _O32_Polyline(a, b, c);
7299 SetFS(sel);
7300
7301 return yyrc;
7302}
7303
7304inline BOOL O32_PolylineTo(HDC a, CONST POINT *b, DWORD c)
7305{
7306 BOOL yyrc;
[223]7307 USHORT sel = RestoreOS2FS();
[43]7308
7309 yyrc = _O32_PolylineTo(a, b, c);
7310 SetFS(sel);
7311
7312 return yyrc;
7313}
7314
7315inline BOOL O32_PolyPolygon(HDC a, CONST POINT *b, CONST int *c, int d)
7316{
7317 BOOL yyrc;
[223]7318 USHORT sel = RestoreOS2FS();
[43]7319
7320 yyrc = _O32_PolyPolygon(a, b, c, d);
7321 SetFS(sel);
7322
7323 return yyrc;
7324}
7325
7326inline BOOL O32_PolyPolyline(HDC a, CONST POINT *b, CONST DWORD *c, DWORD d)
7327{
7328 BOOL yyrc;
[223]7329 USHORT sel = RestoreOS2FS();
[43]7330
7331 yyrc = _O32_PolyPolyline(a, b, c, d);
7332 SetFS(sel);
7333
7334 return yyrc;
7335}
7336
7337inline VOID O32_PostQuitMessage(int a)
7338{
[223]7339 USHORT sel = RestoreOS2FS();
[43]7340
7341 _O32_PostQuitMessage(a);
7342 SetFS(sel);
7343}
7344
7345inline BOOL O32_PostMessage(HWND a, UINT b, WPARAM c, LPARAM d)
7346{
7347 BOOL yyrc;
[223]7348 USHORT sel = RestoreOS2FS();
[43]7349
7350 yyrc = _O32_PostMessage(a, b, c, d);
7351 SetFS(sel);
7352
7353 return yyrc;
7354}
7355
7356inline BOOL O32_PostThreadMessage(DWORD a, UINT b, WPARAM c, LPARAM d)
7357{
7358 BOOL yyrc;
[223]7359 USHORT sel = RestoreOS2FS();
[43]7360
7361 yyrc = _O32_PostThreadMessage(a, b, c, d);
7362 SetFS(sel);
7363
7364 return yyrc;
7365}
7366
7367inline BOOL O32_PtInRect(CONST RECT *a, POINT b)
7368{
7369 BOOL yyrc;
[223]7370 USHORT sel = RestoreOS2FS();
[43]7371
7372 yyrc = _O32_PtInRect(a, b);
7373 SetFS(sel);
7374
7375 return yyrc;
7376}
7377
7378inline BOOL O32_PtInRegion(HRGN a, int b, int c)
7379{
7380 BOOL yyrc;
[223]7381 USHORT sel = RestoreOS2FS();
[43]7382
7383 yyrc = _O32_PtInRegion(a, b, c);
7384 SetFS(sel);
7385
7386 return yyrc;
7387}
7388
7389inline BOOL O32_PtVisible(HDC a, int b, int c)
7390{
7391 BOOL yyrc;
[223]7392 USHORT sel = RestoreOS2FS();
[43]7393
7394 yyrc = _O32_PtVisible(a, b, c);
7395 SetFS(sel);
7396
7397 return yyrc;
7398}
7399
7400inline BOOL O32_PrintDlg(LPPRINTDLGA a)
7401{
7402 BOOL yyrc;
[223]7403 USHORT sel = RestoreOS2FS();
[43]7404
7405 yyrc = _O32_PrintDlg(a);
7406 SetFS(sel);
7407
7408 return yyrc;
7409}
7410
7411inline BOOL O32_PulseEvent(HANDLE a)
7412{
7413 BOOL yyrc;
[223]7414 USHORT sel = RestoreOS2FS();
[43]7415
7416 yyrc = _O32_PulseEvent(a);
7417 SetFS(sel);
7418
7419 return yyrc;
7420}
7421
7422inline BOOL O32_ReadFile(HANDLE a, PVOID b, DWORD c, PDWORD d, LPOVERLAPPED e)
7423{
7424 BOOL yyrc;
[223]7425 USHORT sel = RestoreOS2FS();
[43]7426
7427 yyrc = _O32_ReadFile(a, b, c, d, e);
7428 SetFS(sel);
7429
7430 return yyrc;
7431}
7432
7433inline UINT O32_RealizePalette(HDC a)
7434{
7435 UINT yyrc;
[223]7436 USHORT sel = RestoreOS2FS();
[43]7437
7438 yyrc = _O32_RealizePalette(a);
7439 SetFS(sel);
7440
7441 return yyrc;
7442}
7443
7444inline BOOL O32_RectInRegion(HRGN a, CONST RECT *b)
7445{
7446 BOOL yyrc;
[223]7447 USHORT sel = RestoreOS2FS();
[43]7448
7449 yyrc = _O32_RectInRegion(a, b);
7450 SetFS(sel);
7451
7452 return yyrc;
7453}
7454
7455inline BOOL O32_RectVisible(HDC a, CONST RECT *b)
7456{
7457 BOOL yyrc;
[223]7458 USHORT sel = RestoreOS2FS();
[43]7459
7460 yyrc = _O32_RectVisible(a, b);
7461 SetFS(sel);
7462
7463 return yyrc;
7464}
7465
7466inline BOOL O32_Rectangle(HDC a, int b, int c, int d, int e)
7467{
7468 BOOL yyrc;
[223]7469 USHORT sel = RestoreOS2FS();
[43]7470
7471 yyrc = _O32_Rectangle(a, b, c, d, e);
7472 SetFS(sel);
7473
7474 return yyrc;
7475}
7476
7477inline BOOL O32_RedrawWindow(HWND a, CONST RECT *b, HRGN c, DWORD d)
7478{
7479 BOOL yyrc;
[223]7480 USHORT sel = RestoreOS2FS();
[43]7481
7482 yyrc = _O32_RedrawWindow(a, b, c, d);
7483 SetFS(sel);
7484
7485 return yyrc;
7486}
7487
7488inline LONG O32_RegCloseKey(HKEY a)
7489{
7490 LONG yyrc;
[223]7491 USHORT sel = RestoreOS2FS();
[43]7492
7493 yyrc = _O32_RegCloseKey(a);
7494 SetFS(sel);
7495
7496 return yyrc;
7497}
7498
7499inline LONG O32_RegCreateKey(HKEY a, LPCSTR b, PHKEY c)
7500{
7501 LONG yyrc;
[223]7502 USHORT sel = RestoreOS2FS();
[43]7503
7504 yyrc = _O32_RegCreateKey(a, b, c);
7505 SetFS(sel);
7506
7507 return yyrc;
7508}
7509
7510inline LONG O32_RegCreateKeyEx(HKEY a, LPCSTR b, DWORD c, LPSTR d, DWORD e, REGSAM f, LPSECURITY_ATTRIBUTES g, PHKEY h, PDWORD i)
7511{
7512 LONG yyrc;
[223]7513 USHORT sel = RestoreOS2FS();
[43]7514
7515 yyrc = _O32_RegCreateKeyEx(a, b, c, d, e, f, g, h, i);
7516 SetFS(sel);
7517
7518 return yyrc;
7519}
7520
7521inline LONG O32_RegDeleteKey(HKEY a, LPCSTR b)
7522{
7523 LONG yyrc;
[223]7524 USHORT sel = RestoreOS2FS();
[43]7525
7526 yyrc = _O32_RegDeleteKey(a, b);
7527 SetFS(sel);
7528
7529 return yyrc;
7530}
7531
7532inline LONG O32_RegDeleteValue(HKEY a, LPSTR b)
7533{
7534 LONG yyrc;
[223]7535 USHORT sel = RestoreOS2FS();
[43]7536
7537 yyrc = _O32_RegDeleteValue(a, b);
7538 SetFS(sel);
7539
7540 return yyrc;
7541}
7542
7543inline LONG O32_RegEnumKey(HKEY a, DWORD b, LPSTR c, DWORD d)
7544{
7545 LONG yyrc;
[223]7546 USHORT sel = RestoreOS2FS();
[43]7547
7548 yyrc = _O32_RegEnumKey(a, b, c, d);
7549 SetFS(sel);
7550
7551 return yyrc;
7552}
7553
7554inline LONG O32_RegEnumKeyEx(HKEY a, DWORD b, LPSTR c, PDWORD d, PDWORD e, LPSTR f, PDWORD g, FILETIME *h)
7555{
7556 LONG yyrc;
[223]7557 USHORT sel = RestoreOS2FS();
[43]7558
7559 yyrc = _O32_RegEnumKeyEx(a, b, c, d, e, f, g, h);
7560 SetFS(sel);
7561
7562 return yyrc;
7563}
7564
7565inline LONG O32_RegEnumValue(HKEY a, DWORD b, LPSTR c, PDWORD d, PDWORD e, PDWORD f, LPBYTE g, PDWORD h)
7566{
7567 LONG yyrc;
[223]7568 USHORT sel = RestoreOS2FS();
[43]7569
7570 yyrc = _O32_RegEnumValue(a, b, c, d, e, f, g, h);
7571 SetFS(sel);
7572
7573 return yyrc;
7574}
7575
7576inline LONG O32_RegOpenKey(HKEY a, LPCSTR b, PHKEY c)
7577{
7578 LONG yyrc;
[223]7579 USHORT sel = RestoreOS2FS();
[43]7580
7581 yyrc = _O32_RegOpenKey(a, b, c);
7582 SetFS(sel);
7583
7584 return yyrc;
7585}
7586
7587inline LONG O32_RegOpenKeyEx(HKEY a, LPCSTR b, DWORD c, REGSAM d, PHKEY e)
7588{
7589 LONG yyrc;
[223]7590 USHORT sel = RestoreOS2FS();
[43]7591
7592 yyrc = _O32_RegOpenKeyEx(a, b, c, d, e);
7593 SetFS(sel);
7594
7595 return yyrc;
7596}
7597
7598inline LONG O32_RegQueryInfoKey(HKEY a, LPSTR b, PDWORD c, PDWORD d, PDWORD e, PDWORD f, PDWORD g, PDWORD h, PDWORD i, PDWORD j, PDWORD k, FILETIME *l)
7599{
7600 LONG yyrc;
[223]7601 USHORT sel = RestoreOS2FS();
[43]7602
7603 yyrc = _O32_RegQueryInfoKey(a, b, c, d, e, f, g, h, i, j, k, l);
7604 SetFS(sel);
7605
7606 return yyrc;
7607}
7608
7609inline LONG O32_RegQueryValue(HKEY a, LPCSTR b, LPSTR c, PLONG d)
7610{
7611 LONG yyrc;
[223]7612 USHORT sel = RestoreOS2FS();
[43]7613
7614 yyrc = _O32_RegQueryValue(a, b, c, d);
7615 SetFS(sel);
7616
7617 return yyrc;
7618}
7619
7620inline LONG O32_RegQueryValueEx(HKEY a, LPCSTR b, PDWORD c, PDWORD d, LPBYTE e, PDWORD f)
7621{
7622 LONG yyrc;
[223]7623 USHORT sel = RestoreOS2FS();
[43]7624
7625 yyrc = _O32_RegQueryValueEx(a, b, c, d, e, f);
7626 SetFS(sel);
7627
7628 return yyrc;
7629}
7630
7631inline LONG O32_RegSetValue(HKEY a, LPCSTR b, DWORD c, LPCSTR d, DWORD e)
7632{
7633 LONG yyrc;
[223]7634 USHORT sel = RestoreOS2FS();
[43]7635
7636 yyrc = _O32_RegSetValue(a, b, c, d, e);
7637 SetFS(sel);
7638
7639 return yyrc;
7640}
7641
7642inline LONG O32_RegSetValueEx(HKEY a, LPCSTR b, DWORD c, DWORD d, CONST BYTE *e, DWORD f)
7643{
7644 LONG yyrc;
[223]7645 USHORT sel = RestoreOS2FS();
[43]7646
7647 yyrc = _O32_RegSetValueEx(a, b, c, d, e, f);
7648 SetFS(sel);
7649
7650 return yyrc;
7651}
7652
7653inline WORD O32_RegisterClass(CONST WNDCLASSA *a)
7654{
7655 WORD yyrc;
[223]7656 USHORT sel = RestoreOS2FS();
[43]7657
7658 yyrc = _O32_RegisterClass(a);
7659 SetFS(sel);
7660
7661 return yyrc;
7662}
7663
7664inline UINT O32_RegisterClipboardFormat(LPCSTR a)
7665{
7666 UINT yyrc;
[223]7667 USHORT sel = RestoreOS2FS();
[43]7668
7669 yyrc = _O32_RegisterClipboardFormat(a);
7670 SetFS(sel);
7671
7672 return yyrc;
7673}
7674
7675inline UINT O32_RegisterWindowMessage(LPCSTR a)
7676{
7677 UINT yyrc;
[223]7678 USHORT sel = RestoreOS2FS();
[43]7679
7680 yyrc = _O32_RegisterWindowMessage(a);
7681 SetFS(sel);
7682
7683 return yyrc;
7684}
7685
7686inline BOOL O32_ReleaseCapture()
7687{
7688 BOOL yyrc;
[223]7689 USHORT sel = RestoreOS2FS();
[43]7690
7691 yyrc = _O32_ReleaseCapture();
7692 SetFS(sel);
7693
7694 return yyrc;
7695}
7696
7697inline int O32_ReleaseDC(HWND a, HDC b)
7698{
7699 int yyrc;
[223]7700 USHORT sel = RestoreOS2FS();
[43]7701
7702 yyrc = _O32_ReleaseDC(a, b);
7703 SetFS(sel);
7704
7705 return yyrc;
7706}
7707
7708inline BOOL O32_ReleaseMutex(HANDLE a)
7709{
7710 BOOL yyrc;
[223]7711 USHORT sel = RestoreOS2FS();
[43]7712
7713 yyrc = _O32_ReleaseMutex(a);
7714 SetFS(sel);
7715
7716 return yyrc;
7717}
7718
7719inline BOOL O32_ReleaseSemaphore(HANDLE a, LONG b, PLONG c)
7720{
7721 BOOL yyrc;
[223]7722 USHORT sel = RestoreOS2FS();
[43]7723
7724 yyrc = _O32_ReleaseSemaphore(a, b, c);
7725 SetFS(sel);
7726
7727 return yyrc;
7728}
7729
7730inline BOOL O32_RemoveDirectory(LPCSTR a)
7731{
7732 BOOL yyrc;
[223]7733 USHORT sel = RestoreOS2FS();
[43]7734
7735 yyrc = _O32_RemoveDirectory(a);
7736 SetFS(sel);
7737
7738 return yyrc;
7739}
7740
7741inline BOOL O32_RemoveFontResource(LPCSTR a)
7742{
7743 BOOL yyrc;
[223]7744 USHORT sel = RestoreOS2FS();
[43]7745
7746 yyrc = _O32_RemoveFontResource(a);
7747 SetFS(sel);
7748
7749 return yyrc;
7750}
7751
7752inline BOOL O32_RemoveMenu(HMENU a, UINT b, UINT c)
7753{
7754 BOOL yyrc;
[223]7755 USHORT sel = RestoreOS2FS();
[43]7756
7757 yyrc = _O32_RemoveMenu(a, b, c);
7758 SetFS(sel);
7759
7760 return yyrc;
7761}
7762
7763inline HANDLE O32_RemoveProp(HWND a, LPCSTR b)
7764{
7765 HANDLE yyrc;
[223]7766 USHORT sel = RestoreOS2FS();
[43]7767
7768 yyrc = _O32_RemoveProp(a, b);
7769 SetFS(sel);
7770
7771 return yyrc;
7772}
7773
7774inline HWND O32_ReplaceText(LPFINDREPLACEA a)
7775{
7776 HWND yyrc;
[223]7777 USHORT sel = RestoreOS2FS();
[43]7778
7779 yyrc = _O32_ReplaceText(a);
7780 SetFS(sel);
7781
7782 return yyrc;
7783}
7784
7785inline BOOL O32_ReplyMessage(LRESULT a)
7786{
7787 BOOL yyrc;
[223]7788 USHORT sel = RestoreOS2FS();
[43]7789
7790 yyrc = _O32_ReplyMessage(a);
7791 SetFS(sel);
7792
7793 return yyrc;
7794}
7795
7796inline BOOL O32_ResetDC(HDC a, CONST DEVMODEA *b)
7797{
7798 BOOL yyrc;
[223]7799 USHORT sel = RestoreOS2FS();
[43]7800
7801 yyrc = _O32_ResetDC(a, b);
7802 SetFS(sel);
7803
7804 return yyrc;
7805}
7806
7807inline BOOL O32_ResetEvent(HANDLE a)
7808{
7809 BOOL yyrc;
[223]7810 USHORT sel = RestoreOS2FS();
[43]7811
7812 yyrc = _O32_ResetEvent(a);
7813 SetFS(sel);
7814
7815 return yyrc;
7816}
7817
7818inline BOOL O32_ResizePalette(HPALETTE a, UINT b)
7819{
7820 BOOL yyrc;
[223]7821 USHORT sel = RestoreOS2FS();
[43]7822
7823 yyrc = _O32_ResizePalette(a, b);
7824 SetFS(sel);
7825
7826 return yyrc;
7827}
7828
7829inline BOOL O32_RestoreDC(HDC a, int b)
7830{
7831 BOOL yyrc;
[223]7832 USHORT sel = RestoreOS2FS();
[43]7833
7834 yyrc = _O32_RestoreDC(a, b);
7835 SetFS(sel);
7836
7837 return yyrc;
7838}
7839
7840inline DWORD O32_ResumeThread(HANDLE a)
7841{
7842 DWORD yyrc;
[223]7843 USHORT sel = RestoreOS2FS();
[43]7844
7845 yyrc = _O32_ResumeThread(a);
7846 SetFS(sel);
7847
7848 return yyrc;
7849}
7850
7851inline LONG O32_ReuseDDElParam(LONG a, UINT b, UINT c, UINT d, UINT e)
7852{
7853 LONG yyrc;
[223]7854 USHORT sel = RestoreOS2FS();
[43]7855
7856 yyrc = _O32_ReuseDDElParam(a, b, c, d, e);
7857 SetFS(sel);
7858
7859 return yyrc;
7860}
7861
7862inline BOOL O32_RoundRect(HDC a, int b, int c, int d, int e, int f, int g)
7863{
7864 BOOL yyrc;
[223]7865 USHORT sel = RestoreOS2FS();
[43]7866
7867 yyrc = _O32_RoundRect(a, b, c, d, e, f, g);
7868 SetFS(sel);
7869
7870 return yyrc;
7871}
7872
7873inline int O32_SaveDC(HDC a)
7874{
7875 int yyrc;
[223]7876 USHORT sel = RestoreOS2FS();
[43]7877
7878 yyrc = _O32_SaveDC(a);
7879 SetFS(sel);
7880
7881 return yyrc;
7882}
7883
7884inline BOOL O32_ScaleViewportExtEx(HDC a, int b, int c, int d, int e, PSIZE f)
7885{
7886 BOOL yyrc;
[223]7887 USHORT sel = RestoreOS2FS();
[43]7888
7889 yyrc = _O32_ScaleViewportExtEx(a, b, c, d, e, f);
7890 SetFS(sel);
7891
7892 return yyrc;
7893}
7894
7895inline BOOL O32_ScaleWindowExtEx(HDC a, int b, int c, int d, int e, PSIZE f)
7896{
7897 BOOL yyrc;
[223]7898 USHORT sel = RestoreOS2FS();
[43]7899
7900 yyrc = _O32_ScaleWindowExtEx(a, b, c, d, e, f);
7901 SetFS(sel);
7902
7903 return yyrc;
7904}
7905
7906inline BOOL O32_ScreenToClient(HWND a, PPOINT b)
7907{
7908 BOOL yyrc;
[223]7909 USHORT sel = RestoreOS2FS();
[43]7910
7911 yyrc = _O32_ScreenToClient(a, b);
7912 SetFS(sel);
7913
7914 return yyrc;
7915}
7916
7917inline BOOL O32_ScrollDC(HDC a, int b, int c, CONST RECT *d, CONST RECT *e, HRGN f, PRECT g)
7918{
7919 BOOL yyrc;
[223]7920 USHORT sel = RestoreOS2FS();
[43]7921
7922 yyrc = _O32_ScrollDC(a, b, c, d, e, f, g);
7923 SetFS(sel);
7924
7925 return yyrc;
7926}
7927
7928inline BOOL O32_ScrollWindow(HWND a, int b, int c, CONST RECT *d, CONST RECT *e)
7929{
7930 BOOL yyrc;
[223]7931 USHORT sel = RestoreOS2FS();
[43]7932
7933 yyrc = _O32_ScrollWindow(a, b, c, d, e);
7934 SetFS(sel);
7935
7936 return yyrc;
7937}
7938
7939inline BOOL O32_ScrollWindowEx(HWND a, int b, int c, CONST RECT *d, CONST RECT *e, HRGN f, PRECT g, UINT h)
7940{
7941 BOOL yyrc;
[223]7942 USHORT sel = RestoreOS2FS();
[43]7943
7944 yyrc = _O32_ScrollWindowEx(a, b, c, d, e, f, g, h);
7945 SetFS(sel);
7946
7947 return yyrc;
7948}
7949
7950inline DWORD O32_SearchPath(LPCSTR a, LPCSTR b, LPCSTR c, DWORD d, LPSTR e, LPSTR *f)
7951{
7952 DWORD yyrc;
[223]7953 USHORT sel = RestoreOS2FS();
[43]7954
7955 yyrc = _O32_SearchPath(a, b, c, d, e, f);
7956 SetFS(sel);
7957
7958 return yyrc;
7959}
7960
7961inline int O32_SelectClipRgn(HDC a, HRGN b)
7962{
7963 int yyrc;
[223]7964 USHORT sel = RestoreOS2FS();
[43]7965
7966 yyrc = _O32_SelectClipRgn(a, b);
7967 SetFS(sel);
7968
7969 return yyrc;
7970}
7971
7972inline HGDIOBJ O32_SelectObject(HDC a, HGDIOBJ b)
7973{
7974 HGDIOBJ yyrc;
[223]7975 USHORT sel = RestoreOS2FS();
[43]7976
7977 yyrc = _O32_SelectObject(a, b);
7978 SetFS(sel);
7979
7980 return yyrc;
7981}
7982
7983inline HPALETTE O32_SelectPalette(HDC a, HPALETTE b, BOOL c)
7984{
7985 HPALETTE yyrc;
[223]7986 USHORT sel = RestoreOS2FS();
[43]7987
7988 yyrc = _O32_SelectPalette(a, b, c);
7989 SetFS(sel);
7990
7991 return yyrc;
7992}
7993
7994inline LONG O32_SendDlgItemMessage(HWND a, int b, UINT c, WPARAM d, LPARAM e)
7995{
7996 LONG yyrc;
[223]7997 USHORT sel = RestoreOS2FS();
[43]7998
7999 yyrc = _O32_SendDlgItemMessage(a, b, c, d, e);
8000 SetFS(sel);
8001
8002 return yyrc;
8003}
8004
8005inline LRESULT O32_SendMessage(HWND a, UINT b, WPARAM c, LPARAM d)
8006{
8007 LRESULT yyrc;
[223]8008 USHORT sel = RestoreOS2FS();
[43]8009
8010 yyrc = _O32_SendMessage(a, b, c, d);
8011 SetFS(sel);
8012
8013 return yyrc;
8014}
8015
8016inline HWND O32_SetActiveWindow(HWND a)
8017{
8018 HWND yyrc;
[223]8019 USHORT sel = RestoreOS2FS();
[43]8020
8021 yyrc = _O32_SetActiveWindow(a);
8022 SetFS(sel);
8023
8024 return yyrc;
8025}
8026
8027inline int O32_SetArcDirection(HDC a, int b)
8028{
8029 int yyrc;
[223]8030 USHORT sel = RestoreOS2FS();
[43]8031
8032 yyrc = _O32_SetArcDirection(a, b);
8033 SetFS(sel);
8034
8035 return yyrc;
8036}
8037
8038inline LONG O32_SetBitmapBits(HBITMAP a, DWORD b, CONST VOID *c)
8039{
8040 LONG yyrc;
[223]8041 USHORT sel = RestoreOS2FS();
[43]8042
8043 yyrc = _O32_SetBitmapBits(a, b, c);
8044 SetFS(sel);
8045
8046 return yyrc;
8047}
8048
8049inline BOOL O32_SetBitmapDimensionEx(HBITMAP a, int b, int c, PSIZE d)
8050{
8051 BOOL yyrc;
[223]8052 USHORT sel = RestoreOS2FS();
[43]8053
8054 yyrc = _O32_SetBitmapDimensionEx(a, b, c, d);
8055 SetFS(sel);
8056
8057 return yyrc;
8058}
8059
8060inline COLORREF O32_SetBkColor(HDC a, COLORREF b)
8061{
8062 COLORREF yyrc;
[223]8063 USHORT sel = RestoreOS2FS();
[43]8064
8065 yyrc = _O32_SetBkColor(a, b);
8066 SetFS(sel);
8067
8068 return yyrc;
8069}
8070
8071inline int O32_SetBkMode(HDC a, int b)
8072{
8073 int yyrc;
[223]8074 USHORT sel = RestoreOS2FS();
[43]8075
8076 yyrc = _O32_SetBkMode(a, b);
8077 SetFS(sel);
8078
8079 return yyrc;
8080}
8081
8082inline LONG O32_SetBoundsRect(HDC a, CONST RECT *b, UINT c)
8083{
8084 LONG yyrc;
[223]8085 USHORT sel = RestoreOS2FS();
[43]8086
8087 yyrc = _O32_SetBoundsRect(a, b, c);
8088 SetFS(sel);
8089
8090 return yyrc;
8091}
8092
8093inline BOOL O32_SetBrushOrgEx(HDC a, int b, int c, PPOINT d)
8094{
8095 BOOL yyrc;
[223]8096 USHORT sel = RestoreOS2FS();
[43]8097
8098 yyrc = _O32_SetBrushOrgEx(a, b, c, d);
8099 SetFS(sel);
8100
8101 return yyrc;
8102}
8103
8104inline HWND O32_SetCapture(HWND a)
8105{
8106 HWND yyrc;
[223]8107 USHORT sel = RestoreOS2FS();
[43]8108
8109 yyrc = _O32_SetCapture(a);
8110 SetFS(sel);
8111
8112 return yyrc;
8113}
8114
8115inline BOOL O32_SetCaretBlinkTime(UINT a)
8116{
8117 BOOL yyrc;
[223]8118 USHORT sel = RestoreOS2FS();
[43]8119
8120 yyrc = _O32_SetCaretBlinkTime(a);
8121 SetFS(sel);
8122
8123 return yyrc;
8124}
8125
8126inline BOOL O32_SetCaretPos(int a, int b)
8127{
8128 BOOL yyrc;
[223]8129 USHORT sel = RestoreOS2FS();
[43]8130
8131 yyrc = _O32_SetCaretPos(a, b);
8132 SetFS(sel);
8133
8134 return yyrc;
8135}
8136
8137inline DWORD O32_SetClassLong(HWND a, int b, LONG c)
8138{
8139 DWORD yyrc;
[223]8140 USHORT sel = RestoreOS2FS();
[43]8141
8142 yyrc = _O32_SetClassLong(a, b, c);
8143 SetFS(sel);
8144
8145 return yyrc;
8146}
8147
8148inline WORD O32_SetClassWord(HWND a, int b, WORD c)
8149{
8150 WORD yyrc;
[223]8151 USHORT sel = RestoreOS2FS();
[43]8152
8153 yyrc = _O32_SetClassWord(a, b, c);
8154 SetFS(sel);
8155
8156 return yyrc;
8157}
8158
8159inline HANDLE O32_SetClipboardData(UINT a, HANDLE b)
8160{
8161 HANDLE yyrc;
[223]8162 USHORT sel = RestoreOS2FS();
[43]8163
8164 yyrc = _O32_SetClipboardData(a, b);
8165 SetFS(sel);
8166
8167 return yyrc;
8168}
8169
8170inline HWND O32_SetClipboardViewer(HWND a)
8171{
8172 HWND yyrc;
[223]8173 USHORT sel = RestoreOS2FS();
[43]8174
8175 yyrc = _O32_SetClipboardViewer(a);
8176 SetFS(sel);
8177
8178 return yyrc;
8179}
8180
8181inline BOOL O32_SetCurrentDirectory(LPSTR a)
8182{
8183 BOOL yyrc;
[223]8184 USHORT sel = RestoreOS2FS();
[43]8185
8186 yyrc = _O32_SetCurrentDirectory(a);
8187 SetFS(sel);
8188
8189 return yyrc;
8190}
8191
8192inline HCURSOR O32_SetCursor(HCURSOR a)
8193{
8194 HCURSOR yyrc;
[223]8195 USHORT sel = RestoreOS2FS();
[43]8196
8197 yyrc = _O32_SetCursor(a);
8198 SetFS(sel);
8199
8200 return yyrc;
8201}
8202
8203inline BOOL O32_SetCursorPos(int a, int b)
8204{
8205 BOOL yyrc;
[223]8206 USHORT sel = RestoreOS2FS();
[43]8207
8208 yyrc = _O32_SetCursorPos(a, b);
8209 SetFS(sel);
8210
8211 return yyrc;
8212}
8213
8214inline int O32_SetDIBits(HDC a, HBITMAP b, UINT c, UINT d, CONST VOID *e, CONST BITMAPINFO *f, UINT g)
8215{
8216 int yyrc;
[223]8217 USHORT sel = RestoreOS2FS();
[43]8218
8219 yyrc = _O32_SetDIBits(a, b, c, d, e, f, g);
8220 SetFS(sel);
8221
8222 return yyrc;
8223}
8224
8225inline int O32_SetDIBitsToDevice(HDC a, int b, int c, int d, int e, int f, int g, UINT h, UINT i, PVOID j, PBITMAPINFO k, UINT l)
8226{
8227 int yyrc;
[223]8228 USHORT sel = RestoreOS2FS();
[43]8229
8230 yyrc = _O32_SetDIBitsToDevice(a, b, c, d, e, f, g, h, i, j, k, l);
8231 SetFS(sel);
8232
8233 return yyrc;
8234}
8235
8236inline BOOL O32_SetDlgItemInt(HWND a, int b, UINT c, BOOL d)
8237{
8238 BOOL yyrc;
[223]8239 USHORT sel = RestoreOS2FS();
[43]8240
8241 yyrc = _O32_SetDlgItemInt(a, b, c, d);
8242 SetFS(sel);
8243
8244 return yyrc;
8245}
8246
8247inline BOOL O32_SetDlgItemText(HWND a, int b, LPCSTR c)
8248{
8249 BOOL yyrc;
[223]8250 USHORT sel = RestoreOS2FS();
[43]8251
8252 yyrc = _O32_SetDlgItemText(a, b, c);
8253 SetFS(sel);
8254
8255 return yyrc;
8256}
8257
8258inline BOOL O32_SetDoubleClickTime(UINT a)
8259{
8260 BOOL yyrc;
[223]8261 USHORT sel = RestoreOS2FS();
[43]8262
8263 yyrc = _O32_SetDoubleClickTime(a);
8264 SetFS(sel);
8265
8266 return yyrc;
8267}
8268
8269inline BOOL O32_SetEndOfFile(HANDLE a)
8270{
8271 BOOL yyrc;
[223]8272 USHORT sel = RestoreOS2FS();
[43]8273
8274 yyrc = _O32_SetEndOfFile(a);
8275 SetFS(sel);
8276
8277 return yyrc;
8278}
8279
8280inline HENHMETAFILE O32_SetEnhMetaFileBits(UINT a, CONST BYTE *b)
8281{
8282 HENHMETAFILE yyrc;
[223]8283 USHORT sel = RestoreOS2FS();
[43]8284
8285 yyrc = _O32_SetEnhMetaFileBits(a, b);
8286 SetFS(sel);
8287
8288 return yyrc;
8289}
8290
8291inline BOOL O32_SetEnvironmentVariable(LPCSTR a, LPCSTR b)
8292{
8293 BOOL yyrc;
[223]8294 USHORT sel = RestoreOS2FS();
[43]8295
8296 yyrc = _O32_SetEnvironmentVariable(a, b);
8297 SetFS(sel);
8298
8299 return yyrc;
8300}
8301
8302inline BOOL O32_SetEvent(HANDLE a)
8303{
8304 BOOL yyrc;
[223]8305 USHORT sel = RestoreOS2FS();
[43]8306
8307 yyrc = _O32_SetEvent(a);
8308 SetFS(sel);
8309
8310 return yyrc;
8311}
8312
8313inline BOOL O32_SetFileAttributes(LPCSTR a, DWORD b)
8314{
8315 BOOL yyrc;
[223]8316 USHORT sel = RestoreOS2FS();
[43]8317
8318 yyrc = _O32_SetFileAttributes(a, b);
8319 SetFS(sel);
8320
8321 return yyrc;
8322}
8323
8324inline DWORD O32_SetFilePointer(HANDLE a, LONG b, PLONG c, DWORD d)
8325{
8326 DWORD yyrc;
[223]8327 USHORT sel = RestoreOS2FS();
[43]8328
8329 yyrc = _O32_SetFilePointer(a, b, c, d);
8330 SetFS(sel);
8331
8332 return yyrc;
8333}
8334
8335inline BOOL O32_SetFileTime(HANDLE a, CONST FILETIME *b, CONST FILETIME *c, CONST FILETIME *d)
8336{
8337 BOOL yyrc;
[223]8338 USHORT sel = RestoreOS2FS();
[43]8339
8340 yyrc = _O32_SetFileTime(a, b, c, d);
8341 SetFS(sel);
8342
8343 return yyrc;
8344}
8345
8346inline HWND O32_SetFocus(HWND a)
8347{
8348 HWND yyrc;
[223]8349 USHORT sel = RestoreOS2FS();
[43]8350
8351 yyrc = _O32_SetFocus(a);
8352 SetFS(sel);
8353
8354 return yyrc;
8355}
8356
8357inline BOOL O32_SetForegroundWindow(HWND a)
8358{
8359 BOOL yyrc;
[223]8360 USHORT sel = RestoreOS2FS();
[43]8361
8362 yyrc = _O32_SetForegroundWindow(a);
8363 SetFS(sel);
8364
8365 return yyrc;
8366}
8367
8368inline int O32_SetGraphicsMode(HDC a, int b)
8369{
8370 int yyrc;
[223]8371 USHORT sel = RestoreOS2FS();
[43]8372
8373 yyrc = _O32_SetGraphicsMode(a, b);
8374 SetFS(sel);
8375
8376 return yyrc;
8377}
8378
8379inline UINT O32_SetHandleCount(UINT a)
8380{
8381 UINT yyrc;
[223]8382 USHORT sel = RestoreOS2FS();
[43]8383
8384 yyrc = _O32_SetHandleCount(a);
8385 SetFS(sel);
8386
8387 return yyrc;
8388}
8389
8390inline VOID O32_SetLastError(DWORD a)
8391{
[223]8392 USHORT sel = RestoreOS2FS();
[43]8393
8394 _O32_SetLastError(a);
8395 SetFS(sel);
8396}
8397
8398inline BOOL O32_SetLocalTime(CONST SYSTEMTIME *a)
8399{
8400 BOOL yyrc;
[223]8401 USHORT sel = RestoreOS2FS();
[43]8402
8403 yyrc = _O32_SetLocalTime(a);
8404 SetFS(sel);
8405
8406 return yyrc;
8407}
8408
8409inline int O32_SetMapMode(HDC a, int b)
8410{
8411 int yyrc;
[223]8412 USHORT sel = RestoreOS2FS();
[43]8413
8414 yyrc = _O32_SetMapMode(a, b);
8415 SetFS(sel);
8416
8417 return yyrc;
8418}
8419
8420inline DWORD O32_SetMapperFlags(HDC a, DWORD b)
8421{
8422 DWORD yyrc;
[223]8423 USHORT sel = RestoreOS2FS();
[43]8424
8425 yyrc = _O32_SetMapperFlags(a, b);
8426 SetFS(sel);
8427
8428 return yyrc;
8429}
8430
8431inline BOOL O32_SetMenu(HWND a, HMENU b)
8432{
8433 BOOL yyrc;
[223]8434 USHORT sel = RestoreOS2FS();
[43]8435
8436 yyrc = _O32_SetMenu(a, b);
8437 SetFS(sel);
8438
8439 return yyrc;
8440}
8441
8442inline BOOL O32_SetMenuItemBitmaps(HMENU a, UINT b, UINT c, HBITMAP d, HBITMAP e)
8443{
8444 BOOL yyrc;
[223]8445 USHORT sel = RestoreOS2FS();
[43]8446
8447 yyrc = _O32_SetMenuItemBitmaps(a, b, c, d, e);
8448 SetFS(sel);
8449
8450 return yyrc;
8451}
8452
8453inline HMETAFILE O32_SetMetaFileBitsEx(UINT a, PBYTE b)
8454{
8455 HMETAFILE yyrc;
[223]8456 USHORT sel = RestoreOS2FS();
[43]8457
8458 yyrc = _O32_SetMetaFileBitsEx(a, b);
8459 SetFS(sel);
8460
8461 return yyrc;
8462}
8463
8464inline BOOL O32_SetMiterLimit(HDC a, float b, float *c)
8465{
8466 BOOL yyrc;
[223]8467 USHORT sel = RestoreOS2FS();
[43]8468
8469 yyrc = _O32_SetMiterLimit(a, b, c);
8470 SetFS(sel);
8471
8472 return yyrc;
8473}
8474
8475inline UINT O32_SetPaletteEntries(HPALETTE a, UINT b, UINT c, CONST PALETTEENTRY *d)
8476{
8477 UINT yyrc;
[223]8478 USHORT sel = RestoreOS2FS();
[43]8479
8480 yyrc = _O32_SetPaletteEntries(a, b, c, d);
8481 SetFS(sel);
8482
8483 return yyrc;
8484}
8485
8486inline HWND O32_SetParent(HWND a, HWND b)
8487{
8488 HWND yyrc;
[223]8489 USHORT sel = RestoreOS2FS();
[43]8490
8491 yyrc = _O32_SetParent(a, b);
8492 SetFS(sel);
8493
8494 return yyrc;
8495}
8496
8497inline COLORREF O32_SetPixel(HDC a, int b, int c, COLORREF d)
8498{
8499 COLORREF yyrc;
[223]8500 USHORT sel = RestoreOS2FS();
[43]8501
8502 yyrc = _O32_SetPixel(a, b, c, d);
8503 SetFS(sel);
8504
8505 return yyrc;
8506}
8507
8508inline int O32_SetPolyFillMode(HDC a, int b)
8509{
8510 int yyrc;
[223]8511 USHORT sel = RestoreOS2FS();
[43]8512
8513 yyrc = _O32_SetPolyFillMode(a, b);
8514 SetFS(sel);
8515
8516 return yyrc;
8517}
8518
8519inline BOOL O32_SetPriorityClass(HANDLE a, DWORD b)
8520{
8521 BOOL yyrc;
[223]8522 USHORT sel = RestoreOS2FS();
[43]8523
8524 yyrc = _O32_SetPriorityClass(a, b);
8525 SetFS(sel);
8526
8527 return yyrc;
8528}
8529
8530inline BOOL O32_SetProp(HWND a, LPCSTR b, HANDLE c)
8531{
8532 BOOL yyrc;
[223]8533 USHORT sel = RestoreOS2FS();
[43]8534
8535 yyrc = _O32_SetProp(a, b, c);
8536 SetFS(sel);
8537
8538 return yyrc;
8539}
8540
8541inline BOOL O32_SetRect(PRECT a, int b, int c, int d, int e)
8542{
8543 BOOL yyrc;
[223]8544 USHORT sel = RestoreOS2FS();
[43]8545
8546 yyrc = _O32_SetRect(a, b, c, d, e);
8547 SetFS(sel);
8548
8549 return yyrc;
8550}
8551
8552inline BOOL O32_SetRectEmpty(PRECT a)
8553{
8554 BOOL yyrc;
[223]8555 USHORT sel = RestoreOS2FS();
[43]8556
8557 yyrc = _O32_SetRectEmpty(a);
8558 SetFS(sel);
8559
8560 return yyrc;
8561}
8562
8563inline BOOL O32_SetRectRgn(HRGN a, int b, int c, int d, int e)
8564{
8565 BOOL yyrc;
[223]8566 USHORT sel = RestoreOS2FS();
[43]8567
8568 yyrc = _O32_SetRectRgn(a, b, c, d, e);
8569 SetFS(sel);
8570
8571 return yyrc;
8572}
8573
8574inline int O32_SetROP2(HDC a, int b)
8575{
8576 int yyrc;
[223]8577 USHORT sel = RestoreOS2FS();
[43]8578
8579 yyrc = _O32_SetROP2(a, b);
8580 SetFS(sel);
8581
8582 return yyrc;
8583}
8584
8585inline int O32_SetScrollPos(HWND a, int b, int c, BOOL d)
8586{
8587 int yyrc;
[223]8588 USHORT sel = RestoreOS2FS();
[43]8589
8590 yyrc = _O32_SetScrollPos(a, b, c, d);
8591 SetFS(sel);
8592
8593 return yyrc;
8594}
8595
8596inline BOOL O32_SetScrollRange(HWND a, int b, int c, int d, BOOL e)
8597{
8598 BOOL yyrc;
[223]8599 USHORT sel = RestoreOS2FS();
[43]8600
8601 yyrc = _O32_SetScrollRange(a, b, c, d, e);
8602 SetFS(sel);
8603
8604 return yyrc;
8605}
8606
8607inline BOOL O32_SetStdHandle(DWORD a, HANDLE b)
8608{
8609 BOOL yyrc;
[223]8610 USHORT sel = RestoreOS2FS();
[43]8611
8612 yyrc = _O32_SetStdHandle(a, b);
8613 SetFS(sel);
8614
8615 return yyrc;
8616}
8617
8618inline int O32_SetStretchBltMode(HDC a, int b)
8619{
8620 int yyrc;
[223]8621 USHORT sel = RestoreOS2FS();
[43]8622
8623 yyrc = _O32_SetStretchBltMode(a, b);
8624 SetFS(sel);
8625
8626 return yyrc;
8627}
8628
8629inline UINT O32_SetSysColors(int a, CONST int *b, CONST COLORREF *c)
8630{
8631 UINT yyrc;
[223]8632 USHORT sel = RestoreOS2FS();
[43]8633
8634 yyrc = _O32_SetSysColors(a, b, c);
8635 SetFS(sel);
8636
8637 return yyrc;
8638}
8639
8640inline BOOL O32_SetSystemTime(CONST SYSTEMTIME *a)
8641{
8642 BOOL yyrc;
[223]8643 USHORT sel = RestoreOS2FS();
[43]8644
8645 yyrc = _O32_SetSystemTime(a);
8646 SetFS(sel);
8647
8648 return yyrc;
8649}
8650
8651inline BOOL O32_SetTimeZoneInformation(CONST TIME_ZONE_INFORMATION *a)
8652{
8653 BOOL yyrc;
[223]8654 USHORT sel = RestoreOS2FS();
[43]8655
8656 yyrc = _O32_SetTimeZoneInformation(a);
8657 SetFS(sel);
8658
8659 return yyrc;
8660}
8661
8662inline UINT O32_SetTextAlign(HDC a, UINT b)
8663{
8664 UINT yyrc;
[223]8665 USHORT sel = RestoreOS2FS();
[43]8666
8667 yyrc = _O32_SetTextAlign(a, b);
8668 SetFS(sel);
8669
8670 return yyrc;
8671}
8672
8673inline int O32_SetTextCharacterExtra(HDC a, int b)
8674{
8675 int yyrc;
[223]8676 USHORT sel = RestoreOS2FS();
[43]8677
8678 yyrc = _O32_SetTextCharacterExtra(a, b);
8679 SetFS(sel);
8680
8681 return yyrc;
8682}
8683
8684inline COLORREF O32_SetTextColor(HDC a, COLORREF b)
8685{
8686 COLORREF yyrc;
[223]8687 USHORT sel = RestoreOS2FS();
[43]8688
8689 yyrc = _O32_SetTextColor(a, b);
8690 SetFS(sel);
8691
8692 return yyrc;
8693}
8694
8695inline BOOL O32_SetTextJustification(HDC a, int b, int c)
8696{
8697 BOOL yyrc;
[223]8698 USHORT sel = RestoreOS2FS();
[43]8699
8700 yyrc = _O32_SetTextJustification(a, b, c);
8701 SetFS(sel);
8702
8703 return yyrc;
8704}
8705
8706inline BOOL O32_SetThreadPriority(HANDLE a, int b)
8707{
8708 BOOL yyrc;
[223]8709 USHORT sel = RestoreOS2FS();
[43]8710
8711 yyrc = _O32_SetThreadPriority(a, b);
8712 SetFS(sel);
8713
8714 return yyrc;
8715}
8716
8717inline UINT O32_SetTimer(HWND a, UINT b, UINT c, TIMERPROC_O32 d)
8718{
8719 UINT yyrc;
[223]8720 USHORT sel = RestoreOS2FS();
[43]8721
8722 yyrc = _O32_SetTimer(a, b, c, d);
8723 SetFS(sel);
8724
8725 return yyrc;
8726}
8727
8728inline BOOL O32_SetViewportExtEx(HDC a, int b, int c, PSIZE d)
8729{
8730 BOOL yyrc;
[223]8731 USHORT sel = RestoreOS2FS();
[43]8732
8733 yyrc = _O32_SetViewportExtEx(a, b, c, d);
8734 SetFS(sel);
8735
8736 return yyrc;
8737}
8738
8739inline BOOL O32_SetViewportOrgEx(HDC a, int b, int c, PPOINT d)
8740{
8741 BOOL yyrc;
[223]8742 USHORT sel = RestoreOS2FS();
[43]8743
8744 yyrc = _O32_SetViewportOrgEx(a, b, c, d);
8745 SetFS(sel);
8746
8747 return yyrc;
8748}
8749
8750inline BOOL O32_SetVolumeLabel(LPCSTR a, LPCSTR b)
8751{
8752 BOOL yyrc;
[223]8753 USHORT sel = RestoreOS2FS();
[43]8754
8755 yyrc = _O32_SetVolumeLabel(a, b);
8756 SetFS(sel);
8757
8758 return yyrc;
8759}
8760
8761inline BOOL O32_SetWindowExtEx(HDC a, int b, int c, PSIZE d)
8762{
8763 BOOL yyrc;
[223]8764 USHORT sel = RestoreOS2FS();
[43]8765
8766 yyrc = _O32_SetWindowExtEx(a, b, c, d);
8767 SetFS(sel);
8768
8769 return yyrc;
8770}
8771
8772inline LONG O32_SetWindowLong(HWND a, int b, LONG c)
8773{
8774 LONG yyrc;
[223]8775 USHORT sel = RestoreOS2FS();
[43]8776
8777 yyrc = _O32_SetWindowLong(a, b, c);
8778 SetFS(sel);
8779
8780 return yyrc;
8781}
8782
8783inline BOOL O32_SetWindowOrgEx(HDC a, int b, int c, PPOINT d)
8784{
8785 BOOL yyrc;
[223]8786 USHORT sel = RestoreOS2FS();
[43]8787
8788 yyrc = _O32_SetWindowOrgEx(a, b, c, d);
8789 SetFS(sel);
8790
8791 return yyrc;
8792}
8793
8794inline BOOL O32_SetWindowPlacement(HWND a, CONST WINDOWPLACEMENT *b)
8795{
8796 BOOL yyrc;
[223]8797 USHORT sel = RestoreOS2FS();
[43]8798
8799 yyrc = _O32_SetWindowPlacement(a, b);
8800 SetFS(sel);
8801
8802 return yyrc;
8803}
8804
8805inline BOOL O32_SetWindowPos(HWND a, HWND b, int c, int d, int e, int f, UINT g)
8806{
8807 BOOL yyrc;
[223]8808 USHORT sel = RestoreOS2FS();
[43]8809
8810 yyrc = _O32_SetWindowPos(a, b, c, d, e, f, g);
8811 SetFS(sel);
8812
8813 return yyrc;
8814}
8815
8816inline HHOOK O32_SetWindowsHookEx(int a, HOOKPROC_O32 b, HINSTANCE c, DWORD d)
8817{
8818 HHOOK yyrc;
[223]8819 USHORT sel = RestoreOS2FS();
[43]8820
8821 yyrc = _O32_SetWindowsHookEx(a, b, c, d);
8822 SetFS(sel);
8823
8824 return yyrc;
8825}
8826
8827inline BOOL O32_SetWindowText(HWND a, LPCSTR b)
8828{
8829 BOOL yyrc;
[223]8830 USHORT sel = RestoreOS2FS();
[43]8831
8832 yyrc = _O32_SetWindowText(a, b);
8833 SetFS(sel);
8834
8835 return yyrc;
8836}
8837
8838inline WORD O32_SetWindowWord(HWND a, int b, WORD c)
8839{
8840 WORD yyrc;
[223]8841 USHORT sel = RestoreOS2FS();
[43]8842
8843 yyrc = _O32_SetWindowWord(a, b, c);
8844 SetFS(sel);
8845
8846 return yyrc;
8847}
8848
8849inline HENHMETAFILE O32_SetWinMetaFileBits(UINT a, CONST BYTE *b, HDC c, CONST METAFILEPICT *d)
8850{
8851 HENHMETAFILE yyrc;
[223]8852 USHORT sel = RestoreOS2FS();
[43]8853
8854 yyrc = _O32_SetWinMetaFileBits(a, b, c, d);
8855 SetFS(sel);
8856
8857 return yyrc;
8858}
8859
8860inline BOOL O32_SetWorldTransform(HDC a, LPXFORM b)
8861{
8862 BOOL yyrc;
[223]8863 USHORT sel = RestoreOS2FS();
[43]8864
8865 yyrc = _O32_SetWorldTransform(a, b);
8866 SetFS(sel);
8867
8868 return yyrc;
8869}
8870
8871inline BOOL O32_ShowCaret(HWND a)
8872{
8873 BOOL yyrc;
[223]8874 USHORT sel = RestoreOS2FS();
[43]8875
8876 yyrc = _O32_ShowCaret(a);
8877 SetFS(sel);
8878
8879 return yyrc;
8880}
8881
8882inline int O32_ShowCursor(BOOL a)
8883{
8884 int yyrc;
[223]8885 USHORT sel = RestoreOS2FS();
[43]8886
8887 yyrc = _O32_ShowCursor(a);
8888 SetFS(sel);
8889
8890 return yyrc;
8891}
8892
8893inline BOOL O32_ShowOwnedPopups(HWND a, BOOL b)
8894{
8895 BOOL yyrc;
[223]8896 USHORT sel = RestoreOS2FS();
[43]8897
8898 yyrc = _O32_ShowOwnedPopups(a, b);
8899 SetFS(sel);
8900
8901 return yyrc;
8902}
8903
8904inline BOOL O32_ShowScrollBar(HWND a, int b, BOOL c)
8905{
8906 BOOL yyrc;
[223]8907 USHORT sel = RestoreOS2FS();
[43]8908
8909 yyrc = _O32_ShowScrollBar(a, b, c);
8910 SetFS(sel);
8911
8912 return yyrc;
8913}
8914
8915inline BOOL O32_ShowWindow(HWND a, int b)
8916{
8917 BOOL yyrc;
[223]8918 USHORT sel = RestoreOS2FS();
[43]8919
8920 yyrc = _O32_ShowWindow(a, b);
8921 SetFS(sel);
8922
8923 return yyrc;
8924}
8925
8926inline DWORD O32_SizeofResource(HINSTANCE a, HRSRC b)
8927{
8928 DWORD yyrc;
[223]8929 USHORT sel = RestoreOS2FS();
[43]8930
8931 yyrc = _O32_SizeofResource(a, b);
8932 SetFS(sel);
8933
8934 return yyrc;
8935}
8936
8937inline VOID O32_Sleep(DWORD a)
8938{
[223]8939 USHORT sel = RestoreOS2FS();
[43]8940
8941 _O32_Sleep(a);
8942 SetFS(sel);
8943}
8944
8945inline int O32_StartDoc(HDC a, LPDOCINFOA b)
8946{
8947 int yyrc;
[223]8948 USHORT sel = RestoreOS2FS();
[43]8949
8950 yyrc = _O32_StartDoc(a, b);
8951 SetFS(sel);
8952
8953 return yyrc;
8954}
8955
8956inline int O32_StartPage(HDC a)
8957{
8958 int yyrc;
[223]8959 USHORT sel = RestoreOS2FS();
[43]8960
8961 yyrc = _O32_StartPage(a);
8962 SetFS(sel);
8963
8964 return yyrc;
8965}
8966
8967inline int O32_StretchDIBits(HDC a, int b, int c, int d, int e, int f, int g, int h, int i, void *j, PBITMAPINFO k, UINT l, DWORD m)
8968{
8969 int yyrc;
[223]8970 USHORT sel = RestoreOS2FS();
[43]8971
8972 yyrc = _O32_StretchDIBits(a, b, c, d, e, f, g, h, i, j, k, l, m);
8973 SetFS(sel);
8974
8975 return yyrc;
8976}
8977
8978inline BOOL O32_StretchBlt(HDC a, int b, int c, int d, int e, HDC f, int g, int h, int i, int j, DWORD k)
8979{
8980 BOOL yyrc;
[223]8981 USHORT sel = RestoreOS2FS();
[43]8982
8983 yyrc = _O32_StretchBlt(a, b, c, d, e, f, g, h, i, j, k);
8984 SetFS(sel);
8985
8986 return yyrc;
8987}
8988
8989inline BOOL O32_StrokeAndFillPath(HDC a)
8990{
8991 BOOL yyrc;
[223]8992 USHORT sel = RestoreOS2FS();
[43]8993
8994 yyrc = _O32_StrokeAndFillPath(a);
8995 SetFS(sel);
8996
8997 return yyrc;
8998}
8999
9000inline BOOL O32_StrokePath(HDC a)
9001{
9002 BOOL yyrc;
[223]9003 USHORT sel = RestoreOS2FS();
[43]9004
9005 yyrc = _O32_StrokePath(a);
9006 SetFS(sel);
9007
9008 return yyrc;
9009}
9010
9011inline BOOL O32_SubtractRect(PRECT a, CONST RECT *b, CONST RECT *c)
9012{
9013 BOOL yyrc;
[223]9014 USHORT sel = RestoreOS2FS();
[43]9015
9016 yyrc = _O32_SubtractRect(a, b, c);
9017 SetFS(sel);
9018
9019 return yyrc;
9020}
9021
9022inline DWORD O32_SuspendThread(HANDLE a)
9023{
9024 DWORD yyrc;
[223]9025 USHORT sel = RestoreOS2FS();
[43]9026
9027 yyrc = _O32_SuspendThread(a);
9028 SetFS(sel);
9029
9030 return yyrc;
9031}
9032
9033inline BOOL O32_SwapMouseButton(BOOL a)
9034{
9035 BOOL yyrc;
[223]9036 USHORT sel = RestoreOS2FS();
[43]9037
9038 yyrc = _O32_SwapMouseButton(a);
9039 SetFS(sel);
9040
9041 return yyrc;
9042}
9043
9044inline UINT O32_SystemParametersInfo(UINT a, UINT b, PVOID c, UINT d)
9045{
9046 UINT yyrc;
[223]9047 USHORT sel = RestoreOS2FS();
[43]9048
9049 yyrc = _O32_SystemParametersInfo(a, b, c, d);
9050 SetFS(sel);
9051
9052 return yyrc;
9053}
9054
9055inline BOOL O32_SystemTimeToFileTime(CONST SYSTEMTIME *a, FILETIME *b)
9056{
9057 BOOL yyrc;
[223]9058 USHORT sel = RestoreOS2FS();
[43]9059
9060 yyrc = _O32_SystemTimeToFileTime(a, b);
9061 SetFS(sel);
9062
9063 return yyrc;
9064}
9065
9066inline BOOL O32_SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION a, LPSYSTEMTIME b, LPSYSTEMTIME c)
9067{
9068 BOOL yyrc;
[223]9069 USHORT sel = RestoreOS2FS();
[43]9070
9071 yyrc = _O32_SystemTimeToTzSpecificLocalTime(a, b, c);
9072 SetFS(sel);
9073
9074 return yyrc;
9075}
9076
9077inline LONG O32_TabbedTextOut(HDC a, int b, int c, LPCSTR d, int e, int f, int *g, int h)
9078{
9079 LONG yyrc;
[223]9080 USHORT sel = RestoreOS2FS();
[43]9081
9082 yyrc = _O32_TabbedTextOut(a, b, c, d, e, f, g, h);
9083 SetFS(sel);
9084
9085 return yyrc;
9086}
9087
9088inline BOOL O32_TerminateProcess(HANDLE a, UINT b)
9089{
9090 BOOL yyrc;
[223]9091 USHORT sel = RestoreOS2FS();
[43]9092
9093 yyrc = _O32_TerminateProcess(a, b);
9094 SetFS(sel);
9095
9096 return yyrc;
9097}
9098
9099inline BOOL O32_TerminateThread(HANDLE a, DWORD b)
9100{
9101 BOOL yyrc;
[223]9102 USHORT sel = RestoreOS2FS();
[43]9103
9104 yyrc = _O32_TerminateThread(a, b);
9105 SetFS(sel);
9106
9107 return yyrc;
9108}
9109
9110inline BOOL O32_TextOut(HDC a, int b, int c, LPCSTR d, int e)
9111{
9112 BOOL yyrc;
[223]9113 USHORT sel = RestoreOS2FS();
[43]9114
9115 yyrc = _O32_TextOut(a, b, c, d, e);
9116 SetFS(sel);
9117
9118 return yyrc;
9119}
9120
9121inline DWORD O32_TlsAlloc()
9122{
9123 DWORD yyrc;
[223]9124 USHORT sel = RestoreOS2FS();
[43]9125
9126 yyrc = _O32_TlsAlloc();
9127 SetFS(sel);
9128
9129 return yyrc;
9130}
9131
9132inline BOOL O32_TlsFree(DWORD a)
9133{
9134 BOOL yyrc;
[223]9135 USHORT sel = RestoreOS2FS();
[43]9136
9137 yyrc = _O32_TlsFree(a);
9138 SetFS(sel);
9139
9140 return yyrc;
9141}
9142
9143inline PVOID O32_TlsGetValue(DWORD a)
9144{
9145 PVOID yyrc;
[223]9146 USHORT sel = RestoreOS2FS();
[43]9147
9148 yyrc = _O32_TlsGetValue(a);
9149 SetFS(sel);
9150
9151 return yyrc;
9152}
9153
9154inline BOOL O32_TlsSetValue(DWORD a, PVOID b)
9155{
9156 BOOL yyrc;
[223]9157 USHORT sel = RestoreOS2FS();
[43]9158
9159 yyrc = _O32_TlsSetValue(a, b);
9160 SetFS(sel);
9161
9162 return yyrc;
9163}
9164
9165inline BOOL O32_TrackPopupMenu(HMENU a, UINT b, int c, int d, int e, HWND f, CONST RECT *g)
9166{
9167 BOOL yyrc;
[223]9168 USHORT sel = RestoreOS2FS();
[43]9169
9170 yyrc = _O32_TrackPopupMenu(a, b, c, d, e, f, g);
9171 SetFS(sel);
9172
9173 return yyrc;
9174}
9175
9176inline int O32_TranslateAccelerator(HWND a, HACCEL b, LPMSG c)
9177{
9178 int yyrc;
[223]9179 USHORT sel = RestoreOS2FS();
[43]9180
9181 yyrc = _O32_TranslateAccelerator(a, b, c);
9182 SetFS(sel);
9183
9184 return yyrc;
9185}
9186
9187inline BOOL O32_TranslateMDISysAccel(HWND a, LPMSG b)
9188{
9189 BOOL yyrc;
[223]9190 USHORT sel = RestoreOS2FS();
[43]9191
9192 yyrc = _O32_TranslateMDISysAccel(a, b);
9193 SetFS(sel);
9194
9195 return yyrc;
9196}
9197
9198inline BOOL O32_TranslateMessage(CONST MSG *a)
9199{
9200 BOOL yyrc;
[223]9201 USHORT sel = RestoreOS2FS();
[43]9202
9203 yyrc = _O32_TranslateMessage(a);
9204 SetFS(sel);
9205
9206 return yyrc;
9207}
9208
9209inline BOOL O32_UnhookWindowsHookEx(HHOOK a)
9210{
9211 BOOL yyrc;
[223]9212 USHORT sel = RestoreOS2FS();
[43]9213
9214 yyrc = _O32_UnhookWindowsHookEx(a);
9215 SetFS(sel);
9216
9217 return yyrc;
9218}
9219
9220inline BOOL O32_UnionRect(PRECT a, CONST RECT *b, CONST RECT *c)
9221{
9222 BOOL yyrc;
[223]9223 USHORT sel = RestoreOS2FS();
[43]9224
9225 yyrc = _O32_UnionRect(a, b, c);
9226 SetFS(sel);
9227
9228 return yyrc;
9229}
9230
9231inline BOOL O32_UnlockFile(HANDLE a, DWORD b, DWORD c, DWORD d, DWORD e)
9232{
9233 BOOL yyrc;
[223]9234 USHORT sel = RestoreOS2FS();
[43]9235
9236 yyrc = _O32_UnlockFile(a, b, c, d, e);
9237 SetFS(sel);
9238
9239 return yyrc;
9240}
9241
9242inline BOOL O32_UnpackDDElParam(UINT a, LONG b, PUINT c, PUINT d)
9243{
9244 BOOL yyrc;
[223]9245 USHORT sel = RestoreOS2FS();
[43]9246
9247 yyrc = _O32_UnpackDDElParam(a, b, c, d);
9248 SetFS(sel);
9249
9250 return yyrc;
9251}
9252
9253inline BOOL O32_UnrealizeObject(HGDIOBJ a)
9254{
9255 BOOL yyrc;
[223]9256 USHORT sel = RestoreOS2FS();
[43]9257
9258 yyrc = _O32_UnrealizeObject(a);
9259 SetFS(sel);
9260
9261 return yyrc;
9262}
9263
9264inline BOOL O32_UnregisterClass(LPCSTR a, HINSTANCE b)
9265{
9266 BOOL yyrc;
[223]9267 USHORT sel = RestoreOS2FS();
[43]9268
9269 yyrc = _O32_UnregisterClass(a, b);
9270 SetFS(sel);
9271
9272 return yyrc;
9273}
9274
9275inline BOOL O32_UpdateWindow(HWND a)
9276{
9277 BOOL yyrc;
[223]9278 USHORT sel = RestoreOS2FS();
[43]9279
9280 yyrc = _O32_UpdateWindow(a);
9281 SetFS(sel);
9282
9283 return yyrc;
9284}
9285
9286inline BOOL O32_ValidateRect(HWND a, CONST RECT *b)
9287{
9288 BOOL yyrc;
[223]9289 USHORT sel = RestoreOS2FS();
[43]9290
9291 yyrc = _O32_ValidateRect(a, b);
9292 SetFS(sel);
9293
9294 return yyrc;
9295}
9296
9297inline BOOL O32_ValidateRgn(HWND a, HRGN b)
9298{
9299 BOOL yyrc;
[223]9300 USHORT sel = RestoreOS2FS();
[43]9301
9302 yyrc = _O32_ValidateRgn(a, b);
9303 SetFS(sel);
9304
9305 return yyrc;
9306}
9307
9308inline SHORT O32_VkKeyScan(char a)
9309{
9310 SHORT yyrc;
[223]9311 USHORT sel = RestoreOS2FS();
[43]9312
9313 yyrc = _O32_VkKeyScan(a);
9314 SetFS(sel);
9315
9316 return yyrc;
9317}
9318
9319inline DWORD O32_WaitForMultipleObjects(DWORD a, CONST HANDLE *b, BOOL c, DWORD d)
9320{
9321 DWORD yyrc;
[223]9322 USHORT sel = RestoreOS2FS();
[43]9323
9324 yyrc = _O32_WaitForMultipleObjects(a, b, c, d);
9325 SetFS(sel);
9326
9327 return yyrc;
9328}
9329
9330inline DWORD O32_WaitForSingleObject(HANDLE a, DWORD b)
9331{
9332 DWORD yyrc;
[223]9333 USHORT sel = RestoreOS2FS();
[43]9334
9335 yyrc = _O32_WaitForSingleObject(a, b);
9336 SetFS(sel);
9337
9338 return yyrc;
9339}
9340
9341inline BOOL O32_WaitMessage()
9342{
9343 BOOL yyrc;
[223]9344 USHORT sel = RestoreOS2FS();
[43]9345
9346 yyrc = _O32_WaitMessage();
9347 SetFS(sel);
9348
9349 return yyrc;
9350}
9351
9352inline BOOL O32_WidenPath(HDC a)
9353{
9354 BOOL yyrc;
[223]9355 USHORT sel = RestoreOS2FS();
[43]9356
9357 yyrc = _O32_WidenPath(a);
9358 SetFS(sel);
9359
9360 return yyrc;
9361}
9362
9363inline UINT O32_WinExec(LPCSTR a, UINT b)
9364{
9365 UINT yyrc;
[223]9366 USHORT sel = RestoreOS2FS();
[43]9367
9368 yyrc = _O32_WinExec(a, b);
9369 SetFS(sel);
9370
9371 return yyrc;
9372}
9373
9374inline BOOL O32_WinHelp(HWND a, LPCSTR b, UINT c, DWORD d)
9375{
9376 BOOL yyrc;
[223]9377 USHORT sel = RestoreOS2FS();
[43]9378
9379 yyrc = _O32_WinHelp(a, b, c, d);
9380 SetFS(sel);
9381
9382 return yyrc;
9383}
9384
9385inline HWND O32_WindowFromPoint(POINT a)
9386{
9387 HWND yyrc;
[223]9388 USHORT sel = RestoreOS2FS();
[43]9389
9390 yyrc = _O32_WindowFromPoint(a);
9391 SetFS(sel);
9392
9393 return yyrc;
9394}
9395
9396inline HWND O32_WindowFromDC(HDC a)
9397{
9398 HWND yyrc;
[223]9399 USHORT sel = RestoreOS2FS();
[43]9400
9401 yyrc = _O32_WindowFromDC(a);
9402 SetFS(sel);
9403
9404 return yyrc;
9405}
9406
9407inline BOOL O32_WriteFile(HANDLE a, CONST VOID *b, DWORD c, PDWORD d, LPOVERLAPPED e)
9408{
9409 BOOL yyrc;
[223]9410 USHORT sel = RestoreOS2FS();
[43]9411
9412 yyrc = _O32_WriteFile(a, b, c, d, e);
9413 SetFS(sel);
9414
9415 return yyrc;
9416}
9417
9418inline BOOL O32_WritePrivateProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPCSTR d)
9419{
9420 BOOL yyrc;
[223]9421 USHORT sel = RestoreOS2FS();
[43]9422
9423 yyrc = _O32_WritePrivateProfileString(a, b, c, d);
9424 SetFS(sel);
9425
9426 return yyrc;
9427}
9428
9429inline BOOL O32_WriteProfileString(LPCSTR a, LPCSTR b, LPCSTR c)
9430{
9431 BOOL yyrc;
[223]9432 USHORT sel = RestoreOS2FS();
[43]9433
9434 yyrc = _O32_WriteProfileString(a, b, c);
9435 SetFS(sel);
9436
9437 return yyrc;
9438}
9439
9440inline VOID O32_ZeroMemory(PVOID a, DWORD b)
9441{
[223]9442 USHORT sel = RestoreOS2FS();
[43]9443
9444 _O32_ZeroMemory(a, b);
9445 SetFS(sel);
9446}
9447
9448inline HFILE O32__lclose(HFILE a)
9449{
9450 HFILE yyrc;
[223]9451 USHORT sel = RestoreOS2FS();
[43]9452
9453 yyrc = _O32__lclose(a);
9454 SetFS(sel);
9455
9456 return yyrc;
9457}
9458
9459inline HFILE O32__lcreat(LPCSTR a, int b)
9460{
9461 HFILE yyrc;
[223]9462 USHORT sel = RestoreOS2FS();
[43]9463
9464 yyrc = _O32__lcreat(a, b);
9465 SetFS(sel);
9466
9467 return yyrc;
9468}
9469
9470inline HFILE O32__lopen(LPCSTR a, int b)
9471{
9472 HFILE yyrc;
[223]9473 USHORT sel = RestoreOS2FS();
[43]9474
9475 yyrc = _O32__lopen(a, b);
9476 SetFS(sel);
9477
9478 return yyrc;
9479}
9480
9481inline UINT O32__lread(HFILE a, PVOID b, UINT c)
9482{
9483 UINT yyrc;
[223]9484 USHORT sel = RestoreOS2FS();
[43]9485
9486 yyrc = _O32__lread(a, b, c);
9487 SetFS(sel);
9488
9489 return yyrc;
9490}
9491
9492inline LONG O32__llseek(HFILE a, LONG b, int c)
9493{
9494 LONG yyrc;
[223]9495 USHORT sel = RestoreOS2FS();
[43]9496
9497 yyrc = _O32__llseek(a, b, c);
9498 SetFS(sel);
9499
9500 return yyrc;
9501}
9502
9503inline UINT O32__lwrite(HFILE a, CONST VOID *b, UINT c)
9504{
9505 UINT yyrc;
[223]9506 USHORT sel = RestoreOS2FS();
[43]9507
9508 yyrc = _O32__lwrite(a, b, c);
9509 SetFS(sel);
9510
9511 return yyrc;
9512}
9513
9514inline DWORD O32_timeGetSystemTime(LPMMTIME a, UINT b)
9515{
9516 DWORD yyrc;
[223]9517 USHORT sel = RestoreOS2FS();
[43]9518
9519 yyrc = _O32_timeGetSystemTime(a, b);
9520 SetFS(sel);
9521
9522 return yyrc;
9523}
9524
9525inline DWORD O32_timeGetTime()
9526{
9527 DWORD yyrc;
[223]9528 USHORT sel = RestoreOS2FS();
[43]9529
9530 yyrc = _O32_timeGetTime();
9531 SetFS(sel);
9532
9533 return yyrc;
9534}
9535
9536inline int O32_wvsprintf(LPSTR a, LPCSTR b, CONST VOID *c)
9537{
9538 int yyrc;
[223]9539 USHORT sel = RestoreOS2FS();
[43]9540
9541 yyrc = _O32_wvsprintf(a, b, c);
9542 SetFS(sel);
9543
9544 return yyrc;
9545}
9546
9547inline LPSTR O32_CharNext(LPCSTR a)
9548{
9549 LPSTR yyrc;
[223]9550 USHORT sel = RestoreOS2FS();
[43]9551
9552 yyrc = _O32_CharNext(a);
9553 SetFS(sel);
9554
9555 return yyrc;
9556}
9557
9558inline LPSTR O32_CharPrev(LPCSTR a, LPCSTR b)
9559{
9560 LPSTR yyrc;
[223]9561 USHORT sel = RestoreOS2FS();
[43]9562
9563 yyrc = _O32_CharPrev(a, b);
9564 SetFS(sel);
9565
9566 return yyrc;
9567}
9568
9569inline HWND O32_GetDesktopWindow()
9570{
9571 HWND yyrc;
[223]9572 USHORT sel = RestoreOS2FS();
[43]9573
9574 yyrc = _O32_GetDesktopWindow();
9575 SetFS(sel);
9576
9577 return yyrc;
9578}
9579
9580inline BOOL O32_CharToOem(LPCSTR a, LPSTR b)
9581{
9582 BOOL yyrc;
[223]9583 USHORT sel = RestoreOS2FS();
[43]9584
9585 yyrc = _O32_CharToOem(a, b);
9586 SetFS(sel);
9587
9588 return yyrc;
9589}
9590
9591inline BOOL O32_OemToChar(LPCSTR a, LPSTR b)
9592{
9593 BOOL yyrc;
[223]9594 USHORT sel = RestoreOS2FS();
[43]9595
9596 yyrc = _O32_OemToChar(a, b);
9597 SetFS(sel);
9598
9599 return yyrc;
9600}
9601
9602inline BOOL O32_CharToOemBuff(LPCSTR a, LPSTR b, DWORD c)
9603{
9604 BOOL yyrc;
[223]9605 USHORT sel = RestoreOS2FS();
[43]9606
9607 yyrc = _O32_CharToOemBuff(a, b, c);
9608 SetFS(sel);
9609
9610 return yyrc;
9611}
9612
9613inline BOOL O32_OemToCharBuff(LPCSTR a, LPSTR b, DWORD c)
9614{
9615 BOOL yyrc;
[223]9616 USHORT sel = RestoreOS2FS();
[43]9617
9618 yyrc = _O32_OemToCharBuff(a, b, c);
9619 SetFS(sel);
9620
9621 return yyrc;
9622}
9623
9624inline BOOL O32_IsBadHugeReadPtr(CONST void *a, UINT b)
9625{
9626 BOOL yyrc;
[223]9627 USHORT sel = RestoreOS2FS();
[43]9628
9629 yyrc = _O32_IsBadHugeReadPtr(a, b);
9630 SetFS(sel);
9631
9632 return yyrc;
9633}
9634
9635inline BOOL O32_IsBadHugeWritePtr(PVOID a, UINT b)
9636{
9637 BOOL yyrc;
[223]9638 USHORT sel = RestoreOS2FS();
[43]9639
9640 yyrc = _O32_IsBadHugeWritePtr(a, b);
9641 SetFS(sel);
9642
9643 return yyrc;
9644}
9645
9646inline BOOL O32_FloodFill(HDC a, int b, int c, COLORREF d)
9647{
9648 BOOL yyrc;
[223]9649 USHORT sel = RestoreOS2FS();
[43]9650
9651 yyrc = _O32_FloodFill(a, b, c, d);
9652 SetFS(sel);
9653
9654 return yyrc;
9655}
9656
9657inline BOOL O32_IsCharAlpha(WCHAR a)
9658{
9659 BOOL yyrc;
[223]9660 USHORT sel = RestoreOS2FS();
[43]9661
9662 yyrc = _O32_IsCharAlpha(a);
9663 SetFS(sel);
9664
9665 return yyrc;
9666}
9667
9668inline BOOL O32_IsCharAlphaNumeric(WCHAR a)
9669{
9670 BOOL yyrc;
[223]9671 USHORT sel = RestoreOS2FS();
[43]9672
9673 yyrc = _O32_IsCharAlphaNumeric(a);
9674 SetFS(sel);
9675
9676 return yyrc;
9677}
9678
9679inline BOOL O32_IsCharLower(WCHAR a)
9680{
9681 BOOL yyrc;
[223]9682 USHORT sel = RestoreOS2FS();
[43]9683
9684 yyrc = _O32_IsCharLower(a);
9685 SetFS(sel);
9686
9687 return yyrc;
9688}
9689
9690inline BOOL O32_IsCharUpper(WCHAR a)
9691{
9692 BOOL yyrc;
[223]9693 USHORT sel = RestoreOS2FS();
[43]9694
9695 yyrc = _O32_IsCharUpper(a);
9696 SetFS(sel);
9697
9698 return yyrc;
9699}
9700
9701inline LPSTR O32_lstrcat(LPSTR a, LPCSTR b)
9702{
9703 LPSTR yyrc;
[223]9704 USHORT sel = RestoreOS2FS();
[43]9705
9706 yyrc = _O32_lstrcat(a, b);
9707 SetFS(sel);
9708
9709 return yyrc;
9710}
9711
9712inline int O32_lstrcmp(LPCSTR a, LPCSTR b)
9713{
9714 int yyrc;
[223]9715 USHORT sel = RestoreOS2FS();
[43]9716
9717 yyrc = _O32_lstrcmp(a, b);
9718 SetFS(sel);
9719
9720 return yyrc;
9721}
9722
9723inline int O32_lstrcmpi(LPCSTR a, LPCSTR b)
9724{
9725 int yyrc;
[223]9726 USHORT sel = RestoreOS2FS();
[43]9727
9728 yyrc = _O32_lstrcmpi(a, b);
9729 SetFS(sel);
9730
9731 return yyrc;
9732}
9733
9734inline LPSTR O32_lstrcpy(LPSTR a, LPCSTR b)
9735{
9736 LPSTR yyrc;
[223]9737 USHORT sel = RestoreOS2FS();
[43]9738
9739 yyrc = _O32_lstrcpy(a, b);
9740 SetFS(sel);
9741
9742 return yyrc;
9743}
9744
9745inline int O32_lstrlen(LPCSTR a)
9746{
9747 int yyrc;
[223]9748 USHORT sel = RestoreOS2FS();
[43]9749
9750 yyrc = _O32_lstrlen(a);
9751 SetFS(sel);
9752
9753 return yyrc;
9754}
9755
9756inline int O32_WinCallWinMain(int a, char **b, FNMAIN_O32 c, int d)
9757{
9758 int yyrc;
[223]9759 USHORT sel = RestoreOS2FS();
[43]9760
9761 yyrc = _O32_WinCallWinMain(a, b, c, d);
9762 SetFS(sel);
9763
9764 return yyrc;
9765}
9766
9767inline BOOL O32_WinTranslateDevicePoints(HDC a, HWND b, PPOINT c, INT d, XLATEDIR e)
9768{
9769 BOOL yyrc;
[223]9770 USHORT sel = RestoreOS2FS();
[43]9771
9772 yyrc = _O32_WinTranslateDevicePoints(a, b, c, d, e);
9773 SetFS(sel);
9774
9775 return yyrc;
9776}
9777
9778inline BOOL O32_WinTranslateDeviceRects(HDC a, HWND b, PRECT c, INT d, XLATEDIR e)
9779{
9780 BOOL yyrc;
[223]9781 USHORT sel = RestoreOS2FS();
[43]9782
9783 yyrc = _O32_WinTranslateDeviceRects(a, b, c, d, e);
9784 SetFS(sel);
9785
9786 return yyrc;
9787}
9788
9789inline ULONG O32_WinTranslateGraphicsObjectHandle(HGDIOBJ a, XLATEDIR b, ULONG c)
9790{
9791 ULONG yyrc;
[223]9792 USHORT sel = RestoreOS2FS();
[43]9793
9794 yyrc = _O32_WinTranslateGraphicsObjectHandle(a, b, c);
9795 SetFS(sel);
9796
9797 return yyrc;
9798}
9799
9800inline ULONG O32_WinTranslateMnemonicString(LPCSTR a, LPSTR *b, ULONG c, XLATEDIR d)
9801{
9802 ULONG yyrc;
[223]9803 USHORT sel = RestoreOS2FS();
[43]9804
9805 yyrc = _O32_WinTranslateMnemonicString(a, b, c, d);
9806 SetFS(sel);
9807
9808 return yyrc;
9809}
9810
9811inline DWORD O32_WinQueryTranslateMode()
9812{
9813 DWORD yyrc;
[223]9814 USHORT sel = RestoreOS2FS();
[43]9815
9816 yyrc = _O32_WinQueryTranslateMode();
9817 SetFS(sel);
9818
9819 return yyrc;
9820}
9821
9822inline BOOL O32_WinSetTranslateMode(DWORD a)
9823{
9824 BOOL yyrc;
[223]9825 USHORT sel = RestoreOS2FS();
[43]9826
9827 yyrc = _O32_WinSetTranslateMode(a);
9828 SetFS(sel);
9829
9830 return yyrc;
9831}
9832
[2694]9833inline DWORD O32_WaitForInputIdle(HANDLE hProcess, DWORD dwTimeOut)
9834{
9835 DWORD yyrc;
9836 USHORT sel = RestoreOS2FS();
[43]9837
[2694]9838 yyrc = _O32_WaitForInputIdle(hProcess, dwTimeOut);
9839 SetFS(sel);
9840
9841 return yyrc;
9842}
9843
[4]9844#endif /* ifdef _OS2WIN_H */
Note: See TracBrowser for help on using the repository browser.