Ignore:
Timestamp:
Aug 8, 2003, 4:55:15 PM (22 years ago)
Author:
sandervl
Message:

Update for libwrap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/OS2WIN.H

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