1 | /* $Id: OS2WIN.H,v 1.7 1999-06-26 18:24:20 sandervl Exp $ */
|
---|
2 | #ifndef _OS2WIN_H
|
---|
3 | #define _OS2WIN_H
|
---|
4 |
|
---|
5 | #ifdef OS2_INCLUDED
|
---|
6 | #include <win32type.h>
|
---|
7 | #else
|
---|
8 | #include <odin.h>
|
---|
9 |
|
---|
10 | #include <windef.h>
|
---|
11 | #include <winbase.h>
|
---|
12 | #include <wingdi.h>
|
---|
13 | #include <winuser.h>
|
---|
14 | #include <winerror.h>
|
---|
15 | #include <commdlg.h>
|
---|
16 | #include <ddeml.h>
|
---|
17 | #include <mmsystem.h>
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | #include <os2sel.h>
|
---|
21 |
|
---|
22 | #include "misc.h"
|
---|
23 |
|
---|
24 | #define OPEN32API _System
|
---|
25 | #define EXPENTRY_O32 _System
|
---|
26 | #define APIENTRY_O32 _System
|
---|
27 |
|
---|
28 | /* WinMain/WinProcs/TimerProcs
|
---|
29 | */
|
---|
30 | typedef int (* EXPENTRY_O32 FNMAIN_O32 )( HINSTANCE, HINSTANCE, LPSTR, int );
|
---|
31 | typedef FNMAIN_O32 PFNMAIN_O32;
|
---|
32 | typedef LRESULT (* EXPENTRY_O32 WNDPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
|
---|
33 | typedef int (* EXPENTRY_O32 FARPROC_O32 ) ( );
|
---|
34 | typedef UINT (* EXPENTRY_O32 LPOFNHOOKPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
|
---|
35 | typedef BOOL (* EXPENTRY_O32 DLGPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
|
---|
36 | typedef void (* EXPENTRY_O32 TIMERPROC_O32)( HWND, UINT, UINT, DWORD );
|
---|
37 | typedef BOOL (* EXPENTRY_O32 ABORTPROC_O32)( HDC, int);
|
---|
38 | typedef UINT (* APIENTRY_O32 LPPRINTHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
39 | typedef UINT (* APIENTRY_O32 LPSETUPHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
40 | typedef LRESULT (* EXPENTRY_O32 HOOKPROC_O32)(int code, WPARAM wParam, LPARAM lParam);
|
---|
41 | typedef DWORD (* EXPENTRY_O32 PTHREAD_START_ROUTINE_O32)(PVOID lpThreadParameter);
|
---|
42 | typedef DWORD (* EXPENTRY_O32 LPTHREAD_START_ROUTINE_O32)(PVOID lpThreadParameter);
|
---|
43 |
|
---|
44 | typedef int (* EXPENTRY_O32 GOBJENUMPROC_O32)(PVOID, LPARAM);
|
---|
45 | typedef VOID (* EXPENTRY_O32 LINEDDAPROC_O32)(int, int, LPARAM);
|
---|
46 | typedef int (* EXPENTRY_O32 OLDFONTENUMPROC_O32)( PLOGFONTA, LPTEXTMETRICA, DWORD, LPARAM );
|
---|
47 | typedef int (* EXPENTRY_O32 FONTENUMPROC_O32)( LPENUMLOGFONTA, LPNEWTEXTMETRICA, DWORD, LPARAM );
|
---|
48 | typedef BOOL (* EXPENTRY_O32 WNDENUMPROC_O32)( HWND, LPARAM );
|
---|
49 | typedef BOOL (* EXPENTRY_O32 PROPENUMPROC_O32)( HWND, LPCSTR, HANDLE );
|
---|
50 | typedef UINT (* EXPENTRY_O32 PFRHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
51 | typedef BOOL (* EXPENTRY_O32 GRAYSTRINGPROC_O32)(HDC, LPARAM, int);
|
---|
52 | typedef UINT (* EXPENTRY_O32 LPCCHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
53 | typedef UINT (* EXPENTRY_O32 LPCFHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
54 | typedef HDDEDATA (* EXPENTRY_O32 FNCALLBACK_O32)(UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD, DWORD );
|
---|
55 | typedef BOOL (* EXPENTRY_O32 PROPENUMPROCEX_O32)( HWND, LPCSTR, HANDLE, DWORD );
|
---|
56 | typedef FNCALLBACK_O32 *PFNCALLBACK_O32;
|
---|
57 |
|
---|
58 | typedef int (* EXPENTRY_O32 ENHMFENUMPROC_O32)(HDC, LPHANDLETABLE, const PENHMETARECORD, int, LPARAM);
|
---|
59 | typedef int (* EXPENTRY_O32 MFENUMPROC_O32)(HDC, LPHANDLETABLE, PMETARECORD, int, LPARAM);
|
---|
60 |
|
---|
61 | #define HKEY_LOCAL_MACHINE_O32 0xFFFFFFEFL
|
---|
62 | #define HKEY_CURRENT_USER_O32 0xFFFFFFEEL
|
---|
63 | #define HKEY_USERS_O32 0xFFFFFFEDL
|
---|
64 | #define HKEY_CLASSES_ROOT_O32 0xFFFFFFECL
|
---|
65 |
|
---|
66 | #define O32_MakeProcInstance(proc, hinst) (proc)
|
---|
67 | #define O32_FreeProcInstance(proc) (proc)
|
---|
68 | #define O32_FreeModule(hLibModule) O32_FreeLibrary((hLibModule))
|
---|
69 | #define O32_Yield()
|
---|
70 |
|
---|
71 | #define O32_GetWindowTask(hWnd) ((HANDLE)O32_GetWindowThreadProcessId(hWnd, NULL))
|
---|
72 |
|
---|
73 |
|
---|
74 | /* Macro'd APIs
|
---|
75 | */
|
---|
76 | #define O32_CreateWindow(lpClassName, lpWindowName, dwStyle, x, y,\
|
---|
77 | nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
|
---|
78 | O32_CreateWindowEx(0, lpClassName, lpWindowName, dwStyle, x, y,\
|
---|
79 | nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
|
---|
80 |
|
---|
81 | /* TBD: This must be removed before release
|
---|
82 | */
|
---|
83 | #ifndef NO_HEAPSIZE_MACRO
|
---|
84 | #define _O32_HeapSize(handle, flags, pMem) AweHeapSize(handle, flags, pMem)
|
---|
85 | #endif
|
---|
86 |
|
---|
87 | #define O32_AnsiToOem O32_CharToOem
|
---|
88 | #define O32_OemToAnsi O32_OemToChar
|
---|
89 | #define O32_AnsiToOemBuff O32_CharToOemBuff
|
---|
90 | #define O32_OemToAnsiBuff O32_OemToCharBuff
|
---|
91 | #define O32_AnsiUpper O32_CharUpper
|
---|
92 | #define O32_AnsiUpperBuff O32_CharUpperBuff
|
---|
93 | #define O32_AnsiLower O32_CharLower
|
---|
94 | #define O32_AnsiLowerBuff O32_CharLowerBuff
|
---|
95 | #define O32_AnsiNext O32_CharNext
|
---|
96 | #define O32_AnsiPrev O32_CharPrev
|
---|
97 |
|
---|
98 | /* Name Mapped API's
|
---|
99 | */
|
---|
100 | #define _O32_CreateBitmapIndirect _O32__CreateBitmapIndirect
|
---|
101 | #define _O32_CreateDialogIndirect _O32__CreateDialogIndirect
|
---|
102 | #define _O32_CreateDialogIndirectParam _O32__CreateDialogIndirectParam
|
---|
103 | #define _O32_CreateIconIndirect _O32__CreateIconIndirect
|
---|
104 | #define _O32_DialogBoxIndirect _O32__DialogBoxIndirect
|
---|
105 | #define _O32_DialogBoxIndirectParam _O32__DialogBoxIndirectParam
|
---|
106 | #define _O32_LoadMenuIndirect _O32__LoadMenuIndirect
|
---|
107 | #define _O32_LoadResource _O32__LoadResource
|
---|
108 |
|
---|
109 | /* API Prototypes
|
---|
110 | */
|
---|
111 | int OPEN32API _O32_WinMain( HINSTANCE, HINSTANCE, LPSTR, int );
|
---|
112 |
|
---|
113 | int OPEN32API _O32_AbortDoc( HDC );
|
---|
114 |
|
---|
115 | BOOL OPEN32API _O32_AbortPath( HDC );
|
---|
116 |
|
---|
117 | ATOM OPEN32API _O32_AddAtom( LPCSTR );
|
---|
118 |
|
---|
119 | int OPEN32API _O32_AddFontResource( LPCSTR );
|
---|
120 |
|
---|
121 | BOOL OPEN32API _O32_AdjustWindowRect( PRECT, DWORD, BOOL );
|
---|
122 |
|
---|
123 | BOOL OPEN32API _O32_AdjustWindowRectEx( PRECT, DWORD, BOOL, DWORD );
|
---|
124 |
|
---|
125 | BOOL OPEN32API _O32_AngleArc( HDC, int, int, DWORD, float startAngle, float sweepAngle );
|
---|
126 |
|
---|
127 | BOOL OPEN32API _O32_AnimatePalette( HPALETTE, UINT, UINT, const PALETTEENTRY *);
|
---|
128 |
|
---|
129 | BOOL OPEN32API _O32_AppendMenu( HMENU, UINT, UINT, LPCSTR );
|
---|
130 |
|
---|
131 | BOOL OPEN32API _O32_Arc( HDC, int, int, int, int, int, int, int, int );
|
---|
132 |
|
---|
133 | BOOL OPEN32API _O32_ArcTo( HDC, int, int, int, int, int xRad1, int yRad1, int xRad2, int yRad2);
|
---|
134 |
|
---|
135 | UINT OPEN32API _O32_ArrangeIconicWindows( HWND );
|
---|
136 |
|
---|
137 | BOOL OPEN32API _O32_Beep( DWORD, DWORD );
|
---|
138 |
|
---|
139 | HDWP OPEN32API _O32_BeginDeferWindowPos( int );
|
---|
140 |
|
---|
141 | HDC OPEN32API _O32_BeginPaint( HWND, PPAINTSTRUCT );
|
---|
142 |
|
---|
143 | BOOL OPEN32API _O32_BeginPath( HDC );
|
---|
144 |
|
---|
145 | BOOL OPEN32API _O32_BitBlt( HDC , int, int, int, int, HDC , int, int, DWORD );
|
---|
146 |
|
---|
147 | BOOL OPEN32API _O32_BringWindowToTop( HWND );
|
---|
148 |
|
---|
149 | BOOL OPEN32API _O32_CallMsgFilter( LPMSG, int );
|
---|
150 |
|
---|
151 | LRESULT OPEN32API _O32_CallNextHookEx( HHOOK, int, WPARAM, LPARAM );
|
---|
152 |
|
---|
153 | LRESULT OPEN32API _O32_CallWindowProc( WNDPROC_O32, HWND, UINT, WPARAM, LPARAM );
|
---|
154 |
|
---|
155 | BOOL OPEN32API _O32_ChangeClipboardChain( HWND, HWND );
|
---|
156 |
|
---|
157 | LPSTR OPEN32API _O32_CharLower( LPSTR );
|
---|
158 |
|
---|
159 | DWORD OPEN32API _O32_CharLowerBuff( LPSTR, DWORD );
|
---|
160 |
|
---|
161 | LPSTR OPEN32API _O32_CharUpper( LPSTR );
|
---|
162 |
|
---|
163 | DWORD OPEN32API _O32_CharUpperBuff( LPSTR, DWORD );
|
---|
164 |
|
---|
165 | BOOL OPEN32API _O32_CheckDlgButton( HWND, int, UINT );
|
---|
166 |
|
---|
167 | DWORD OPEN32API _O32_CheckMenuItem( HMENU, UINT, UINT );
|
---|
168 |
|
---|
169 | BOOL OPEN32API _O32_CheckRadioButton( HWND, int, int, int );
|
---|
170 |
|
---|
171 | HWND OPEN32API _O32_ChildWindowFromPoint( HWND, POINT );
|
---|
172 |
|
---|
173 | BOOL OPEN32API _O32_ChooseColor( LPCHOOSECOLORA );
|
---|
174 |
|
---|
175 | BOOL OPEN32API _O32_ChooseFont( LPCHOOSEFONTA );
|
---|
176 |
|
---|
177 | BOOL OPEN32API _O32_Chord( HDC , int, int, int, int, int xRadial1, int yRadial1, int xRadial2, int yRadial2);
|
---|
178 |
|
---|
179 | BOOL OPEN32API _O32_ClientToScreen( HWND, PPOINT );
|
---|
180 |
|
---|
181 | BOOL OPEN32API _O32_ClipCursor( const RECT *);
|
---|
182 |
|
---|
183 | BOOL OPEN32API _O32_CloseClipboard( VOID );
|
---|
184 |
|
---|
185 | HENHMETAFILE OPEN32API _O32_CloseEnhMetaFile( HDC );
|
---|
186 |
|
---|
187 | BOOL OPEN32API _O32_CloseFigure( HDC );
|
---|
188 |
|
---|
189 | BOOL OPEN32API _O32_CloseHandle( HANDLE );
|
---|
190 |
|
---|
191 | HMETAFILE OPEN32API _O32_CloseMetaFile( HDC );
|
---|
192 |
|
---|
193 | BOOL OPEN32API _O32_CloseWindow( HWND );
|
---|
194 |
|
---|
195 | int OPEN32API _O32_CombineRgn( HRGN, HRGN hrgnSrc1, HRGN hrgnSrc2, int );
|
---|
196 |
|
---|
197 | DWORD OPEN32API _O32_CommDlgExtendedError( VOID );
|
---|
198 |
|
---|
199 | LONG OPEN32API _O32_CompareFileTime( FILETIME *, FILETIME * );
|
---|
200 |
|
---|
201 | HCURSOR OPEN32API _O32_CopyCursor( HCURSOR );
|
---|
202 |
|
---|
203 | HENHMETAFILE OPEN32API _O32_CopyEnhMetaFile( HENHMETAFILE, LPCSTR );
|
---|
204 |
|
---|
205 | BOOL OPEN32API _O32_CopyFile( LPCSTR, LPCSTR, BOOL );
|
---|
206 |
|
---|
207 | HICON OPEN32API _O32_CopyIcon( HICON );
|
---|
208 |
|
---|
209 | HMETAFILE OPEN32API _O32_CopyMetaFile( HMETAFILE, LPCSTR );
|
---|
210 |
|
---|
211 | BOOL OPEN32API _O32_CopyRect( PRECT, const RECT *);
|
---|
212 |
|
---|
213 | int OPEN32API _O32_CountClipboardFormats( VOID );
|
---|
214 |
|
---|
215 | HACCEL OPEN32API _O32_CreateAcceleratorTable( LPACCEL, int );
|
---|
216 |
|
---|
217 | HBITMAP OPEN32API _O32_CreateBitmap( int, int, UINT, UINT, const void * );
|
---|
218 |
|
---|
219 | HBITMAP OPEN32API _O32_CreateBitmapIndirect( const BITMAP * );
|
---|
220 |
|
---|
221 | HBRUSH OPEN32API _O32_CreateBrushIndirect( LPLOGBRUSH );
|
---|
222 |
|
---|
223 | BOOL OPEN32API _O32_CreateCaret( HWND, HBITMAP, int, int );
|
---|
224 |
|
---|
225 | HBITMAP OPEN32API _O32_CreateCompatibleBitmap( HDC , int, int );
|
---|
226 |
|
---|
227 | HDC OPEN32API _O32_CreateCompatibleDC( HDC );
|
---|
228 |
|
---|
229 | HCURSOR OPEN32API _O32_CreateCursor( HINSTANCE, int, int, int, int, const VOID *, const VOID *);
|
---|
230 |
|
---|
231 | HDC OPEN32API _O32_CreateDC( LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *);
|
---|
232 |
|
---|
233 | HBRUSH OPEN32API _O32_CreateDIBPatternBrushPt( const VOID *, UINT );
|
---|
234 |
|
---|
235 | HBITMAP OPEN32API _O32_CreateDIBitmap( HDC, const BITMAPINFOHEADER *, DWORD, const void *, const BITMAPINFO *, UINT );
|
---|
236 |
|
---|
237 | HWND OPEN32API _O32_CreateDialog( HINSTANCE, LPCSTR, HWND, DLGPROC_O32 );
|
---|
238 |
|
---|
239 | HWND OPEN32API _O32_CreateDialogParam( HINSTANCE, LPCSTR, HWND, DLGPROC_O32, LPARAM );
|
---|
240 |
|
---|
241 | HWND OPEN32API _O32_CreateDialogIndirect( HINSTANCE, const DLGTEMPLATE *, HWND, DLGPROC_O32 );
|
---|
242 |
|
---|
243 | HWND OPEN32API _O32_CreateDialogIndirectParam( HINSTANCE, const DLGTEMPLATE *, HWND, DLGPROC_O32, LPARAM );
|
---|
244 |
|
---|
245 | BOOL OPEN32API _O32_CreateDirectory( LPCSTR, PSECURITY_ATTRIBUTES );
|
---|
246 |
|
---|
247 | HRGN OPEN32API _O32_CreateEllipticRgn( int, int, int, int );
|
---|
248 |
|
---|
249 | HRGN OPEN32API _O32_CreateEllipticRgnIndirect( const RECT * );
|
---|
250 |
|
---|
251 | HENHMETAFILE OPEN32API _O32_CreateEnhMetaFile( HDC, LPCSTR, const RECT *, LPCSTR );
|
---|
252 |
|
---|
253 | HANDLE OPEN32API _O32_CreateEvent( PSECURITY_ATTRIBUTES, BOOL, BOOL, LPCSTR );
|
---|
254 |
|
---|
255 | HANDLE OPEN32API _O32_CreateFile( LPCSTR, DWORD, DWORD, PSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE );
|
---|
256 |
|
---|
257 | HFONT OPEN32API _O32_CreateFont( int, int, int, int, int, DWORD, DWORD, DWORD, DWORD,
|
---|
258 | DWORD, DWORD, DWORD, DWORD, LPCSTR );
|
---|
259 |
|
---|
260 | HFONT OPEN32API _O32_CreateFontIndirect( const LOGFONTA *);
|
---|
261 |
|
---|
262 | HBRUSH OPEN32API _O32_CreateHatchBrush( int, COLORREF );
|
---|
263 |
|
---|
264 | HDC OPEN32API _O32_CreateIC( LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *);
|
---|
265 |
|
---|
266 | HICON OPEN32API _O32_CreateIcon( HINSTANCE, int, int, BYTE, BYTE, const BYTE *, const BYTE * );
|
---|
267 |
|
---|
268 | HICON OPEN32API _O32_CreateIconFromResource( PBYTE, DWORD, BOOL, DWORD );
|
---|
269 |
|
---|
270 | HICON OPEN32API _O32_CreateIconIndirect( LPICONINFO );
|
---|
271 |
|
---|
272 | HMENU OPEN32API _O32_CreateMenu( void);
|
---|
273 |
|
---|
274 | HDC OPEN32API _O32_CreateMetaFile( LPCSTR );
|
---|
275 |
|
---|
276 | HWND OPEN32API _O32_CreateMDIWindow( LPSTR, LPSTR, DWORD, int, int, int, int, HWND, HINSTANCE, LPARAM );
|
---|
277 |
|
---|
278 | HANDLE OPEN32API _O32_CreateMutex( PSECURITY_ATTRIBUTES, BOOL, LPCSTR );
|
---|
279 |
|
---|
280 | HPALETTE OPEN32API _O32_CreatePalette( const LOGPALETTE * );
|
---|
281 |
|
---|
282 | HBRUSH OPEN32API _O32_CreatePatternBrush( HBITMAP );
|
---|
283 |
|
---|
284 | HPEN OPEN32API _O32_CreatePen( int, int, COLORREF );
|
---|
285 |
|
---|
286 | HPEN OPEN32API _O32_CreatePenIndirect( const LOGPEN * );
|
---|
287 |
|
---|
288 | HRGN OPEN32API _O32_CreatePolyPolygonRgn( const POINT *, const INT *, int, int );
|
---|
289 |
|
---|
290 | HRGN OPEN32API _O32_CreatePolygonRgn( const POINT *, int, int );
|
---|
291 |
|
---|
292 | HMENU OPEN32API _O32_CreatePopupMenu( VOID );
|
---|
293 |
|
---|
294 | BOOL OPEN32API _O32_CreateProcess( LPCSTR, LPCSTR, PSECURITY_ATTRIBUTES, PSECURITY_ATTRIBUTES,
|
---|
295 | BOOL, DWORD, PVOID, LPCSTR, LPSTARTUPINFOA,
|
---|
296 | LPPROCESS_INFORMATION );
|
---|
297 |
|
---|
298 | HRGN OPEN32API _O32_CreateRectRgn( int, int, int, int );
|
---|
299 |
|
---|
300 | HRGN OPEN32API _O32_CreateRectRgnIndirect( const RECT * );
|
---|
301 |
|
---|
302 | HRGN OPEN32API _O32_CreateRoundRectRgn( int, int, int, int, int, int );
|
---|
303 |
|
---|
304 | HANDLE OPEN32API _O32_CreateSemaphore( PSECURITY_ATTRIBUTES, LONG, LONG, LPSTR );
|
---|
305 |
|
---|
306 | HBRUSH OPEN32API _O32_CreateSolidBrush( COLORREF );
|
---|
307 |
|
---|
308 | HANDLE OPEN32API _O32_CreateThread( PSECURITY_ATTRIBUTES, DWORD, PTHREAD_START_ROUTINE_O32, PVOID, DWORD, PDWORD );
|
---|
309 |
|
---|
310 | HWND OPEN32API _O32_CreateWindowEx( DWORD, LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, PVOID );
|
---|
311 |
|
---|
312 | BOOL OPEN32API _O32_DPtoLP( HDC, PPOINT, int );
|
---|
313 |
|
---|
314 | BOOL OPEN32API _O32_DdeAbandonTransaction( DWORD, HCONV, DWORD );
|
---|
315 |
|
---|
316 | PBYTE OPEN32API _O32_DdeAccessData(HDDEDATA, PDWORD );
|
---|
317 |
|
---|
318 | HDDEDATA OPEN32API _O32_DdeAddData( HDDEDATA, PVOID, DWORD, DWORD );
|
---|
319 |
|
---|
320 | HDDEDATA OPEN32API _O32_DdeClientTransaction( PVOID, DWORD, HCONV,
|
---|
321 | HSZ, UINT, UINT, DWORD, PDWORD );
|
---|
322 |
|
---|
323 | int OPEN32API _O32_DdeCmpStringHandles( HSZ hsz1, HSZ hsz2);
|
---|
324 |
|
---|
325 | HCONV OPEN32API _O32_DdeConnect( DWORD, HSZ, HSZ, LPCONVCONTEXT );
|
---|
326 |
|
---|
327 | HCONVLIST OPEN32API _O32_DdeConnectList(DWORD, HSZ, HSZ, HCONVLIST, LPCONVCONTEXT );
|
---|
328 |
|
---|
329 | HDDEDATA OPEN32API _O32_DdeCreateDataHandle(DWORD, PVOID, DWORD, DWORD, HSZ, UINT, UINT );
|
---|
330 |
|
---|
331 | HSZ OPEN32API _O32_DdeCreateStringHandle(DWORD, LPCSTR, int );
|
---|
332 |
|
---|
333 | BOOL OPEN32API _O32_DdeDisconnect(HCONV );
|
---|
334 |
|
---|
335 | BOOL OPEN32API _O32_DdeDisconnectList( HCONVLIST );
|
---|
336 |
|
---|
337 | BOOL OPEN32API _O32_DdeEnableCallback(DWORD, HCONV, UINT );
|
---|
338 |
|
---|
339 | BOOL OPEN32API _O32_DdeFreeDataHandle( HDDEDATA );
|
---|
340 |
|
---|
341 | BOOL OPEN32API _O32_DdeFreeStringHandle(DWORD, HSZ );
|
---|
342 |
|
---|
343 | DWORD OPEN32API _O32_DdeGetData( HDDEDATA, PVOID, DWORD, DWORD );
|
---|
344 |
|
---|
345 | UINT OPEN32API _O32_DdeGetLastError(DWORD );
|
---|
346 |
|
---|
347 | UINT OPEN32API _O32_DdeInitialize(PDWORD, PFNCALLBACK, DWORD, DWORD );
|
---|
348 |
|
---|
349 | BOOL OPEN32API _O32_DdeKeepStringHandle(DWORD, HSZ );
|
---|
350 |
|
---|
351 | HDDEDATA OPEN32API _O32_DdeNameService( DWORD, HSZ hsz1, HSZ hsz2, UINT );
|
---|
352 |
|
---|
353 | BOOL OPEN32API _O32_DdePostAdvise(DWORD, HSZ, HSZ );
|
---|
354 |
|
---|
355 | UINT OPEN32API _O32_DdeQueryConvInfo( HCONV, DWORD, LPCONVINFO );
|
---|
356 |
|
---|
357 | HCONV OPEN32API _O32_DdeQueryNextServer( HCONVLIST, HCONV );
|
---|
358 |
|
---|
359 | DWORD OPEN32API _O32_DdeQueryString(DWORD, HSZ, LPSTR, DWORD, int );
|
---|
360 |
|
---|
361 | HCONV OPEN32API _O32_DdeReconnect( HCONV );
|
---|
362 |
|
---|
363 | BOOL OPEN32API _O32_DdeSetUserHandle( HCONV, DWORD, DWORD );
|
---|
364 |
|
---|
365 | BOOL OPEN32API _O32_DdeUnaccessData( HDDEDATA );
|
---|
366 |
|
---|
367 | BOOL OPEN32API _O32_DdeUninitialize(DWORD );
|
---|
368 |
|
---|
369 | LRESULT OPEN32API _O32_DefDlgProc( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
370 |
|
---|
371 | HDWP OPEN32API _O32_DeferWindowPos( HDWP, HWND, HWND hWndInsertAfter , int, int, int, int, UINT );
|
---|
372 |
|
---|
373 | LRESULT OPEN32API _O32_DefFrameProc( HWND, HWND, UINT, WPARAM, LPARAM );
|
---|
374 |
|
---|
375 | LRESULT OPEN32API _O32_DefMDIChildProc( HWND, UINT, WPARAM, LPARAM );
|
---|
376 |
|
---|
377 | LRESULT OPEN32API _O32_DefWindowProc( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
378 |
|
---|
379 | ATOM OPEN32API _O32_DeleteAtom( ATOM );
|
---|
380 |
|
---|
381 | VOID OPEN32API _O32_DeleteCriticalSection( CRITICAL_SECTION * );
|
---|
382 |
|
---|
383 | BOOL OPEN32API _O32_DeleteDC( HDC );
|
---|
384 |
|
---|
385 | BOOL OPEN32API _O32_DeleteEnhMetaFile( HENHMETAFILE );
|
---|
386 |
|
---|
387 | BOOL OPEN32API _O32_DeleteFile( LPCSTR );
|
---|
388 |
|
---|
389 | BOOL OPEN32API _O32_DeleteMenu( HMENU, UINT, UINT );
|
---|
390 |
|
---|
391 | BOOL OPEN32API _O32_DeleteMetaFile( HMETAFILE );
|
---|
392 |
|
---|
393 | BOOL OPEN32API _O32_DeleteObject( HANDLE );
|
---|
394 |
|
---|
395 | BOOL OPEN32API _O32_DestroyAcceleratorTable( HACCEL );
|
---|
396 |
|
---|
397 | BOOL OPEN32API _O32_DestroyCaret( VOID );
|
---|
398 |
|
---|
399 | BOOL OPEN32API _O32_DestroyCursor( HCURSOR );
|
---|
400 |
|
---|
401 | BOOL OPEN32API _O32_DestroyIcon( HICON );
|
---|
402 |
|
---|
403 | BOOL OPEN32API _O32_DestroyMenu( HMENU );
|
---|
404 |
|
---|
405 | BOOL OPEN32API _O32_DestroyWindow( HWND );
|
---|
406 |
|
---|
407 | DWORD OPEN32API _O32_DeviceCapabilities( LPCSTR, LPCSTR, WORD, LPTSTR, const DEVMODEA *);
|
---|
408 |
|
---|
409 | int OPEN32API _O32_DialogBox( HINSTANCE, LPCSTR, HWND, DLGPROC_O32 );
|
---|
410 |
|
---|
411 | int OPEN32API _O32_DialogBoxParam( HINSTANCE, LPCSTR, HWND, DLGPROC_O32, LPARAM );
|
---|
412 |
|
---|
413 | BOOL OPEN32API _O32_DialogBoxIndirect( HINSTANCE, LPDLGTEMPLATEA, HWND, DLGPROC_O32 );
|
---|
414 |
|
---|
415 | BOOL OPEN32API _O32_DialogBoxIndirectParam( HINSTANCE, LPDLGTEMPLATEA, HWND, DLGPROC_O32, LPARAM );
|
---|
416 |
|
---|
417 | LONG OPEN32API _O32_DispatchMessage( const MSG * );
|
---|
418 |
|
---|
419 | int OPEN32API _O32_DlgDirList( HWND, LPSTR, int, int, UINT );
|
---|
420 |
|
---|
421 | int OPEN32API _O32_DlgDirListComboBox( HWND, LPSTR, int, int, UINT );
|
---|
422 |
|
---|
423 | BOOL OPEN32API _O32_DlgDirSelectEx( HWND, LPSTR, int, int );
|
---|
424 |
|
---|
425 | BOOL OPEN32API _O32_DlgDirSelectComboBoxEx( HWND, LPSTR, int, int );
|
---|
426 |
|
---|
427 | BOOL OPEN32API _O32_DllEntryPoint( HINSTANCE, DWORD, LPVOID );
|
---|
428 |
|
---|
429 | BOOL OPEN32API _O32_DosDateTimeToFileTime( WORD, WORD, LPFILETIME );
|
---|
430 |
|
---|
431 | VOID OPEN32API _O32_DragAcceptFiles( HWND, BOOL );
|
---|
432 |
|
---|
433 | VOID OPEN32API _O32_DragFinish( HDROP );
|
---|
434 |
|
---|
435 | UINT OPEN32API _O32_DragQueryFile( HDROP, int, LPSTR, int );
|
---|
436 |
|
---|
437 | BOOL OPEN32API _O32_DragQueryPoint( HDROP, PPOINT );
|
---|
438 |
|
---|
439 | BOOL OPEN32API _O32_DrawFocusRect( HDC, const RECT * );
|
---|
440 |
|
---|
441 | BOOL OPEN32API _O32_DrawIcon( HDC, int, int, HICON );
|
---|
442 |
|
---|
443 | BOOL OPEN32API _O32_DrawMenuBar( HWND );
|
---|
444 |
|
---|
445 | int OPEN32API _O32_DrawText( HDC, LPCSTR, int, PRECT, UINT );
|
---|
446 |
|
---|
447 | BOOL OPEN32API _O32_DuplicateHandle( HANDLE, HANDLE, HANDLE, LPHANDLE, DWORD, BOOL, DWORD );
|
---|
448 |
|
---|
449 | BOOL OPEN32API _O32_Ellipse( HDC, int, int, int, int );
|
---|
450 |
|
---|
451 | BOOL OPEN32API _O32_EmptyClipboard( void);
|
---|
452 |
|
---|
453 | BOOL OPEN32API _O32_EnableMenuItem( HMENU, UINT, UINT );
|
---|
454 |
|
---|
455 | BOOL OPEN32API _O32_EnableScrollBar( HWND, UINT, UINT );
|
---|
456 |
|
---|
457 | BOOL OPEN32API _O32_EnableWindow( HWND, BOOL );
|
---|
458 |
|
---|
459 | BOOL OPEN32API _O32_EndDeferWindowPos( HDWP );
|
---|
460 |
|
---|
461 | BOOL OPEN32API _O32_EndDialog( HWND, int );
|
---|
462 |
|
---|
463 | int OPEN32API _O32_EndDoc( HDC );
|
---|
464 |
|
---|
465 | int OPEN32API _O32_EndPage( HDC );
|
---|
466 |
|
---|
467 | BOOL OPEN32API _O32_EndPath( HDC );
|
---|
468 |
|
---|
469 | BOOL OPEN32API _O32_EndPaint( HWND, const PAINTSTRUCT *);
|
---|
470 |
|
---|
471 | VOID OPEN32API _O32_EnterCriticalSection( CRITICAL_SECTION * );
|
---|
472 |
|
---|
473 | BOOL OPEN32API _O32_EnumChildWindows( HWND, WNDENUMPROC_O32, LPARAM );
|
---|
474 |
|
---|
475 | UINT OPEN32API _O32_EnumClipboardFormats( UINT );
|
---|
476 |
|
---|
477 | BOOL OPEN32API _O32_EnumEnhMetaFile( HDC , HENHMETAFILE, ENHMFENUMPROC_O32, PVOID, const RECT * );
|
---|
478 |
|
---|
479 | int OPEN32API _O32_EnumFonts( HDC , LPCSTR, OLDFONTENUMPROC_O32, LPARAM );
|
---|
480 |
|
---|
481 | int OPEN32API _O32_EnumFontFamilies( HDC , LPCSTR, FONTENUMPROC_O32, LPARAM );
|
---|
482 |
|
---|
483 | BOOL OPEN32API _O32_EnumMetaFile( HDC , HMETAFILE, MFENUMPROC_O32, LPARAM );
|
---|
484 |
|
---|
485 | int OPEN32API _O32_EnumObjects( HDC , int, GOBJENUMPROC_O32, LPARAM );
|
---|
486 |
|
---|
487 | BOOL OPEN32API _O32_EnumPrinters( DWORD, LPTSTR, DWORD, LPBYTE, DWORD, LPDWORD, LPDWORD);
|
---|
488 |
|
---|
489 | int OPEN32API _O32_EnumProps( HWND, PROPENUMPROC_O32 );
|
---|
490 |
|
---|
491 | int OPEN32API _O32_EnumPropsEx( HWND, PROPENUMPROCEX_O32, LPARAM );
|
---|
492 |
|
---|
493 | BOOL OPEN32API _O32_EnumThreadWindows( DWORD, WNDENUMPROC_O32, LPARAM );
|
---|
494 |
|
---|
495 | BOOL OPEN32API _O32_EnumWindows( WNDENUMPROC_O32, LPARAM );
|
---|
496 |
|
---|
497 | BOOL OPEN32API _O32_EqualRect( const RECT *, const RECT * );
|
---|
498 |
|
---|
499 | BOOL OPEN32API _O32_EqualRgn( HRGN, HRGN );
|
---|
500 |
|
---|
501 | int OPEN32API _O32_Escape( HDC, int, int, LPCSTR, PVOID );
|
---|
502 |
|
---|
503 | int OPEN32API _O32_ExcludeClipRect( HDC, int, int, int, int );
|
---|
504 |
|
---|
505 | BOOL OPEN32API _O32_ExcludeUpdateRgn( HDC, HWND );
|
---|
506 |
|
---|
507 | VOID OPEN32API _O32_ExitProcess( UINT );
|
---|
508 |
|
---|
509 | VOID OPEN32API _O32_ExitThread( DWORD );
|
---|
510 |
|
---|
511 | BOOL OPEN32API _O32_ExitWindows( DWORD, UINT );
|
---|
512 |
|
---|
513 | BOOL OPEN32API _O32_ExitWindowsEx( UINT, DWORD );
|
---|
514 |
|
---|
515 | HPEN OPEN32API _O32_ExtCreatePen( DWORD, DWORD, const LOGBRUSH *, DWORD, const DWORD * );
|
---|
516 |
|
---|
517 | HRGN OPEN32API _O32_ExtCreateRegion( const XFORM *, DWORD, const RGNDATA * );
|
---|
518 |
|
---|
519 | BOOL OPEN32API _O32_ExtFloodFill( HDC, int, int, COLORREF, UINT );
|
---|
520 |
|
---|
521 | int OPEN32API _O32_ExtSelectClipRgn( HDC, HRGN, int );
|
---|
522 |
|
---|
523 | BOOL OPEN32API _O32_ExtTextOut( HDC, int, int, UINT, const RECT *, LPCSTR, UINT, const int * );
|
---|
524 |
|
---|
525 | VOID OPEN32API _O32_FatalAppExit( UINT, LPCSTR );
|
---|
526 |
|
---|
527 | VOID OPEN32API _O32_FatalExit( UINT );
|
---|
528 |
|
---|
529 | BOOL OPEN32API _O32_FileTimeToDosDateTime( const FILETIME *, LPWORD, LPWORD );
|
---|
530 |
|
---|
531 | BOOL OPEN32API _O32_FileTimeToLocalFileTime( const FILETIME *, FILETIME * );
|
---|
532 |
|
---|
533 | BOOL OPEN32API _O32_FileTimeToSystemTime( const FILETIME *, LPSYSTEMTIME );
|
---|
534 |
|
---|
535 | BOOL OPEN32API _O32_FillPath( HDC );
|
---|
536 |
|
---|
537 | int OPEN32API _O32_FillRect( HDC, const RECT *, HBRUSH );
|
---|
538 |
|
---|
539 | BOOL OPEN32API _O32_FillRgn( HDC, HRGN, HBRUSH );
|
---|
540 |
|
---|
541 | ATOM OPEN32API _O32_FindAtom( LPCSTR );
|
---|
542 |
|
---|
543 | BOOL OPEN32API _O32_FindClose( HANDLE );
|
---|
544 |
|
---|
545 | HANDLE OPEN32API _O32_FindFirstFile( LPCSTR, LPWIN32_FIND_DATAA );
|
---|
546 |
|
---|
547 | BOOL OPEN32API _O32_FindNextFile( HANDLE, LPWIN32_FIND_DATAA );
|
---|
548 |
|
---|
549 | HRSRC OPEN32API _O32_FindResource( HINSTANCE, LPCSTR, LPCSTR );
|
---|
550 |
|
---|
551 | HWND OPEN32API _O32_FindText( LPFINDREPLACEA );
|
---|
552 |
|
---|
553 | HWND OPEN32API _O32_FindWindow( LPCSTR lpClassName , LPCSTR );
|
---|
554 |
|
---|
555 | BOOL OPEN32API _O32_FlashWindow( HWND, BOOL );
|
---|
556 |
|
---|
557 | BOOL OPEN32API _O32_FlattenPath( HDC );
|
---|
558 |
|
---|
559 | BOOL OPEN32API _O32_FlushFileBuffers( HANDLE );
|
---|
560 |
|
---|
561 | int OPEN32API _O32_FrameRect( HDC, const RECT *, HBRUSH );
|
---|
562 |
|
---|
563 | BOOL OPEN32API _O32_FrameRgn( HDC, HRGN, HBRUSH, int, int );
|
---|
564 |
|
---|
565 | BOOL OPEN32API _O32_FreeDDElParam( UINT, LONG );
|
---|
566 |
|
---|
567 | BOOL OPEN32API _O32_FreeLibrary( HINSTANCE );
|
---|
568 |
|
---|
569 | UINT OPEN32API _O32_GetACP( VOID );
|
---|
570 |
|
---|
571 | HWND OPEN32API _O32_GetActiveWindow( void);
|
---|
572 |
|
---|
573 | int OPEN32API _O32_GetArcDirection( HDC );
|
---|
574 |
|
---|
575 | BOOL OPEN32API _O32_GetAspectRatioFilterEx( HDC, PSIZE );
|
---|
576 |
|
---|
577 | UINT OPEN32API _O32_GetAtomName( ATOM, LPSTR, int );
|
---|
578 |
|
---|
579 | LONG OPEN32API _O32_GetBitmapBits( HBITMAP, LONG, PVOID );
|
---|
580 |
|
---|
581 | BOOL OPEN32API _O32_GetBitmapDimensionEx( HBITMAP, PSIZE );
|
---|
582 |
|
---|
583 | COLORREF OPEN32API _O32_GetBkColor( HDC );
|
---|
584 |
|
---|
585 | int OPEN32API _O32_GetBkMode( HDC );
|
---|
586 |
|
---|
587 | UINT OPEN32API _O32_GetBoundsRect( HDC, PRECT, UINT );
|
---|
588 |
|
---|
589 | BOOL OPEN32API _O32_GetBrushOrgEx( HDC, PPOINT );
|
---|
590 |
|
---|
591 | HWND OPEN32API _O32_GetCapture( void);
|
---|
592 |
|
---|
593 | UINT OPEN32API _O32_GetCaretBlinkTime( VOID );
|
---|
594 |
|
---|
595 | BOOL OPEN32API _O32_GetCaretPos( PPOINT );
|
---|
596 |
|
---|
597 | BOOL OPEN32API _O32_GetCharABCWidths( HDC, UINT, UINT, LPABC );
|
---|
598 |
|
---|
599 | BOOL OPEN32API _O32_GetCharWidth( HDC, UINT, UINT, PINT );
|
---|
600 |
|
---|
601 | BOOL OPEN32API _O32_GetClassInfo( HINSTANCE hInstance , LPCSTR, WNDCLASSA * );
|
---|
602 |
|
---|
603 | DWORD OPEN32API _O32_GetClassLong( HWND, int );
|
---|
604 |
|
---|
605 | int OPEN32API _O32_GetClassName( HWND, LPSTR, int );
|
---|
606 |
|
---|
607 | WORD OPEN32API _O32_GetClassWord( HWND, int );
|
---|
608 |
|
---|
609 | BOOL OPEN32API _O32_GetClientRect( HWND, PRECT );
|
---|
610 |
|
---|
611 | HANDLE OPEN32API _O32_GetClipboardData( UINT );
|
---|
612 |
|
---|
613 | int OPEN32API _O32_GetClipboardFormatName( UINT, LPSTR, int );
|
---|
614 |
|
---|
615 | HWND OPEN32API _O32_GetClipboardOwner( void);
|
---|
616 |
|
---|
617 | HWND OPEN32API _O32_GetClipboardViewer( VOID );
|
---|
618 |
|
---|
619 | int OPEN32API _O32_GetClipBox( HDC, PRECT );
|
---|
620 |
|
---|
621 | BOOL OPEN32API _O32_GetClipCursor( PRECT );
|
---|
622 |
|
---|
623 | int OPEN32API _O32_GetClipRgn( HDC, HRGN );
|
---|
624 |
|
---|
625 | LPSTR OPEN32API _O32_GetCommandLine( VOID );
|
---|
626 |
|
---|
627 | int OPEN32API _O32_GetCurrentDirectory( DWORD, LPSTR );
|
---|
628 |
|
---|
629 | HGDIOBJ OPEN32API _O32_GetCurrentObject( HDC, DWORD );
|
---|
630 |
|
---|
631 | BOOL OPEN32API _O32_GetCurrentPositionEx( HDC, PPOINT );
|
---|
632 |
|
---|
633 | HANDLE OPEN32API _O32_GetCurrentProcess( VOID );
|
---|
634 |
|
---|
635 | DWORD OPEN32API _O32_GetCurrentProcessId( VOID );
|
---|
636 |
|
---|
637 | HANDLE OPEN32API _O32_GetCurrentThread( VOID );
|
---|
638 |
|
---|
639 | DWORD OPEN32API _O32_GetCurrentThreadId( VOID );
|
---|
640 |
|
---|
641 | DWORD OPEN32API _O32_GetCurrentTime( VOID );
|
---|
642 |
|
---|
643 | HCURSOR OPEN32API _O32_GetCursor( VOID );
|
---|
644 |
|
---|
645 | BOOL OPEN32API _O32_GetCursorPos( PPOINT );
|
---|
646 |
|
---|
647 | HDC OPEN32API _O32_GetDC( HWND );
|
---|
648 |
|
---|
649 | HDC OPEN32API _O32_GetDCEx( HWND, HRGN, DWORD );
|
---|
650 |
|
---|
651 | BOOL OPEN32API _O32_GetDCOrgEx( HDC, PPOINT );
|
---|
652 |
|
---|
653 | int OPEN32API _O32_GetDIBits( HDC, HBITMAP, UINT, UINT, void *, PBITMAPINFO, UINT );
|
---|
654 |
|
---|
655 | int OPEN32API _O32_GetDeviceCaps( HDC, int );
|
---|
656 |
|
---|
657 | LONG OPEN32API _O32_GetDialogBaseUnits( void);
|
---|
658 |
|
---|
659 | BOOL OPEN32API _O32_GetDiskFreeSpace( LPCSTR, PDWORD, PDWORD, PDWORD, PDWORD );
|
---|
660 |
|
---|
661 | int OPEN32API _O32_GetDlgCtrlID( HWND );
|
---|
662 |
|
---|
663 | HWND OPEN32API _O32_GetDlgItem( HWND, int );
|
---|
664 |
|
---|
665 | UINT OPEN32API _O32_GetDlgItemInt( HWND, int, PBOOL, BOOL );
|
---|
666 |
|
---|
667 | UINT OPEN32API _O32_GetDlgItemText( HWND, int, LPSTR, int );
|
---|
668 |
|
---|
669 | UINT OPEN32API _O32_GetDoubleClickTime( VOID );
|
---|
670 |
|
---|
671 | UINT OPEN32API _O32_GetDriveType( LPCSTR );
|
---|
672 |
|
---|
673 | HENHMETAFILE OPEN32API _O32_GetEnhMetaFile( LPCSTR );
|
---|
674 |
|
---|
675 | UINT OPEN32API _O32_GetEnhMetaFileBits( HENHMETAFILE, UINT, PBYTE );
|
---|
676 |
|
---|
677 | UINT OPEN32API _O32_GetEnhMetaFileHeader( HENHMETAFILE, UINT, LPENHMETAHEADER );
|
---|
678 |
|
---|
679 | UINT OPEN32API _O32_GetEnhMetaFilePaletteEntries( HENHMETAFILE, UINT, LPPALETTEENTRY );
|
---|
680 |
|
---|
681 | PVOID OPEN32API _O32_GetEnvironmentStrings( VOID );
|
---|
682 |
|
---|
683 | DWORD OPEN32API _O32_GetEnvironmentVariable(LPCSTR, LPSTR, DWORD );
|
---|
684 |
|
---|
685 | BOOL OPEN32API _O32_GetExitCodeProcess( HANDLE, LPDWORD );
|
---|
686 |
|
---|
687 | BOOL OPEN32API _O32_GetExitCodeThread( HANDLE, LPDWORD );
|
---|
688 |
|
---|
689 | DWORD OPEN32API _O32_GetFileAttributes( LPSTR );
|
---|
690 |
|
---|
691 | DWORD OPEN32API _O32_GetFileInformationByHandle( HANDLE, BY_HANDLE_FILE_INFORMATION * );
|
---|
692 |
|
---|
693 | DWORD OPEN32API _O32_GetFileSize( HANDLE, PDWORD );
|
---|
694 |
|
---|
695 | BOOL OPEN32API _O32_GetFileTime( HANDLE, FILETIME *, FILETIME *, FILETIME * );
|
---|
696 |
|
---|
697 | short OPEN32API _O32_GetFileTitle( LPCSTR, LPSTR, WORD );
|
---|
698 |
|
---|
699 | DWORD OPEN32API _O32_GetFileType( HANDLE );
|
---|
700 |
|
---|
701 | HWND OPEN32API _O32_GetFocus( VOID );
|
---|
702 |
|
---|
703 | HWND OPEN32API _O32_GetForegroundWindow( VOID );
|
---|
704 |
|
---|
705 | DWORD OPEN32API _O32_GetFullPathName( LPCSTR, DWORD, LPSTR, LPSTR * );
|
---|
706 |
|
---|
707 | int OPEN32API _O32_GetGraphicsMode(HDC);
|
---|
708 |
|
---|
709 | BOOL OPEN32API _O32_GetIconInfo( HICON, LPICONINFO );
|
---|
710 |
|
---|
711 | DWORD OPEN32API _O32_GetKerningPairs( HDC, DWORD, LPKERNINGPAIR );
|
---|
712 |
|
---|
713 | int OPEN32API _O32_GetKeyboardType( int );
|
---|
714 |
|
---|
715 | int OPEN32API _O32_GetKeyNameText( LPARAM, LPSTR, int );
|
---|
716 |
|
---|
717 | SHORT OPEN32API _O32_GetKeyState( int );
|
---|
718 |
|
---|
719 | HWND OPEN32API _O32_GetLastActivePopup( HWND );
|
---|
720 |
|
---|
721 | DWORD OPEN32API _O32_GetLastError( VOID );
|
---|
722 |
|
---|
723 | VOID OPEN32API _O32_GetLocalTime( LPSYSTEMTIME );
|
---|
724 |
|
---|
725 | DWORD OPEN32API _O32_GetLogicalDriveStrings( DWORD, LPSTR );
|
---|
726 |
|
---|
727 | DWORD OPEN32API _O32_GetLogicalDrives( VOID );
|
---|
728 |
|
---|
729 | int OPEN32API _O32_GetMapMode( HDC);
|
---|
730 |
|
---|
731 | HMENU OPEN32API _O32_GetMenu( HWND );
|
---|
732 |
|
---|
733 | LONG OPEN32API _O32_GetMenuCheckMarkDimensions(void);
|
---|
734 |
|
---|
735 | int OPEN32API _O32_GetMenuItemCount( HMENU );
|
---|
736 |
|
---|
737 | UINT OPEN32API _O32_GetMenuItemID( HMENU, int );
|
---|
738 |
|
---|
739 | UINT OPEN32API _O32_GetMenuState( HMENU, UINT, UINT );
|
---|
740 |
|
---|
741 | int OPEN32API _O32_GetMenuString( HMENU, UINT, LPSTR, int, UINT );
|
---|
742 |
|
---|
743 | BOOL OPEN32API _O32_GetMessage( LPMSG, HWND hwnd , UINT, UINT );
|
---|
744 |
|
---|
745 | LONG OPEN32API _O32_GetMessageExtraInfo( VOID );
|
---|
746 |
|
---|
747 | DWORD OPEN32API _O32_GetMessagePos( VOID );
|
---|
748 |
|
---|
749 | LONG OPEN32API _O32_GetMessageTime( VOID );
|
---|
750 |
|
---|
751 | HMETAFILE OPEN32API _O32_GetMetaFile( LPCSTR );
|
---|
752 |
|
---|
753 | UINT OPEN32API _O32_GetMetaFileBitsEx( HMETAFILE, UINT, LPVOID );
|
---|
754 |
|
---|
755 | BOOL OPEN32API _O32_GetMiterLimit( HDC, float *);
|
---|
756 |
|
---|
757 | DWORD OPEN32API _O32_GetModuleFileName( HINSTANCE, LPSTR, DWORD );
|
---|
758 |
|
---|
759 | HMODULE OPEN32API _O32_GetModuleHandle( LPCSTR );
|
---|
760 |
|
---|
761 | COLORREF OPEN32API _O32_GetNearestColor( HDC, COLORREF );
|
---|
762 |
|
---|
763 | UINT OPEN32API _O32_GetNearestPaletteIndex( HPALETTE, COLORREF );
|
---|
764 |
|
---|
765 | HWND OPEN32API _O32_GetNextDlgGroupItem( HWND, HWND, BOOL );
|
---|
766 |
|
---|
767 | HWND OPEN32API _O32_GetNextDlgTabItem( HWND, HWND, BOOL );
|
---|
768 |
|
---|
769 | HWND OPEN32API _O32_GetNextWindow( HWND, UINT );
|
---|
770 |
|
---|
771 | int OPEN32API _O32_GetOEMCP( VOID );
|
---|
772 |
|
---|
773 | int OPEN32API _O32_GetObject( HGDIOBJ, int, void * );
|
---|
774 |
|
---|
775 | DWORD OPEN32API _O32_GetObjectType( HGDIOBJ );
|
---|
776 |
|
---|
777 | HWND OPEN32API _O32_GetOpenClipboardWindow( VOID );
|
---|
778 |
|
---|
779 | BOOL OPEN32API _O32_GetOpenFileName( LPOPENFILENAMEA );
|
---|
780 |
|
---|
781 | UINT OPEN32API _O32_GetOutlineTextMetrics( HDC, UINT, LPOUTLINETEXTMETRICA );
|
---|
782 |
|
---|
783 | BOOL OPEN32API _O32_GetOverlappedResult(HANDLE, LPOVERLAPPED, LPDWORD, BOOL );
|
---|
784 |
|
---|
785 | UINT OPEN32API _O32_GetPaletteEntries( HPALETTE, UINT, UINT, PPALETTEENTRY );
|
---|
786 |
|
---|
787 | HWND OPEN32API _O32_GetParent( HWND );
|
---|
788 |
|
---|
789 | UINT OPEN32API _O32_GetPath( HDC, PPOINT, PBYTE, int );
|
---|
790 |
|
---|
791 | COLORREF OPEN32API _O32_GetPixel( HDC, int, int );
|
---|
792 |
|
---|
793 | int OPEN32API _O32_GetPolyFillMode( HDC);
|
---|
794 |
|
---|
795 | DWORD OPEN32API _O32_GetPriorityClass( HANDLE );
|
---|
796 |
|
---|
797 | int OPEN32API _O32_GetPriorityClipboardFormat( PUINT, int );
|
---|
798 |
|
---|
799 | UINT OPEN32API _O32_GetPrivateProfileInt( LPCSTR, LPCSTR, INT, LPCSTR );
|
---|
800 |
|
---|
801 | DWORD OPEN32API _O32_GetPrivateProfileString( LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD, LPCSTR );
|
---|
802 |
|
---|
803 | FARPROC OPEN32API _O32_GetProcAddress( HMODULE, LPCSTR );
|
---|
804 |
|
---|
805 | UINT OPEN32API _O32_GetProfileInt( LPCSTR, LPCSTR, INT );
|
---|
806 |
|
---|
807 | DWORD OPEN32API _O32_GetProfileString( LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD );
|
---|
808 |
|
---|
809 | HANDLE OPEN32API _O32_GetProp( HWND, LPCSTR );
|
---|
810 |
|
---|
811 | DWORD OPEN32API _O32_GetQueueStatus( UINT );
|
---|
812 |
|
---|
813 | int OPEN32API _O32_GetROP2( HDC );
|
---|
814 |
|
---|
815 | BOOL OPEN32API _O32_GetRasterizerCaps( LPRASTERIZER_STATUS, UINT );
|
---|
816 |
|
---|
817 | int OPEN32API _O32_GetRgnBox( HRGN, PRECT );
|
---|
818 |
|
---|
819 | DWORD OPEN32API _O32_GetRegionData( HRGN, DWORD, PRGNDATA );
|
---|
820 |
|
---|
821 | BOOL OPEN32API _O32_GetSaveFileName( LPOPENFILENAMEA );
|
---|
822 |
|
---|
823 | int OPEN32API _O32_GetScrollPos( HWND, int );
|
---|
824 |
|
---|
825 | BOOL OPEN32API _O32_GetScrollRange( HWND, int, int *, int * );
|
---|
826 |
|
---|
827 | HANDLE OPEN32API _O32_GetStdHandle( DWORD );
|
---|
828 |
|
---|
829 | HGDIOBJ OPEN32API _O32_GetStockObject( int );
|
---|
830 |
|
---|
831 | int OPEN32API _O32_GetStretchBltMode( HDC );
|
---|
832 |
|
---|
833 | HMENU OPEN32API _O32_GetSubMenu( HWND, int );
|
---|
834 |
|
---|
835 | DWORD OPEN32API _O32_GetSysColor( int );
|
---|
836 |
|
---|
837 | UINT OPEN32API _O32_GetSystemDirectory( LPSTR, UINT );
|
---|
838 |
|
---|
839 | HMENU OPEN32API _O32_GetSystemMenu( HWND, BOOL );
|
---|
840 |
|
---|
841 | int OPEN32API _O32_GetSystemMetrics( int );
|
---|
842 |
|
---|
843 | UINT OPEN32API _O32_GetSystemPaletteEntries( HDC, UINT, UINT, PPALETTEENTRY );
|
---|
844 |
|
---|
845 | void OPEN32API _O32_GetSystemTime( LPSYSTEMTIME );
|
---|
846 |
|
---|
847 | DWORD OPEN32API _O32_GetTabbedTextExtent( HDC, LPCSTR, int, int, int * );
|
---|
848 |
|
---|
849 | UINT OPEN32API _O32_GetTempFileName( LPCSTR, LPCSTR, UINT, LPSTR );
|
---|
850 |
|
---|
851 | DWORD OPEN32API _O32_GetTempPath( DWORD, LPSTR );
|
---|
852 |
|
---|
853 | UINT OPEN32API _O32_GetTextAlign( HDC);
|
---|
854 |
|
---|
855 | int OPEN32API _O32_GetTextCharacterExtra( HDC);
|
---|
856 |
|
---|
857 | COLORREF OPEN32API _O32_GetTextColor( HDC );
|
---|
858 |
|
---|
859 | BOOL OPEN32API _O32_GetTextExtentPoint( HDC, LPCSTR, int, PSIZE );
|
---|
860 |
|
---|
861 | BOOL OPEN32API _O32_GetTextExtentPoint32( HDC, LPCSTR, int, PSIZE );
|
---|
862 |
|
---|
863 | int OPEN32API _O32_GetTextFace( HDC, int, LPSTR );
|
---|
864 |
|
---|
865 | BOOL OPEN32API _O32_GetTextMetrics( HDC, LPTEXTMETRICA );
|
---|
866 |
|
---|
867 | DWORD OPEN32API _O32_GetThreadPriority( HANDLE );
|
---|
868 |
|
---|
869 | DWORD OPEN32API _O32_GetTickCount( VOID );
|
---|
870 |
|
---|
871 | DWORD OPEN32API _O32_GetTimeZoneInformation( LPTIME_ZONE_INFORMATION );
|
---|
872 |
|
---|
873 | HWND OPEN32API _O32_GetTopWindow( HWND );
|
---|
874 |
|
---|
875 | BOOL OPEN32API _O32_GetUpdateRect( HWND, PRECT, BOOL );
|
---|
876 |
|
---|
877 | int OPEN32API _O32_GetUpdateRgn( HWND, HRGN, BOOL );
|
---|
878 |
|
---|
879 | BOOL OPEN32API _O32_GetViewportExtEx( HDC, PSIZE );
|
---|
880 |
|
---|
881 | BOOL OPEN32API _O32_GetViewportOrgEx( HDC, PPOINT );
|
---|
882 |
|
---|
883 | DWORD OPEN32API _O32_GetVolumeInformation( LPCSTR, LPSTR, DWORD, PDWORD,
|
---|
884 | PDWORD, PDWORD, LPSTR, DWORD );
|
---|
885 |
|
---|
886 | UINT OPEN32API _O32_GetWinMetaFileBits( HENHMETAFILE, UINT, PBYTE, int, HDC);
|
---|
887 |
|
---|
888 | HWND OPEN32API _O32_GetWindow( HWND, UINT );
|
---|
889 |
|
---|
890 | HDC OPEN32API _O32_GetWindowDC( HWND );
|
---|
891 |
|
---|
892 | BOOL OPEN32API _O32_GetWindowExtEx( HDC, PSIZE );
|
---|
893 |
|
---|
894 | LONG OPEN32API _O32_GetWindowLong( HWND, int );
|
---|
895 |
|
---|
896 | BOOL OPEN32API _O32_GetWindowOrgEx( HDC, PPOINT );
|
---|
897 |
|
---|
898 | BOOL OPEN32API _O32_GetWindowPlacement( HWND, LPWINDOWPLACEMENT );
|
---|
899 |
|
---|
900 | BOOL OPEN32API _O32_GetWindowRect( HWND, PRECT );
|
---|
901 |
|
---|
902 | UINT OPEN32API _O32_GetWindowsDirectory( LPSTR, UINT );
|
---|
903 |
|
---|
904 | int OPEN32API _O32_GetWindowText( HWND, LPSTR, int );
|
---|
905 |
|
---|
906 | int OPEN32API _O32_GetWindowTextLength( HWND );
|
---|
907 |
|
---|
908 | DWORD OPEN32API _O32_GetWindowThreadProcessId(HWND, PDWORD );
|
---|
909 |
|
---|
910 | WORD OPEN32API _O32_GetWindowWord( HWND, int );
|
---|
911 |
|
---|
912 | BOOL OPEN32API _O32_GetWorldTransform( HDC, LPXFORM );
|
---|
913 |
|
---|
914 | ATOM OPEN32API _O32_GlobalAddAtom( LPCSTR );
|
---|
915 |
|
---|
916 | HGLOBAL OPEN32API _O32_GlobalAlloc( UINT, DWORD );
|
---|
917 |
|
---|
918 | ATOM OPEN32API _O32_GlobalDeleteAtom( ATOM );
|
---|
919 |
|
---|
920 | HGLOBAL OPEN32API _O32_GlobalDiscard( HGLOBAL );
|
---|
921 |
|
---|
922 | ATOM OPEN32API _O32_GlobalFindAtom( LPCSTR );
|
---|
923 |
|
---|
924 | UINT OPEN32API _O32_GlobalFlags( HGLOBAL );
|
---|
925 |
|
---|
926 | HGLOBAL OPEN32API _O32_GlobalFree( HGLOBAL );
|
---|
927 |
|
---|
928 | UINT OPEN32API _O32_GlobalGetAtomName( ATOM, LPSTR, int );
|
---|
929 |
|
---|
930 | HGLOBAL OPEN32API _O32_GlobalHandle( PVOID memPtr );
|
---|
931 |
|
---|
932 | PVOID OPEN32API _O32_GlobalLock( HGLOBAL hglbMem );
|
---|
933 |
|
---|
934 | VOID OPEN32API _O32_GlobalMemoryStatus( LPMEMORYSTATUS );
|
---|
935 |
|
---|
936 | HGLOBAL OPEN32API _O32_GlobalReAlloc( HGLOBAL, DWORD, UINT );
|
---|
937 |
|
---|
938 | DWORD OPEN32API _O32_GlobalSize( HGLOBAL );
|
---|
939 |
|
---|
940 | BOOL OPEN32API _O32_GlobalUnlock( HGLOBAL hglbMem );
|
---|
941 |
|
---|
942 | PVOID OPEN32API _O32_HeapAlloc( HANDLE, DWORD, DWORD );
|
---|
943 |
|
---|
944 | HANDLE OPEN32API _O32_HeapCreate( DWORD, DWORD, DWORD );
|
---|
945 |
|
---|
946 | BOOL OPEN32API _O32_HeapDestroy( HANDLE );
|
---|
947 |
|
---|
948 | BOOL OPEN32API _O32_HeapFree( HANDLE, DWORD, PVOID );
|
---|
949 |
|
---|
950 | PVOID OPEN32API _O32_HeapReAlloc( HANDLE, DWORD, PVOID, DWORD );
|
---|
951 |
|
---|
952 | DWORD OPEN32API _O32_HeapSize( HANDLE, DWORD, PVOID );
|
---|
953 |
|
---|
954 | BOOL OPEN32API _O32_HideCaret( HWND );
|
---|
955 |
|
---|
956 | BOOL OPEN32API _O32_HiliteMenuItem( HWND, HMENU, UINT, UINT );
|
---|
957 |
|
---|
958 | BOOL OPEN32API _O32_InflateRect( PRECT, int, int );
|
---|
959 |
|
---|
960 | BOOL OPEN32API _O32_InSendMessage( VOID );
|
---|
961 |
|
---|
962 | BOOL OPEN32API _O32_InitAtomTable( DWORD );
|
---|
963 |
|
---|
964 | VOID OPEN32API _O32_InitializeCriticalSection( CRITICAL_SECTION * );
|
---|
965 |
|
---|
966 | BOOL OPEN32API _O32_InsertMenu( HMENU, UINT, UINT, UINT, LPCSTR );
|
---|
967 |
|
---|
968 | LONG OPEN32API _O32_InterlockedDecrement( PLONG );
|
---|
969 |
|
---|
970 | LONG OPEN32API _O32_InterlockedExchange( PLONG, LONG );
|
---|
971 |
|
---|
972 | LONG OPEN32API _O32_InterlockedIncrement( PLONG );
|
---|
973 |
|
---|
974 | int OPEN32API _O32_IntersectClipRect( HDC, int, int, int, int );
|
---|
975 |
|
---|
976 | BOOL OPEN32API _O32_IntersectRect( PRECT, const RECT * rect1, const RECT * rect2);
|
---|
977 |
|
---|
978 | BOOL OPEN32API _O32_InvalidateRect( HWND, const RECT *, BOOL );
|
---|
979 |
|
---|
980 | BOOL OPEN32API _O32_InvalidateRgn( HWND, HRGN, BOOL );
|
---|
981 |
|
---|
982 | BOOL OPEN32API _O32_InvertRect( HDC, const RECT *);
|
---|
983 |
|
---|
984 | BOOL OPEN32API _O32_InvertRgn( HDC, HRGN );
|
---|
985 |
|
---|
986 | BOOL OPEN32API _O32_IsBadCodePtr( FARPROC );
|
---|
987 |
|
---|
988 | BOOL OPEN32API _O32_IsBadReadPtr( const VOID *, UINT );
|
---|
989 |
|
---|
990 | BOOL OPEN32API _O32_IsBadStringPtr( LPCSTR, UINT );
|
---|
991 |
|
---|
992 | BOOL OPEN32API _O32_IsBadWritePtr( PVOID, UINT );
|
---|
993 |
|
---|
994 | BOOL OPEN32API _O32_IsChild( HWND, HWND );
|
---|
995 |
|
---|
996 | BOOL OPEN32API _O32_IsClipboardFormatAvailable( UINT );
|
---|
997 |
|
---|
998 | BOOL OPEN32API _O32_IsDBCSLeadByte( BYTE );
|
---|
999 |
|
---|
1000 | BOOL OPEN32API _O32_IsDialogMessage( HWND, LPMSG );
|
---|
1001 |
|
---|
1002 | BOOL OPEN32API _O32_IsDlgButtonChecked( HWND, int );
|
---|
1003 |
|
---|
1004 | BOOL OPEN32API _O32_IsIconic( HWND );
|
---|
1005 |
|
---|
1006 | BOOL OPEN32API _O32_IsMenu( HMENU );
|
---|
1007 |
|
---|
1008 | BOOL OPEN32API _O32_IsRectEmpty( const RECT *);
|
---|
1009 |
|
---|
1010 | BOOL OPEN32API _O32_IsWindow( HWND );
|
---|
1011 |
|
---|
1012 | BOOL OPEN32API _O32_IsWindowEnabled( HWND );
|
---|
1013 |
|
---|
1014 | BOOL OPEN32API _O32_IsWindowVisible( HWND );
|
---|
1015 |
|
---|
1016 | BOOL OPEN32API _O32_IsZoomed( HWND );
|
---|
1017 |
|
---|
1018 | BOOL OPEN32API _O32_KillTimer(HWND, UINT );
|
---|
1019 |
|
---|
1020 | BOOL OPEN32API _O32_LPtoDP( HDC, PPOINT, int );
|
---|
1021 |
|
---|
1022 | VOID OPEN32API _O32_LeaveCriticalSection( CRITICAL_SECTION * );
|
---|
1023 |
|
---|
1024 | BOOL OPEN32API _O32_LineDDA( int, int, int, int, LINEDDAPROC_O32, LPARAM );
|
---|
1025 |
|
---|
1026 | BOOL OPEN32API _O32_LineTo( HDC, int, int );
|
---|
1027 |
|
---|
1028 | HACCEL OPEN32API _O32_LoadAccelerators( HINSTANCE, LPCSTR );
|
---|
1029 |
|
---|
1030 | HBITMAP OPEN32API _O32_LoadBitmap( HINSTANCE, LPCSTR );
|
---|
1031 |
|
---|
1032 | HCURSOR OPEN32API _O32_LoadCursor( HINSTANCE, LPCSTR );
|
---|
1033 |
|
---|
1034 | HICON OPEN32API _O32_LoadIcon( HINSTANCE, LPCSTR );
|
---|
1035 |
|
---|
1036 | HINSTANCE OPEN32API _O32_LoadLibrary( LPCSTR );
|
---|
1037 |
|
---|
1038 | HMENU OPEN32API _O32_LoadMenu( HINSTANCE, LPCSTR );
|
---|
1039 |
|
---|
1040 | HMENU OPEN32API _O32_LoadMenuIndirect( const MENUITEMTEMPLATEHEADER * );
|
---|
1041 |
|
---|
1042 | DWORD OPEN32API _O32_LoadModule( LPCSTR, PVOID );
|
---|
1043 |
|
---|
1044 | HGLOBAL OPEN32API _O32_LoadResource( HINSTANCE, HRSRC );
|
---|
1045 |
|
---|
1046 | PVOID OPEN32API _O32_LockResource( HGLOBAL );
|
---|
1047 |
|
---|
1048 | int OPEN32API _O32_LoadString( HINSTANCE, UINT, LPSTR, int );
|
---|
1049 |
|
---|
1050 | HLOCAL OPEN32API _O32_LocalAlloc( UINT, UINT );
|
---|
1051 |
|
---|
1052 | HLOCAL OPEN32API _O32_LocalDiscard( HLOCAL );
|
---|
1053 |
|
---|
1054 | UINT OPEN32API _O32_LocalFlags( HLOCAL );
|
---|
1055 |
|
---|
1056 | BOOL OPEN32API _O32_LocalFileTimeToFileTime( const FILETIME *, FILETIME * );
|
---|
1057 |
|
---|
1058 | HLOCAL OPEN32API _O32_LocalFree( HLOCAL );
|
---|
1059 |
|
---|
1060 | HLOCAL OPEN32API _O32_LocalHandle( PVOID lpvMem );
|
---|
1061 |
|
---|
1062 | BOOL OPEN32API _O32_LocalUnlock( HLOCAL hlocal);
|
---|
1063 |
|
---|
1064 | HLOCAL OPEN32API _O32_LocalReAlloc( HLOCAL, UINT, UINT );
|
---|
1065 |
|
---|
1066 | UINT OPEN32API _O32_LocalSize( HLOCAL );
|
---|
1067 |
|
---|
1068 | PVOID OPEN32API _O32_LocalLock( HLOCAL hlocal );
|
---|
1069 |
|
---|
1070 | BOOL OPEN32API _O32_LockFile( HANDLE, DWORD, DWORD, DWORD, DWORD );
|
---|
1071 |
|
---|
1072 | BOOL OPEN32API _O32_LockWindowUpdate( HWND );
|
---|
1073 |
|
---|
1074 | BOOL OPEN32API _O32_MapDialogRect( HWND, PRECT );
|
---|
1075 |
|
---|
1076 | UINT OPEN32API _O32_MapVirtualKey( UINT, UINT );
|
---|
1077 |
|
---|
1078 | int OPEN32API _O32_MapWindowPoints( HWND, HWND, PPOINT, int );
|
---|
1079 |
|
---|
1080 | BOOL OPEN32API _O32_MaskBlt( HDC, int, int, int, int, HDC hdcSrc, int, int, HBITMAP, int, int, DWORD );
|
---|
1081 |
|
---|
1082 | int OPEN32API _O32_MessageBox( HWND hwnd , LPCSTR, LPCSTR, UINT );
|
---|
1083 |
|
---|
1084 | BOOL OPEN32API _O32_MessageBeep( UINT );
|
---|
1085 |
|
---|
1086 | DWORD OPEN32API _O32_MsgWaitForMultipleObjects( DWORD, LPHANDLE, BOOL, DWORD, DWORD );
|
---|
1087 |
|
---|
1088 | BOOL OPEN32API _O32_ModifyMenu( HMENU, UINT, UINT, UINT, LPCSTR );
|
---|
1089 |
|
---|
1090 | BOOL OPEN32API _O32_ModifyWorldTransform( HDC, LPXFORM, DWORD );
|
---|
1091 |
|
---|
1092 | BOOL OPEN32API _O32_MoveFile( LPCSTR, LPCSTR );
|
---|
1093 |
|
---|
1094 | BOOL OPEN32API _O32_MoveToEx( HDC, int, int, PPOINT );
|
---|
1095 |
|
---|
1096 | BOOL OPEN32API _O32_MoveWindow( HWND, int, int, int, int, BOOL );
|
---|
1097 |
|
---|
1098 | int OPEN32API _O32_MulDiv(int, int, int );
|
---|
1099 |
|
---|
1100 | int OPEN32API _O32_OffsetClipRgn( HDC, int, int );
|
---|
1101 |
|
---|
1102 | BOOL OPEN32API _O32_OffsetRect( PRECT, int, int );
|
---|
1103 |
|
---|
1104 | int OPEN32API _O32_OffsetRgn( HRGN, int, int );
|
---|
1105 |
|
---|
1106 | BOOL OPEN32API _O32_OffsetViewportOrgEx( HDC, int, int, PPOINT );
|
---|
1107 |
|
---|
1108 | BOOL OPEN32API _O32_OffsetWindowOrgEx( HDC, int, int, PPOINT );
|
---|
1109 |
|
---|
1110 | BOOL OPEN32API _O32_OpenClipboard( HWND );
|
---|
1111 |
|
---|
1112 | HANDLE OPEN32API _O32_OpenEvent( DWORD, BOOL, LPCSTR );
|
---|
1113 |
|
---|
1114 | HFILE OPEN32API _O32_OpenFile( LPCSTR, LPOFSTRUCT, UINT );
|
---|
1115 |
|
---|
1116 | HANDLE OPEN32API _O32_OpenMutex( DWORD, BOOL, LPCSTR );
|
---|
1117 |
|
---|
1118 | HANDLE OPEN32API _O32_OpenProcess( DWORD, BOOL, DWORD );
|
---|
1119 |
|
---|
1120 | HANDLE OPEN32API _O32_OpenSemaphore( DWORD, BOOL, LPCSTR );
|
---|
1121 |
|
---|
1122 | VOID OPEN32API _O32_OutputDebugString( LPCSTR );
|
---|
1123 |
|
---|
1124 | LONG OPEN32API _O32_PackDDElParam(UINT, UINT, UINT );
|
---|
1125 |
|
---|
1126 | BOOL OPEN32API _O32_PaintRgn( HDC, HRGN );
|
---|
1127 |
|
---|
1128 | BOOL OPEN32API _O32_PatBlt( HDC, int, int, int, int, DWORD );
|
---|
1129 |
|
---|
1130 | HRGN OPEN32API _O32_PathToRegion( HDC);
|
---|
1131 |
|
---|
1132 | BOOL OPEN32API _O32_PeekMessage( LPMSG, HWND, UINT, UINT, UINT );
|
---|
1133 |
|
---|
1134 | BOOL OPEN32API _O32_Pie( HDC, int, int, int, int, int, int, int, int );
|
---|
1135 |
|
---|
1136 | BOOL OPEN32API _O32_PlayEnhMetaFile( HDC, HENHMETAFILE, const RECT * );
|
---|
1137 |
|
---|
1138 | BOOL OPEN32API _O32_PlayMetaFile( HDC, HMETAFILE );
|
---|
1139 |
|
---|
1140 | BOOL OPEN32API _O32_PlayMetaFileRecord( HDC, LPHANDLETABLE, PMETARECORD, int );
|
---|
1141 |
|
---|
1142 | BOOL OPEN32API _O32_PolyBezier( HDC, const POINT *, int );
|
---|
1143 |
|
---|
1144 | BOOL OPEN32API _O32_PolyBezierTo( HDC, const POINT *, DWORD );
|
---|
1145 |
|
---|
1146 | BOOL OPEN32API _O32_PolyDraw( HDC, const POINT *, const BYTE *, int );
|
---|
1147 |
|
---|
1148 | BOOL OPEN32API _O32_Polygon( HDC, const POINT *, int );
|
---|
1149 |
|
---|
1150 | BOOL OPEN32API _O32_Polyline( HDC, const POINT *, int );
|
---|
1151 |
|
---|
1152 | BOOL OPEN32API _O32_PolylineTo( HDC, const POINT *, DWORD );
|
---|
1153 |
|
---|
1154 | BOOL OPEN32API _O32_PolyPolygon( HDC, const POINT *, const int *, int );
|
---|
1155 |
|
---|
1156 | BOOL OPEN32API _O32_PolyPolyline( HDC, const POINT *, const DWORD *, DWORD );
|
---|
1157 |
|
---|
1158 | VOID OPEN32API _O32_PostQuitMessage( int );
|
---|
1159 |
|
---|
1160 | BOOL OPEN32API _O32_PostMessage( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
1161 |
|
---|
1162 | BOOL OPEN32API _O32_PostThreadMessage( DWORD, UINT, WPARAM, LPARAM );
|
---|
1163 |
|
---|
1164 | BOOL OPEN32API _O32_PtInRect( const RECT *, POINT );
|
---|
1165 |
|
---|
1166 | BOOL OPEN32API _O32_PtInRegion( HRGN, int, int );
|
---|
1167 |
|
---|
1168 | BOOL OPEN32API _O32_PtVisible( HDC, int, int );
|
---|
1169 |
|
---|
1170 | BOOL OPEN32API _O32_PrintDlg( LPPRINTDLGA );
|
---|
1171 |
|
---|
1172 | BOOL OPEN32API _O32_PulseEvent ( HANDLE );
|
---|
1173 |
|
---|
1174 | BOOL OPEN32API _O32_ReadFile( HANDLE, PVOID, DWORD, PDWORD, LPOVERLAPPED );
|
---|
1175 |
|
---|
1176 | UINT OPEN32API _O32_RealizePalette( HDC);
|
---|
1177 |
|
---|
1178 | BOOL OPEN32API _O32_RectInRegion( HRGN, const RECT * );
|
---|
1179 |
|
---|
1180 | BOOL OPEN32API _O32_RectVisible( HDC, const RECT *);
|
---|
1181 |
|
---|
1182 | BOOL OPEN32API _O32_Rectangle( HDC, int, int, int, int );
|
---|
1183 |
|
---|
1184 | BOOL OPEN32API _O32_RedrawWindow( HWND, const RECT *, HRGN, DWORD );
|
---|
1185 |
|
---|
1186 | LONG OPEN32API _O32_RegCloseKey( HKEY );
|
---|
1187 |
|
---|
1188 | LONG OPEN32API _O32_RegCreateKey( HKEY, LPCSTR, PHKEY );
|
---|
1189 |
|
---|
1190 | LONG OPEN32API _O32_RegCreateKeyEx( HKEY, LPCSTR, DWORD, LPSTR, DWORD, REGSAM, LPSECURITY_ATTRIBUTES, PHKEY, PDWORD );
|
---|
1191 |
|
---|
1192 | LONG OPEN32API _O32_RegDeleteKey( HKEY, LPCSTR );
|
---|
1193 |
|
---|
1194 | LONG OPEN32API _O32_RegDeleteValue( HKEY, LPSTR );
|
---|
1195 |
|
---|
1196 | LONG OPEN32API _O32_RegEnumKey( HKEY, DWORD, LPSTR, DWORD );
|
---|
1197 |
|
---|
1198 | LONG OPEN32API _O32_RegEnumKeyEx( HKEY, DWORD, LPSTR, PDWORD, PDWORD, LPSTR, PDWORD, FILETIME * );
|
---|
1199 |
|
---|
1200 | LONG OPEN32API _O32_RegEnumValue( HKEY, DWORD, LPSTR, PDWORD, PDWORD, PDWORD, LPBYTE, PDWORD );
|
---|
1201 |
|
---|
1202 | LONG OPEN32API _O32_RegOpenKey( HKEY, LPCSTR, PHKEY );
|
---|
1203 |
|
---|
1204 | LONG OPEN32API _O32_RegOpenKeyEx( HKEY, LPCSTR, DWORD, REGSAM, PHKEY );
|
---|
1205 |
|
---|
1206 | LONG OPEN32API _O32_RegQueryInfoKey( HKEY, LPSTR, PDWORD, PDWORD, PDWORD, PDWORD,
|
---|
1207 | PDWORD, PDWORD, PDWORD, PDWORD, PDWORD, FILETIME * );
|
---|
1208 |
|
---|
1209 | LONG OPEN32API _O32_RegQueryValue( HKEY, LPCSTR, LPSTR, PLONG );
|
---|
1210 |
|
---|
1211 | LONG OPEN32API _O32_RegQueryValueEx( HKEY, LPCSTR, PDWORD, PDWORD, LPBYTE, PDWORD );
|
---|
1212 |
|
---|
1213 | LONG OPEN32API _O32_RegSetValue( HKEY, LPCSTR, DWORD, LPCSTR, DWORD );
|
---|
1214 |
|
---|
1215 | LONG OPEN32API _O32_RegSetValueEx( HKEY, LPCSTR, DWORD, DWORD, const BYTE *, DWORD );
|
---|
1216 |
|
---|
1217 | WORD OPEN32API _O32_RegisterClass( const WNDCLASSA *);
|
---|
1218 |
|
---|
1219 | UINT OPEN32API _O32_RegisterClipboardFormat( LPCSTR );
|
---|
1220 |
|
---|
1221 | UINT OPEN32API _O32_RegisterWindowMessage( LPCSTR );
|
---|
1222 |
|
---|
1223 | BOOL OPEN32API _O32_ReleaseCapture( void );
|
---|
1224 |
|
---|
1225 | int OPEN32API _O32_ReleaseDC( HWND, HDC );
|
---|
1226 |
|
---|
1227 | BOOL OPEN32API _O32_ReleaseMutex( HANDLE );
|
---|
1228 |
|
---|
1229 | BOOL OPEN32API _O32_ReleaseSemaphore( HANDLE, LONG, PLONG );
|
---|
1230 |
|
---|
1231 | BOOL OPEN32API _O32_RemoveDirectory( LPCSTR );
|
---|
1232 |
|
---|
1233 | BOOL OPEN32API _O32_RemoveFontResource( LPCSTR );
|
---|
1234 |
|
---|
1235 | BOOL OPEN32API _O32_RemoveMenu( HMENU, UINT, UINT );
|
---|
1236 |
|
---|
1237 | HANDLE OPEN32API _O32_RemoveProp( HWND, LPCSTR );
|
---|
1238 |
|
---|
1239 | HWND OPEN32API _O32_ReplaceText( LPFINDREPLACEA );
|
---|
1240 |
|
---|
1241 | BOOL OPEN32API _O32_ReplyMessage( LRESULT );
|
---|
1242 |
|
---|
1243 | BOOL OPEN32API _O32_ResetDC( HDC, const DEVMODEA * );
|
---|
1244 |
|
---|
1245 | BOOL OPEN32API _O32_ResetEvent( HANDLE );
|
---|
1246 |
|
---|
1247 | BOOL OPEN32API _O32_ResizePalette( HPALETTE, UINT );
|
---|
1248 |
|
---|
1249 | BOOL OPEN32API _O32_RestoreDC( HDC, int );
|
---|
1250 |
|
---|
1251 | DWORD OPEN32API _O32_ResumeThread( HANDLE );
|
---|
1252 |
|
---|
1253 | LONG OPEN32API _O32_ReuseDDElParam( LONG, UINT, UINT, UINT, UINT );
|
---|
1254 |
|
---|
1255 | BOOL OPEN32API _O32_RoundRect( HDC, int, int, int, int, int, int );
|
---|
1256 |
|
---|
1257 | int OPEN32API _O32_SaveDC( HDC );
|
---|
1258 |
|
---|
1259 | BOOL OPEN32API _O32_ScaleViewportExtEx( HDC, int, int, int, int, PSIZE );
|
---|
1260 |
|
---|
1261 | BOOL OPEN32API _O32_ScaleWindowExtEx( HDC, int, int, int, int, PSIZE );
|
---|
1262 |
|
---|
1263 | BOOL OPEN32API _O32_ScreenToClient( HWND, PPOINT );
|
---|
1264 |
|
---|
1265 | BOOL OPEN32API _O32_ScrollDC( HDC, int, int, const RECT *, const RECT *, HRGN, PRECT );
|
---|
1266 |
|
---|
1267 | BOOL OPEN32API _O32_ScrollWindow( HWND, int, int, const RECT *, const RECT * );
|
---|
1268 |
|
---|
1269 | BOOL OPEN32API _O32_ScrollWindowEx( HWND, int, int, const RECT *, const RECT *, HRGN, PRECT, UINT );
|
---|
1270 |
|
---|
1271 | DWORD OPEN32API _O32_SearchPath( LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPSTR *);
|
---|
1272 |
|
---|
1273 | int OPEN32API _O32_SelectClipRgn( HDC, HRGN );
|
---|
1274 |
|
---|
1275 | HGDIOBJ OPEN32API _O32_SelectObject( HDC, HGDIOBJ );
|
---|
1276 |
|
---|
1277 | HPALETTE OPEN32API _O32_SelectPalette( HDC, HPALETTE, BOOL );
|
---|
1278 |
|
---|
1279 | LONG OPEN32API _O32_SendDlgItemMessage( HWND, int, UINT, WPARAM, LPARAM );
|
---|
1280 |
|
---|
1281 | LRESULT OPEN32API _O32_SendMessage( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
1282 |
|
---|
1283 | HWND OPEN32API _O32_SetActiveWindow( HWND );
|
---|
1284 |
|
---|
1285 | int OPEN32API _O32_SetArcDirection( HDC, int );
|
---|
1286 |
|
---|
1287 | LONG OPEN32API _O32_SetBitmapBits( HBITMAP, DWORD, const VOID * );
|
---|
1288 |
|
---|
1289 | BOOL OPEN32API _O32_SetBitmapDimensionEx( HBITMAP, int, int, PSIZE );
|
---|
1290 |
|
---|
1291 | COLORREF OPEN32API _O32_SetBkColor( HDC, COLORREF );
|
---|
1292 |
|
---|
1293 | int OPEN32API _O32_SetBkMode( HDC, int );
|
---|
1294 |
|
---|
1295 | LONG OPEN32API _O32_SetBoundsRect( HDC, const RECT *, UINT );
|
---|
1296 |
|
---|
1297 | BOOL OPEN32API _O32_SetBrushOrgEx( HDC, int, int, PPOINT );
|
---|
1298 |
|
---|
1299 | HWND OPEN32API _O32_SetCapture( HWND );
|
---|
1300 |
|
---|
1301 | BOOL OPEN32API _O32_SetCaretBlinkTime( UINT );
|
---|
1302 |
|
---|
1303 | BOOL OPEN32API _O32_SetCaretPos( int, int );
|
---|
1304 |
|
---|
1305 | DWORD OPEN32API _O32_SetClassLong( HWND, int, LONG );
|
---|
1306 |
|
---|
1307 | WORD OPEN32API _O32_SetClassWord( HWND, int, WORD );
|
---|
1308 |
|
---|
1309 | HANDLE OPEN32API _O32_SetClipboardData( UINT, HANDLE );
|
---|
1310 |
|
---|
1311 | HWND OPEN32API _O32_SetClipboardViewer( HWND );
|
---|
1312 |
|
---|
1313 | BOOL OPEN32API _O32_SetCurrentDirectory( LPSTR );
|
---|
1314 |
|
---|
1315 | HCURSOR OPEN32API _O32_SetCursor( HCURSOR );
|
---|
1316 |
|
---|
1317 | BOOL OPEN32API _O32_SetCursorPos( int, int );
|
---|
1318 |
|
---|
1319 | int OPEN32API _O32_SetDIBits( HDC, HBITMAP, UINT, UINT, const VOID *, const BITMAPINFO *, UINT );
|
---|
1320 |
|
---|
1321 | int OPEN32API _O32_SetDIBitsToDevice( HDC, int, int, int, int, int, int, UINT, UINT, PVOID, PBITMAPINFO, UINT );
|
---|
1322 |
|
---|
1323 | BOOL OPEN32API _O32_SetDlgItemInt( HWND, int, UINT, BOOL );
|
---|
1324 |
|
---|
1325 | BOOL OPEN32API _O32_SetDlgItemText( HWND, int, LPCSTR );
|
---|
1326 |
|
---|
1327 | BOOL OPEN32API _O32_SetDoubleClickTime( UINT );
|
---|
1328 |
|
---|
1329 | BOOL OPEN32API _O32_SetEndOfFile( HANDLE );
|
---|
1330 |
|
---|
1331 | HENHMETAFILE OPEN32API _O32_SetEnhMetaFileBits( UINT, const BYTE * );
|
---|
1332 |
|
---|
1333 | BOOL OPEN32API _O32_SetEnvironmentVariable( LPCSTR, LPCSTR );
|
---|
1334 |
|
---|
1335 | BOOL OPEN32API _O32_SetEvent( HANDLE );
|
---|
1336 |
|
---|
1337 | BOOL OPEN32API _O32_SetFileAttributes( LPCSTR, DWORD );
|
---|
1338 |
|
---|
1339 | DWORD OPEN32API _O32_SetFilePointer( HANDLE, LONG, PLONG, DWORD );
|
---|
1340 |
|
---|
1341 | BOOL OPEN32API _O32_SetFileTime( HANDLE, const FILETIME *, const FILETIME *, const FILETIME * );
|
---|
1342 |
|
---|
1343 | HWND OPEN32API _O32_SetFocus( HWND );
|
---|
1344 |
|
---|
1345 | BOOL OPEN32API _O32_SetForegroundWindow( HWND );
|
---|
1346 |
|
---|
1347 | int OPEN32API _O32_SetGraphicsMode(HDC, int );
|
---|
1348 |
|
---|
1349 | UINT OPEN32API _O32_SetHandleCount( UINT );
|
---|
1350 |
|
---|
1351 | VOID OPEN32API _O32_SetLastError( DWORD );
|
---|
1352 |
|
---|
1353 | BOOL OPEN32API _O32_SetLocalTime( const SYSTEMTIME * );
|
---|
1354 |
|
---|
1355 | int OPEN32API _O32_SetMapMode( HDC, int );
|
---|
1356 |
|
---|
1357 | DWORD OPEN32API _O32_SetMapperFlags( HDC, DWORD );
|
---|
1358 |
|
---|
1359 | BOOL OPEN32API _O32_SetMenu( HWND, HMENU );
|
---|
1360 |
|
---|
1361 | BOOL OPEN32API _O32_SetMenuItemBitmaps( HMENU, UINT, UINT, HBITMAP, HBITMAP );
|
---|
1362 |
|
---|
1363 | HMETAFILE OPEN32API _O32_SetMetaFileBitsEx( UINT, PBYTE );
|
---|
1364 |
|
---|
1365 | BOOL OPEN32API _O32_SetMiterLimit( HDC, float limit, float * );
|
---|
1366 |
|
---|
1367 | UINT OPEN32API _O32_SetPaletteEntries( HPALETTE, UINT, UINT, const PALETTEENTRY *);
|
---|
1368 |
|
---|
1369 | HWND OPEN32API _O32_SetParent( HWND, HWND );
|
---|
1370 |
|
---|
1371 | COLORREF
|
---|
1372 | OPEN32API _O32_SetPixel( HDC, int, int, COLORREF );
|
---|
1373 |
|
---|
1374 | int OPEN32API _O32_SetPolyFillMode( HDC, int );
|
---|
1375 |
|
---|
1376 | BOOL OPEN32API _O32_SetPriorityClass( HANDLE, DWORD );
|
---|
1377 |
|
---|
1378 | BOOL OPEN32API _O32_SetProp( HWND, LPCSTR, HANDLE );
|
---|
1379 |
|
---|
1380 | BOOL OPEN32API _O32_SetRect( PRECT, int, int, int, int );
|
---|
1381 |
|
---|
1382 | BOOL OPEN32API _O32_SetRectEmpty( PRECT );
|
---|
1383 |
|
---|
1384 | BOOL OPEN32API _O32_SetRectRgn( HRGN, int, int, int, int );
|
---|
1385 |
|
---|
1386 | int OPEN32API _O32_SetROP2( HDC, int );
|
---|
1387 |
|
---|
1388 | int OPEN32API _O32_SetScrollPos( HWND, int, int, BOOL );
|
---|
1389 |
|
---|
1390 | BOOL OPEN32API _O32_SetScrollRange( HWND, int, int, int, BOOL );
|
---|
1391 |
|
---|
1392 | BOOL OPEN32API _O32_SetStdHandle( DWORD, HANDLE );
|
---|
1393 |
|
---|
1394 | int OPEN32API _O32_SetStretchBltMode( HDC, int );
|
---|
1395 |
|
---|
1396 | UINT OPEN32API _O32_SetSysColors( int, const int *, const COLORREF * );
|
---|
1397 |
|
---|
1398 | BOOL OPEN32API _O32_SetSystemTime( const SYSTEMTIME * );
|
---|
1399 |
|
---|
1400 | BOOL OPEN32API _O32_SetTimeZoneInformation( const TIME_ZONE_INFORMATION * );
|
---|
1401 |
|
---|
1402 | UINT OPEN32API _O32_SetTextAlign( HDC, UINT );
|
---|
1403 |
|
---|
1404 | int OPEN32API _O32_SetTextCharacterExtra( HDC, int );
|
---|
1405 |
|
---|
1406 | COLORREF OPEN32API _O32_SetTextColor( HDC, COLORREF );
|
---|
1407 |
|
---|
1408 | BOOL OPEN32API _O32_SetTextJustification( HDC, int, int );
|
---|
1409 |
|
---|
1410 | BOOL OPEN32API _O32_SetThreadPriority( HANDLE, int );
|
---|
1411 |
|
---|
1412 | UINT OPEN32API _O32_SetTimer( HWND, UINT, UINT, TIMERPROC_O32 );
|
---|
1413 |
|
---|
1414 | BOOL OPEN32API _O32_SetViewportExtEx( HDC, int, int, PSIZE );
|
---|
1415 |
|
---|
1416 | BOOL OPEN32API _O32_SetViewportOrgEx( HDC, int, int, PPOINT );
|
---|
1417 |
|
---|
1418 | BOOL OPEN32API _O32_SetVolumeLabel( LPCSTR, LPCSTR );
|
---|
1419 |
|
---|
1420 | BOOL OPEN32API _O32_SetWindowExtEx( HDC, int, int, PSIZE );
|
---|
1421 |
|
---|
1422 | LONG OPEN32API _O32_SetWindowLong( HWND, int, LONG );
|
---|
1423 |
|
---|
1424 | BOOL OPEN32API _O32_SetWindowOrgEx( HDC, int, int, PPOINT );
|
---|
1425 |
|
---|
1426 | BOOL OPEN32API _O32_SetWindowPlacement( HWND, const WINDOWPLACEMENT * );
|
---|
1427 |
|
---|
1428 | BOOL OPEN32API _O32_SetWindowPos( HWND, HWND, int, int, int, int, UINT );
|
---|
1429 |
|
---|
1430 | HHOOK OPEN32API _O32_SetWindowsHookEx( int, HOOKPROC_O32, HINSTANCE, DWORD );
|
---|
1431 |
|
---|
1432 | BOOL OPEN32API _O32_SetWindowText( HWND, LPCSTR );
|
---|
1433 |
|
---|
1434 | WORD OPEN32API _O32_SetWindowWord( HWND, int, WORD );
|
---|
1435 |
|
---|
1436 | HENHMETAFILE OPEN32API _O32_SetWinMetaFileBits( UINT, const BYTE *, HDC, const METAFILEPICT * );
|
---|
1437 |
|
---|
1438 | BOOL OPEN32API _O32_SetWorldTransform( HDC, LPXFORM );
|
---|
1439 |
|
---|
1440 | BOOL OPEN32API _O32_ShowCaret( HWND );
|
---|
1441 |
|
---|
1442 | int OPEN32API _O32_ShowCursor( BOOL );
|
---|
1443 |
|
---|
1444 | BOOL OPEN32API _O32_ShowOwnedPopups( HWND, BOOL );
|
---|
1445 |
|
---|
1446 | BOOL OPEN32API _O32_ShowScrollBar( HWND, int, BOOL );
|
---|
1447 |
|
---|
1448 | BOOL OPEN32API _O32_ShowWindow( HWND, int );
|
---|
1449 |
|
---|
1450 | DWORD OPEN32API _O32_SizeofResource( HINSTANCE, HRSRC );
|
---|
1451 |
|
---|
1452 | VOID OPEN32API _O32_Sleep( DWORD );
|
---|
1453 |
|
---|
1454 | int OPEN32API _O32_StartDoc( HDC, LPDOCINFOA );
|
---|
1455 |
|
---|
1456 | int OPEN32API _O32_StartPage( HDC );
|
---|
1457 |
|
---|
1458 | int OPEN32API _O32_StretchDIBits( HDC, int, int, int, int, int, int, int, int, void *, PBITMAPINFO, UINT, DWORD );
|
---|
1459 |
|
---|
1460 | BOOL OPEN32API _O32_StretchBlt( HDC, int, int, int, int, HDC, int, int, int, int, DWORD );
|
---|
1461 |
|
---|
1462 | BOOL OPEN32API _O32_StrokeAndFillPath( HDC );
|
---|
1463 |
|
---|
1464 | BOOL OPEN32API _O32_StrokePath( HDC );
|
---|
1465 |
|
---|
1466 | BOOL OPEN32API _O32_SubtractRect( PRECT, const RECT *, const RECT *);
|
---|
1467 |
|
---|
1468 | DWORD OPEN32API _O32_SuspendThread( HANDLE );
|
---|
1469 |
|
---|
1470 | BOOL OPEN32API _O32_SwapMouseButton( BOOL );
|
---|
1471 |
|
---|
1472 | UINT OPEN32API _O32_SystemParametersInfo( UINT, UINT, PVOID, UINT );
|
---|
1473 |
|
---|
1474 | BOOL OPEN32API _O32_SystemTimeToFileTime( const SYSTEMTIME *, FILETIME * );
|
---|
1475 |
|
---|
1476 | BOOL OPEN32API _O32_SystemTimeToTzSpecificLocalTime( LPTIME_ZONE_INFORMATION, LPSYSTEMTIME, LPSYSTEMTIME );
|
---|
1477 |
|
---|
1478 | LONG OPEN32API _O32_TabbedTextOut( HDC, int, int, LPCSTR, int, int, int *, int );
|
---|
1479 |
|
---|
1480 | BOOL OPEN32API _O32_TerminateProcess( HANDLE, UINT );
|
---|
1481 |
|
---|
1482 | BOOL OPEN32API _O32_TerminateThread( HANDLE, DWORD );
|
---|
1483 |
|
---|
1484 | BOOL OPEN32API _O32_TextOut( HDC, int, int, LPCSTR, int );
|
---|
1485 |
|
---|
1486 | DWORD OPEN32API _O32_TlsAlloc( VOID );
|
---|
1487 |
|
---|
1488 | BOOL OPEN32API _O32_TlsFree( DWORD );
|
---|
1489 |
|
---|
1490 | PVOID OPEN32API _O32_TlsGetValue( DWORD );
|
---|
1491 |
|
---|
1492 | BOOL OPEN32API _O32_TlsSetValue( DWORD, PVOID );
|
---|
1493 |
|
---|
1494 | BOOL OPEN32API _O32_TrackPopupMenu( HMENU, UINT, int, int, int, HWND, const RECT * );
|
---|
1495 |
|
---|
1496 | int OPEN32API _O32_TranslateAccelerator( HWND, HACCEL, LPMSG );
|
---|
1497 |
|
---|
1498 | BOOL OPEN32API _O32_TranslateMDISysAccel( HWND, LPMSG );
|
---|
1499 |
|
---|
1500 | BOOL OPEN32API _O32_TranslateMessage( const MSG * );
|
---|
1501 |
|
---|
1502 | BOOL OPEN32API _O32_UnhookWindowsHookEx( HHOOK );
|
---|
1503 |
|
---|
1504 | BOOL OPEN32API _O32_UnionRect( PRECT, const RECT *, const RECT * );
|
---|
1505 |
|
---|
1506 | BOOL OPEN32API _O32_UnlockFile( HANDLE, DWORD, DWORD, DWORD, DWORD );
|
---|
1507 |
|
---|
1508 | BOOL OPEN32API _O32_UnpackDDElParam(UINT, LONG, PUINT, PUINT );
|
---|
1509 |
|
---|
1510 | BOOL OPEN32API _O32_UnrealizeObject( HGDIOBJ );
|
---|
1511 |
|
---|
1512 | BOOL OPEN32API _O32_UnregisterClass( LPCSTR, HINSTANCE );
|
---|
1513 |
|
---|
1514 | BOOL OPEN32API _O32_UpdateWindow( HWND );
|
---|
1515 |
|
---|
1516 | BOOL OPEN32API _O32_ValidateRect( HWND, const RECT *);
|
---|
1517 |
|
---|
1518 | BOOL OPEN32API _O32_ValidateRgn( HWND, HRGN );
|
---|
1519 |
|
---|
1520 | SHORT OPEN32API _O32_VkKeyScan( char keyScan);
|
---|
1521 |
|
---|
1522 | DWORD OPEN32API _O32_WaitForMultipleObjects( DWORD, const HANDLE *, BOOL, DWORD );
|
---|
1523 |
|
---|
1524 | DWORD OPEN32API _O32_WaitForSingleObject( HANDLE, DWORD );
|
---|
1525 |
|
---|
1526 | BOOL OPEN32API _O32_WaitMessage( void);
|
---|
1527 |
|
---|
1528 | BOOL OPEN32API _O32_WidenPath( HDC);
|
---|
1529 |
|
---|
1530 | UINT OPEN32API _O32_WinExec( LPCSTR, UINT );
|
---|
1531 |
|
---|
1532 | BOOL OPEN32API _O32_WinHelp( HWND, LPCSTR, UINT, DWORD );
|
---|
1533 |
|
---|
1534 | HWND OPEN32API _O32_WindowFromPoint( POINT );
|
---|
1535 |
|
---|
1536 | HWND OPEN32API _O32_WindowFromDC( HDC );
|
---|
1537 |
|
---|
1538 | BOOL OPEN32API _O32_WriteFile( HANDLE, const VOID *, DWORD, PDWORD, LPOVERLAPPED );
|
---|
1539 |
|
---|
1540 | BOOL OPEN32API _O32_WritePrivateProfileString( LPCSTR, LPCSTR, LPCSTR, LPCSTR );
|
---|
1541 |
|
---|
1542 | BOOL OPEN32API _O32_WriteProfileString( LPCSTR, LPCSTR, LPCSTR );
|
---|
1543 |
|
---|
1544 | VOID OPEN32API _O32_ZeroMemory( PVOID, DWORD );
|
---|
1545 |
|
---|
1546 | HFILE OPEN32API _O32__lclose( HFILE );
|
---|
1547 |
|
---|
1548 | HFILE OPEN32API _O32__lcreat( LPCSTR, int );
|
---|
1549 |
|
---|
1550 | HFILE OPEN32API _O32__lopen( LPCSTR, int );
|
---|
1551 |
|
---|
1552 | UINT OPEN32API _O32__lread( HFILE, PVOID, UINT );
|
---|
1553 |
|
---|
1554 | LONG OPEN32API _O32__llseek( HFILE, LONG, int );
|
---|
1555 |
|
---|
1556 | UINT OPEN32API _O32__lwrite( HFILE, const VOID *, UINT );
|
---|
1557 |
|
---|
1558 | DWORD OPEN32API _O32_timeGetSystemTime( LPMMTIME, UINT );
|
---|
1559 |
|
---|
1560 | DWORD OPEN32API _O32_timeGetTime( VOID );
|
---|
1561 |
|
---|
1562 | int OPEN32API _O32_wsprintf( LPSTR, LPCSTR, ... );
|
---|
1563 | int OPEN32API _O32_wvsprintf( LPSTR, LPCSTR, const VOID *);
|
---|
1564 |
|
---|
1565 | LPSTR OPEN32API _O32_CharNext( LPCSTR );
|
---|
1566 |
|
---|
1567 | LPSTR OPEN32API _O32_CharPrev( LPCSTR, LPCSTR );
|
---|
1568 |
|
---|
1569 | HWND OPEN32API _O32_GetDesktopWindow( VOID );
|
---|
1570 |
|
---|
1571 | BOOL OPEN32API _O32_CharToOem( LPCSTR, LPSTR );
|
---|
1572 |
|
---|
1573 | BOOL OPEN32API _O32_OemToChar( LPCSTR, LPSTR );
|
---|
1574 |
|
---|
1575 | BOOL OPEN32API _O32_CharToOemBuff( LPCSTR, LPSTR, DWORD );
|
---|
1576 |
|
---|
1577 | BOOL OPEN32API _O32_OemToCharBuff( LPCSTR, LPSTR, DWORD );
|
---|
1578 |
|
---|
1579 | BOOL OPEN32API _O32_IsBadHugeReadPtr( const void *, UINT );
|
---|
1580 |
|
---|
1581 | BOOL OPEN32API _O32_IsBadHugeWritePtr( PVOID, UINT );
|
---|
1582 |
|
---|
1583 | BOOL OPEN32API _O32_FloodFill(HDC, int, int, COLORREF );
|
---|
1584 |
|
---|
1585 | BOOL OPEN32API _O32_IsCharAlpha( WCHAR );
|
---|
1586 |
|
---|
1587 | BOOL OPEN32API _O32_IsCharAlphaNumeric( WCHAR );
|
---|
1588 |
|
---|
1589 | BOOL OPEN32API _O32_IsCharLower( WCHAR );
|
---|
1590 |
|
---|
1591 | BOOL OPEN32API _O32_IsCharUpper( WCHAR );
|
---|
1592 |
|
---|
1593 | LPSTR OPEN32API _O32_lstrcat( LPSTR, LPCSTR );
|
---|
1594 |
|
---|
1595 | int OPEN32API _O32_lstrcmp( LPCSTR, LPCSTR );
|
---|
1596 |
|
---|
1597 | int OPEN32API _O32_lstrcmpi( LPCSTR, LPCSTR );
|
---|
1598 |
|
---|
1599 | LPSTR OPEN32API _O32_lstrcpy( LPSTR, LPCSTR );
|
---|
1600 |
|
---|
1601 | int OPEN32API _O32_lstrlen( LPCSTR );
|
---|
1602 |
|
---|
1603 | /* -----------------------------------------------------------------*/
|
---|
1604 |
|
---|
1605 |
|
---|
1606 | int OPEN32API _O32_WinCallWinMain(int, char *[], FNMAIN_O32, int);
|
---|
1607 |
|
---|
1608 | /* The following functions are used for translating data between the native
|
---|
1609 | * Presentation Manager format and the Developer API Extensions equivalents.
|
---|
1610 | */
|
---|
1611 | typedef enum { WINX2PM, PM2WINX} XLATEDIR;
|
---|
1612 |
|
---|
1613 | /* Use the GDI object type to specify the type of handle passing in
|
---|
1614 | */
|
---|
1615 | BOOL OPEN32API _O32_WinTranslateDevicePoints( HDC, HWND, PPOINT, INT, XLATEDIR );
|
---|
1616 | BOOL OPEN32API _O32_WinTranslateDeviceRects ( HDC, HWND, PRECT, INT, XLATEDIR );
|
---|
1617 | ULONG OPEN32API _O32_WinTranslateGraphicsObjectHandle( HGDIOBJ, XLATEDIR, ULONG );
|
---|
1618 | ULONG OPEN32API _O32_WinTranslateMnemonicString( LPCSTR, LPSTR *, ULONG, XLATEDIR );
|
---|
1619 | DWORD OPEN32API _O32_WinQueryTranslateMode( VOID );
|
---|
1620 | BOOL OPEN32API _O32_WinSetTranslateMode( DWORD );
|
---|
1621 |
|
---|
1622 | inline int O32_WinMain(HINSTANCE a, HINSTANCE b, LPSTR c, int d)
|
---|
1623 | {
|
---|
1624 | int yyrc;
|
---|
1625 | USHORT sel = RestoreOS2FS();
|
---|
1626 |
|
---|
1627 | yyrc = _O32_WinMain(a, b, c, d);
|
---|
1628 | SetFS(sel);
|
---|
1629 |
|
---|
1630 | return yyrc;
|
---|
1631 | }
|
---|
1632 |
|
---|
1633 | inline int O32_AbortDoc(HDC a)
|
---|
1634 | {
|
---|
1635 | int yyrc;
|
---|
1636 | USHORT sel = RestoreOS2FS();
|
---|
1637 |
|
---|
1638 | yyrc = _O32_AbortDoc(a);
|
---|
1639 | SetFS(sel);
|
---|
1640 |
|
---|
1641 | return yyrc;
|
---|
1642 | }
|
---|
1643 |
|
---|
1644 | inline BOOL O32_AbortPath(HDC a)
|
---|
1645 | {
|
---|
1646 | BOOL yyrc;
|
---|
1647 | USHORT sel = RestoreOS2FS();
|
---|
1648 |
|
---|
1649 | yyrc = _O32_AbortPath(a);
|
---|
1650 | SetFS(sel);
|
---|
1651 |
|
---|
1652 | return yyrc;
|
---|
1653 | }
|
---|
1654 |
|
---|
1655 | inline ATOM O32_AddAtom(LPCSTR a)
|
---|
1656 | {
|
---|
1657 | ATOM yyrc;
|
---|
1658 | USHORT sel = RestoreOS2FS();
|
---|
1659 |
|
---|
1660 | yyrc = _O32_AddAtom(a);
|
---|
1661 | SetFS(sel);
|
---|
1662 |
|
---|
1663 | return yyrc;
|
---|
1664 | }
|
---|
1665 |
|
---|
1666 | inline int O32_AddFontResource(LPCSTR a)
|
---|
1667 | {
|
---|
1668 | int yyrc;
|
---|
1669 | USHORT sel = RestoreOS2FS();
|
---|
1670 |
|
---|
1671 | yyrc = _O32_AddFontResource(a);
|
---|
1672 | SetFS(sel);
|
---|
1673 |
|
---|
1674 | return yyrc;
|
---|
1675 | }
|
---|
1676 |
|
---|
1677 | inline BOOL O32_AdjustWindowRect(PRECT a, DWORD b, BOOL c)
|
---|
1678 | {
|
---|
1679 | BOOL yyrc;
|
---|
1680 | USHORT sel = RestoreOS2FS();
|
---|
1681 |
|
---|
1682 | yyrc = _O32_AdjustWindowRect(a, b, c);
|
---|
1683 | SetFS(sel);
|
---|
1684 |
|
---|
1685 | return yyrc;
|
---|
1686 | }
|
---|
1687 |
|
---|
1688 | inline BOOL O32_AdjustWindowRectEx(PRECT a, DWORD b, BOOL c, DWORD d)
|
---|
1689 | {
|
---|
1690 | BOOL yyrc;
|
---|
1691 | USHORT sel = RestoreOS2FS();
|
---|
1692 |
|
---|
1693 | yyrc = _O32_AdjustWindowRectEx(a, b, c, d);
|
---|
1694 | SetFS(sel);
|
---|
1695 |
|
---|
1696 | return yyrc;
|
---|
1697 | }
|
---|
1698 |
|
---|
1699 | inline BOOL O32_AngleArc(HDC a, int b, int c, DWORD d, float e, float f)
|
---|
1700 | {
|
---|
1701 | BOOL yyrc;
|
---|
1702 | USHORT sel = RestoreOS2FS();
|
---|
1703 |
|
---|
1704 | yyrc = _O32_AngleArc(a, b, c, d, e, f);
|
---|
1705 | SetFS(sel);
|
---|
1706 |
|
---|
1707 | return yyrc;
|
---|
1708 | }
|
---|
1709 |
|
---|
1710 | inline BOOL O32_AnimatePalette(HPALETTE a, UINT b, UINT c, CONST PALETTEENTRY *d)
|
---|
1711 | {
|
---|
1712 | BOOL yyrc;
|
---|
1713 | USHORT sel = RestoreOS2FS();
|
---|
1714 |
|
---|
1715 | yyrc = _O32_AnimatePalette(a, b, c, d);
|
---|
1716 | SetFS(sel);
|
---|
1717 |
|
---|
1718 | return yyrc;
|
---|
1719 | }
|
---|
1720 |
|
---|
1721 | inline BOOL O32_AppendMenu(HMENU a, UINT b, UINT c, LPCSTR d)
|
---|
1722 | {
|
---|
1723 | BOOL yyrc;
|
---|
1724 | USHORT sel = RestoreOS2FS();
|
---|
1725 |
|
---|
1726 | yyrc = _O32_AppendMenu(a, b, c, d);
|
---|
1727 | SetFS(sel);
|
---|
1728 |
|
---|
1729 | return yyrc;
|
---|
1730 | }
|
---|
1731 |
|
---|
1732 | inline BOOL O32_Arc(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
1733 | {
|
---|
1734 | BOOL yyrc;
|
---|
1735 | USHORT sel = RestoreOS2FS();
|
---|
1736 |
|
---|
1737 | yyrc = _O32_Arc(a, b, c, d, e, f, g, h, i);
|
---|
1738 | SetFS(sel);
|
---|
1739 |
|
---|
1740 | return yyrc;
|
---|
1741 | }
|
---|
1742 |
|
---|
1743 | inline BOOL O32_ArcTo(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
1744 | {
|
---|
1745 | BOOL yyrc;
|
---|
1746 | USHORT sel = RestoreOS2FS();
|
---|
1747 |
|
---|
1748 | yyrc = _O32_ArcTo(a, b, c, d, e, f, g, h, i);
|
---|
1749 | SetFS(sel);
|
---|
1750 |
|
---|
1751 | return yyrc;
|
---|
1752 | }
|
---|
1753 |
|
---|
1754 | inline UINT O32_ArrangeIconicWindows(HWND a)
|
---|
1755 | {
|
---|
1756 | UINT yyrc;
|
---|
1757 | USHORT sel = RestoreOS2FS();
|
---|
1758 |
|
---|
1759 | yyrc = _O32_ArrangeIconicWindows(a);
|
---|
1760 | SetFS(sel);
|
---|
1761 |
|
---|
1762 | return yyrc;
|
---|
1763 | }
|
---|
1764 |
|
---|
1765 | inline BOOL O32_Beep(DWORD a, DWORD b)
|
---|
1766 | {
|
---|
1767 | BOOL yyrc;
|
---|
1768 | USHORT sel = RestoreOS2FS();
|
---|
1769 |
|
---|
1770 | yyrc = _O32_Beep(a, b);
|
---|
1771 | SetFS(sel);
|
---|
1772 |
|
---|
1773 | return yyrc;
|
---|
1774 | }
|
---|
1775 |
|
---|
1776 | inline HDWP O32_BeginDeferWindowPos(int a)
|
---|
1777 | {
|
---|
1778 | HDWP yyrc;
|
---|
1779 | USHORT sel = RestoreOS2FS();
|
---|
1780 |
|
---|
1781 | yyrc = _O32_BeginDeferWindowPos(a);
|
---|
1782 | SetFS(sel);
|
---|
1783 |
|
---|
1784 | return yyrc;
|
---|
1785 | }
|
---|
1786 |
|
---|
1787 | inline HDC O32_BeginPaint(HWND a, PPAINTSTRUCT b)
|
---|
1788 | {
|
---|
1789 | HDC yyrc;
|
---|
1790 | USHORT sel = RestoreOS2FS();
|
---|
1791 |
|
---|
1792 | yyrc = _O32_BeginPaint(a, b);
|
---|
1793 | SetFS(sel);
|
---|
1794 |
|
---|
1795 | return yyrc;
|
---|
1796 | }
|
---|
1797 |
|
---|
1798 | inline BOOL O32_BeginPath(HDC a)
|
---|
1799 | {
|
---|
1800 | BOOL yyrc;
|
---|
1801 | USHORT sel = RestoreOS2FS();
|
---|
1802 |
|
---|
1803 | yyrc = _O32_BeginPath(a);
|
---|
1804 | SetFS(sel);
|
---|
1805 |
|
---|
1806 | return yyrc;
|
---|
1807 | }
|
---|
1808 |
|
---|
1809 | inline BOOL O32_BitBlt(HDC a, int b, int c, int d, int e, HDC f, int g, int h, DWORD i)
|
---|
1810 | {
|
---|
1811 | BOOL yyrc;
|
---|
1812 | USHORT sel = RestoreOS2FS();
|
---|
1813 |
|
---|
1814 | yyrc = _O32_BitBlt(a, b, c, d, e, f, g, h, i);
|
---|
1815 | SetFS(sel);
|
---|
1816 |
|
---|
1817 | return yyrc;
|
---|
1818 | }
|
---|
1819 |
|
---|
1820 | inline BOOL O32_BringWindowToTop(HWND a)
|
---|
1821 | {
|
---|
1822 | BOOL yyrc;
|
---|
1823 | USHORT sel = RestoreOS2FS();
|
---|
1824 |
|
---|
1825 | yyrc = _O32_BringWindowToTop(a);
|
---|
1826 | SetFS(sel);
|
---|
1827 |
|
---|
1828 | return yyrc;
|
---|
1829 | }
|
---|
1830 |
|
---|
1831 | inline BOOL O32_CallMsgFilter(LPMSG a, int b)
|
---|
1832 | {
|
---|
1833 | BOOL yyrc;
|
---|
1834 | USHORT sel = RestoreOS2FS();
|
---|
1835 |
|
---|
1836 | yyrc = _O32_CallMsgFilter(a, b);
|
---|
1837 | SetFS(sel);
|
---|
1838 |
|
---|
1839 | return yyrc;
|
---|
1840 | }
|
---|
1841 |
|
---|
1842 | inline LRESULT O32_CallNextHookEx(HHOOK a, int b, WPARAM c, LPARAM d)
|
---|
1843 | {
|
---|
1844 | LRESULT yyrc;
|
---|
1845 | USHORT sel = RestoreOS2FS();
|
---|
1846 |
|
---|
1847 | yyrc = _O32_CallNextHookEx(a, b, c, d);
|
---|
1848 | SetFS(sel);
|
---|
1849 |
|
---|
1850 | return yyrc;
|
---|
1851 | }
|
---|
1852 |
|
---|
1853 | inline LRESULT O32_CallWindowProc(WNDPROC_O32 a, HWND b, UINT c, WPARAM d, LPARAM e)
|
---|
1854 | {
|
---|
1855 | LRESULT yyrc;
|
---|
1856 | USHORT sel = RestoreOS2FS();
|
---|
1857 |
|
---|
1858 | yyrc = _O32_CallWindowProc(a, b, c, d, e);
|
---|
1859 | SetFS(sel);
|
---|
1860 |
|
---|
1861 | return yyrc;
|
---|
1862 | }
|
---|
1863 |
|
---|
1864 | inline BOOL O32_ChangeClipboardChain(HWND a, HWND b)
|
---|
1865 | {
|
---|
1866 | BOOL yyrc;
|
---|
1867 | USHORT sel = RestoreOS2FS();
|
---|
1868 |
|
---|
1869 | yyrc = _O32_ChangeClipboardChain(a, b);
|
---|
1870 | SetFS(sel);
|
---|
1871 |
|
---|
1872 | return yyrc;
|
---|
1873 | }
|
---|
1874 |
|
---|
1875 | inline LPSTR O32_CharLower(LPSTR a)
|
---|
1876 | {
|
---|
1877 | LPSTR yyrc;
|
---|
1878 | USHORT sel = RestoreOS2FS();
|
---|
1879 |
|
---|
1880 | yyrc = _O32_CharLower(a);
|
---|
1881 | SetFS(sel);
|
---|
1882 |
|
---|
1883 | return yyrc;
|
---|
1884 | }
|
---|
1885 |
|
---|
1886 | inline DWORD O32_CharLowerBuff(LPSTR a, DWORD b)
|
---|
1887 | {
|
---|
1888 | DWORD yyrc;
|
---|
1889 | USHORT sel = RestoreOS2FS();
|
---|
1890 |
|
---|
1891 | yyrc = _O32_CharLowerBuff(a, b);
|
---|
1892 | SetFS(sel);
|
---|
1893 |
|
---|
1894 | return yyrc;
|
---|
1895 | }
|
---|
1896 |
|
---|
1897 | inline LPSTR O32_CharUpper(LPSTR a)
|
---|
1898 | {
|
---|
1899 | LPSTR yyrc;
|
---|
1900 | USHORT sel = RestoreOS2FS();
|
---|
1901 |
|
---|
1902 | yyrc = _O32_CharUpper(a);
|
---|
1903 | SetFS(sel);
|
---|
1904 |
|
---|
1905 | return yyrc;
|
---|
1906 | }
|
---|
1907 |
|
---|
1908 | inline DWORD O32_CharUpperBuff(LPSTR a, DWORD b)
|
---|
1909 | {
|
---|
1910 | DWORD yyrc;
|
---|
1911 | USHORT sel = RestoreOS2FS();
|
---|
1912 |
|
---|
1913 | yyrc = _O32_CharUpperBuff(a, b);
|
---|
1914 | SetFS(sel);
|
---|
1915 |
|
---|
1916 | return yyrc;
|
---|
1917 | }
|
---|
1918 |
|
---|
1919 | inline BOOL O32_CheckDlgButton(HWND a, int b, UINT c)
|
---|
1920 | {
|
---|
1921 | BOOL yyrc;
|
---|
1922 | USHORT sel = RestoreOS2FS();
|
---|
1923 |
|
---|
1924 | yyrc = _O32_CheckDlgButton(a, b, c);
|
---|
1925 | SetFS(sel);
|
---|
1926 |
|
---|
1927 | return yyrc;
|
---|
1928 | }
|
---|
1929 |
|
---|
1930 | inline DWORD O32_CheckMenuItem(HMENU a, UINT b, UINT c)
|
---|
1931 | {
|
---|
1932 | DWORD yyrc;
|
---|
1933 | USHORT sel = RestoreOS2FS();
|
---|
1934 |
|
---|
1935 | yyrc = _O32_CheckMenuItem(a, b, c);
|
---|
1936 | SetFS(sel);
|
---|
1937 |
|
---|
1938 | return yyrc;
|
---|
1939 | }
|
---|
1940 |
|
---|
1941 | inline BOOL O32_CheckRadioButton(HWND a, int b, int c, int d)
|
---|
1942 | {
|
---|
1943 | BOOL yyrc;
|
---|
1944 | USHORT sel = RestoreOS2FS();
|
---|
1945 |
|
---|
1946 | yyrc = _O32_CheckRadioButton(a, b, c, d);
|
---|
1947 | SetFS(sel);
|
---|
1948 |
|
---|
1949 | return yyrc;
|
---|
1950 | }
|
---|
1951 |
|
---|
1952 | inline HWND O32_ChildWindowFromPoint(HWND a, POINT b)
|
---|
1953 | {
|
---|
1954 | HWND yyrc;
|
---|
1955 | USHORT sel = RestoreOS2FS();
|
---|
1956 |
|
---|
1957 | yyrc = _O32_ChildWindowFromPoint(a, b);
|
---|
1958 | SetFS(sel);
|
---|
1959 |
|
---|
1960 | return yyrc;
|
---|
1961 | }
|
---|
1962 |
|
---|
1963 | inline BOOL O32_ChooseColor(LPCHOOSECOLORA a)
|
---|
1964 | {
|
---|
1965 | BOOL yyrc;
|
---|
1966 | USHORT sel = RestoreOS2FS();
|
---|
1967 |
|
---|
1968 | yyrc = _O32_ChooseColor(a);
|
---|
1969 | SetFS(sel);
|
---|
1970 |
|
---|
1971 | return yyrc;
|
---|
1972 | }
|
---|
1973 |
|
---|
1974 | inline BOOL O32_ChooseFont(LPCHOOSEFONTA a)
|
---|
1975 | {
|
---|
1976 | BOOL yyrc;
|
---|
1977 | USHORT sel = RestoreOS2FS();
|
---|
1978 |
|
---|
1979 | yyrc = _O32_ChooseFont(a);
|
---|
1980 | SetFS(sel);
|
---|
1981 |
|
---|
1982 | return yyrc;
|
---|
1983 | }
|
---|
1984 |
|
---|
1985 | inline BOOL O32_Chord(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
1986 | {
|
---|
1987 | BOOL yyrc;
|
---|
1988 | USHORT sel = RestoreOS2FS();
|
---|
1989 |
|
---|
1990 | yyrc = _O32_Chord(a, b, c, d, e, f, g, h, i);
|
---|
1991 | SetFS(sel);
|
---|
1992 |
|
---|
1993 | return yyrc;
|
---|
1994 | }
|
---|
1995 |
|
---|
1996 | inline BOOL O32_ClientToScreen(HWND a, PPOINT b)
|
---|
1997 | {
|
---|
1998 | BOOL yyrc;
|
---|
1999 | USHORT sel = RestoreOS2FS();
|
---|
2000 |
|
---|
2001 | yyrc = _O32_ClientToScreen(a, b);
|
---|
2002 | SetFS(sel);
|
---|
2003 |
|
---|
2004 | return yyrc;
|
---|
2005 | }
|
---|
2006 |
|
---|
2007 | inline BOOL O32_ClipCursor(CONST RECT *a)
|
---|
2008 | {
|
---|
2009 | BOOL yyrc;
|
---|
2010 | USHORT sel = RestoreOS2FS();
|
---|
2011 |
|
---|
2012 | yyrc = _O32_ClipCursor(a);
|
---|
2013 | SetFS(sel);
|
---|
2014 |
|
---|
2015 | return yyrc;
|
---|
2016 | }
|
---|
2017 |
|
---|
2018 | inline BOOL O32_CloseClipboard()
|
---|
2019 | {
|
---|
2020 | BOOL yyrc;
|
---|
2021 | USHORT sel = RestoreOS2FS();
|
---|
2022 |
|
---|
2023 | yyrc = _O32_CloseClipboard();
|
---|
2024 | SetFS(sel);
|
---|
2025 |
|
---|
2026 | return yyrc;
|
---|
2027 | }
|
---|
2028 |
|
---|
2029 | inline HENHMETAFILE O32_CloseEnhMetaFile(HDC a)
|
---|
2030 | {
|
---|
2031 | HENHMETAFILE yyrc;
|
---|
2032 | USHORT sel = RestoreOS2FS();
|
---|
2033 |
|
---|
2034 | yyrc = _O32_CloseEnhMetaFile(a);
|
---|
2035 | SetFS(sel);
|
---|
2036 |
|
---|
2037 | return yyrc;
|
---|
2038 | }
|
---|
2039 |
|
---|
2040 | inline BOOL O32_CloseFigure(HDC a)
|
---|
2041 | {
|
---|
2042 | BOOL yyrc;
|
---|
2043 | USHORT sel = RestoreOS2FS();
|
---|
2044 |
|
---|
2045 | yyrc = _O32_CloseFigure(a);
|
---|
2046 | SetFS(sel);
|
---|
2047 |
|
---|
2048 | return yyrc;
|
---|
2049 | }
|
---|
2050 |
|
---|
2051 | inline BOOL O32_CloseHandle(HANDLE a)
|
---|
2052 | {
|
---|
2053 | BOOL yyrc;
|
---|
2054 | USHORT sel = RestoreOS2FS();
|
---|
2055 |
|
---|
2056 | yyrc = _O32_CloseHandle(a);
|
---|
2057 | SetFS(sel);
|
---|
2058 |
|
---|
2059 | return yyrc;
|
---|
2060 | }
|
---|
2061 |
|
---|
2062 | inline HMETAFILE O32_CloseMetaFile(HDC a)
|
---|
2063 | {
|
---|
2064 | HMETAFILE yyrc;
|
---|
2065 | USHORT sel = RestoreOS2FS();
|
---|
2066 |
|
---|
2067 | yyrc = _O32_CloseMetaFile(a);
|
---|
2068 | SetFS(sel);
|
---|
2069 |
|
---|
2070 | return yyrc;
|
---|
2071 | }
|
---|
2072 |
|
---|
2073 | inline BOOL O32_CloseWindow(HWND a)
|
---|
2074 | {
|
---|
2075 | BOOL yyrc;
|
---|
2076 | USHORT sel = RestoreOS2FS();
|
---|
2077 |
|
---|
2078 | yyrc = _O32_CloseWindow(a);
|
---|
2079 | SetFS(sel);
|
---|
2080 |
|
---|
2081 | return yyrc;
|
---|
2082 | }
|
---|
2083 |
|
---|
2084 | inline int O32_CombineRgn(HRGN a, HRGN b, HRGN c, int d)
|
---|
2085 | {
|
---|
2086 | int yyrc;
|
---|
2087 | USHORT sel = RestoreOS2FS();
|
---|
2088 |
|
---|
2089 | yyrc = _O32_CombineRgn(a, b, c, d);
|
---|
2090 | SetFS(sel);
|
---|
2091 |
|
---|
2092 | return yyrc;
|
---|
2093 | }
|
---|
2094 |
|
---|
2095 | inline DWORD O32_CommDlgExtendedError()
|
---|
2096 | {
|
---|
2097 | DWORD yyrc;
|
---|
2098 | USHORT sel = RestoreOS2FS();
|
---|
2099 |
|
---|
2100 | yyrc = _O32_CommDlgExtendedError();
|
---|
2101 | SetFS(sel);
|
---|
2102 |
|
---|
2103 | return yyrc;
|
---|
2104 | }
|
---|
2105 |
|
---|
2106 | inline LONG O32_CompareFileTime(FILETIME *a, FILETIME *b)
|
---|
2107 | {
|
---|
2108 | LONG yyrc;
|
---|
2109 | USHORT sel = RestoreOS2FS();
|
---|
2110 |
|
---|
2111 | yyrc = _O32_CompareFileTime(a, b);
|
---|
2112 | SetFS(sel);
|
---|
2113 |
|
---|
2114 | return yyrc;
|
---|
2115 | }
|
---|
2116 |
|
---|
2117 | inline HCURSOR O32_CopyCursor(HCURSOR a)
|
---|
2118 | {
|
---|
2119 | HCURSOR yyrc;
|
---|
2120 | USHORT sel = RestoreOS2FS();
|
---|
2121 |
|
---|
2122 | yyrc = _O32_CopyCursor(a);
|
---|
2123 | SetFS(sel);
|
---|
2124 |
|
---|
2125 | return yyrc;
|
---|
2126 | }
|
---|
2127 |
|
---|
2128 | inline HENHMETAFILE O32_CopyEnhMetaFile(HENHMETAFILE a, LPCSTR b)
|
---|
2129 | {
|
---|
2130 | HENHMETAFILE yyrc;
|
---|
2131 | USHORT sel = RestoreOS2FS();
|
---|
2132 |
|
---|
2133 | yyrc = _O32_CopyEnhMetaFile(a, b);
|
---|
2134 | SetFS(sel);
|
---|
2135 |
|
---|
2136 | return yyrc;
|
---|
2137 | }
|
---|
2138 |
|
---|
2139 | inline BOOL O32_CopyFile(LPCSTR a, LPCSTR b, BOOL c)
|
---|
2140 | {
|
---|
2141 | BOOL yyrc;
|
---|
2142 | USHORT sel = RestoreOS2FS();
|
---|
2143 |
|
---|
2144 | yyrc = _O32_CopyFile(a, b, c);
|
---|
2145 | SetFS(sel);
|
---|
2146 |
|
---|
2147 | return yyrc;
|
---|
2148 | }
|
---|
2149 |
|
---|
2150 | inline HICON O32_CopyIcon(HICON a)
|
---|
2151 | {
|
---|
2152 | HICON yyrc;
|
---|
2153 | USHORT sel = RestoreOS2FS();
|
---|
2154 |
|
---|
2155 | yyrc = _O32_CopyIcon(a);
|
---|
2156 | SetFS(sel);
|
---|
2157 |
|
---|
2158 | return yyrc;
|
---|
2159 | }
|
---|
2160 |
|
---|
2161 | inline HMETAFILE O32_CopyMetaFile(HMETAFILE a, LPCSTR b)
|
---|
2162 | {
|
---|
2163 | HMETAFILE yyrc;
|
---|
2164 | USHORT sel = RestoreOS2FS();
|
---|
2165 |
|
---|
2166 | yyrc = _O32_CopyMetaFile(a, b);
|
---|
2167 | SetFS(sel);
|
---|
2168 |
|
---|
2169 | return yyrc;
|
---|
2170 | }
|
---|
2171 |
|
---|
2172 | inline BOOL O32_CopyRect(PRECT a, CONST RECT *b)
|
---|
2173 | {
|
---|
2174 | BOOL yyrc;
|
---|
2175 | USHORT sel = RestoreOS2FS();
|
---|
2176 |
|
---|
2177 | yyrc = _O32_CopyRect(a, b);
|
---|
2178 | SetFS(sel);
|
---|
2179 |
|
---|
2180 | return yyrc;
|
---|
2181 | }
|
---|
2182 |
|
---|
2183 | inline int O32_CountClipboardFormats()
|
---|
2184 | {
|
---|
2185 | int yyrc;
|
---|
2186 | USHORT sel = RestoreOS2FS();
|
---|
2187 |
|
---|
2188 | yyrc = _O32_CountClipboardFormats();
|
---|
2189 | SetFS(sel);
|
---|
2190 |
|
---|
2191 | return yyrc;
|
---|
2192 | }
|
---|
2193 |
|
---|
2194 | inline HACCEL O32_CreateAcceleratorTable(LPACCEL a, int b)
|
---|
2195 | {
|
---|
2196 | HACCEL yyrc;
|
---|
2197 | USHORT sel = RestoreOS2FS();
|
---|
2198 |
|
---|
2199 | yyrc = _O32_CreateAcceleratorTable(a, b);
|
---|
2200 | SetFS(sel);
|
---|
2201 |
|
---|
2202 | return yyrc;
|
---|
2203 | }
|
---|
2204 |
|
---|
2205 | inline HBITMAP O32_CreateBitmap(int a, int b, UINT c, UINT d, CONST void *e)
|
---|
2206 | {
|
---|
2207 | HBITMAP yyrc;
|
---|
2208 | USHORT sel = RestoreOS2FS();
|
---|
2209 |
|
---|
2210 | yyrc = _O32_CreateBitmap(a, b, c, d, e);
|
---|
2211 | SetFS(sel);
|
---|
2212 |
|
---|
2213 | return yyrc;
|
---|
2214 | }
|
---|
2215 |
|
---|
2216 | inline HBITMAP O32_CreateBitmapIndirect(CONST BITMAP *a)
|
---|
2217 | {
|
---|
2218 | HBITMAP yyrc;
|
---|
2219 | USHORT sel = RestoreOS2FS();
|
---|
2220 |
|
---|
2221 | yyrc = _O32_CreateBitmapIndirect(a);
|
---|
2222 | SetFS(sel);
|
---|
2223 |
|
---|
2224 | return yyrc;
|
---|
2225 | }
|
---|
2226 |
|
---|
2227 | inline HBRUSH O32_CreateBrushIndirect(LPLOGBRUSH a)
|
---|
2228 | {
|
---|
2229 | HBRUSH yyrc;
|
---|
2230 | USHORT sel = RestoreOS2FS();
|
---|
2231 |
|
---|
2232 | yyrc = _O32_CreateBrushIndirect(a);
|
---|
2233 | SetFS(sel);
|
---|
2234 |
|
---|
2235 | return yyrc;
|
---|
2236 | }
|
---|
2237 |
|
---|
2238 | inline BOOL O32_CreateCaret(HWND a, HBITMAP b, int c, int d)
|
---|
2239 | {
|
---|
2240 | BOOL yyrc;
|
---|
2241 | USHORT sel = RestoreOS2FS();
|
---|
2242 |
|
---|
2243 | yyrc = _O32_CreateCaret(a, b, c, d);
|
---|
2244 | SetFS(sel);
|
---|
2245 |
|
---|
2246 | return yyrc;
|
---|
2247 | }
|
---|
2248 |
|
---|
2249 | inline HBITMAP O32_CreateCompatibleBitmap(HDC a, int b, int c)
|
---|
2250 | {
|
---|
2251 | HBITMAP yyrc;
|
---|
2252 | USHORT sel = RestoreOS2FS();
|
---|
2253 |
|
---|
2254 | yyrc = _O32_CreateCompatibleBitmap(a, b, c);
|
---|
2255 | SetFS(sel);
|
---|
2256 |
|
---|
2257 | return yyrc;
|
---|
2258 | }
|
---|
2259 |
|
---|
2260 | inline HDC O32_CreateCompatibleDC(HDC a)
|
---|
2261 | {
|
---|
2262 | HDC yyrc;
|
---|
2263 | USHORT sel = RestoreOS2FS();
|
---|
2264 |
|
---|
2265 | yyrc = _O32_CreateCompatibleDC(a);
|
---|
2266 | SetFS(sel);
|
---|
2267 |
|
---|
2268 | return yyrc;
|
---|
2269 | }
|
---|
2270 |
|
---|
2271 | inline HCURSOR O32_CreateCursor(HINSTANCE a, int b, int c, int d, int e, CONST VOID *f, CONST VOID *g)
|
---|
2272 | {
|
---|
2273 | HCURSOR yyrc;
|
---|
2274 | USHORT sel = RestoreOS2FS();
|
---|
2275 |
|
---|
2276 | yyrc = _O32_CreateCursor(a, b, c, d, e, f, g);
|
---|
2277 | SetFS(sel);
|
---|
2278 |
|
---|
2279 | return yyrc;
|
---|
2280 | }
|
---|
2281 |
|
---|
2282 | inline HDC O32_CreateDC(LPCSTR a, LPCSTR b, LPCSTR c, CONST DEVMODEA *d)
|
---|
2283 | {
|
---|
2284 | HDC yyrc;
|
---|
2285 | USHORT sel = RestoreOS2FS();
|
---|
2286 |
|
---|
2287 | yyrc = _O32_CreateDC(a, b, c, d);
|
---|
2288 | SetFS(sel);
|
---|
2289 |
|
---|
2290 | return yyrc;
|
---|
2291 | }
|
---|
2292 |
|
---|
2293 | inline HBRUSH O32_CreateDIBPatternBrushPt(CONST VOID *a, UINT b)
|
---|
2294 | {
|
---|
2295 | HBRUSH yyrc;
|
---|
2296 | USHORT sel = RestoreOS2FS();
|
---|
2297 |
|
---|
2298 | yyrc = _O32_CreateDIBPatternBrushPt(a, b);
|
---|
2299 | SetFS(sel);
|
---|
2300 |
|
---|
2301 | return yyrc;
|
---|
2302 | }
|
---|
2303 |
|
---|
2304 | inline HBITMAP O32_CreateDIBitmap(HDC a, CONST BITMAPINFOHEADER *b, DWORD c, CONST void *d, CONST BITMAPINFO *e, UINT f)
|
---|
2305 | {
|
---|
2306 | HBITMAP yyrc;
|
---|
2307 | USHORT sel = RestoreOS2FS();
|
---|
2308 |
|
---|
2309 | yyrc = _O32_CreateDIBitmap(a, b, c, d, e, f);
|
---|
2310 | SetFS(sel);
|
---|
2311 |
|
---|
2312 | return yyrc;
|
---|
2313 | }
|
---|
2314 |
|
---|
2315 | inline HWND O32_CreateDialog(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d)
|
---|
2316 | {
|
---|
2317 | HWND yyrc;
|
---|
2318 | USHORT sel = RestoreOS2FS();
|
---|
2319 |
|
---|
2320 | yyrc = _O32_CreateDialog(a, b, c, d);
|
---|
2321 | SetFS(sel);
|
---|
2322 |
|
---|
2323 | return yyrc;
|
---|
2324 | }
|
---|
2325 |
|
---|
2326 | inline HWND O32_CreateDialogParam(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
2327 | {
|
---|
2328 | HWND yyrc;
|
---|
2329 | USHORT sel = RestoreOS2FS();
|
---|
2330 |
|
---|
2331 | yyrc = _O32_CreateDialogParam(a, b, c, d, e);
|
---|
2332 | SetFS(sel);
|
---|
2333 |
|
---|
2334 | return yyrc;
|
---|
2335 | }
|
---|
2336 |
|
---|
2337 | inline HWND O32_CreateDialogIndirect(HINSTANCE a, CONST DLGTEMPLATE *b, HWND c, DLGPROC_O32 d)
|
---|
2338 | {
|
---|
2339 | HWND yyrc;
|
---|
2340 | USHORT sel = RestoreOS2FS();
|
---|
2341 |
|
---|
2342 | yyrc = _O32_CreateDialogIndirect(a, b, c, d);
|
---|
2343 | SetFS(sel);
|
---|
2344 |
|
---|
2345 | return yyrc;
|
---|
2346 | }
|
---|
2347 |
|
---|
2348 | inline HWND O32_CreateDialogIndirectParam(HINSTANCE a, CONST DLGTEMPLATE *b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
2349 | {
|
---|
2350 | HWND yyrc;
|
---|
2351 | USHORT sel = RestoreOS2FS();
|
---|
2352 |
|
---|
2353 | yyrc = _O32_CreateDialogIndirectParam(a, b, c, d, e);
|
---|
2354 | SetFS(sel);
|
---|
2355 |
|
---|
2356 | return yyrc;
|
---|
2357 | }
|
---|
2358 |
|
---|
2359 | inline BOOL O32_CreateDirectory(LPCSTR a, PSECURITY_ATTRIBUTES b)
|
---|
2360 | {
|
---|
2361 | BOOL yyrc;
|
---|
2362 | USHORT sel = RestoreOS2FS();
|
---|
2363 |
|
---|
2364 | yyrc = _O32_CreateDirectory(a, b);
|
---|
2365 | SetFS(sel);
|
---|
2366 |
|
---|
2367 | return yyrc;
|
---|
2368 | }
|
---|
2369 |
|
---|
2370 | inline HRGN O32_CreateEllipticRgn(int a, int b, int c, int d)
|
---|
2371 | {
|
---|
2372 | HRGN yyrc;
|
---|
2373 | USHORT sel = RestoreOS2FS();
|
---|
2374 |
|
---|
2375 | yyrc = _O32_CreateEllipticRgn(a, b, c, d);
|
---|
2376 | SetFS(sel);
|
---|
2377 |
|
---|
2378 | return yyrc;
|
---|
2379 | }
|
---|
2380 |
|
---|
2381 | inline HRGN O32_CreateEllipticRgnIndirect(CONST RECT *a)
|
---|
2382 | {
|
---|
2383 | HRGN yyrc;
|
---|
2384 | USHORT sel = RestoreOS2FS();
|
---|
2385 |
|
---|
2386 | yyrc = _O32_CreateEllipticRgnIndirect(a);
|
---|
2387 | SetFS(sel);
|
---|
2388 |
|
---|
2389 | return yyrc;
|
---|
2390 | }
|
---|
2391 |
|
---|
2392 | inline HENHMETAFILE O32_CreateEnhMetaFile(HDC a, LPCSTR b, CONST RECT *c, LPCSTR d)
|
---|
2393 | {
|
---|
2394 | HENHMETAFILE yyrc;
|
---|
2395 | USHORT sel = RestoreOS2FS();
|
---|
2396 |
|
---|
2397 | yyrc = _O32_CreateEnhMetaFile(a, b, c, d);
|
---|
2398 | SetFS(sel);
|
---|
2399 |
|
---|
2400 | return yyrc;
|
---|
2401 | }
|
---|
2402 |
|
---|
2403 | inline HANDLE O32_CreateEvent(PSECURITY_ATTRIBUTES a, BOOL b, BOOL c, LPCSTR d)
|
---|
2404 | {
|
---|
2405 | HANDLE yyrc;
|
---|
2406 | USHORT sel = RestoreOS2FS();
|
---|
2407 |
|
---|
2408 | yyrc = _O32_CreateEvent(a, b, c, d);
|
---|
2409 | SetFS(sel);
|
---|
2410 |
|
---|
2411 | return yyrc;
|
---|
2412 | }
|
---|
2413 |
|
---|
2414 | inline HANDLE O32_CreateFile(LPCSTR a, DWORD b, DWORD c, PSECURITY_ATTRIBUTES d, DWORD e, DWORD f, HANDLE g)
|
---|
2415 | {
|
---|
2416 | HANDLE yyrc;
|
---|
2417 | USHORT sel = RestoreOS2FS();
|
---|
2418 |
|
---|
2419 | yyrc = _O32_CreateFile(a, b, c, d, e, f, g);
|
---|
2420 | SetFS(sel);
|
---|
2421 |
|
---|
2422 | return yyrc;
|
---|
2423 | }
|
---|
2424 |
|
---|
2425 | 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)
|
---|
2426 | {
|
---|
2427 | HFONT yyrc;
|
---|
2428 | USHORT sel = RestoreOS2FS();
|
---|
2429 |
|
---|
2430 | yyrc = _O32_CreateFont(a, b, c, d, e, f, g, h, i, j, k, l, m, n);
|
---|
2431 | SetFS(sel);
|
---|
2432 |
|
---|
2433 | return yyrc;
|
---|
2434 | }
|
---|
2435 |
|
---|
2436 | inline HFONT O32_CreateFontIndirect(CONST LOGFONTA *a)
|
---|
2437 | {
|
---|
2438 | HFONT yyrc;
|
---|
2439 | USHORT sel = RestoreOS2FS();
|
---|
2440 |
|
---|
2441 | yyrc = _O32_CreateFontIndirect(a);
|
---|
2442 | SetFS(sel);
|
---|
2443 |
|
---|
2444 | return yyrc;
|
---|
2445 | }
|
---|
2446 |
|
---|
2447 | inline HBRUSH O32_CreateHatchBrush(int a, COLORREF b)
|
---|
2448 | {
|
---|
2449 | HBRUSH yyrc;
|
---|
2450 | USHORT sel = RestoreOS2FS();
|
---|
2451 |
|
---|
2452 | yyrc = _O32_CreateHatchBrush(a, b);
|
---|
2453 | SetFS(sel);
|
---|
2454 |
|
---|
2455 | return yyrc;
|
---|
2456 | }
|
---|
2457 |
|
---|
2458 | inline HDC O32_CreateIC(LPCSTR a, LPCSTR b, LPCSTR c, CONST DEVMODEA *d)
|
---|
2459 | {
|
---|
2460 | HDC yyrc;
|
---|
2461 | USHORT sel = RestoreOS2FS();
|
---|
2462 |
|
---|
2463 | yyrc = _O32_CreateIC(a, b, c, d);
|
---|
2464 | SetFS(sel);
|
---|
2465 |
|
---|
2466 | return yyrc;
|
---|
2467 | }
|
---|
2468 |
|
---|
2469 | inline HICON O32_CreateIcon(HINSTANCE a, int b, int c, BYTE d, BYTE e, CONST BYTE *f, CONST BYTE *g)
|
---|
2470 | {
|
---|
2471 | HICON yyrc;
|
---|
2472 | USHORT sel = RestoreOS2FS();
|
---|
2473 |
|
---|
2474 | yyrc = _O32_CreateIcon(a, b, c, d, e, f, g);
|
---|
2475 | SetFS(sel);
|
---|
2476 |
|
---|
2477 | return yyrc;
|
---|
2478 | }
|
---|
2479 |
|
---|
2480 | inline HICON O32_CreateIconFromResource(PBYTE a, DWORD b, BOOL c, DWORD d)
|
---|
2481 | {
|
---|
2482 | HICON yyrc;
|
---|
2483 | USHORT sel = RestoreOS2FS();
|
---|
2484 |
|
---|
2485 | yyrc = _O32_CreateIconFromResource(a, b, c, d);
|
---|
2486 | SetFS(sel);
|
---|
2487 |
|
---|
2488 | return yyrc;
|
---|
2489 | }
|
---|
2490 |
|
---|
2491 | inline HICON O32_CreateIconIndirect(LPICONINFO a)
|
---|
2492 | {
|
---|
2493 | HICON yyrc;
|
---|
2494 | USHORT sel = RestoreOS2FS();
|
---|
2495 |
|
---|
2496 | yyrc = _O32_CreateIconIndirect(a);
|
---|
2497 | SetFS(sel);
|
---|
2498 |
|
---|
2499 | return yyrc;
|
---|
2500 | }
|
---|
2501 |
|
---|
2502 | inline HMENU O32_CreateMenu()
|
---|
2503 | {
|
---|
2504 | HMENU yyrc;
|
---|
2505 | USHORT sel = RestoreOS2FS();
|
---|
2506 |
|
---|
2507 | yyrc = _O32_CreateMenu();
|
---|
2508 | SetFS(sel);
|
---|
2509 |
|
---|
2510 | return yyrc;
|
---|
2511 | }
|
---|
2512 |
|
---|
2513 | inline HDC O32_CreateMetaFile(LPCSTR a)
|
---|
2514 | {
|
---|
2515 | HDC yyrc;
|
---|
2516 | USHORT sel = RestoreOS2FS();
|
---|
2517 |
|
---|
2518 | yyrc = _O32_CreateMetaFile(a);
|
---|
2519 | SetFS(sel);
|
---|
2520 |
|
---|
2521 | return yyrc;
|
---|
2522 | }
|
---|
2523 |
|
---|
2524 | inline HWND O32_CreateMDIWindow(LPSTR a, LPSTR b, DWORD c, int d, int e, int f, int g, HWND h, HINSTANCE i, LPARAM j)
|
---|
2525 | {
|
---|
2526 | HWND yyrc;
|
---|
2527 | USHORT sel = RestoreOS2FS();
|
---|
2528 |
|
---|
2529 | yyrc = _O32_CreateMDIWindow(a, b, c, d, e, f, g, h, i, j);
|
---|
2530 | SetFS(sel);
|
---|
2531 |
|
---|
2532 | return yyrc;
|
---|
2533 | }
|
---|
2534 |
|
---|
2535 | inline HANDLE O32_CreateMutex(PSECURITY_ATTRIBUTES a, BOOL b, LPCSTR c)
|
---|
2536 | {
|
---|
2537 | HANDLE yyrc;
|
---|
2538 | USHORT sel = RestoreOS2FS();
|
---|
2539 |
|
---|
2540 | yyrc = _O32_CreateMutex(a, b, c);
|
---|
2541 | SetFS(sel);
|
---|
2542 |
|
---|
2543 | return yyrc;
|
---|
2544 | }
|
---|
2545 |
|
---|
2546 | inline HPALETTE O32_CreatePalette(CONST LOGPALETTE *a)
|
---|
2547 | {
|
---|
2548 | HPALETTE yyrc;
|
---|
2549 | USHORT sel = RestoreOS2FS();
|
---|
2550 |
|
---|
2551 | yyrc = _O32_CreatePalette(a);
|
---|
2552 | SetFS(sel);
|
---|
2553 |
|
---|
2554 | return yyrc;
|
---|
2555 | }
|
---|
2556 |
|
---|
2557 | inline HBRUSH O32_CreatePatternBrush(HBITMAP a)
|
---|
2558 | {
|
---|
2559 | HBRUSH yyrc;
|
---|
2560 | USHORT sel = RestoreOS2FS();
|
---|
2561 |
|
---|
2562 | yyrc = _O32_CreatePatternBrush(a);
|
---|
2563 | SetFS(sel);
|
---|
2564 |
|
---|
2565 | return yyrc;
|
---|
2566 | }
|
---|
2567 |
|
---|
2568 | inline HPEN O32_CreatePen(int a, int b, COLORREF c)
|
---|
2569 | {
|
---|
2570 | HPEN yyrc;
|
---|
2571 | USHORT sel = RestoreOS2FS();
|
---|
2572 |
|
---|
2573 | yyrc = _O32_CreatePen(a, b, c);
|
---|
2574 | SetFS(sel);
|
---|
2575 |
|
---|
2576 | return yyrc;
|
---|
2577 | }
|
---|
2578 |
|
---|
2579 | inline HPEN O32_CreatePenIndirect(CONST LOGPEN *a)
|
---|
2580 | {
|
---|
2581 | HPEN yyrc;
|
---|
2582 | USHORT sel = RestoreOS2FS();
|
---|
2583 |
|
---|
2584 | yyrc = _O32_CreatePenIndirect(a);
|
---|
2585 | SetFS(sel);
|
---|
2586 |
|
---|
2587 | return yyrc;
|
---|
2588 | }
|
---|
2589 |
|
---|
2590 | inline HRGN O32_CreatePolyPolygonRgn(CONST POINT *a, CONST INT *b, int c, int d)
|
---|
2591 | {
|
---|
2592 | HRGN yyrc;
|
---|
2593 | USHORT sel = RestoreOS2FS();
|
---|
2594 |
|
---|
2595 | yyrc = _O32_CreatePolyPolygonRgn(a, b, c, d);
|
---|
2596 | SetFS(sel);
|
---|
2597 |
|
---|
2598 | return yyrc;
|
---|
2599 | }
|
---|
2600 |
|
---|
2601 | inline HRGN O32_CreatePolygonRgn(CONST POINT *a, int b, int c)
|
---|
2602 | {
|
---|
2603 | HRGN yyrc;
|
---|
2604 | USHORT sel = RestoreOS2FS();
|
---|
2605 |
|
---|
2606 | yyrc = _O32_CreatePolygonRgn(a, b, c);
|
---|
2607 | SetFS(sel);
|
---|
2608 |
|
---|
2609 | return yyrc;
|
---|
2610 | }
|
---|
2611 |
|
---|
2612 | inline HMENU O32_CreatePopupMenu()
|
---|
2613 | {
|
---|
2614 | HMENU yyrc;
|
---|
2615 | USHORT sel = RestoreOS2FS();
|
---|
2616 |
|
---|
2617 | yyrc = _O32_CreatePopupMenu();
|
---|
2618 | SetFS(sel);
|
---|
2619 |
|
---|
2620 | return yyrc;
|
---|
2621 | }
|
---|
2622 |
|
---|
2623 | 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)
|
---|
2624 | {
|
---|
2625 | BOOL yyrc;
|
---|
2626 | USHORT sel = RestoreOS2FS();
|
---|
2627 |
|
---|
2628 | yyrc = _O32_CreateProcess(a, b, c, d, e, f, g, h, i, j);
|
---|
2629 | SetFS(sel);
|
---|
2630 |
|
---|
2631 | return yyrc;
|
---|
2632 | }
|
---|
2633 |
|
---|
2634 | inline HRGN O32_CreateRectRgn(int a, int b, int c, int d)
|
---|
2635 | {
|
---|
2636 | HRGN yyrc;
|
---|
2637 | USHORT sel = RestoreOS2FS();
|
---|
2638 |
|
---|
2639 | yyrc = _O32_CreateRectRgn(a, b, c, d);
|
---|
2640 | SetFS(sel);
|
---|
2641 |
|
---|
2642 | return yyrc;
|
---|
2643 | }
|
---|
2644 |
|
---|
2645 | inline HRGN O32_CreateRectRgnIndirect(CONST RECT *a)
|
---|
2646 | {
|
---|
2647 | HRGN yyrc;
|
---|
2648 | USHORT sel = RestoreOS2FS();
|
---|
2649 |
|
---|
2650 | yyrc = _O32_CreateRectRgnIndirect(a);
|
---|
2651 | SetFS(sel);
|
---|
2652 |
|
---|
2653 | return yyrc;
|
---|
2654 | }
|
---|
2655 |
|
---|
2656 | inline HRGN O32_CreateRoundRectRgn(int a, int b, int c, int d, int e, int f)
|
---|
2657 | {
|
---|
2658 | HRGN yyrc;
|
---|
2659 | USHORT sel = RestoreOS2FS();
|
---|
2660 |
|
---|
2661 | yyrc = _O32_CreateRoundRectRgn(a, b, c, d, e, f);
|
---|
2662 | SetFS(sel);
|
---|
2663 |
|
---|
2664 | return yyrc;
|
---|
2665 | }
|
---|
2666 |
|
---|
2667 | inline HANDLE O32_CreateSemaphore(PSECURITY_ATTRIBUTES a, LONG b, LONG c, LPSTR d)
|
---|
2668 | {
|
---|
2669 | HANDLE yyrc;
|
---|
2670 | USHORT sel = RestoreOS2FS();
|
---|
2671 |
|
---|
2672 | yyrc = _O32_CreateSemaphore(a, b, c, d);
|
---|
2673 | SetFS(sel);
|
---|
2674 |
|
---|
2675 | return yyrc;
|
---|
2676 | }
|
---|
2677 |
|
---|
2678 | inline HBRUSH O32_CreateSolidBrush(COLORREF a)
|
---|
2679 | {
|
---|
2680 | HBRUSH yyrc;
|
---|
2681 | USHORT sel = RestoreOS2FS();
|
---|
2682 |
|
---|
2683 | yyrc = _O32_CreateSolidBrush(a);
|
---|
2684 | SetFS(sel);
|
---|
2685 |
|
---|
2686 | return yyrc;
|
---|
2687 | }
|
---|
2688 |
|
---|
2689 | inline HANDLE O32_CreateThread(PSECURITY_ATTRIBUTES a, DWORD b, PTHREAD_START_ROUTINE_O32 c, PVOID d, DWORD e, PDWORD f)
|
---|
2690 | {
|
---|
2691 | HANDLE yyrc;
|
---|
2692 | USHORT sel = RestoreOS2FS();
|
---|
2693 |
|
---|
2694 | yyrc = _O32_CreateThread(a, b, c, d, e, f);
|
---|
2695 | SetFS(sel);
|
---|
2696 |
|
---|
2697 | return yyrc;
|
---|
2698 | }
|
---|
2699 |
|
---|
2700 | 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)
|
---|
2701 | {
|
---|
2702 | HWND yyrc;
|
---|
2703 | USHORT sel = RestoreOS2FS();
|
---|
2704 |
|
---|
2705 | yyrc = _O32_CreateWindowEx(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
2706 | SetFS(sel);
|
---|
2707 |
|
---|
2708 | return yyrc;
|
---|
2709 | }
|
---|
2710 |
|
---|
2711 | inline BOOL O32_DPtoLP(HDC a, PPOINT b, int c)
|
---|
2712 | {
|
---|
2713 | BOOL yyrc;
|
---|
2714 | USHORT sel = RestoreOS2FS();
|
---|
2715 |
|
---|
2716 | yyrc = _O32_DPtoLP(a, b, c);
|
---|
2717 | SetFS(sel);
|
---|
2718 |
|
---|
2719 | return yyrc;
|
---|
2720 | }
|
---|
2721 |
|
---|
2722 | inline BOOL O32_DdeAbandonTransaction(DWORD a, HCONV b, DWORD c)
|
---|
2723 | {
|
---|
2724 | BOOL yyrc;
|
---|
2725 | USHORT sel = RestoreOS2FS();
|
---|
2726 |
|
---|
2727 | yyrc = _O32_DdeAbandonTransaction(a, b, c);
|
---|
2728 | SetFS(sel);
|
---|
2729 |
|
---|
2730 | return yyrc;
|
---|
2731 | }
|
---|
2732 |
|
---|
2733 | inline PBYTE O32_DdeAccessData(HDDEDATA a, PDWORD b)
|
---|
2734 | {
|
---|
2735 | PBYTE yyrc;
|
---|
2736 | USHORT sel = RestoreOS2FS();
|
---|
2737 |
|
---|
2738 | yyrc = _O32_DdeAccessData(a, b);
|
---|
2739 | SetFS(sel);
|
---|
2740 |
|
---|
2741 | return yyrc;
|
---|
2742 | }
|
---|
2743 |
|
---|
2744 | inline HDDEDATA O32_DdeAddData(HDDEDATA a, PVOID b, DWORD c, DWORD d)
|
---|
2745 | {
|
---|
2746 | HDDEDATA yyrc;
|
---|
2747 | USHORT sel = RestoreOS2FS();
|
---|
2748 |
|
---|
2749 | yyrc = _O32_DdeAddData(a, b, c, d);
|
---|
2750 | SetFS(sel);
|
---|
2751 |
|
---|
2752 | return yyrc;
|
---|
2753 | }
|
---|
2754 |
|
---|
2755 | inline HDDEDATA O32_DdeClientTransaction(PVOID a, DWORD b, HCONV c, HSZ d, UINT e, UINT f, DWORD g, PDWORD h)
|
---|
2756 | {
|
---|
2757 | HDDEDATA yyrc;
|
---|
2758 | USHORT sel = RestoreOS2FS();
|
---|
2759 |
|
---|
2760 | yyrc = _O32_DdeClientTransaction(a, b, c, d, e, f, g, h);
|
---|
2761 | SetFS(sel);
|
---|
2762 |
|
---|
2763 | return yyrc;
|
---|
2764 | }
|
---|
2765 |
|
---|
2766 | inline int O32_DdeCmpStringHandles(HSZ a, HSZ b)
|
---|
2767 | {
|
---|
2768 | int yyrc;
|
---|
2769 | USHORT sel = RestoreOS2FS();
|
---|
2770 |
|
---|
2771 | yyrc = _O32_DdeCmpStringHandles(a, b);
|
---|
2772 | SetFS(sel);
|
---|
2773 |
|
---|
2774 | return yyrc;
|
---|
2775 | }
|
---|
2776 |
|
---|
2777 | inline HCONV O32_DdeConnect(DWORD a, HSZ b, HSZ c, LPCONVCONTEXT d)
|
---|
2778 | {
|
---|
2779 | HCONV yyrc;
|
---|
2780 | USHORT sel = RestoreOS2FS();
|
---|
2781 |
|
---|
2782 | yyrc = _O32_DdeConnect(a, b, c, d);
|
---|
2783 | SetFS(sel);
|
---|
2784 |
|
---|
2785 | return yyrc;
|
---|
2786 | }
|
---|
2787 |
|
---|
2788 | inline HCONVLIST O32_DdeConnectList(DWORD a, HSZ b, HSZ c, HCONVLIST d, LPCONVCONTEXT e)
|
---|
2789 | {
|
---|
2790 | HCONVLIST yyrc;
|
---|
2791 | USHORT sel = RestoreOS2FS();
|
---|
2792 |
|
---|
2793 | yyrc = _O32_DdeConnectList(a, b, c, d, e);
|
---|
2794 | SetFS(sel);
|
---|
2795 |
|
---|
2796 | return yyrc;
|
---|
2797 | }
|
---|
2798 |
|
---|
2799 | inline HDDEDATA O32_DdeCreateDataHandle(DWORD a, PVOID b, DWORD c, DWORD d, HSZ e, UINT f, UINT g)
|
---|
2800 | {
|
---|
2801 | HDDEDATA yyrc;
|
---|
2802 | USHORT sel = RestoreOS2FS();
|
---|
2803 |
|
---|
2804 | yyrc = _O32_DdeCreateDataHandle(a, b, c, d, e, f, g);
|
---|
2805 | SetFS(sel);
|
---|
2806 |
|
---|
2807 | return yyrc;
|
---|
2808 | }
|
---|
2809 |
|
---|
2810 | inline HSZ O32_DdeCreateStringHandle(DWORD a, LPCSTR b, int c)
|
---|
2811 | {
|
---|
2812 | HSZ yyrc;
|
---|
2813 | USHORT sel = RestoreOS2FS();
|
---|
2814 |
|
---|
2815 | yyrc = _O32_DdeCreateStringHandle(a, b, c);
|
---|
2816 | SetFS(sel);
|
---|
2817 |
|
---|
2818 | return yyrc;
|
---|
2819 | }
|
---|
2820 |
|
---|
2821 | inline BOOL O32_DdeDisconnect(HCONV a)
|
---|
2822 | {
|
---|
2823 | BOOL yyrc;
|
---|
2824 | USHORT sel = RestoreOS2FS();
|
---|
2825 |
|
---|
2826 | yyrc = _O32_DdeDisconnect(a);
|
---|
2827 | SetFS(sel);
|
---|
2828 |
|
---|
2829 | return yyrc;
|
---|
2830 | }
|
---|
2831 |
|
---|
2832 | inline BOOL O32_DdeDisconnectList(HCONVLIST a)
|
---|
2833 | {
|
---|
2834 | BOOL yyrc;
|
---|
2835 | USHORT sel = RestoreOS2FS();
|
---|
2836 |
|
---|
2837 | yyrc = _O32_DdeDisconnectList(a);
|
---|
2838 | SetFS(sel);
|
---|
2839 |
|
---|
2840 | return yyrc;
|
---|
2841 | }
|
---|
2842 |
|
---|
2843 | inline BOOL O32_DdeEnableCallback(DWORD a, HCONV b, UINT c)
|
---|
2844 | {
|
---|
2845 | BOOL yyrc;
|
---|
2846 | USHORT sel = RestoreOS2FS();
|
---|
2847 |
|
---|
2848 | yyrc = _O32_DdeEnableCallback(a, b, c);
|
---|
2849 | SetFS(sel);
|
---|
2850 |
|
---|
2851 | return yyrc;
|
---|
2852 | }
|
---|
2853 |
|
---|
2854 | inline BOOL O32_DdeFreeDataHandle(HDDEDATA a)
|
---|
2855 | {
|
---|
2856 | BOOL yyrc;
|
---|
2857 | USHORT sel = RestoreOS2FS();
|
---|
2858 |
|
---|
2859 | yyrc = _O32_DdeFreeDataHandle(a);
|
---|
2860 | SetFS(sel);
|
---|
2861 |
|
---|
2862 | return yyrc;
|
---|
2863 | }
|
---|
2864 |
|
---|
2865 | inline BOOL O32_DdeFreeStringHandle(DWORD a, HSZ b)
|
---|
2866 | {
|
---|
2867 | BOOL yyrc;
|
---|
2868 | USHORT sel = RestoreOS2FS();
|
---|
2869 |
|
---|
2870 | yyrc = _O32_DdeFreeStringHandle(a, b);
|
---|
2871 | SetFS(sel);
|
---|
2872 |
|
---|
2873 | return yyrc;
|
---|
2874 | }
|
---|
2875 |
|
---|
2876 | inline DWORD O32_DdeGetData(HDDEDATA a, PVOID b, DWORD c, DWORD d)
|
---|
2877 | {
|
---|
2878 | DWORD yyrc;
|
---|
2879 | USHORT sel = RestoreOS2FS();
|
---|
2880 |
|
---|
2881 | yyrc = _O32_DdeGetData(a, b, c, d);
|
---|
2882 | SetFS(sel);
|
---|
2883 |
|
---|
2884 | return yyrc;
|
---|
2885 | }
|
---|
2886 |
|
---|
2887 | inline UINT O32_DdeGetLastError(DWORD a)
|
---|
2888 | {
|
---|
2889 | UINT yyrc;
|
---|
2890 | USHORT sel = RestoreOS2FS();
|
---|
2891 |
|
---|
2892 | yyrc = _O32_DdeGetLastError(a);
|
---|
2893 | SetFS(sel);
|
---|
2894 |
|
---|
2895 | return yyrc;
|
---|
2896 | }
|
---|
2897 |
|
---|
2898 | inline UINT O32_DdeInitialize(PDWORD a, PFNCALLBACK b, DWORD c, DWORD d)
|
---|
2899 | {
|
---|
2900 | UINT yyrc;
|
---|
2901 | USHORT sel = RestoreOS2FS();
|
---|
2902 |
|
---|
2903 | yyrc = _O32_DdeInitialize(a, b, c, d);
|
---|
2904 | SetFS(sel);
|
---|
2905 |
|
---|
2906 | return yyrc;
|
---|
2907 | }
|
---|
2908 |
|
---|
2909 | inline BOOL O32_DdeKeepStringHandle(DWORD a, HSZ b)
|
---|
2910 | {
|
---|
2911 | BOOL yyrc;
|
---|
2912 | USHORT sel = RestoreOS2FS();
|
---|
2913 |
|
---|
2914 | yyrc = _O32_DdeKeepStringHandle(a, b);
|
---|
2915 | SetFS(sel);
|
---|
2916 |
|
---|
2917 | return yyrc;
|
---|
2918 | }
|
---|
2919 |
|
---|
2920 | inline HDDEDATA O32_DdeNameService(DWORD a, HSZ b, HSZ c, UINT d)
|
---|
2921 | {
|
---|
2922 | HDDEDATA yyrc;
|
---|
2923 | USHORT sel = RestoreOS2FS();
|
---|
2924 |
|
---|
2925 | yyrc = _O32_DdeNameService(a, b, c, d);
|
---|
2926 | SetFS(sel);
|
---|
2927 |
|
---|
2928 | return yyrc;
|
---|
2929 | }
|
---|
2930 |
|
---|
2931 | inline BOOL O32_DdePostAdvise(DWORD a, HSZ b, HSZ c)
|
---|
2932 | {
|
---|
2933 | BOOL yyrc;
|
---|
2934 | USHORT sel = RestoreOS2FS();
|
---|
2935 |
|
---|
2936 | yyrc = _O32_DdePostAdvise(a, b, c);
|
---|
2937 | SetFS(sel);
|
---|
2938 |
|
---|
2939 | return yyrc;
|
---|
2940 | }
|
---|
2941 |
|
---|
2942 | inline UINT O32_DdeQueryConvInfo(HCONV a, DWORD b, LPCONVINFO c)
|
---|
2943 | {
|
---|
2944 | UINT yyrc;
|
---|
2945 | USHORT sel = RestoreOS2FS();
|
---|
2946 |
|
---|
2947 | yyrc = _O32_DdeQueryConvInfo(a, b, c);
|
---|
2948 | SetFS(sel);
|
---|
2949 |
|
---|
2950 | return yyrc;
|
---|
2951 | }
|
---|
2952 |
|
---|
2953 | inline HCONV O32_DdeQueryNextServer(HCONVLIST a, HCONV b)
|
---|
2954 | {
|
---|
2955 | HCONV yyrc;
|
---|
2956 | USHORT sel = RestoreOS2FS();
|
---|
2957 |
|
---|
2958 | yyrc = _O32_DdeQueryNextServer(a, b);
|
---|
2959 | SetFS(sel);
|
---|
2960 |
|
---|
2961 | return yyrc;
|
---|
2962 | }
|
---|
2963 |
|
---|
2964 | inline DWORD O32_DdeQueryString(DWORD a, HSZ b, LPSTR c, DWORD d, int e)
|
---|
2965 | {
|
---|
2966 | DWORD yyrc;
|
---|
2967 | USHORT sel = RestoreOS2FS();
|
---|
2968 |
|
---|
2969 | yyrc = _O32_DdeQueryString(a, b, c, d, e);
|
---|
2970 | SetFS(sel);
|
---|
2971 |
|
---|
2972 | return yyrc;
|
---|
2973 | }
|
---|
2974 |
|
---|
2975 | inline HCONV O32_DdeReconnect(HCONV a)
|
---|
2976 | {
|
---|
2977 | HCONV yyrc;
|
---|
2978 | USHORT sel = RestoreOS2FS();
|
---|
2979 |
|
---|
2980 | yyrc = _O32_DdeReconnect(a);
|
---|
2981 | SetFS(sel);
|
---|
2982 |
|
---|
2983 | return yyrc;
|
---|
2984 | }
|
---|
2985 |
|
---|
2986 | inline BOOL O32_DdeSetUserHandle(HCONV a, DWORD b, DWORD c)
|
---|
2987 | {
|
---|
2988 | BOOL yyrc;
|
---|
2989 | USHORT sel = RestoreOS2FS();
|
---|
2990 |
|
---|
2991 | yyrc = _O32_DdeSetUserHandle(a, b, c);
|
---|
2992 | SetFS(sel);
|
---|
2993 |
|
---|
2994 | return yyrc;
|
---|
2995 | }
|
---|
2996 |
|
---|
2997 | inline BOOL O32_DdeUnaccessData(HDDEDATA a)
|
---|
2998 | {
|
---|
2999 | BOOL yyrc;
|
---|
3000 | USHORT sel = RestoreOS2FS();
|
---|
3001 |
|
---|
3002 | yyrc = _O32_DdeUnaccessData(a);
|
---|
3003 | SetFS(sel);
|
---|
3004 |
|
---|
3005 | return yyrc;
|
---|
3006 | }
|
---|
3007 |
|
---|
3008 | inline BOOL O32_DdeUninitialize(DWORD a)
|
---|
3009 | {
|
---|
3010 | BOOL yyrc;
|
---|
3011 | USHORT sel = RestoreOS2FS();
|
---|
3012 |
|
---|
3013 | yyrc = _O32_DdeUninitialize(a);
|
---|
3014 | SetFS(sel);
|
---|
3015 |
|
---|
3016 | return yyrc;
|
---|
3017 | }
|
---|
3018 |
|
---|
3019 | inline LRESULT O32_DefDlgProc(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
3020 | {
|
---|
3021 | LRESULT yyrc;
|
---|
3022 | USHORT sel = RestoreOS2FS();
|
---|
3023 |
|
---|
3024 | yyrc = _O32_DefDlgProc(a, b, c, d);
|
---|
3025 | SetFS(sel);
|
---|
3026 |
|
---|
3027 | return yyrc;
|
---|
3028 | }
|
---|
3029 |
|
---|
3030 | inline HDWP O32_DeferWindowPos(HDWP a, HWND b, HWND c, int d, int e, int f, int g, UINT h)
|
---|
3031 | {
|
---|
3032 | HDWP yyrc;
|
---|
3033 | USHORT sel = RestoreOS2FS();
|
---|
3034 |
|
---|
3035 | yyrc = _O32_DeferWindowPos(a, b, c, d, e, f, g, h);
|
---|
3036 | SetFS(sel);
|
---|
3037 |
|
---|
3038 | return yyrc;
|
---|
3039 | }
|
---|
3040 |
|
---|
3041 | inline LRESULT O32_DefFrameProc(HWND a, HWND b, UINT c, WPARAM d, LPARAM e)
|
---|
3042 | {
|
---|
3043 | LRESULT yyrc;
|
---|
3044 | USHORT sel = RestoreOS2FS();
|
---|
3045 |
|
---|
3046 | yyrc = _O32_DefFrameProc(a, b, c, d, e);
|
---|
3047 | SetFS(sel);
|
---|
3048 |
|
---|
3049 | return yyrc;
|
---|
3050 | }
|
---|
3051 |
|
---|
3052 | inline LRESULT O32_DefMDIChildProc(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
3053 | {
|
---|
3054 | LRESULT yyrc;
|
---|
3055 | USHORT sel = RestoreOS2FS();
|
---|
3056 |
|
---|
3057 | yyrc = _O32_DefMDIChildProc(a, b, c, d);
|
---|
3058 | SetFS(sel);
|
---|
3059 |
|
---|
3060 | return yyrc;
|
---|
3061 | }
|
---|
3062 |
|
---|
3063 | inline LRESULT O32_DefWindowProc(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
3064 | {
|
---|
3065 | LRESULT yyrc;
|
---|
3066 | USHORT sel = RestoreOS2FS();
|
---|
3067 |
|
---|
3068 | yyrc = _O32_DefWindowProc(a, b, c, d);
|
---|
3069 | SetFS(sel);
|
---|
3070 |
|
---|
3071 | return yyrc;
|
---|
3072 | }
|
---|
3073 |
|
---|
3074 | inline ATOM O32_DeleteAtom(ATOM a)
|
---|
3075 | {
|
---|
3076 | ATOM yyrc;
|
---|
3077 | USHORT sel = RestoreOS2FS();
|
---|
3078 |
|
---|
3079 | yyrc = _O32_DeleteAtom(a);
|
---|
3080 | SetFS(sel);
|
---|
3081 |
|
---|
3082 | return yyrc;
|
---|
3083 | }
|
---|
3084 |
|
---|
3085 | inline VOID O32_DeleteCriticalSection(CRITICAL_SECTION *a)
|
---|
3086 | {
|
---|
3087 | USHORT sel = RestoreOS2FS();
|
---|
3088 |
|
---|
3089 | _O32_DeleteCriticalSection(a);
|
---|
3090 | SetFS(sel);
|
---|
3091 | }
|
---|
3092 |
|
---|
3093 | inline BOOL O32_DeleteDC(HDC a)
|
---|
3094 | {
|
---|
3095 | BOOL yyrc;
|
---|
3096 | USHORT sel = RestoreOS2FS();
|
---|
3097 |
|
---|
3098 | yyrc = _O32_DeleteDC(a);
|
---|
3099 | SetFS(sel);
|
---|
3100 |
|
---|
3101 | return yyrc;
|
---|
3102 | }
|
---|
3103 |
|
---|
3104 | inline BOOL O32_DeleteEnhMetaFile(HENHMETAFILE a)
|
---|
3105 | {
|
---|
3106 | BOOL yyrc;
|
---|
3107 | USHORT sel = RestoreOS2FS();
|
---|
3108 |
|
---|
3109 | yyrc = _O32_DeleteEnhMetaFile(a);
|
---|
3110 | SetFS(sel);
|
---|
3111 |
|
---|
3112 | return yyrc;
|
---|
3113 | }
|
---|
3114 |
|
---|
3115 | inline BOOL O32_DeleteFile(LPCSTR a)
|
---|
3116 | {
|
---|
3117 | BOOL yyrc;
|
---|
3118 | USHORT sel = RestoreOS2FS();
|
---|
3119 |
|
---|
3120 | yyrc = _O32_DeleteFile(a);
|
---|
3121 | SetFS(sel);
|
---|
3122 |
|
---|
3123 | return yyrc;
|
---|
3124 | }
|
---|
3125 |
|
---|
3126 | inline BOOL O32_DeleteMenu(HMENU a, UINT b, UINT c)
|
---|
3127 | {
|
---|
3128 | BOOL yyrc;
|
---|
3129 | USHORT sel = RestoreOS2FS();
|
---|
3130 |
|
---|
3131 | yyrc = _O32_DeleteMenu(a, b, c);
|
---|
3132 | SetFS(sel);
|
---|
3133 |
|
---|
3134 | return yyrc;
|
---|
3135 | }
|
---|
3136 |
|
---|
3137 | inline BOOL O32_DeleteMetaFile(HMETAFILE a)
|
---|
3138 | {
|
---|
3139 | BOOL yyrc;
|
---|
3140 | USHORT sel = RestoreOS2FS();
|
---|
3141 |
|
---|
3142 | yyrc = _O32_DeleteMetaFile(a);
|
---|
3143 | SetFS(sel);
|
---|
3144 |
|
---|
3145 | return yyrc;
|
---|
3146 | }
|
---|
3147 |
|
---|
3148 | inline BOOL O32_DeleteObject(HANDLE a)
|
---|
3149 | {
|
---|
3150 | BOOL yyrc;
|
---|
3151 | USHORT sel = RestoreOS2FS();
|
---|
3152 |
|
---|
3153 | yyrc = _O32_DeleteObject(a);
|
---|
3154 | SetFS(sel);
|
---|
3155 |
|
---|
3156 | return yyrc;
|
---|
3157 | }
|
---|
3158 |
|
---|
3159 | inline BOOL O32_DestroyAcceleratorTable(HACCEL a)
|
---|
3160 | {
|
---|
3161 | BOOL yyrc;
|
---|
3162 | USHORT sel = RestoreOS2FS();
|
---|
3163 |
|
---|
3164 | yyrc = _O32_DestroyAcceleratorTable(a);
|
---|
3165 | SetFS(sel);
|
---|
3166 |
|
---|
3167 | return yyrc;
|
---|
3168 | }
|
---|
3169 |
|
---|
3170 | inline BOOL O32_DestroyCaret()
|
---|
3171 | {
|
---|
3172 | BOOL yyrc;
|
---|
3173 | USHORT sel = RestoreOS2FS();
|
---|
3174 |
|
---|
3175 | yyrc = _O32_DestroyCaret();
|
---|
3176 | SetFS(sel);
|
---|
3177 |
|
---|
3178 | return yyrc;
|
---|
3179 | }
|
---|
3180 |
|
---|
3181 | inline BOOL O32_DestroyCursor(HCURSOR a)
|
---|
3182 | {
|
---|
3183 | BOOL yyrc;
|
---|
3184 | USHORT sel = RestoreOS2FS();
|
---|
3185 |
|
---|
3186 | yyrc = _O32_DestroyCursor(a);
|
---|
3187 | SetFS(sel);
|
---|
3188 |
|
---|
3189 | return yyrc;
|
---|
3190 | }
|
---|
3191 |
|
---|
3192 | inline BOOL O32_DestroyIcon(HICON a)
|
---|
3193 | {
|
---|
3194 | BOOL yyrc;
|
---|
3195 | USHORT sel = RestoreOS2FS();
|
---|
3196 |
|
---|
3197 | yyrc = _O32_DestroyIcon(a);
|
---|
3198 | SetFS(sel);
|
---|
3199 |
|
---|
3200 | return yyrc;
|
---|
3201 | }
|
---|
3202 |
|
---|
3203 | inline BOOL O32_DestroyMenu(HMENU a)
|
---|
3204 | {
|
---|
3205 | BOOL yyrc;
|
---|
3206 | USHORT sel = RestoreOS2FS();
|
---|
3207 |
|
---|
3208 | yyrc = _O32_DestroyMenu(a);
|
---|
3209 | SetFS(sel);
|
---|
3210 |
|
---|
3211 | return yyrc;
|
---|
3212 | }
|
---|
3213 |
|
---|
3214 | inline BOOL O32_DestroyWindow(HWND a)
|
---|
3215 | {
|
---|
3216 | BOOL yyrc;
|
---|
3217 | USHORT sel = RestoreOS2FS();
|
---|
3218 |
|
---|
3219 | yyrc = _O32_DestroyWindow(a);
|
---|
3220 | SetFS(sel);
|
---|
3221 |
|
---|
3222 | return yyrc;
|
---|
3223 | }
|
---|
3224 |
|
---|
3225 | inline DWORD O32_DeviceCapabilities(LPCSTR a, LPCSTR b, WORD c, LPTSTR d, CONST DEVMODEA *e)
|
---|
3226 | {
|
---|
3227 | DWORD yyrc;
|
---|
3228 | USHORT sel = RestoreOS2FS();
|
---|
3229 |
|
---|
3230 | yyrc = _O32_DeviceCapabilities(a, b, c, d, e);
|
---|
3231 | SetFS(sel);
|
---|
3232 |
|
---|
3233 | return yyrc;
|
---|
3234 | }
|
---|
3235 |
|
---|
3236 | inline int O32_DialogBox(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d)
|
---|
3237 | {
|
---|
3238 | int yyrc;
|
---|
3239 | USHORT sel = RestoreOS2FS();
|
---|
3240 |
|
---|
3241 | yyrc = _O32_DialogBox(a, b, c, d);
|
---|
3242 | SetFS(sel);
|
---|
3243 |
|
---|
3244 | return yyrc;
|
---|
3245 | }
|
---|
3246 |
|
---|
3247 | inline int O32_DialogBoxParam(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
3248 | {
|
---|
3249 | int yyrc;
|
---|
3250 | USHORT sel = RestoreOS2FS();
|
---|
3251 |
|
---|
3252 | yyrc = _O32_DialogBoxParam(a, b, c, d, e);
|
---|
3253 | SetFS(sel);
|
---|
3254 |
|
---|
3255 | return yyrc;
|
---|
3256 | }
|
---|
3257 |
|
---|
3258 | inline BOOL O32_DialogBoxIndirect(HINSTANCE a, LPDLGTEMPLATEA b, HWND c, DLGPROC_O32 d)
|
---|
3259 | {
|
---|
3260 | BOOL yyrc;
|
---|
3261 | USHORT sel = RestoreOS2FS();
|
---|
3262 |
|
---|
3263 | yyrc = _O32_DialogBoxIndirect(a, b, c, d);
|
---|
3264 | SetFS(sel);
|
---|
3265 |
|
---|
3266 | return yyrc;
|
---|
3267 | }
|
---|
3268 |
|
---|
3269 | inline BOOL O32_DialogBoxIndirectParam(HINSTANCE a, LPDLGTEMPLATEA b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
3270 | {
|
---|
3271 | BOOL yyrc;
|
---|
3272 | USHORT sel = RestoreOS2FS();
|
---|
3273 |
|
---|
3274 | yyrc = _O32_DialogBoxIndirectParam(a, b, c, d, e);
|
---|
3275 | SetFS(sel);
|
---|
3276 |
|
---|
3277 | return yyrc;
|
---|
3278 | }
|
---|
3279 |
|
---|
3280 | inline LONG O32_DispatchMessage(CONST MSG *a)
|
---|
3281 | {
|
---|
3282 | LONG yyrc;
|
---|
3283 | USHORT sel = RestoreOS2FS();
|
---|
3284 |
|
---|
3285 | yyrc = _O32_DispatchMessage(a);
|
---|
3286 | SetFS(sel);
|
---|
3287 |
|
---|
3288 | return yyrc;
|
---|
3289 | }
|
---|
3290 |
|
---|
3291 | inline int O32_DlgDirList(HWND a, LPSTR b, int c, int d, UINT e)
|
---|
3292 | {
|
---|
3293 | int yyrc;
|
---|
3294 | USHORT sel = RestoreOS2FS();
|
---|
3295 |
|
---|
3296 | yyrc = _O32_DlgDirList(a, b, c, d, e);
|
---|
3297 | SetFS(sel);
|
---|
3298 |
|
---|
3299 | return yyrc;
|
---|
3300 | }
|
---|
3301 |
|
---|
3302 | inline int O32_DlgDirListComboBox(HWND a, LPSTR b, int c, int d, UINT e)
|
---|
3303 | {
|
---|
3304 | int yyrc;
|
---|
3305 | USHORT sel = RestoreOS2FS();
|
---|
3306 |
|
---|
3307 | yyrc = _O32_DlgDirListComboBox(a, b, c, d, e);
|
---|
3308 | SetFS(sel);
|
---|
3309 |
|
---|
3310 | return yyrc;
|
---|
3311 | }
|
---|
3312 |
|
---|
3313 | inline BOOL O32_DlgDirSelectEx(HWND a, LPSTR b, int c, int d)
|
---|
3314 | {
|
---|
3315 | BOOL yyrc;
|
---|
3316 | USHORT sel = RestoreOS2FS();
|
---|
3317 |
|
---|
3318 | yyrc = _O32_DlgDirSelectEx(a, b, c, d);
|
---|
3319 | SetFS(sel);
|
---|
3320 |
|
---|
3321 | return yyrc;
|
---|
3322 | }
|
---|
3323 |
|
---|
3324 | inline BOOL O32_DlgDirSelectComboBoxEx(HWND a, LPSTR b, int c, int d)
|
---|
3325 | {
|
---|
3326 | BOOL yyrc;
|
---|
3327 | USHORT sel = RestoreOS2FS();
|
---|
3328 |
|
---|
3329 | yyrc = _O32_DlgDirSelectComboBoxEx(a, b, c, d);
|
---|
3330 | SetFS(sel);
|
---|
3331 |
|
---|
3332 | return yyrc;
|
---|
3333 | }
|
---|
3334 |
|
---|
3335 | inline BOOL O32_DllEntryPoint(HINSTANCE a, DWORD b, LPVOID c)
|
---|
3336 | {
|
---|
3337 | BOOL yyrc;
|
---|
3338 | USHORT sel = RestoreOS2FS();
|
---|
3339 |
|
---|
3340 | yyrc = _O32_DllEntryPoint(a, b, c);
|
---|
3341 | SetFS(sel);
|
---|
3342 |
|
---|
3343 | return yyrc;
|
---|
3344 | }
|
---|
3345 |
|
---|
3346 | inline BOOL O32_DosDateTimeToFileTime(WORD a, WORD b, LPFILETIME c)
|
---|
3347 | {
|
---|
3348 | BOOL yyrc;
|
---|
3349 | USHORT sel = RestoreOS2FS();
|
---|
3350 |
|
---|
3351 | yyrc = _O32_DosDateTimeToFileTime(a, b, c);
|
---|
3352 | SetFS(sel);
|
---|
3353 |
|
---|
3354 | return yyrc;
|
---|
3355 | }
|
---|
3356 |
|
---|
3357 | inline VOID O32_DragAcceptFiles(HWND a, BOOL b)
|
---|
3358 | {
|
---|
3359 | USHORT sel = RestoreOS2FS();
|
---|
3360 |
|
---|
3361 | _O32_DragAcceptFiles(a, b);
|
---|
3362 | SetFS(sel);
|
---|
3363 | }
|
---|
3364 |
|
---|
3365 | inline VOID O32_DragFinish(HDROP a)
|
---|
3366 | {
|
---|
3367 | USHORT sel = RestoreOS2FS();
|
---|
3368 |
|
---|
3369 | _O32_DragFinish(a);
|
---|
3370 | SetFS(sel);
|
---|
3371 | }
|
---|
3372 |
|
---|
3373 | inline UINT O32_DragQueryFile(HDROP a, int b, LPSTR c, int d)
|
---|
3374 | {
|
---|
3375 | UINT yyrc;
|
---|
3376 | USHORT sel = RestoreOS2FS();
|
---|
3377 |
|
---|
3378 | yyrc = _O32_DragQueryFile(a, b, c, d);
|
---|
3379 | SetFS(sel);
|
---|
3380 |
|
---|
3381 | return yyrc;
|
---|
3382 | }
|
---|
3383 |
|
---|
3384 | inline BOOL O32_DragQueryPoint(HDROP a, PPOINT b)
|
---|
3385 | {
|
---|
3386 | BOOL yyrc;
|
---|
3387 | USHORT sel = RestoreOS2FS();
|
---|
3388 |
|
---|
3389 | yyrc = _O32_DragQueryPoint(a, b);
|
---|
3390 | SetFS(sel);
|
---|
3391 |
|
---|
3392 | return yyrc;
|
---|
3393 | }
|
---|
3394 |
|
---|
3395 | inline BOOL O32_DrawFocusRect(HDC a, CONST RECT *b)
|
---|
3396 | {
|
---|
3397 | BOOL yyrc;
|
---|
3398 | USHORT sel = RestoreOS2FS();
|
---|
3399 |
|
---|
3400 | yyrc = _O32_DrawFocusRect(a, b);
|
---|
3401 | SetFS(sel);
|
---|
3402 |
|
---|
3403 | return yyrc;
|
---|
3404 | }
|
---|
3405 |
|
---|
3406 | inline BOOL O32_DrawIcon(HDC a, int b, int c, HICON d)
|
---|
3407 | {
|
---|
3408 | BOOL yyrc;
|
---|
3409 | USHORT sel = RestoreOS2FS();
|
---|
3410 |
|
---|
3411 | yyrc = _O32_DrawIcon(a, b, c, d);
|
---|
3412 | SetFS(sel);
|
---|
3413 |
|
---|
3414 | return yyrc;
|
---|
3415 | }
|
---|
3416 |
|
---|
3417 | inline BOOL O32_DrawMenuBar(HWND a)
|
---|
3418 | {
|
---|
3419 | BOOL yyrc;
|
---|
3420 | USHORT sel = RestoreOS2FS();
|
---|
3421 |
|
---|
3422 | yyrc = _O32_DrawMenuBar(a);
|
---|
3423 | SetFS(sel);
|
---|
3424 |
|
---|
3425 | return yyrc;
|
---|
3426 | }
|
---|
3427 |
|
---|
3428 | inline int O32_DrawText(HDC a, LPCSTR b, int c, PRECT d, UINT e)
|
---|
3429 | {
|
---|
3430 | int yyrc;
|
---|
3431 | USHORT sel = RestoreOS2FS();
|
---|
3432 |
|
---|
3433 | yyrc = _O32_DrawText(a, b, c, d, e);
|
---|
3434 | SetFS(sel);
|
---|
3435 |
|
---|
3436 | return yyrc;
|
---|
3437 | }
|
---|
3438 |
|
---|
3439 | inline BOOL O32_DuplicateHandle(HANDLE a, HANDLE b, HANDLE c, LPHANDLE d, DWORD e, BOOL f, DWORD g)
|
---|
3440 | {
|
---|
3441 | BOOL yyrc;
|
---|
3442 | USHORT sel = RestoreOS2FS();
|
---|
3443 |
|
---|
3444 | yyrc = _O32_DuplicateHandle(a, b, c, d, e, f, g);
|
---|
3445 | SetFS(sel);
|
---|
3446 |
|
---|
3447 | return yyrc;
|
---|
3448 | }
|
---|
3449 |
|
---|
3450 | inline BOOL O32_Ellipse(HDC a, int b, int c, int d, int e)
|
---|
3451 | {
|
---|
3452 | BOOL yyrc;
|
---|
3453 | USHORT sel = RestoreOS2FS();
|
---|
3454 |
|
---|
3455 | yyrc = _O32_Ellipse(a, b, c, d, e);
|
---|
3456 | SetFS(sel);
|
---|
3457 |
|
---|
3458 | return yyrc;
|
---|
3459 | }
|
---|
3460 |
|
---|
3461 | inline BOOL O32_EmptyClipboard()
|
---|
3462 | {
|
---|
3463 | BOOL yyrc;
|
---|
3464 | USHORT sel = RestoreOS2FS();
|
---|
3465 |
|
---|
3466 | yyrc = _O32_EmptyClipboard();
|
---|
3467 | SetFS(sel);
|
---|
3468 |
|
---|
3469 | return yyrc;
|
---|
3470 | }
|
---|
3471 |
|
---|
3472 | inline BOOL O32_EnableMenuItem(HMENU a, UINT b, UINT c)
|
---|
3473 | {
|
---|
3474 | BOOL yyrc;
|
---|
3475 | USHORT sel = RestoreOS2FS();
|
---|
3476 |
|
---|
3477 | yyrc = _O32_EnableMenuItem(a, b, c);
|
---|
3478 | SetFS(sel);
|
---|
3479 |
|
---|
3480 | return yyrc;
|
---|
3481 | }
|
---|
3482 |
|
---|
3483 | inline BOOL O32_EnableScrollBar(HWND a, UINT b, UINT c)
|
---|
3484 | {
|
---|
3485 | BOOL yyrc;
|
---|
3486 | USHORT sel = RestoreOS2FS();
|
---|
3487 |
|
---|
3488 | yyrc = _O32_EnableScrollBar(a, b, c);
|
---|
3489 | SetFS(sel);
|
---|
3490 |
|
---|
3491 | return yyrc;
|
---|
3492 | }
|
---|
3493 |
|
---|
3494 | inline BOOL O32_EnableWindow(HWND a, BOOL b)
|
---|
3495 | {
|
---|
3496 | BOOL yyrc;
|
---|
3497 | USHORT sel = RestoreOS2FS();
|
---|
3498 |
|
---|
3499 | yyrc = _O32_EnableWindow(a, b);
|
---|
3500 | SetFS(sel);
|
---|
3501 |
|
---|
3502 | return yyrc;
|
---|
3503 | }
|
---|
3504 |
|
---|
3505 | inline BOOL O32_EndDeferWindowPos(HDWP a)
|
---|
3506 | {
|
---|
3507 | BOOL yyrc;
|
---|
3508 | USHORT sel = RestoreOS2FS();
|
---|
3509 |
|
---|
3510 | yyrc = _O32_EndDeferWindowPos(a);
|
---|
3511 | SetFS(sel);
|
---|
3512 |
|
---|
3513 | return yyrc;
|
---|
3514 | }
|
---|
3515 |
|
---|
3516 | inline BOOL O32_EndDialog(HWND a, int b)
|
---|
3517 | {
|
---|
3518 | BOOL yyrc;
|
---|
3519 | USHORT sel = RestoreOS2FS();
|
---|
3520 |
|
---|
3521 | yyrc = _O32_EndDialog(a, b);
|
---|
3522 | SetFS(sel);
|
---|
3523 |
|
---|
3524 | return yyrc;
|
---|
3525 | }
|
---|
3526 |
|
---|
3527 | inline int O32_EndDoc(HDC a)
|
---|
3528 | {
|
---|
3529 | int yyrc;
|
---|
3530 | USHORT sel = RestoreOS2FS();
|
---|
3531 |
|
---|
3532 | yyrc = _O32_EndDoc(a);
|
---|
3533 | SetFS(sel);
|
---|
3534 |
|
---|
3535 | return yyrc;
|
---|
3536 | }
|
---|
3537 |
|
---|
3538 | inline int O32_EndPage(HDC a)
|
---|
3539 | {
|
---|
3540 | int yyrc;
|
---|
3541 | USHORT sel = RestoreOS2FS();
|
---|
3542 |
|
---|
3543 | yyrc = _O32_EndPage(a);
|
---|
3544 | SetFS(sel);
|
---|
3545 |
|
---|
3546 | return yyrc;
|
---|
3547 | }
|
---|
3548 |
|
---|
3549 | inline BOOL O32_EndPath(HDC a)
|
---|
3550 | {
|
---|
3551 | BOOL yyrc;
|
---|
3552 | USHORT sel = RestoreOS2FS();
|
---|
3553 |
|
---|
3554 | yyrc = _O32_EndPath(a);
|
---|
3555 | SetFS(sel);
|
---|
3556 |
|
---|
3557 | return yyrc;
|
---|
3558 | }
|
---|
3559 |
|
---|
3560 | inline BOOL O32_EndPaint(HWND a, CONST PAINTSTRUCT *b)
|
---|
3561 | {
|
---|
3562 | BOOL yyrc;
|
---|
3563 | USHORT sel = RestoreOS2FS();
|
---|
3564 |
|
---|
3565 | yyrc = _O32_EndPaint(a, b);
|
---|
3566 | SetFS(sel);
|
---|
3567 |
|
---|
3568 | return yyrc;
|
---|
3569 | }
|
---|
3570 |
|
---|
3571 | inline VOID O32_EnterCriticalSection(CRITICAL_SECTION *a)
|
---|
3572 | {
|
---|
3573 | USHORT sel = RestoreOS2FS();
|
---|
3574 |
|
---|
3575 | _O32_EnterCriticalSection(a);
|
---|
3576 | SetFS(sel);
|
---|
3577 | }
|
---|
3578 |
|
---|
3579 | inline BOOL O32_EnumChildWindows(HWND a, WNDENUMPROC_O32 b, LPARAM c)
|
---|
3580 | {
|
---|
3581 | BOOL yyrc;
|
---|
3582 | USHORT sel = RestoreOS2FS();
|
---|
3583 |
|
---|
3584 | yyrc = _O32_EnumChildWindows(a, b, c);
|
---|
3585 | SetFS(sel);
|
---|
3586 |
|
---|
3587 | return yyrc;
|
---|
3588 | }
|
---|
3589 |
|
---|
3590 | inline UINT O32_EnumClipboardFormats(UINT a)
|
---|
3591 | {
|
---|
3592 | UINT yyrc;
|
---|
3593 | USHORT sel = RestoreOS2FS();
|
---|
3594 |
|
---|
3595 | yyrc = _O32_EnumClipboardFormats(a);
|
---|
3596 | SetFS(sel);
|
---|
3597 |
|
---|
3598 | return yyrc;
|
---|
3599 | }
|
---|
3600 |
|
---|
3601 | inline BOOL O32_EnumEnhMetaFile(HDC a, HENHMETAFILE b, ENHMFENUMPROC_O32 c, PVOID d, CONST RECT *e)
|
---|
3602 | {
|
---|
3603 | BOOL yyrc;
|
---|
3604 | USHORT sel = RestoreOS2FS();
|
---|
3605 |
|
---|
3606 | yyrc = _O32_EnumEnhMetaFile(a, b, c, d, e);
|
---|
3607 | SetFS(sel);
|
---|
3608 |
|
---|
3609 | return yyrc;
|
---|
3610 | }
|
---|
3611 |
|
---|
3612 | inline int O32_EnumFonts(HDC a, LPCSTR b, OLDFONTENUMPROC_O32 c, LPARAM d)
|
---|
3613 | {
|
---|
3614 | int yyrc;
|
---|
3615 | USHORT sel = RestoreOS2FS();
|
---|
3616 |
|
---|
3617 | yyrc = _O32_EnumFonts(a, b, c, d);
|
---|
3618 | SetFS(sel);
|
---|
3619 |
|
---|
3620 | return yyrc;
|
---|
3621 | }
|
---|
3622 |
|
---|
3623 | inline int O32_EnumFontFamilies(HDC a, LPCSTR b, FONTENUMPROC_O32 c, LPARAM d)
|
---|
3624 | {
|
---|
3625 | int yyrc;
|
---|
3626 | USHORT sel = RestoreOS2FS();
|
---|
3627 |
|
---|
3628 | yyrc = _O32_EnumFontFamilies(a, b, c, d);
|
---|
3629 | SetFS(sel);
|
---|
3630 |
|
---|
3631 | return yyrc;
|
---|
3632 | }
|
---|
3633 |
|
---|
3634 | inline BOOL O32_EnumMetaFile(HDC a, HMETAFILE b, MFENUMPROC_O32 c, LPARAM d)
|
---|
3635 | {
|
---|
3636 | BOOL yyrc;
|
---|
3637 | USHORT sel = RestoreOS2FS();
|
---|
3638 |
|
---|
3639 | yyrc = _O32_EnumMetaFile(a, b, c, d);
|
---|
3640 | SetFS(sel);
|
---|
3641 |
|
---|
3642 | return yyrc;
|
---|
3643 | }
|
---|
3644 |
|
---|
3645 | inline int O32_EnumObjects(HDC a, int b, GOBJENUMPROC_O32 c, LPARAM d)
|
---|
3646 | {
|
---|
3647 | int yyrc;
|
---|
3648 | USHORT sel = RestoreOS2FS();
|
---|
3649 |
|
---|
3650 | yyrc = _O32_EnumObjects(a, b, c, d);
|
---|
3651 | SetFS(sel);
|
---|
3652 |
|
---|
3653 | return yyrc;
|
---|
3654 | }
|
---|
3655 |
|
---|
3656 | inline BOOL O32_EnumPrinters(DWORD a, LPTSTR b, DWORD c, LPBYTE d, DWORD e, LPDWORD f, LPDWORD g)
|
---|
3657 | {
|
---|
3658 | BOOL yyrc;
|
---|
3659 | USHORT sel = RestoreOS2FS();
|
---|
3660 |
|
---|
3661 | yyrc = _O32_EnumPrinters(a, b, c, d, e, f, g);
|
---|
3662 | SetFS(sel);
|
---|
3663 |
|
---|
3664 | return yyrc;
|
---|
3665 | }
|
---|
3666 |
|
---|
3667 | inline int O32_EnumProps(HWND a, PROPENUMPROC_O32 b)
|
---|
3668 | {
|
---|
3669 | int yyrc;
|
---|
3670 | USHORT sel = RestoreOS2FS();
|
---|
3671 |
|
---|
3672 | yyrc = _O32_EnumProps(a, b);
|
---|
3673 | SetFS(sel);
|
---|
3674 |
|
---|
3675 | return yyrc;
|
---|
3676 | }
|
---|
3677 |
|
---|
3678 | inline int O32_EnumPropsEx(HWND a, PROPENUMPROCEX_O32 b, LPARAM c)
|
---|
3679 | {
|
---|
3680 | int yyrc;
|
---|
3681 | USHORT sel = RestoreOS2FS();
|
---|
3682 |
|
---|
3683 | yyrc = _O32_EnumPropsEx(a, b, c);
|
---|
3684 | SetFS(sel);
|
---|
3685 |
|
---|
3686 | return yyrc;
|
---|
3687 | }
|
---|
3688 |
|
---|
3689 | inline BOOL O32_EnumThreadWindows(DWORD a, WNDENUMPROC_O32 b, LPARAM c)
|
---|
3690 | {
|
---|
3691 | BOOL yyrc;
|
---|
3692 | USHORT sel = RestoreOS2FS();
|
---|
3693 |
|
---|
3694 | yyrc = _O32_EnumThreadWindows(a, b, c);
|
---|
3695 | SetFS(sel);
|
---|
3696 |
|
---|
3697 | return yyrc;
|
---|
3698 | }
|
---|
3699 |
|
---|
3700 | inline BOOL O32_EnumWindows(WNDENUMPROC_O32 a, LPARAM b)
|
---|
3701 | {
|
---|
3702 | BOOL yyrc;
|
---|
3703 | USHORT sel = RestoreOS2FS();
|
---|
3704 |
|
---|
3705 | yyrc = _O32_EnumWindows(a, b);
|
---|
3706 | SetFS(sel);
|
---|
3707 |
|
---|
3708 | return yyrc;
|
---|
3709 | }
|
---|
3710 |
|
---|
3711 | inline BOOL O32_EqualRect(CONST RECT *a, CONST RECT *b)
|
---|
3712 | {
|
---|
3713 | BOOL yyrc;
|
---|
3714 | USHORT sel = RestoreOS2FS();
|
---|
3715 |
|
---|
3716 | yyrc = _O32_EqualRect(a, b);
|
---|
3717 | SetFS(sel);
|
---|
3718 |
|
---|
3719 | return yyrc;
|
---|
3720 | }
|
---|
3721 |
|
---|
3722 | inline BOOL O32_EqualRgn(HRGN a, HRGN b)
|
---|
3723 | {
|
---|
3724 | BOOL yyrc;
|
---|
3725 | USHORT sel = RestoreOS2FS();
|
---|
3726 |
|
---|
3727 | yyrc = _O32_EqualRgn(a, b);
|
---|
3728 | SetFS(sel);
|
---|
3729 |
|
---|
3730 | return yyrc;
|
---|
3731 | }
|
---|
3732 |
|
---|
3733 | inline int O32_Escape(HDC a, int b, int c, LPCSTR d, PVOID e)
|
---|
3734 | {
|
---|
3735 | int yyrc;
|
---|
3736 | USHORT sel = RestoreOS2FS();
|
---|
3737 |
|
---|
3738 | yyrc = _O32_Escape(a, b, c, d, e);
|
---|
3739 | SetFS(sel);
|
---|
3740 |
|
---|
3741 | return yyrc;
|
---|
3742 | }
|
---|
3743 |
|
---|
3744 | inline int O32_ExcludeClipRect(HDC a, int b, int c, int d, int e)
|
---|
3745 | {
|
---|
3746 | int yyrc;
|
---|
3747 | USHORT sel = RestoreOS2FS();
|
---|
3748 |
|
---|
3749 | yyrc = _O32_ExcludeClipRect(a, b, c, d, e);
|
---|
3750 | SetFS(sel);
|
---|
3751 |
|
---|
3752 | return yyrc;
|
---|
3753 | }
|
---|
3754 |
|
---|
3755 | inline BOOL O32_ExcludeUpdateRgn(HDC a, HWND b)
|
---|
3756 | {
|
---|
3757 | BOOL yyrc;
|
---|
3758 | USHORT sel = RestoreOS2FS();
|
---|
3759 |
|
---|
3760 | yyrc = _O32_ExcludeUpdateRgn(a, b);
|
---|
3761 | SetFS(sel);
|
---|
3762 |
|
---|
3763 | return yyrc;
|
---|
3764 | }
|
---|
3765 |
|
---|
3766 | inline VOID O32_ExitProcess(UINT a)
|
---|
3767 | {
|
---|
3768 | USHORT sel = RestoreOS2FS();
|
---|
3769 |
|
---|
3770 | _O32_ExitProcess(a);
|
---|
3771 | SetFS(sel);
|
---|
3772 | }
|
---|
3773 |
|
---|
3774 | inline VOID O32_ExitThread(DWORD a)
|
---|
3775 | {
|
---|
3776 | USHORT sel = RestoreOS2FS();
|
---|
3777 |
|
---|
3778 | _O32_ExitThread(a);
|
---|
3779 | SetFS(sel);
|
---|
3780 | }
|
---|
3781 |
|
---|
3782 | inline BOOL O32_ExitWindows(DWORD a, UINT b)
|
---|
3783 | {
|
---|
3784 | BOOL yyrc;
|
---|
3785 | USHORT sel = RestoreOS2FS();
|
---|
3786 |
|
---|
3787 | yyrc = _O32_ExitWindows(a, b);
|
---|
3788 | SetFS(sel);
|
---|
3789 |
|
---|
3790 | return yyrc;
|
---|
3791 | }
|
---|
3792 |
|
---|
3793 | inline BOOL O32_ExitWindowsEx(UINT a, DWORD b)
|
---|
3794 | {
|
---|
3795 | BOOL yyrc;
|
---|
3796 | USHORT sel = RestoreOS2FS();
|
---|
3797 |
|
---|
3798 | yyrc = _O32_ExitWindowsEx(a, b);
|
---|
3799 | SetFS(sel);
|
---|
3800 |
|
---|
3801 | return yyrc;
|
---|
3802 | }
|
---|
3803 |
|
---|
3804 | inline HPEN O32_ExtCreatePen(DWORD a, DWORD b, CONST LOGBRUSH *c, DWORD d, CONST DWORD *e)
|
---|
3805 | {
|
---|
3806 | HPEN yyrc;
|
---|
3807 | USHORT sel = RestoreOS2FS();
|
---|
3808 |
|
---|
3809 | yyrc = _O32_ExtCreatePen(a, b, c, d, e);
|
---|
3810 | SetFS(sel);
|
---|
3811 |
|
---|
3812 | return yyrc;
|
---|
3813 | }
|
---|
3814 |
|
---|
3815 | inline HRGN O32_ExtCreateRegion(CONST XFORM *a, DWORD b, CONST RGNDATA *c)
|
---|
3816 | {
|
---|
3817 | HRGN yyrc;
|
---|
3818 | USHORT sel = RestoreOS2FS();
|
---|
3819 |
|
---|
3820 | yyrc = _O32_ExtCreateRegion(a, b, c);
|
---|
3821 | SetFS(sel);
|
---|
3822 |
|
---|
3823 | return yyrc;
|
---|
3824 | }
|
---|
3825 |
|
---|
3826 | inline BOOL O32_ExtFloodFill(HDC a, int b, int c, COLORREF d, UINT e)
|
---|
3827 | {
|
---|
3828 | BOOL yyrc;
|
---|
3829 | USHORT sel = RestoreOS2FS();
|
---|
3830 |
|
---|
3831 | yyrc = _O32_ExtFloodFill(a, b, c, d, e);
|
---|
3832 | SetFS(sel);
|
---|
3833 |
|
---|
3834 | return yyrc;
|
---|
3835 | }
|
---|
3836 |
|
---|
3837 | inline int O32_ExtSelectClipRgn(HDC a, HRGN b, int c)
|
---|
3838 | {
|
---|
3839 | int yyrc;
|
---|
3840 | USHORT sel = RestoreOS2FS();
|
---|
3841 |
|
---|
3842 | yyrc = _O32_ExtSelectClipRgn(a, b, c);
|
---|
3843 | SetFS(sel);
|
---|
3844 |
|
---|
3845 | return yyrc;
|
---|
3846 | }
|
---|
3847 |
|
---|
3848 | inline BOOL O32_ExtTextOut(HDC a, int b, int c, UINT d, CONST RECT *e, LPCSTR f, UINT g, CONST int *h)
|
---|
3849 | {
|
---|
3850 | BOOL yyrc;
|
---|
3851 | USHORT sel = RestoreOS2FS();
|
---|
3852 |
|
---|
3853 | yyrc = _O32_ExtTextOut(a, b, c, d, e, f, g, h);
|
---|
3854 | SetFS(sel);
|
---|
3855 |
|
---|
3856 | return yyrc;
|
---|
3857 | }
|
---|
3858 |
|
---|
3859 | inline VOID O32_FatalAppExit(UINT a, LPCSTR b)
|
---|
3860 | {
|
---|
3861 | USHORT sel = RestoreOS2FS();
|
---|
3862 |
|
---|
3863 | _O32_FatalAppExit(a, b);
|
---|
3864 | SetFS(sel);
|
---|
3865 | }
|
---|
3866 |
|
---|
3867 | inline VOID O32_FatalExit(UINT a)
|
---|
3868 | {
|
---|
3869 | USHORT sel = RestoreOS2FS();
|
---|
3870 |
|
---|
3871 | _O32_FatalExit(a);
|
---|
3872 | SetFS(sel);
|
---|
3873 | }
|
---|
3874 |
|
---|
3875 | inline BOOL O32_FileTimeToDosDateTime(CONST FILETIME *a, LPWORD b, LPWORD c)
|
---|
3876 | {
|
---|
3877 | BOOL yyrc;
|
---|
3878 | USHORT sel = RestoreOS2FS();
|
---|
3879 |
|
---|
3880 | yyrc = _O32_FileTimeToDosDateTime(a, b, c);
|
---|
3881 | SetFS(sel);
|
---|
3882 |
|
---|
3883 | return yyrc;
|
---|
3884 | }
|
---|
3885 |
|
---|
3886 | inline BOOL O32_FileTimeToLocalFileTime(CONST FILETIME *a, FILETIME *b)
|
---|
3887 | {
|
---|
3888 | BOOL yyrc;
|
---|
3889 | USHORT sel = RestoreOS2FS();
|
---|
3890 |
|
---|
3891 | yyrc = _O32_FileTimeToLocalFileTime(a, b);
|
---|
3892 | SetFS(sel);
|
---|
3893 |
|
---|
3894 | return yyrc;
|
---|
3895 | }
|
---|
3896 |
|
---|
3897 | inline BOOL O32_FileTimeToSystemTime(CONST FILETIME *a, LPSYSTEMTIME b)
|
---|
3898 | {
|
---|
3899 | BOOL yyrc;
|
---|
3900 | USHORT sel = RestoreOS2FS();
|
---|
3901 |
|
---|
3902 | yyrc = _O32_FileTimeToSystemTime(a, b);
|
---|
3903 | SetFS(sel);
|
---|
3904 |
|
---|
3905 | return yyrc;
|
---|
3906 | }
|
---|
3907 |
|
---|
3908 | inline BOOL O32_FillPath(HDC a)
|
---|
3909 | {
|
---|
3910 | BOOL yyrc;
|
---|
3911 | USHORT sel = RestoreOS2FS();
|
---|
3912 |
|
---|
3913 | yyrc = _O32_FillPath(a);
|
---|
3914 | SetFS(sel);
|
---|
3915 |
|
---|
3916 | return yyrc;
|
---|
3917 | }
|
---|
3918 |
|
---|
3919 | inline int O32_FillRect(HDC a, CONST RECT *b, HBRUSH c)
|
---|
3920 | {
|
---|
3921 | int yyrc;
|
---|
3922 | USHORT sel = RestoreOS2FS();
|
---|
3923 |
|
---|
3924 | yyrc = _O32_FillRect(a, b, c);
|
---|
3925 | SetFS(sel);
|
---|
3926 |
|
---|
3927 | return yyrc;
|
---|
3928 | }
|
---|
3929 |
|
---|
3930 | inline BOOL O32_FillRgn(HDC a, HRGN b, HBRUSH c)
|
---|
3931 | {
|
---|
3932 | BOOL yyrc;
|
---|
3933 | USHORT sel = RestoreOS2FS();
|
---|
3934 |
|
---|
3935 | yyrc = _O32_FillRgn(a, b, c);
|
---|
3936 | SetFS(sel);
|
---|
3937 |
|
---|
3938 | return yyrc;
|
---|
3939 | }
|
---|
3940 |
|
---|
3941 | inline ATOM O32_FindAtom(LPCSTR a)
|
---|
3942 | {
|
---|
3943 | ATOM yyrc;
|
---|
3944 | USHORT sel = RestoreOS2FS();
|
---|
3945 |
|
---|
3946 | yyrc = _O32_FindAtom(a);
|
---|
3947 | SetFS(sel);
|
---|
3948 |
|
---|
3949 | return yyrc;
|
---|
3950 | }
|
---|
3951 |
|
---|
3952 | inline BOOL O32_FindClose(HANDLE a)
|
---|
3953 | {
|
---|
3954 | BOOL yyrc;
|
---|
3955 | USHORT sel = RestoreOS2FS();
|
---|
3956 |
|
---|
3957 | yyrc = _O32_FindClose(a);
|
---|
3958 | SetFS(sel);
|
---|
3959 |
|
---|
3960 | return yyrc;
|
---|
3961 | }
|
---|
3962 |
|
---|
3963 | inline HANDLE O32_FindFirstFile(LPCSTR a, LPWIN32_FIND_DATAA b)
|
---|
3964 | {
|
---|
3965 | HANDLE yyrc;
|
---|
3966 | USHORT sel = RestoreOS2FS();
|
---|
3967 |
|
---|
3968 | yyrc = _O32_FindFirstFile(a, b);
|
---|
3969 | SetFS(sel);
|
---|
3970 |
|
---|
3971 | return yyrc;
|
---|
3972 | }
|
---|
3973 |
|
---|
3974 | inline BOOL O32_FindNextFile(HANDLE a, LPWIN32_FIND_DATAA b)
|
---|
3975 | {
|
---|
3976 | BOOL yyrc;
|
---|
3977 | USHORT sel = RestoreOS2FS();
|
---|
3978 |
|
---|
3979 | yyrc = _O32_FindNextFile(a, b);
|
---|
3980 | SetFS(sel);
|
---|
3981 |
|
---|
3982 | return yyrc;
|
---|
3983 | }
|
---|
3984 |
|
---|
3985 | inline HRSRC O32_FindResource(HINSTANCE a, LPCSTR b, LPCSTR c)
|
---|
3986 | {
|
---|
3987 | HRSRC yyrc;
|
---|
3988 | USHORT sel = RestoreOS2FS();
|
---|
3989 |
|
---|
3990 | yyrc = _O32_FindResource(a, b, c);
|
---|
3991 | SetFS(sel);
|
---|
3992 |
|
---|
3993 | return yyrc;
|
---|
3994 | }
|
---|
3995 |
|
---|
3996 | inline HWND O32_FindText(LPFINDREPLACEA a)
|
---|
3997 | {
|
---|
3998 | HWND yyrc;
|
---|
3999 | USHORT sel = RestoreOS2FS();
|
---|
4000 |
|
---|
4001 | yyrc = _O32_FindText(a);
|
---|
4002 | SetFS(sel);
|
---|
4003 |
|
---|
4004 | return yyrc;
|
---|
4005 | }
|
---|
4006 |
|
---|
4007 | inline HWND O32_FindWindow(LPCSTR a, LPCSTR b)
|
---|
4008 | {
|
---|
4009 | HWND yyrc;
|
---|
4010 | USHORT sel = RestoreOS2FS();
|
---|
4011 |
|
---|
4012 | yyrc = _O32_FindWindow(a, b);
|
---|
4013 | SetFS(sel);
|
---|
4014 |
|
---|
4015 | return yyrc;
|
---|
4016 | }
|
---|
4017 |
|
---|
4018 | inline BOOL O32_FlashWindow(HWND a, BOOL b)
|
---|
4019 | {
|
---|
4020 | BOOL yyrc;
|
---|
4021 | USHORT sel = RestoreOS2FS();
|
---|
4022 |
|
---|
4023 | yyrc = _O32_FlashWindow(a, b);
|
---|
4024 | SetFS(sel);
|
---|
4025 |
|
---|
4026 | return yyrc;
|
---|
4027 | }
|
---|
4028 |
|
---|
4029 | inline BOOL O32_FlattenPath(HDC a)
|
---|
4030 | {
|
---|
4031 | BOOL yyrc;
|
---|
4032 | USHORT sel = RestoreOS2FS();
|
---|
4033 |
|
---|
4034 | yyrc = _O32_FlattenPath(a);
|
---|
4035 | SetFS(sel);
|
---|
4036 |
|
---|
4037 | return yyrc;
|
---|
4038 | }
|
---|
4039 |
|
---|
4040 | inline BOOL O32_FlushFileBuffers(HANDLE a)
|
---|
4041 | {
|
---|
4042 | BOOL yyrc;
|
---|
4043 | USHORT sel = RestoreOS2FS();
|
---|
4044 |
|
---|
4045 | yyrc = _O32_FlushFileBuffers(a);
|
---|
4046 | SetFS(sel);
|
---|
4047 |
|
---|
4048 | return yyrc;
|
---|
4049 | }
|
---|
4050 |
|
---|
4051 | inline int O32_FrameRect(HDC a, CONST RECT *b, HBRUSH c)
|
---|
4052 | {
|
---|
4053 | int yyrc;
|
---|
4054 | USHORT sel = RestoreOS2FS();
|
---|
4055 |
|
---|
4056 | yyrc = _O32_FrameRect(a, b, c);
|
---|
4057 | SetFS(sel);
|
---|
4058 |
|
---|
4059 | return yyrc;
|
---|
4060 | }
|
---|
4061 |
|
---|
4062 | inline BOOL O32_FrameRgn(HDC a, HRGN b, HBRUSH c, int d, int e)
|
---|
4063 | {
|
---|
4064 | BOOL yyrc;
|
---|
4065 | USHORT sel = RestoreOS2FS();
|
---|
4066 |
|
---|
4067 | yyrc = _O32_FrameRgn(a, b, c, d, e);
|
---|
4068 | SetFS(sel);
|
---|
4069 |
|
---|
4070 | return yyrc;
|
---|
4071 | }
|
---|
4072 |
|
---|
4073 | inline BOOL O32_FreeDDElParam(UINT a, LONG b)
|
---|
4074 | {
|
---|
4075 | BOOL yyrc;
|
---|
4076 | USHORT sel = RestoreOS2FS();
|
---|
4077 |
|
---|
4078 | yyrc = _O32_FreeDDElParam(a, b);
|
---|
4079 | SetFS(sel);
|
---|
4080 |
|
---|
4081 | return yyrc;
|
---|
4082 | }
|
---|
4083 |
|
---|
4084 | inline BOOL O32_FreeLibrary(HINSTANCE a)
|
---|
4085 | {
|
---|
4086 | BOOL yyrc;
|
---|
4087 | USHORT sel = RestoreOS2FS();
|
---|
4088 |
|
---|
4089 | yyrc = _O32_FreeLibrary(a);
|
---|
4090 | SetFS(sel);
|
---|
4091 |
|
---|
4092 | return yyrc;
|
---|
4093 | }
|
---|
4094 |
|
---|
4095 | inline UINT O32_GetACP()
|
---|
4096 | {
|
---|
4097 | UINT yyrc;
|
---|
4098 | USHORT sel = RestoreOS2FS();
|
---|
4099 |
|
---|
4100 | yyrc = _O32_GetACP();
|
---|
4101 | SetFS(sel);
|
---|
4102 |
|
---|
4103 | return yyrc;
|
---|
4104 | }
|
---|
4105 |
|
---|
4106 | inline HWND O32_GetActiveWindow()
|
---|
4107 | {
|
---|
4108 | HWND yyrc;
|
---|
4109 | USHORT sel = RestoreOS2FS();
|
---|
4110 |
|
---|
4111 | yyrc = _O32_GetActiveWindow();
|
---|
4112 | SetFS(sel);
|
---|
4113 |
|
---|
4114 | return yyrc;
|
---|
4115 | }
|
---|
4116 |
|
---|
4117 | inline int O32_GetArcDirection(HDC a)
|
---|
4118 | {
|
---|
4119 | int yyrc;
|
---|
4120 | USHORT sel = RestoreOS2FS();
|
---|
4121 |
|
---|
4122 | yyrc = _O32_GetArcDirection(a);
|
---|
4123 | SetFS(sel);
|
---|
4124 |
|
---|
4125 | return yyrc;
|
---|
4126 | }
|
---|
4127 |
|
---|
4128 | inline BOOL O32_GetAspectRatioFilterEx(HDC a, PSIZE b)
|
---|
4129 | {
|
---|
4130 | BOOL yyrc;
|
---|
4131 | USHORT sel = RestoreOS2FS();
|
---|
4132 |
|
---|
4133 | yyrc = _O32_GetAspectRatioFilterEx(a, b);
|
---|
4134 | SetFS(sel);
|
---|
4135 |
|
---|
4136 | return yyrc;
|
---|
4137 | }
|
---|
4138 |
|
---|
4139 | inline UINT O32_GetAtomName(ATOM a, LPSTR b, int c)
|
---|
4140 | {
|
---|
4141 | UINT yyrc;
|
---|
4142 | USHORT sel = RestoreOS2FS();
|
---|
4143 |
|
---|
4144 | yyrc = _O32_GetAtomName(a, b, c);
|
---|
4145 | SetFS(sel);
|
---|
4146 |
|
---|
4147 | return yyrc;
|
---|
4148 | }
|
---|
4149 |
|
---|
4150 | inline LONG O32_GetBitmapBits(HBITMAP a, LONG b, PVOID c)
|
---|
4151 | {
|
---|
4152 | LONG yyrc;
|
---|
4153 | USHORT sel = RestoreOS2FS();
|
---|
4154 |
|
---|
4155 | yyrc = _O32_GetBitmapBits(a, b, c);
|
---|
4156 | SetFS(sel);
|
---|
4157 |
|
---|
4158 | return yyrc;
|
---|
4159 | }
|
---|
4160 |
|
---|
4161 | inline BOOL O32_GetBitmapDimensionEx(HBITMAP a, PSIZE b)
|
---|
4162 | {
|
---|
4163 | BOOL yyrc;
|
---|
4164 | USHORT sel = RestoreOS2FS();
|
---|
4165 |
|
---|
4166 | yyrc = _O32_GetBitmapDimensionEx(a, b);
|
---|
4167 | SetFS(sel);
|
---|
4168 |
|
---|
4169 | return yyrc;
|
---|
4170 | }
|
---|
4171 |
|
---|
4172 | inline COLORREF O32_GetBkColor(HDC a)
|
---|
4173 | {
|
---|
4174 | COLORREF yyrc;
|
---|
4175 | USHORT sel = RestoreOS2FS();
|
---|
4176 |
|
---|
4177 | yyrc = _O32_GetBkColor(a);
|
---|
4178 | SetFS(sel);
|
---|
4179 |
|
---|
4180 | return yyrc;
|
---|
4181 | }
|
---|
4182 |
|
---|
4183 | inline int O32_GetBkMode(HDC a)
|
---|
4184 | {
|
---|
4185 | int yyrc;
|
---|
4186 | USHORT sel = RestoreOS2FS();
|
---|
4187 |
|
---|
4188 | yyrc = _O32_GetBkMode(a);
|
---|
4189 | SetFS(sel);
|
---|
4190 |
|
---|
4191 | return yyrc;
|
---|
4192 | }
|
---|
4193 |
|
---|
4194 | inline UINT O32_GetBoundsRect(HDC a, PRECT b, UINT c)
|
---|
4195 | {
|
---|
4196 | UINT yyrc;
|
---|
4197 | USHORT sel = RestoreOS2FS();
|
---|
4198 |
|
---|
4199 | yyrc = _O32_GetBoundsRect(a, b, c);
|
---|
4200 | SetFS(sel);
|
---|
4201 |
|
---|
4202 | return yyrc;
|
---|
4203 | }
|
---|
4204 |
|
---|
4205 | inline BOOL O32_GetBrushOrgEx(HDC a, PPOINT b)
|
---|
4206 | {
|
---|
4207 | BOOL yyrc;
|
---|
4208 | USHORT sel = RestoreOS2FS();
|
---|
4209 |
|
---|
4210 | yyrc = _O32_GetBrushOrgEx(a, b);
|
---|
4211 | SetFS(sel);
|
---|
4212 |
|
---|
4213 | return yyrc;
|
---|
4214 | }
|
---|
4215 |
|
---|
4216 | inline HWND O32_GetCapture()
|
---|
4217 | {
|
---|
4218 | HWND yyrc;
|
---|
4219 | USHORT sel = RestoreOS2FS();
|
---|
4220 |
|
---|
4221 | yyrc = _O32_GetCapture();
|
---|
4222 | SetFS(sel);
|
---|
4223 |
|
---|
4224 | return yyrc;
|
---|
4225 | }
|
---|
4226 |
|
---|
4227 | inline UINT O32_GetCaretBlinkTime()
|
---|
4228 | {
|
---|
4229 | UINT yyrc;
|
---|
4230 | USHORT sel = RestoreOS2FS();
|
---|
4231 |
|
---|
4232 | yyrc = _O32_GetCaretBlinkTime();
|
---|
4233 | SetFS(sel);
|
---|
4234 |
|
---|
4235 | return yyrc;
|
---|
4236 | }
|
---|
4237 |
|
---|
4238 | inline BOOL O32_GetCaretPos(PPOINT a)
|
---|
4239 | {
|
---|
4240 | BOOL yyrc;
|
---|
4241 | USHORT sel = RestoreOS2FS();
|
---|
4242 |
|
---|
4243 | yyrc = _O32_GetCaretPos(a);
|
---|
4244 | SetFS(sel);
|
---|
4245 |
|
---|
4246 | return yyrc;
|
---|
4247 | }
|
---|
4248 |
|
---|
4249 | inline BOOL O32_GetCharABCWidths(HDC a, UINT b, UINT c, LPABC d)
|
---|
4250 | {
|
---|
4251 | BOOL yyrc;
|
---|
4252 | USHORT sel = RestoreOS2FS();
|
---|
4253 |
|
---|
4254 | yyrc = _O32_GetCharABCWidths(a, b, c, d);
|
---|
4255 | SetFS(sel);
|
---|
4256 |
|
---|
4257 | return yyrc;
|
---|
4258 | }
|
---|
4259 |
|
---|
4260 | inline BOOL O32_GetCharWidth(HDC a, UINT b, UINT c, PINT d)
|
---|
4261 | {
|
---|
4262 | BOOL yyrc;
|
---|
4263 | USHORT sel = RestoreOS2FS();
|
---|
4264 |
|
---|
4265 | yyrc = _O32_GetCharWidth(a, b, c, d);
|
---|
4266 | SetFS(sel);
|
---|
4267 |
|
---|
4268 | return yyrc;
|
---|
4269 | }
|
---|
4270 |
|
---|
4271 | inline BOOL O32_GetClassInfo(HINSTANCE a, LPCSTR b, WNDCLASSA *c)
|
---|
4272 | {
|
---|
4273 | BOOL yyrc;
|
---|
4274 | USHORT sel = RestoreOS2FS();
|
---|
4275 |
|
---|
4276 | yyrc = _O32_GetClassInfo(a, b, c);
|
---|
4277 | SetFS(sel);
|
---|
4278 |
|
---|
4279 | return yyrc;
|
---|
4280 | }
|
---|
4281 |
|
---|
4282 | inline DWORD O32_GetClassLong(HWND a, int b)
|
---|
4283 | {
|
---|
4284 | DWORD yyrc;
|
---|
4285 | USHORT sel = RestoreOS2FS();
|
---|
4286 |
|
---|
4287 | yyrc = _O32_GetClassLong(a, b);
|
---|
4288 | SetFS(sel);
|
---|
4289 |
|
---|
4290 | return yyrc;
|
---|
4291 | }
|
---|
4292 |
|
---|
4293 | inline int O32_GetClassName(HWND a, LPSTR b, int c)
|
---|
4294 | {
|
---|
4295 | int yyrc;
|
---|
4296 | USHORT sel = RestoreOS2FS();
|
---|
4297 |
|
---|
4298 | yyrc = _O32_GetClassName(a, b, c);
|
---|
4299 | SetFS(sel);
|
---|
4300 |
|
---|
4301 | return yyrc;
|
---|
4302 | }
|
---|
4303 |
|
---|
4304 | inline WORD O32_GetClassWord(HWND a, int b)
|
---|
4305 | {
|
---|
4306 | WORD yyrc;
|
---|
4307 | USHORT sel = RestoreOS2FS();
|
---|
4308 |
|
---|
4309 | yyrc = _O32_GetClassWord(a, b);
|
---|
4310 | SetFS(sel);
|
---|
4311 |
|
---|
4312 | return yyrc;
|
---|
4313 | }
|
---|
4314 |
|
---|
4315 | inline BOOL O32_GetClientRect(HWND a, PRECT b)
|
---|
4316 | {
|
---|
4317 | BOOL yyrc;
|
---|
4318 | USHORT sel = RestoreOS2FS();
|
---|
4319 |
|
---|
4320 | yyrc = _O32_GetClientRect(a, b);
|
---|
4321 | SetFS(sel);
|
---|
4322 |
|
---|
4323 | return yyrc;
|
---|
4324 | }
|
---|
4325 |
|
---|
4326 | inline HANDLE O32_GetClipboardData(UINT a)
|
---|
4327 | {
|
---|
4328 | HANDLE yyrc;
|
---|
4329 | USHORT sel = RestoreOS2FS();
|
---|
4330 |
|
---|
4331 | yyrc = _O32_GetClipboardData(a);
|
---|
4332 | SetFS(sel);
|
---|
4333 |
|
---|
4334 | return yyrc;
|
---|
4335 | }
|
---|
4336 |
|
---|
4337 | inline int O32_GetClipboardFormatName(UINT a, LPSTR b, int c)
|
---|
4338 | {
|
---|
4339 | int yyrc;
|
---|
4340 | USHORT sel = RestoreOS2FS();
|
---|
4341 |
|
---|
4342 | yyrc = _O32_GetClipboardFormatName(a, b, c);
|
---|
4343 | SetFS(sel);
|
---|
4344 |
|
---|
4345 | return yyrc;
|
---|
4346 | }
|
---|
4347 |
|
---|
4348 | inline HWND O32_GetClipboardOwner()
|
---|
4349 | {
|
---|
4350 | HWND yyrc;
|
---|
4351 | USHORT sel = RestoreOS2FS();
|
---|
4352 |
|
---|
4353 | yyrc = _O32_GetClipboardOwner();
|
---|
4354 | SetFS(sel);
|
---|
4355 |
|
---|
4356 | return yyrc;
|
---|
4357 | }
|
---|
4358 |
|
---|
4359 | inline HWND O32_GetClipboardViewer()
|
---|
4360 | {
|
---|
4361 | HWND yyrc;
|
---|
4362 | USHORT sel = RestoreOS2FS();
|
---|
4363 |
|
---|
4364 | yyrc = _O32_GetClipboardViewer();
|
---|
4365 | SetFS(sel);
|
---|
4366 |
|
---|
4367 | return yyrc;
|
---|
4368 | }
|
---|
4369 |
|
---|
4370 | inline int O32_GetClipBox(HDC a, PRECT b)
|
---|
4371 | {
|
---|
4372 | int yyrc;
|
---|
4373 | USHORT sel = RestoreOS2FS();
|
---|
4374 |
|
---|
4375 | yyrc = _O32_GetClipBox(a, b);
|
---|
4376 | SetFS(sel);
|
---|
4377 |
|
---|
4378 | return yyrc;
|
---|
4379 | }
|
---|
4380 |
|
---|
4381 | inline BOOL O32_GetClipCursor(PRECT a)
|
---|
4382 | {
|
---|
4383 | BOOL yyrc;
|
---|
4384 | USHORT sel = RestoreOS2FS();
|
---|
4385 |
|
---|
4386 | yyrc = _O32_GetClipCursor(a);
|
---|
4387 | SetFS(sel);
|
---|
4388 |
|
---|
4389 | return yyrc;
|
---|
4390 | }
|
---|
4391 |
|
---|
4392 | inline int O32_GetClipRgn(HDC a, HRGN b)
|
---|
4393 | {
|
---|
4394 | int yyrc;
|
---|
4395 | USHORT sel = RestoreOS2FS();
|
---|
4396 |
|
---|
4397 | yyrc = _O32_GetClipRgn(a, b);
|
---|
4398 | SetFS(sel);
|
---|
4399 |
|
---|
4400 | return yyrc;
|
---|
4401 | }
|
---|
4402 |
|
---|
4403 | inline LPSTR O32_GetCommandLine()
|
---|
4404 | {
|
---|
4405 | LPSTR yyrc;
|
---|
4406 | USHORT sel = RestoreOS2FS();
|
---|
4407 |
|
---|
4408 | yyrc = _O32_GetCommandLine();
|
---|
4409 | SetFS(sel);
|
---|
4410 |
|
---|
4411 | return yyrc;
|
---|
4412 | }
|
---|
4413 |
|
---|
4414 | inline int O32_GetCurrentDirectory(DWORD a, LPSTR b)
|
---|
4415 | {
|
---|
4416 | int yyrc;
|
---|
4417 | USHORT sel = RestoreOS2FS();
|
---|
4418 |
|
---|
4419 | yyrc = _O32_GetCurrentDirectory(a, b);
|
---|
4420 | SetFS(sel);
|
---|
4421 |
|
---|
4422 | return yyrc;
|
---|
4423 | }
|
---|
4424 |
|
---|
4425 | inline HGDIOBJ O32_GetCurrentObject(HDC a, DWORD b)
|
---|
4426 | {
|
---|
4427 | HGDIOBJ yyrc;
|
---|
4428 | USHORT sel = RestoreOS2FS();
|
---|
4429 |
|
---|
4430 | yyrc = _O32_GetCurrentObject(a, b);
|
---|
4431 | SetFS(sel);
|
---|
4432 |
|
---|
4433 | return yyrc;
|
---|
4434 | }
|
---|
4435 |
|
---|
4436 | inline BOOL O32_GetCurrentPositionEx(HDC a, PPOINT b)
|
---|
4437 | {
|
---|
4438 | BOOL yyrc;
|
---|
4439 | USHORT sel = RestoreOS2FS();
|
---|
4440 |
|
---|
4441 | yyrc = _O32_GetCurrentPositionEx(a, b);
|
---|
4442 | SetFS(sel);
|
---|
4443 |
|
---|
4444 | return yyrc;
|
---|
4445 | }
|
---|
4446 |
|
---|
4447 | inline HANDLE O32_GetCurrentProcess()
|
---|
4448 | {
|
---|
4449 | HANDLE yyrc;
|
---|
4450 | USHORT sel = RestoreOS2FS();
|
---|
4451 |
|
---|
4452 | yyrc = _O32_GetCurrentProcess();
|
---|
4453 | SetFS(sel);
|
---|
4454 |
|
---|
4455 | return yyrc;
|
---|
4456 | }
|
---|
4457 |
|
---|
4458 | inline DWORD O32_GetCurrentProcessId()
|
---|
4459 | {
|
---|
4460 | DWORD yyrc;
|
---|
4461 | USHORT sel = RestoreOS2FS();
|
---|
4462 |
|
---|
4463 | yyrc = _O32_GetCurrentProcessId();
|
---|
4464 | SetFS(sel);
|
---|
4465 |
|
---|
4466 | return yyrc;
|
---|
4467 | }
|
---|
4468 |
|
---|
4469 | inline HANDLE O32_GetCurrentThread()
|
---|
4470 | {
|
---|
4471 | HANDLE yyrc;
|
---|
4472 | USHORT sel = RestoreOS2FS();
|
---|
4473 |
|
---|
4474 | yyrc = _O32_GetCurrentThread();
|
---|
4475 | SetFS(sel);
|
---|
4476 |
|
---|
4477 | return yyrc;
|
---|
4478 | }
|
---|
4479 |
|
---|
4480 | inline DWORD O32_GetCurrentThreadId()
|
---|
4481 | {
|
---|
4482 | DWORD yyrc;
|
---|
4483 | USHORT sel = RestoreOS2FS();
|
---|
4484 |
|
---|
4485 | yyrc = _O32_GetCurrentThreadId();
|
---|
4486 | SetFS(sel);
|
---|
4487 |
|
---|
4488 | return yyrc;
|
---|
4489 | }
|
---|
4490 |
|
---|
4491 | inline DWORD O32_GetCurrentTime()
|
---|
4492 | {
|
---|
4493 | DWORD yyrc;
|
---|
4494 | USHORT sel = RestoreOS2FS();
|
---|
4495 |
|
---|
4496 | yyrc = _O32_GetCurrentTime();
|
---|
4497 | SetFS(sel);
|
---|
4498 |
|
---|
4499 | return yyrc;
|
---|
4500 | }
|
---|
4501 |
|
---|
4502 | inline HCURSOR O32_GetCursor()
|
---|
4503 | {
|
---|
4504 | HCURSOR yyrc;
|
---|
4505 | USHORT sel = RestoreOS2FS();
|
---|
4506 |
|
---|
4507 | yyrc = _O32_GetCursor();
|
---|
4508 | SetFS(sel);
|
---|
4509 |
|
---|
4510 | return yyrc;
|
---|
4511 | }
|
---|
4512 |
|
---|
4513 | inline BOOL O32_GetCursorPos(PPOINT a)
|
---|
4514 | {
|
---|
4515 | BOOL yyrc;
|
---|
4516 | USHORT sel = RestoreOS2FS();
|
---|
4517 |
|
---|
4518 | yyrc = _O32_GetCursorPos(a);
|
---|
4519 | SetFS(sel);
|
---|
4520 |
|
---|
4521 | return yyrc;
|
---|
4522 | }
|
---|
4523 |
|
---|
4524 | inline HDC O32_GetDC(HWND a)
|
---|
4525 | {
|
---|
4526 | HDC yyrc;
|
---|
4527 | USHORT sel = RestoreOS2FS();
|
---|
4528 |
|
---|
4529 | yyrc = _O32_GetDC(a);
|
---|
4530 | SetFS(sel);
|
---|
4531 |
|
---|
4532 | return yyrc;
|
---|
4533 | }
|
---|
4534 |
|
---|
4535 | inline HDC O32_GetDCEx(HWND a, HRGN b, DWORD c)
|
---|
4536 | {
|
---|
4537 | HDC yyrc;
|
---|
4538 | USHORT sel = RestoreOS2FS();
|
---|
4539 |
|
---|
4540 | yyrc = _O32_GetDCEx(a, b, c);
|
---|
4541 | SetFS(sel);
|
---|
4542 |
|
---|
4543 | return yyrc;
|
---|
4544 | }
|
---|
4545 |
|
---|
4546 | inline BOOL O32_GetDCOrgEx(HDC a, PPOINT b)
|
---|
4547 | {
|
---|
4548 | BOOL yyrc;
|
---|
4549 | USHORT sel = RestoreOS2FS();
|
---|
4550 |
|
---|
4551 | yyrc = _O32_GetDCOrgEx(a, b);
|
---|
4552 | SetFS(sel);
|
---|
4553 |
|
---|
4554 | return yyrc;
|
---|
4555 | }
|
---|
4556 |
|
---|
4557 | inline int O32_GetDIBits(HDC a, HBITMAP b, UINT c, UINT d, void *e, PBITMAPINFO f, UINT g)
|
---|
4558 | {
|
---|
4559 | int yyrc;
|
---|
4560 | USHORT sel = RestoreOS2FS();
|
---|
4561 |
|
---|
4562 | yyrc = _O32_GetDIBits(a, b, c, d, e, f, g);
|
---|
4563 | SetFS(sel);
|
---|
4564 |
|
---|
4565 | return yyrc;
|
---|
4566 | }
|
---|
4567 |
|
---|
4568 | inline int O32_GetDeviceCaps(HDC a, int b)
|
---|
4569 | {
|
---|
4570 | int yyrc;
|
---|
4571 | USHORT sel = RestoreOS2FS();
|
---|
4572 |
|
---|
4573 | yyrc = _O32_GetDeviceCaps(a, b);
|
---|
4574 | SetFS(sel);
|
---|
4575 |
|
---|
4576 | return yyrc;
|
---|
4577 | }
|
---|
4578 |
|
---|
4579 | inline LONG O32_GetDialogBaseUnits()
|
---|
4580 | {
|
---|
4581 | LONG yyrc;
|
---|
4582 | USHORT sel = RestoreOS2FS();
|
---|
4583 |
|
---|
4584 | yyrc = _O32_GetDialogBaseUnits();
|
---|
4585 | SetFS(sel);
|
---|
4586 |
|
---|
4587 | return yyrc;
|
---|
4588 | }
|
---|
4589 |
|
---|
4590 | inline BOOL O32_GetDiskFreeSpace(LPCSTR a, PDWORD b, PDWORD c, PDWORD d, PDWORD e)
|
---|
4591 | {
|
---|
4592 | BOOL yyrc;
|
---|
4593 | USHORT sel = RestoreOS2FS();
|
---|
4594 |
|
---|
4595 | yyrc = _O32_GetDiskFreeSpace(a, b, c, d, e);
|
---|
4596 | SetFS(sel);
|
---|
4597 |
|
---|
4598 | return yyrc;
|
---|
4599 | }
|
---|
4600 |
|
---|
4601 | inline int O32_GetDlgCtrlID(HWND a)
|
---|
4602 | {
|
---|
4603 | int yyrc;
|
---|
4604 | USHORT sel = RestoreOS2FS();
|
---|
4605 |
|
---|
4606 | yyrc = _O32_GetDlgCtrlID(a);
|
---|
4607 | SetFS(sel);
|
---|
4608 |
|
---|
4609 | return yyrc;
|
---|
4610 | }
|
---|
4611 |
|
---|
4612 | inline HWND O32_GetDlgItem(HWND a, int b)
|
---|
4613 | {
|
---|
4614 | HWND yyrc;
|
---|
4615 | USHORT sel = RestoreOS2FS();
|
---|
4616 |
|
---|
4617 | yyrc = _O32_GetDlgItem(a, b);
|
---|
4618 | SetFS(sel);
|
---|
4619 |
|
---|
4620 | return yyrc;
|
---|
4621 | }
|
---|
4622 |
|
---|
4623 | inline UINT O32_GetDlgItemInt(HWND a, int b, PBOOL c, BOOL d)
|
---|
4624 | {
|
---|
4625 | UINT yyrc;
|
---|
4626 | USHORT sel = RestoreOS2FS();
|
---|
4627 |
|
---|
4628 | yyrc = _O32_GetDlgItemInt(a, b, c, d);
|
---|
4629 | SetFS(sel);
|
---|
4630 |
|
---|
4631 | return yyrc;
|
---|
4632 | }
|
---|
4633 |
|
---|
4634 | inline UINT O32_GetDlgItemText(HWND a, int b, LPSTR c, int d)
|
---|
4635 | {
|
---|
4636 | UINT yyrc;
|
---|
4637 | USHORT sel = RestoreOS2FS();
|
---|
4638 |
|
---|
4639 | yyrc = _O32_GetDlgItemText(a, b, c, d);
|
---|
4640 | SetFS(sel);
|
---|
4641 |
|
---|
4642 | return yyrc;
|
---|
4643 | }
|
---|
4644 |
|
---|
4645 | inline UINT O32_GetDoubleClickTime()
|
---|
4646 | {
|
---|
4647 | UINT yyrc;
|
---|
4648 | USHORT sel = RestoreOS2FS();
|
---|
4649 |
|
---|
4650 | yyrc = _O32_GetDoubleClickTime();
|
---|
4651 | SetFS(sel);
|
---|
4652 |
|
---|
4653 | return yyrc;
|
---|
4654 | }
|
---|
4655 |
|
---|
4656 | inline UINT O32_GetDriveType(LPCSTR a)
|
---|
4657 | {
|
---|
4658 | UINT yyrc;
|
---|
4659 | USHORT sel = RestoreOS2FS();
|
---|
4660 |
|
---|
4661 | yyrc = _O32_GetDriveType(a);
|
---|
4662 | SetFS(sel);
|
---|
4663 |
|
---|
4664 | return yyrc;
|
---|
4665 | }
|
---|
4666 |
|
---|
4667 | inline HENHMETAFILE O32_GetEnhMetaFile(LPCSTR a)
|
---|
4668 | {
|
---|
4669 | HENHMETAFILE yyrc;
|
---|
4670 | USHORT sel = RestoreOS2FS();
|
---|
4671 |
|
---|
4672 | yyrc = _O32_GetEnhMetaFile(a);
|
---|
4673 | SetFS(sel);
|
---|
4674 |
|
---|
4675 | return yyrc;
|
---|
4676 | }
|
---|
4677 |
|
---|
4678 | inline UINT O32_GetEnhMetaFileBits(HENHMETAFILE a, UINT b, PBYTE c)
|
---|
4679 | {
|
---|
4680 | UINT yyrc;
|
---|
4681 | USHORT sel = RestoreOS2FS();
|
---|
4682 |
|
---|
4683 | yyrc = _O32_GetEnhMetaFileBits(a, b, c);
|
---|
4684 | SetFS(sel);
|
---|
4685 |
|
---|
4686 | return yyrc;
|
---|
4687 | }
|
---|
4688 |
|
---|
4689 | inline UINT O32_GetEnhMetaFileHeader(HENHMETAFILE a, UINT b, LPENHMETAHEADER c)
|
---|
4690 | {
|
---|
4691 | UINT yyrc;
|
---|
4692 | USHORT sel = RestoreOS2FS();
|
---|
4693 |
|
---|
4694 | yyrc = _O32_GetEnhMetaFileHeader(a, b, c);
|
---|
4695 | SetFS(sel);
|
---|
4696 |
|
---|
4697 | return yyrc;
|
---|
4698 | }
|
---|
4699 |
|
---|
4700 | inline UINT O32_GetEnhMetaFilePaletteEntries(HENHMETAFILE a, UINT b, LPPALETTEENTRY c)
|
---|
4701 | {
|
---|
4702 | UINT yyrc;
|
---|
4703 | USHORT sel = RestoreOS2FS();
|
---|
4704 |
|
---|
4705 | yyrc = _O32_GetEnhMetaFilePaletteEntries(a, b, c);
|
---|
4706 | SetFS(sel);
|
---|
4707 |
|
---|
4708 | return yyrc;
|
---|
4709 | }
|
---|
4710 |
|
---|
4711 | inline PVOID O32_GetEnvironmentStrings()
|
---|
4712 | {
|
---|
4713 | PVOID yyrc;
|
---|
4714 | USHORT sel = RestoreOS2FS();
|
---|
4715 |
|
---|
4716 | yyrc = _O32_GetEnvironmentStrings();
|
---|
4717 | SetFS(sel);
|
---|
4718 |
|
---|
4719 | return yyrc;
|
---|
4720 | }
|
---|
4721 |
|
---|
4722 | inline DWORD O32_GetEnvironmentVariable(LPCSTR a, LPSTR b, DWORD c)
|
---|
4723 | {
|
---|
4724 | DWORD yyrc;
|
---|
4725 | USHORT sel = RestoreOS2FS();
|
---|
4726 |
|
---|
4727 | yyrc = _O32_GetEnvironmentVariable(a, b, c);
|
---|
4728 | SetFS(sel);
|
---|
4729 |
|
---|
4730 | return yyrc;
|
---|
4731 | }
|
---|
4732 |
|
---|
4733 | inline BOOL O32_GetExitCodeProcess(HANDLE a, LPDWORD b)
|
---|
4734 | {
|
---|
4735 | BOOL yyrc;
|
---|
4736 | USHORT sel = RestoreOS2FS();
|
---|
4737 |
|
---|
4738 | yyrc = _O32_GetExitCodeProcess(a, b);
|
---|
4739 | SetFS(sel);
|
---|
4740 |
|
---|
4741 | return yyrc;
|
---|
4742 | }
|
---|
4743 |
|
---|
4744 | inline BOOL O32_GetExitCodeThread(HANDLE a, LPDWORD b)
|
---|
4745 | {
|
---|
4746 | BOOL yyrc;
|
---|
4747 | USHORT sel = RestoreOS2FS();
|
---|
4748 |
|
---|
4749 | yyrc = _O32_GetExitCodeThread(a, b);
|
---|
4750 | SetFS(sel);
|
---|
4751 |
|
---|
4752 | return yyrc;
|
---|
4753 | }
|
---|
4754 |
|
---|
4755 | inline DWORD O32_GetFileAttributes(LPSTR a)
|
---|
4756 | {
|
---|
4757 | DWORD yyrc;
|
---|
4758 | USHORT sel = RestoreOS2FS();
|
---|
4759 |
|
---|
4760 | yyrc = _O32_GetFileAttributes(a);
|
---|
4761 | SetFS(sel);
|
---|
4762 |
|
---|
4763 | return yyrc;
|
---|
4764 | }
|
---|
4765 |
|
---|
4766 | inline DWORD O32_GetFileInformationByHandle(HANDLE a, BY_HANDLE_FILE_INFORMATION *b)
|
---|
4767 | {
|
---|
4768 | DWORD yyrc;
|
---|
4769 | USHORT sel = RestoreOS2FS();
|
---|
4770 |
|
---|
4771 | yyrc = _O32_GetFileInformationByHandle(a, b);
|
---|
4772 | SetFS(sel);
|
---|
4773 |
|
---|
4774 | return yyrc;
|
---|
4775 | }
|
---|
4776 |
|
---|
4777 | inline DWORD O32_GetFileSize(HANDLE a, PDWORD b)
|
---|
4778 | {
|
---|
4779 | DWORD yyrc;
|
---|
4780 | USHORT sel = RestoreOS2FS();
|
---|
4781 |
|
---|
4782 | yyrc = _O32_GetFileSize(a, b);
|
---|
4783 | SetFS(sel);
|
---|
4784 |
|
---|
4785 | return yyrc;
|
---|
4786 | }
|
---|
4787 |
|
---|
4788 | inline BOOL O32_GetFileTime(HANDLE a, FILETIME *b, FILETIME *c, FILETIME *d)
|
---|
4789 | {
|
---|
4790 | BOOL yyrc;
|
---|
4791 | USHORT sel = RestoreOS2FS();
|
---|
4792 |
|
---|
4793 | yyrc = _O32_GetFileTime(a, b, c, d);
|
---|
4794 | SetFS(sel);
|
---|
4795 |
|
---|
4796 | return yyrc;
|
---|
4797 | }
|
---|
4798 |
|
---|
4799 | inline short O32_GetFileTitle(LPCSTR a, LPSTR b, WORD c)
|
---|
4800 | {
|
---|
4801 | short yyrc;
|
---|
4802 | USHORT sel = RestoreOS2FS();
|
---|
4803 |
|
---|
4804 | yyrc = _O32_GetFileTitle(a, b, c);
|
---|
4805 | SetFS(sel);
|
---|
4806 |
|
---|
4807 | return yyrc;
|
---|
4808 | }
|
---|
4809 |
|
---|
4810 | inline DWORD O32_GetFileType(HANDLE a)
|
---|
4811 | {
|
---|
4812 | DWORD yyrc;
|
---|
4813 | USHORT sel = RestoreOS2FS();
|
---|
4814 |
|
---|
4815 | yyrc = _O32_GetFileType(a);
|
---|
4816 | SetFS(sel);
|
---|
4817 |
|
---|
4818 | return yyrc;
|
---|
4819 | }
|
---|
4820 |
|
---|
4821 | inline HWND O32_GetFocus()
|
---|
4822 | {
|
---|
4823 | HWND yyrc;
|
---|
4824 | USHORT sel = RestoreOS2FS();
|
---|
4825 |
|
---|
4826 | yyrc = _O32_GetFocus();
|
---|
4827 | SetFS(sel);
|
---|
4828 |
|
---|
4829 | return yyrc;
|
---|
4830 | }
|
---|
4831 |
|
---|
4832 | inline HWND O32_GetForegroundWindow()
|
---|
4833 | {
|
---|
4834 | HWND yyrc;
|
---|
4835 | USHORT sel = RestoreOS2FS();
|
---|
4836 |
|
---|
4837 | yyrc = _O32_GetForegroundWindow();
|
---|
4838 | SetFS(sel);
|
---|
4839 |
|
---|
4840 | return yyrc;
|
---|
4841 | }
|
---|
4842 |
|
---|
4843 | inline DWORD O32_GetFullPathName(LPCSTR a, DWORD b, LPSTR c, LPSTR *d)
|
---|
4844 | {
|
---|
4845 | DWORD yyrc;
|
---|
4846 | USHORT sel = RestoreOS2FS();
|
---|
4847 |
|
---|
4848 | yyrc = _O32_GetFullPathName(a, b, c, d);
|
---|
4849 | SetFS(sel);
|
---|
4850 |
|
---|
4851 | return yyrc;
|
---|
4852 | }
|
---|
4853 |
|
---|
4854 | inline int O32_GetGraphicsMode(HDC a)
|
---|
4855 | {
|
---|
4856 | int yyrc;
|
---|
4857 | USHORT sel = RestoreOS2FS();
|
---|
4858 |
|
---|
4859 | yyrc = _O32_GetGraphicsMode(a);
|
---|
4860 | SetFS(sel);
|
---|
4861 |
|
---|
4862 | return yyrc;
|
---|
4863 | }
|
---|
4864 |
|
---|
4865 | inline BOOL O32_GetIconInfo(HICON a, LPICONINFO b)
|
---|
4866 | {
|
---|
4867 | BOOL yyrc;
|
---|
4868 | USHORT sel = RestoreOS2FS();
|
---|
4869 |
|
---|
4870 | yyrc = _O32_GetIconInfo(a, b);
|
---|
4871 | SetFS(sel);
|
---|
4872 |
|
---|
4873 | return yyrc;
|
---|
4874 | }
|
---|
4875 |
|
---|
4876 | inline DWORD O32_GetKerningPairs(HDC a, DWORD b, LPKERNINGPAIR c)
|
---|
4877 | {
|
---|
4878 | DWORD yyrc;
|
---|
4879 | USHORT sel = RestoreOS2FS();
|
---|
4880 |
|
---|
4881 | yyrc = _O32_GetKerningPairs(a, b, c);
|
---|
4882 | SetFS(sel);
|
---|
4883 |
|
---|
4884 | return yyrc;
|
---|
4885 | }
|
---|
4886 |
|
---|
4887 | inline int O32_GetKeyboardType(int a)
|
---|
4888 | {
|
---|
4889 | int yyrc;
|
---|
4890 | USHORT sel = RestoreOS2FS();
|
---|
4891 |
|
---|
4892 | yyrc = _O32_GetKeyboardType(a);
|
---|
4893 | SetFS(sel);
|
---|
4894 |
|
---|
4895 | return yyrc;
|
---|
4896 | }
|
---|
4897 |
|
---|
4898 | inline int O32_GetKeyNameText(LPARAM a, LPSTR b, int c)
|
---|
4899 | {
|
---|
4900 | int yyrc;
|
---|
4901 | USHORT sel = RestoreOS2FS();
|
---|
4902 |
|
---|
4903 | yyrc = _O32_GetKeyNameText(a, b, c);
|
---|
4904 | SetFS(sel);
|
---|
4905 |
|
---|
4906 | return yyrc;
|
---|
4907 | }
|
---|
4908 |
|
---|
4909 | inline SHORT O32_GetKeyState(int a)
|
---|
4910 | {
|
---|
4911 | SHORT yyrc;
|
---|
4912 | USHORT sel = RestoreOS2FS();
|
---|
4913 |
|
---|
4914 | yyrc = _O32_GetKeyState(a);
|
---|
4915 | SetFS(sel);
|
---|
4916 |
|
---|
4917 | return yyrc;
|
---|
4918 | }
|
---|
4919 |
|
---|
4920 | inline HWND O32_GetLastActivePopup(HWND a)
|
---|
4921 | {
|
---|
4922 | HWND yyrc;
|
---|
4923 | USHORT sel = RestoreOS2FS();
|
---|
4924 |
|
---|
4925 | yyrc = _O32_GetLastActivePopup(a);
|
---|
4926 | SetFS(sel);
|
---|
4927 |
|
---|
4928 | return yyrc;
|
---|
4929 | }
|
---|
4930 |
|
---|
4931 | inline DWORD O32_GetLastError()
|
---|
4932 | {
|
---|
4933 | DWORD yyrc;
|
---|
4934 | USHORT sel = RestoreOS2FS();
|
---|
4935 |
|
---|
4936 | yyrc = _O32_GetLastError();
|
---|
4937 | SetFS(sel);
|
---|
4938 |
|
---|
4939 | return yyrc;
|
---|
4940 | }
|
---|
4941 |
|
---|
4942 | inline VOID O32_GetLocalTime(LPSYSTEMTIME a)
|
---|
4943 | {
|
---|
4944 | USHORT sel = RestoreOS2FS();
|
---|
4945 |
|
---|
4946 | _O32_GetLocalTime(a);
|
---|
4947 | SetFS(sel);
|
---|
4948 | }
|
---|
4949 |
|
---|
4950 | inline DWORD O32_GetLogicalDriveStrings(DWORD a, LPSTR b)
|
---|
4951 | {
|
---|
4952 | DWORD yyrc;
|
---|
4953 | USHORT sel = RestoreOS2FS();
|
---|
4954 |
|
---|
4955 | yyrc = _O32_GetLogicalDriveStrings(a, b);
|
---|
4956 | SetFS(sel);
|
---|
4957 |
|
---|
4958 | return yyrc;
|
---|
4959 | }
|
---|
4960 |
|
---|
4961 | inline DWORD O32_GetLogicalDrives()
|
---|
4962 | {
|
---|
4963 | DWORD yyrc;
|
---|
4964 | USHORT sel = RestoreOS2FS();
|
---|
4965 |
|
---|
4966 | yyrc = _O32_GetLogicalDrives();
|
---|
4967 | SetFS(sel);
|
---|
4968 |
|
---|
4969 | return yyrc;
|
---|
4970 | }
|
---|
4971 |
|
---|
4972 | inline int O32_GetMapMode(HDC a)
|
---|
4973 | {
|
---|
4974 | int yyrc;
|
---|
4975 | USHORT sel = RestoreOS2FS();
|
---|
4976 |
|
---|
4977 | yyrc = _O32_GetMapMode(a);
|
---|
4978 | SetFS(sel);
|
---|
4979 |
|
---|
4980 | return yyrc;
|
---|
4981 | }
|
---|
4982 |
|
---|
4983 | inline HMENU O32_GetMenu(HWND a)
|
---|
4984 | {
|
---|
4985 | HMENU yyrc;
|
---|
4986 | USHORT sel = RestoreOS2FS();
|
---|
4987 |
|
---|
4988 | yyrc = _O32_GetMenu(a);
|
---|
4989 | SetFS(sel);
|
---|
4990 |
|
---|
4991 | return yyrc;
|
---|
4992 | }
|
---|
4993 |
|
---|
4994 | inline LONG O32_GetMenuCheckMarkDimensions()
|
---|
4995 | {
|
---|
4996 | LONG yyrc;
|
---|
4997 | USHORT sel = RestoreOS2FS();
|
---|
4998 |
|
---|
4999 | yyrc = _O32_GetMenuCheckMarkDimensions();
|
---|
5000 | SetFS(sel);
|
---|
5001 |
|
---|
5002 | return yyrc;
|
---|
5003 | }
|
---|
5004 |
|
---|
5005 | inline int O32_GetMenuItemCount(HMENU a)
|
---|
5006 | {
|
---|
5007 | int yyrc;
|
---|
5008 | USHORT sel = RestoreOS2FS();
|
---|
5009 |
|
---|
5010 | yyrc = _O32_GetMenuItemCount(a);
|
---|
5011 | SetFS(sel);
|
---|
5012 |
|
---|
5013 | return yyrc;
|
---|
5014 | }
|
---|
5015 |
|
---|
5016 | inline UINT O32_GetMenuItemID(HMENU a, int b)
|
---|
5017 | {
|
---|
5018 | UINT yyrc;
|
---|
5019 | USHORT sel = RestoreOS2FS();
|
---|
5020 |
|
---|
5021 | yyrc = _O32_GetMenuItemID(a, b);
|
---|
5022 | SetFS(sel);
|
---|
5023 |
|
---|
5024 | return yyrc;
|
---|
5025 | }
|
---|
5026 |
|
---|
5027 | inline UINT O32_GetMenuState(HMENU a, UINT b, UINT c)
|
---|
5028 | {
|
---|
5029 | UINT yyrc;
|
---|
5030 | USHORT sel = RestoreOS2FS();
|
---|
5031 |
|
---|
5032 | yyrc = _O32_GetMenuState(a, b, c);
|
---|
5033 | SetFS(sel);
|
---|
5034 |
|
---|
5035 | return yyrc;
|
---|
5036 | }
|
---|
5037 |
|
---|
5038 | inline int O32_GetMenuString(HMENU a, UINT b, LPSTR c, int d, UINT e)
|
---|
5039 | {
|
---|
5040 | int yyrc;
|
---|
5041 | USHORT sel = RestoreOS2FS();
|
---|
5042 |
|
---|
5043 | yyrc = _O32_GetMenuString(a, b, c, d, e);
|
---|
5044 | SetFS(sel);
|
---|
5045 |
|
---|
5046 | return yyrc;
|
---|
5047 | }
|
---|
5048 |
|
---|
5049 | inline BOOL O32_GetMessage(LPMSG a, HWND b, UINT c, UINT d)
|
---|
5050 | {
|
---|
5051 | BOOL yyrc;
|
---|
5052 | USHORT sel = RestoreOS2FS();
|
---|
5053 |
|
---|
5054 | yyrc = _O32_GetMessage(a, b, c, d);
|
---|
5055 | SetFS(sel);
|
---|
5056 |
|
---|
5057 | return yyrc;
|
---|
5058 | }
|
---|
5059 |
|
---|
5060 | inline LONG O32_GetMessageExtraInfo()
|
---|
5061 | {
|
---|
5062 | LONG yyrc;
|
---|
5063 | USHORT sel = RestoreOS2FS();
|
---|
5064 |
|
---|
5065 | yyrc = _O32_GetMessageExtraInfo();
|
---|
5066 | SetFS(sel);
|
---|
5067 |
|
---|
5068 | return yyrc;
|
---|
5069 | }
|
---|
5070 |
|
---|
5071 | inline DWORD O32_GetMessagePos()
|
---|
5072 | {
|
---|
5073 | DWORD yyrc;
|
---|
5074 | USHORT sel = RestoreOS2FS();
|
---|
5075 |
|
---|
5076 | yyrc = _O32_GetMessagePos();
|
---|
5077 | SetFS(sel);
|
---|
5078 |
|
---|
5079 | return yyrc;
|
---|
5080 | }
|
---|
5081 |
|
---|
5082 | inline LONG O32_GetMessageTime()
|
---|
5083 | {
|
---|
5084 | LONG yyrc;
|
---|
5085 | USHORT sel = RestoreOS2FS();
|
---|
5086 |
|
---|
5087 | yyrc = _O32_GetMessageTime();
|
---|
5088 | SetFS(sel);
|
---|
5089 |
|
---|
5090 | return yyrc;
|
---|
5091 | }
|
---|
5092 |
|
---|
5093 | inline HMETAFILE O32_GetMetaFile(LPCSTR a)
|
---|
5094 | {
|
---|
5095 | HMETAFILE yyrc;
|
---|
5096 | USHORT sel = RestoreOS2FS();
|
---|
5097 |
|
---|
5098 | yyrc = _O32_GetMetaFile(a);
|
---|
5099 | SetFS(sel);
|
---|
5100 |
|
---|
5101 | return yyrc;
|
---|
5102 | }
|
---|
5103 |
|
---|
5104 | inline UINT O32_GetMetaFileBitsEx(HMETAFILE a, UINT b, LPVOID c)
|
---|
5105 | {
|
---|
5106 | UINT yyrc;
|
---|
5107 | USHORT sel = RestoreOS2FS();
|
---|
5108 |
|
---|
5109 | yyrc = _O32_GetMetaFileBitsEx(a, b, c);
|
---|
5110 | SetFS(sel);
|
---|
5111 |
|
---|
5112 | return yyrc;
|
---|
5113 | }
|
---|
5114 |
|
---|
5115 | inline BOOL O32_GetMiterLimit(HDC a, float *b)
|
---|
5116 | {
|
---|
5117 | BOOL yyrc;
|
---|
5118 | USHORT sel = RestoreOS2FS();
|
---|
5119 |
|
---|
5120 | yyrc = _O32_GetMiterLimit(a, b);
|
---|
5121 | SetFS(sel);
|
---|
5122 |
|
---|
5123 | return yyrc;
|
---|
5124 | }
|
---|
5125 |
|
---|
5126 | inline DWORD O32_GetModuleFileName(HINSTANCE a, LPSTR b, DWORD c)
|
---|
5127 | {
|
---|
5128 | DWORD yyrc;
|
---|
5129 | USHORT sel = RestoreOS2FS();
|
---|
5130 |
|
---|
5131 | yyrc = _O32_GetModuleFileName(a, b, c);
|
---|
5132 | SetFS(sel);
|
---|
5133 |
|
---|
5134 | return yyrc;
|
---|
5135 | }
|
---|
5136 |
|
---|
5137 | inline HMODULE O32_GetModuleHandle(LPCSTR a)
|
---|
5138 | {
|
---|
5139 | HMODULE yyrc;
|
---|
5140 | USHORT sel = RestoreOS2FS();
|
---|
5141 |
|
---|
5142 | yyrc = _O32_GetModuleHandle(a);
|
---|
5143 | SetFS(sel);
|
---|
5144 |
|
---|
5145 | return yyrc;
|
---|
5146 | }
|
---|
5147 |
|
---|
5148 | inline COLORREF O32_GetNearestColor(HDC a, COLORREF b)
|
---|
5149 | {
|
---|
5150 | COLORREF yyrc;
|
---|
5151 | USHORT sel = RestoreOS2FS();
|
---|
5152 |
|
---|
5153 | yyrc = _O32_GetNearestColor(a, b);
|
---|
5154 | SetFS(sel);
|
---|
5155 |
|
---|
5156 | return yyrc;
|
---|
5157 | }
|
---|
5158 |
|
---|
5159 | inline UINT O32_GetNearestPaletteIndex(HPALETTE a, COLORREF b)
|
---|
5160 | {
|
---|
5161 | UINT yyrc;
|
---|
5162 | USHORT sel = RestoreOS2FS();
|
---|
5163 |
|
---|
5164 | yyrc = _O32_GetNearestPaletteIndex(a, b);
|
---|
5165 | SetFS(sel);
|
---|
5166 |
|
---|
5167 | return yyrc;
|
---|
5168 | }
|
---|
5169 |
|
---|
5170 | inline HWND O32_GetNextDlgGroupItem(HWND a, HWND b, BOOL c)
|
---|
5171 | {
|
---|
5172 | HWND yyrc;
|
---|
5173 | USHORT sel = RestoreOS2FS();
|
---|
5174 |
|
---|
5175 | yyrc = _O32_GetNextDlgGroupItem(a, b, c);
|
---|
5176 | SetFS(sel);
|
---|
5177 |
|
---|
5178 | return yyrc;
|
---|
5179 | }
|
---|
5180 |
|
---|
5181 | inline HWND O32_GetNextDlgTabItem(HWND a, HWND b, BOOL c)
|
---|
5182 | {
|
---|
5183 | HWND yyrc;
|
---|
5184 | USHORT sel = RestoreOS2FS();
|
---|
5185 |
|
---|
5186 | yyrc = _O32_GetNextDlgTabItem(a, b, c);
|
---|
5187 | SetFS(sel);
|
---|
5188 |
|
---|
5189 | return yyrc;
|
---|
5190 | }
|
---|
5191 |
|
---|
5192 | inline HWND O32_GetNextWindow(HWND a, UINT b)
|
---|
5193 | {
|
---|
5194 | HWND yyrc;
|
---|
5195 | USHORT sel = RestoreOS2FS();
|
---|
5196 |
|
---|
5197 | yyrc = _O32_GetNextWindow(a, b);
|
---|
5198 | SetFS(sel);
|
---|
5199 |
|
---|
5200 | return yyrc;
|
---|
5201 | }
|
---|
5202 |
|
---|
5203 | inline int O32_GetOEMCP()
|
---|
5204 | {
|
---|
5205 | int yyrc;
|
---|
5206 | USHORT sel = RestoreOS2FS();
|
---|
5207 |
|
---|
5208 | yyrc = _O32_GetOEMCP();
|
---|
5209 | SetFS(sel);
|
---|
5210 |
|
---|
5211 | return yyrc;
|
---|
5212 | }
|
---|
5213 |
|
---|
5214 | inline int O32_GetObject(HGDIOBJ a, int b, void *c)
|
---|
5215 | {
|
---|
5216 | int yyrc;
|
---|
5217 | USHORT sel = RestoreOS2FS();
|
---|
5218 |
|
---|
5219 | yyrc = _O32_GetObject(a, b, c);
|
---|
5220 | SetFS(sel);
|
---|
5221 |
|
---|
5222 | return yyrc;
|
---|
5223 | }
|
---|
5224 |
|
---|
5225 | inline DWORD O32_GetObjectType(HGDIOBJ a)
|
---|
5226 | {
|
---|
5227 | DWORD yyrc;
|
---|
5228 | USHORT sel = RestoreOS2FS();
|
---|
5229 |
|
---|
5230 | yyrc = _O32_GetObjectType(a);
|
---|
5231 | SetFS(sel);
|
---|
5232 |
|
---|
5233 | return yyrc;
|
---|
5234 | }
|
---|
5235 |
|
---|
5236 | inline HWND O32_GetOpenClipboardWindow()
|
---|
5237 | {
|
---|
5238 | HWND yyrc;
|
---|
5239 | USHORT sel = RestoreOS2FS();
|
---|
5240 |
|
---|
5241 | yyrc = _O32_GetOpenClipboardWindow();
|
---|
5242 | SetFS(sel);
|
---|
5243 |
|
---|
5244 | return yyrc;
|
---|
5245 | }
|
---|
5246 |
|
---|
5247 | inline BOOL O32_GetOpenFileName(LPOPENFILENAMEA a)
|
---|
5248 | {
|
---|
5249 | BOOL yyrc;
|
---|
5250 | USHORT sel = RestoreOS2FS();
|
---|
5251 |
|
---|
5252 | yyrc = _O32_GetOpenFileName(a);
|
---|
5253 | SetFS(sel);
|
---|
5254 |
|
---|
5255 | return yyrc;
|
---|
5256 | }
|
---|
5257 |
|
---|
5258 | inline UINT O32_GetOutlineTextMetrics(HDC a, UINT b, LPOUTLINETEXTMETRICA c)
|
---|
5259 | {
|
---|
5260 | UINT yyrc;
|
---|
5261 | USHORT sel = RestoreOS2FS();
|
---|
5262 |
|
---|
5263 | yyrc = _O32_GetOutlineTextMetrics(a, b, c);
|
---|
5264 | SetFS(sel);
|
---|
5265 |
|
---|
5266 | return yyrc;
|
---|
5267 | }
|
---|
5268 |
|
---|
5269 | inline BOOL O32_GetOverlappedResult(HANDLE a, LPOVERLAPPED b, LPDWORD c, BOOL d)
|
---|
5270 | {
|
---|
5271 | BOOL yyrc;
|
---|
5272 | USHORT sel = RestoreOS2FS();
|
---|
5273 |
|
---|
5274 | yyrc = _O32_GetOverlappedResult(a, b, c, d);
|
---|
5275 | SetFS(sel);
|
---|
5276 |
|
---|
5277 | return yyrc;
|
---|
5278 | }
|
---|
5279 |
|
---|
5280 | inline UINT O32_GetPaletteEntries(HPALETTE a, UINT b, UINT c, PPALETTEENTRY d)
|
---|
5281 | {
|
---|
5282 | UINT yyrc;
|
---|
5283 | USHORT sel = RestoreOS2FS();
|
---|
5284 |
|
---|
5285 | yyrc = _O32_GetPaletteEntries(a, b, c, d);
|
---|
5286 | SetFS(sel);
|
---|
5287 |
|
---|
5288 | return yyrc;
|
---|
5289 | }
|
---|
5290 |
|
---|
5291 | inline HWND O32_GetParent(HWND a)
|
---|
5292 | {
|
---|
5293 | HWND yyrc;
|
---|
5294 | USHORT sel = RestoreOS2FS();
|
---|
5295 |
|
---|
5296 | yyrc = _O32_GetParent(a);
|
---|
5297 | SetFS(sel);
|
---|
5298 |
|
---|
5299 | return yyrc;
|
---|
5300 | }
|
---|
5301 |
|
---|
5302 | inline UINT O32_GetPath(HDC a, PPOINT b, PBYTE c, int d)
|
---|
5303 | {
|
---|
5304 | UINT yyrc;
|
---|
5305 | USHORT sel = RestoreOS2FS();
|
---|
5306 |
|
---|
5307 | yyrc = _O32_GetPath(a, b, c, d);
|
---|
5308 | SetFS(sel);
|
---|
5309 |
|
---|
5310 | return yyrc;
|
---|
5311 | }
|
---|
5312 |
|
---|
5313 | inline COLORREF O32_GetPixel(HDC a, int b, int c)
|
---|
5314 | {
|
---|
5315 | COLORREF yyrc;
|
---|
5316 | USHORT sel = RestoreOS2FS();
|
---|
5317 |
|
---|
5318 | yyrc = _O32_GetPixel(a, b, c);
|
---|
5319 | SetFS(sel);
|
---|
5320 |
|
---|
5321 | return yyrc;
|
---|
5322 | }
|
---|
5323 |
|
---|
5324 | inline int O32_GetPolyFillMode(HDC a)
|
---|
5325 | {
|
---|
5326 | int yyrc;
|
---|
5327 | USHORT sel = RestoreOS2FS();
|
---|
5328 |
|
---|
5329 | yyrc = _O32_GetPolyFillMode(a);
|
---|
5330 | SetFS(sel);
|
---|
5331 |
|
---|
5332 | return yyrc;
|
---|
5333 | }
|
---|
5334 |
|
---|
5335 | inline DWORD O32_GetPriorityClass(HANDLE a)
|
---|
5336 | {
|
---|
5337 | DWORD yyrc;
|
---|
5338 | USHORT sel = RestoreOS2FS();
|
---|
5339 |
|
---|
5340 | yyrc = _O32_GetPriorityClass(a);
|
---|
5341 | SetFS(sel);
|
---|
5342 |
|
---|
5343 | return yyrc;
|
---|
5344 | }
|
---|
5345 |
|
---|
5346 | inline int O32_GetPriorityClipboardFormat(PUINT a, int b)
|
---|
5347 | {
|
---|
5348 | int yyrc;
|
---|
5349 | USHORT sel = RestoreOS2FS();
|
---|
5350 |
|
---|
5351 | yyrc = _O32_GetPriorityClipboardFormat(a, b);
|
---|
5352 | SetFS(sel);
|
---|
5353 |
|
---|
5354 | return yyrc;
|
---|
5355 | }
|
---|
5356 |
|
---|
5357 | inline UINT O32_GetPrivateProfileInt(LPCSTR a, LPCSTR b, INT c, LPCSTR d)
|
---|
5358 | {
|
---|
5359 | UINT yyrc;
|
---|
5360 | USHORT sel = RestoreOS2FS();
|
---|
5361 |
|
---|
5362 | yyrc = _O32_GetPrivateProfileInt(a, b, c, d);
|
---|
5363 | SetFS(sel);
|
---|
5364 |
|
---|
5365 | return yyrc;
|
---|
5366 | }
|
---|
5367 |
|
---|
5368 | inline DWORD O32_GetPrivateProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPSTR d, DWORD e, LPCSTR f)
|
---|
5369 | {
|
---|
5370 | DWORD yyrc;
|
---|
5371 | USHORT sel = RestoreOS2FS();
|
---|
5372 |
|
---|
5373 | yyrc = _O32_GetPrivateProfileString(a, b, c, d, e, f);
|
---|
5374 | SetFS(sel);
|
---|
5375 |
|
---|
5376 | return yyrc;
|
---|
5377 | }
|
---|
5378 |
|
---|
5379 | inline FARPROC O32_GetProcAddress(HMODULE a, LPCSTR b)
|
---|
5380 | {
|
---|
5381 | FARPROC yyrc;
|
---|
5382 | USHORT sel = RestoreOS2FS();
|
---|
5383 |
|
---|
5384 | yyrc = _O32_GetProcAddress(a, b);
|
---|
5385 | SetFS(sel);
|
---|
5386 |
|
---|
5387 | return yyrc;
|
---|
5388 | }
|
---|
5389 |
|
---|
5390 | inline UINT O32_GetProfileInt(LPCSTR a, LPCSTR b, INT c)
|
---|
5391 | {
|
---|
5392 | UINT yyrc;
|
---|
5393 | USHORT sel = RestoreOS2FS();
|
---|
5394 |
|
---|
5395 | yyrc = _O32_GetProfileInt(a, b, c);
|
---|
5396 | SetFS(sel);
|
---|
5397 |
|
---|
5398 | return yyrc;
|
---|
5399 | }
|
---|
5400 |
|
---|
5401 | inline DWORD O32_GetProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPSTR d, DWORD e)
|
---|
5402 | {
|
---|
5403 | DWORD yyrc;
|
---|
5404 | USHORT sel = RestoreOS2FS();
|
---|
5405 |
|
---|
5406 | yyrc = _O32_GetProfileString(a, b, c, d, e);
|
---|
5407 | SetFS(sel);
|
---|
5408 |
|
---|
5409 | return yyrc;
|
---|
5410 | }
|
---|
5411 |
|
---|
5412 | inline HANDLE O32_GetProp(HWND a, LPCSTR b)
|
---|
5413 | {
|
---|
5414 | HANDLE yyrc;
|
---|
5415 | USHORT sel = RestoreOS2FS();
|
---|
5416 |
|
---|
5417 | yyrc = _O32_GetProp(a, b);
|
---|
5418 | SetFS(sel);
|
---|
5419 |
|
---|
5420 | return yyrc;
|
---|
5421 | }
|
---|
5422 |
|
---|
5423 | inline DWORD O32_GetQueueStatus(UINT a)
|
---|
5424 | {
|
---|
5425 | DWORD yyrc;
|
---|
5426 | USHORT sel = RestoreOS2FS();
|
---|
5427 |
|
---|
5428 | yyrc = _O32_GetQueueStatus(a);
|
---|
5429 | SetFS(sel);
|
---|
5430 |
|
---|
5431 | return yyrc;
|
---|
5432 | }
|
---|
5433 |
|
---|
5434 | inline int O32_GetROP2(HDC a)
|
---|
5435 | {
|
---|
5436 | int yyrc;
|
---|
5437 | USHORT sel = RestoreOS2FS();
|
---|
5438 |
|
---|
5439 | yyrc = _O32_GetROP2(a);
|
---|
5440 | SetFS(sel);
|
---|
5441 |
|
---|
5442 | return yyrc;
|
---|
5443 | }
|
---|
5444 |
|
---|
5445 | inline BOOL O32_GetRasterizerCaps(LPRASTERIZER_STATUS a, UINT b)
|
---|
5446 | {
|
---|
5447 | BOOL yyrc;
|
---|
5448 | USHORT sel = RestoreOS2FS();
|
---|
5449 |
|
---|
5450 | yyrc = _O32_GetRasterizerCaps(a, b);
|
---|
5451 | SetFS(sel);
|
---|
5452 |
|
---|
5453 | return yyrc;
|
---|
5454 | }
|
---|
5455 |
|
---|
5456 | inline int O32_GetRgnBox(HRGN a, PRECT b)
|
---|
5457 | {
|
---|
5458 | int yyrc;
|
---|
5459 | USHORT sel = RestoreOS2FS();
|
---|
5460 |
|
---|
5461 | yyrc = _O32_GetRgnBox(a, b);
|
---|
5462 | SetFS(sel);
|
---|
5463 |
|
---|
5464 | return yyrc;
|
---|
5465 | }
|
---|
5466 |
|
---|
5467 | inline DWORD O32_GetRegionData(HRGN a, DWORD b, PRGNDATA c)
|
---|
5468 | {
|
---|
5469 | DWORD yyrc;
|
---|
5470 | USHORT sel = RestoreOS2FS();
|
---|
5471 |
|
---|
5472 | yyrc = _O32_GetRegionData(a, b, c);
|
---|
5473 | SetFS(sel);
|
---|
5474 |
|
---|
5475 | return yyrc;
|
---|
5476 | }
|
---|
5477 |
|
---|
5478 | inline BOOL O32_GetSaveFileName(LPOPENFILENAMEA a)
|
---|
5479 | {
|
---|
5480 | BOOL yyrc;
|
---|
5481 | USHORT sel = RestoreOS2FS();
|
---|
5482 |
|
---|
5483 | yyrc = _O32_GetSaveFileName(a);
|
---|
5484 | SetFS(sel);
|
---|
5485 |
|
---|
5486 | return yyrc;
|
---|
5487 | }
|
---|
5488 |
|
---|
5489 | inline int O32_GetScrollPos(HWND a, int b)
|
---|
5490 | {
|
---|
5491 | int yyrc;
|
---|
5492 | USHORT sel = RestoreOS2FS();
|
---|
5493 |
|
---|
5494 | yyrc = _O32_GetScrollPos(a, b);
|
---|
5495 | SetFS(sel);
|
---|
5496 |
|
---|
5497 | return yyrc;
|
---|
5498 | }
|
---|
5499 |
|
---|
5500 | inline BOOL O32_GetScrollRange(HWND a, int b, int *c, int *d)
|
---|
5501 | {
|
---|
5502 | BOOL yyrc;
|
---|
5503 | USHORT sel = RestoreOS2FS();
|
---|
5504 |
|
---|
5505 | yyrc = _O32_GetScrollRange(a, b, c, d);
|
---|
5506 | SetFS(sel);
|
---|
5507 |
|
---|
5508 | return yyrc;
|
---|
5509 | }
|
---|
5510 |
|
---|
5511 | inline HANDLE O32_GetStdHandle(DWORD a)
|
---|
5512 | {
|
---|
5513 | HANDLE yyrc;
|
---|
5514 | USHORT sel = RestoreOS2FS();
|
---|
5515 |
|
---|
5516 | yyrc = _O32_GetStdHandle(a);
|
---|
5517 | SetFS(sel);
|
---|
5518 |
|
---|
5519 | return yyrc;
|
---|
5520 | }
|
---|
5521 |
|
---|
5522 | inline HGDIOBJ O32_GetStockObject(int a)
|
---|
5523 | {
|
---|
5524 | HGDIOBJ yyrc;
|
---|
5525 | USHORT sel = RestoreOS2FS();
|
---|
5526 |
|
---|
5527 | yyrc = _O32_GetStockObject(a);
|
---|
5528 | SetFS(sel);
|
---|
5529 |
|
---|
5530 | return yyrc;
|
---|
5531 | }
|
---|
5532 |
|
---|
5533 | inline int O32_GetStretchBltMode(HDC a)
|
---|
5534 | {
|
---|
5535 | int yyrc;
|
---|
5536 | USHORT sel = RestoreOS2FS();
|
---|
5537 |
|
---|
5538 | yyrc = _O32_GetStretchBltMode(a);
|
---|
5539 | SetFS(sel);
|
---|
5540 |
|
---|
5541 | return yyrc;
|
---|
5542 | }
|
---|
5543 |
|
---|
5544 | inline HMENU O32_GetSubMenu(HWND a, int b)
|
---|
5545 | {
|
---|
5546 | HMENU yyrc;
|
---|
5547 | USHORT sel = RestoreOS2FS();
|
---|
5548 |
|
---|
5549 | yyrc = _O32_GetSubMenu(a, b);
|
---|
5550 | SetFS(sel);
|
---|
5551 |
|
---|
5552 | return yyrc;
|
---|
5553 | }
|
---|
5554 |
|
---|
5555 | inline DWORD O32_GetSysColor(int a)
|
---|
5556 | {
|
---|
5557 | DWORD yyrc;
|
---|
5558 | USHORT sel = RestoreOS2FS();
|
---|
5559 |
|
---|
5560 | yyrc = _O32_GetSysColor(a);
|
---|
5561 | SetFS(sel);
|
---|
5562 |
|
---|
5563 | return yyrc;
|
---|
5564 | }
|
---|
5565 |
|
---|
5566 | inline UINT O32_GetSystemDirectory(LPSTR a, UINT b)
|
---|
5567 | {
|
---|
5568 | UINT yyrc;
|
---|
5569 | USHORT sel = RestoreOS2FS();
|
---|
5570 |
|
---|
5571 | yyrc = _O32_GetSystemDirectory(a, b);
|
---|
5572 | SetFS(sel);
|
---|
5573 |
|
---|
5574 | return yyrc;
|
---|
5575 | }
|
---|
5576 |
|
---|
5577 | inline HMENU O32_GetSystemMenu(HWND a, BOOL b)
|
---|
5578 | {
|
---|
5579 | HMENU yyrc;
|
---|
5580 | USHORT sel = RestoreOS2FS();
|
---|
5581 |
|
---|
5582 | yyrc = _O32_GetSystemMenu(a, b);
|
---|
5583 | SetFS(sel);
|
---|
5584 |
|
---|
5585 | return yyrc;
|
---|
5586 | }
|
---|
5587 |
|
---|
5588 | inline int O32_GetSystemMetrics(int a)
|
---|
5589 | {
|
---|
5590 | int yyrc;
|
---|
5591 | USHORT sel = RestoreOS2FS();
|
---|
5592 |
|
---|
5593 | yyrc = _O32_GetSystemMetrics(a);
|
---|
5594 | SetFS(sel);
|
---|
5595 |
|
---|
5596 | return yyrc;
|
---|
5597 | }
|
---|
5598 |
|
---|
5599 | inline UINT O32_GetSystemPaletteEntries(HDC a, UINT b, UINT c, PPALETTEENTRY d)
|
---|
5600 | {
|
---|
5601 | UINT yyrc;
|
---|
5602 | USHORT sel = RestoreOS2FS();
|
---|
5603 |
|
---|
5604 | yyrc = _O32_GetSystemPaletteEntries(a, b, c, d);
|
---|
5605 | SetFS(sel);
|
---|
5606 |
|
---|
5607 | return yyrc;
|
---|
5608 | }
|
---|
5609 |
|
---|
5610 | inline void O32_GetSystemTime(LPSYSTEMTIME a)
|
---|
5611 | {
|
---|
5612 | USHORT sel = RestoreOS2FS();
|
---|
5613 |
|
---|
5614 | _O32_GetSystemTime(a);
|
---|
5615 | SetFS(sel);
|
---|
5616 | }
|
---|
5617 |
|
---|
5618 | inline DWORD O32_GetTabbedTextExtent(HDC a, LPCSTR b, int c, int d, int *e)
|
---|
5619 | {
|
---|
5620 | DWORD yyrc;
|
---|
5621 | USHORT sel = RestoreOS2FS();
|
---|
5622 |
|
---|
5623 | yyrc = _O32_GetTabbedTextExtent(a, b, c, d, e);
|
---|
5624 | SetFS(sel);
|
---|
5625 |
|
---|
5626 | return yyrc;
|
---|
5627 | }
|
---|
5628 |
|
---|
5629 | inline UINT O32_GetTempFileName(LPCSTR a, LPCSTR b, UINT c, LPSTR d)
|
---|
5630 | {
|
---|
5631 | UINT yyrc;
|
---|
5632 | USHORT sel = RestoreOS2FS();
|
---|
5633 |
|
---|
5634 | yyrc = _O32_GetTempFileName(a, b, c, d);
|
---|
5635 | SetFS(sel);
|
---|
5636 |
|
---|
5637 | return yyrc;
|
---|
5638 | }
|
---|
5639 |
|
---|
5640 | inline DWORD O32_GetTempPath(DWORD a, LPSTR b)
|
---|
5641 | {
|
---|
5642 | DWORD yyrc;
|
---|
5643 | USHORT sel = RestoreOS2FS();
|
---|
5644 |
|
---|
5645 | yyrc = _O32_GetTempPath(a, b);
|
---|
5646 | SetFS(sel);
|
---|
5647 |
|
---|
5648 | return yyrc;
|
---|
5649 | }
|
---|
5650 |
|
---|
5651 | inline UINT O32_GetTextAlign(HDC a)
|
---|
5652 | {
|
---|
5653 | UINT yyrc;
|
---|
5654 | USHORT sel = RestoreOS2FS();
|
---|
5655 |
|
---|
5656 | yyrc = _O32_GetTextAlign(a);
|
---|
5657 | SetFS(sel);
|
---|
5658 |
|
---|
5659 | return yyrc;
|
---|
5660 | }
|
---|
5661 |
|
---|
5662 | inline int O32_GetTextCharacterExtra(HDC a)
|
---|
5663 | {
|
---|
5664 | int yyrc;
|
---|
5665 | USHORT sel = RestoreOS2FS();
|
---|
5666 |
|
---|
5667 | yyrc = _O32_GetTextCharacterExtra(a);
|
---|
5668 | SetFS(sel);
|
---|
5669 |
|
---|
5670 | return yyrc;
|
---|
5671 | }
|
---|
5672 |
|
---|
5673 | inline COLORREF O32_GetTextColor(HDC a)
|
---|
5674 | {
|
---|
5675 | COLORREF yyrc;
|
---|
5676 | USHORT sel = RestoreOS2FS();
|
---|
5677 |
|
---|
5678 | yyrc = _O32_GetTextColor(a);
|
---|
5679 | SetFS(sel);
|
---|
5680 |
|
---|
5681 | return yyrc;
|
---|
5682 | }
|
---|
5683 |
|
---|
5684 | inline BOOL O32_GetTextExtentPoint(HDC a, LPCSTR b, int c, PSIZE d)
|
---|
5685 | {
|
---|
5686 | BOOL yyrc;
|
---|
5687 | USHORT sel = RestoreOS2FS();
|
---|
5688 |
|
---|
5689 | yyrc = _O32_GetTextExtentPoint(a, b, c, d);
|
---|
5690 | SetFS(sel);
|
---|
5691 |
|
---|
5692 | return yyrc;
|
---|
5693 | }
|
---|
5694 |
|
---|
5695 | inline BOOL O32_GetTextExtentPoint32(HDC a, LPCSTR b, int c, PSIZE d)
|
---|
5696 | {
|
---|
5697 | BOOL yyrc;
|
---|
5698 | USHORT sel = RestoreOS2FS();
|
---|
5699 |
|
---|
5700 | yyrc = _O32_GetTextExtentPoint32(a, b, c, d);
|
---|
5701 | SetFS(sel);
|
---|
5702 |
|
---|
5703 | return yyrc;
|
---|
5704 | }
|
---|
5705 |
|
---|
5706 | inline int O32_GetTextFace(HDC a, int b, LPSTR c)
|
---|
5707 | {
|
---|
5708 | int yyrc;
|
---|
5709 | USHORT sel = RestoreOS2FS();
|
---|
5710 |
|
---|
5711 | yyrc = _O32_GetTextFace(a, b, c);
|
---|
5712 | SetFS(sel);
|
---|
5713 |
|
---|
5714 | return yyrc;
|
---|
5715 | }
|
---|
5716 |
|
---|
5717 | inline BOOL O32_GetTextMetrics(HDC a, LPTEXTMETRICA b)
|
---|
5718 | {
|
---|
5719 | BOOL yyrc;
|
---|
5720 | USHORT sel = RestoreOS2FS();
|
---|
5721 |
|
---|
5722 | yyrc = _O32_GetTextMetrics(a, b);
|
---|
5723 | SetFS(sel);
|
---|
5724 |
|
---|
5725 | return yyrc;
|
---|
5726 | }
|
---|
5727 |
|
---|
5728 | inline DWORD O32_GetThreadPriority(HANDLE a)
|
---|
5729 | {
|
---|
5730 | DWORD yyrc;
|
---|
5731 | USHORT sel = RestoreOS2FS();
|
---|
5732 |
|
---|
5733 | yyrc = _O32_GetThreadPriority(a);
|
---|
5734 | SetFS(sel);
|
---|
5735 |
|
---|
5736 | return yyrc;
|
---|
5737 | }
|
---|
5738 |
|
---|
5739 | inline DWORD O32_GetTickCount()
|
---|
5740 | {
|
---|
5741 | DWORD yyrc;
|
---|
5742 | USHORT sel = RestoreOS2FS();
|
---|
5743 |
|
---|
5744 | yyrc = _O32_GetTickCount();
|
---|
5745 | SetFS(sel);
|
---|
5746 |
|
---|
5747 | return yyrc;
|
---|
5748 | }
|
---|
5749 |
|
---|
5750 | inline DWORD O32_GetTimeZoneInformation(LPTIME_ZONE_INFORMATION a)
|
---|
5751 | {
|
---|
5752 | DWORD yyrc;
|
---|
5753 | USHORT sel = RestoreOS2FS();
|
---|
5754 |
|
---|
5755 | yyrc = _O32_GetTimeZoneInformation(a);
|
---|
5756 | SetFS(sel);
|
---|
5757 |
|
---|
5758 | return yyrc;
|
---|
5759 | }
|
---|
5760 |
|
---|
5761 | inline HWND O32_GetTopWindow(HWND a)
|
---|
5762 | {
|
---|
5763 | HWND yyrc;
|
---|
5764 | USHORT sel = RestoreOS2FS();
|
---|
5765 |
|
---|
5766 | yyrc = _O32_GetTopWindow(a);
|
---|
5767 | SetFS(sel);
|
---|
5768 |
|
---|
5769 | return yyrc;
|
---|
5770 | }
|
---|
5771 |
|
---|
5772 | inline BOOL O32_GetUpdateRect(HWND a, PRECT b, BOOL c)
|
---|
5773 | {
|
---|
5774 | BOOL yyrc;
|
---|
5775 | USHORT sel = RestoreOS2FS();
|
---|
5776 |
|
---|
5777 | yyrc = _O32_GetUpdateRect(a, b, c);
|
---|
5778 | SetFS(sel);
|
---|
5779 |
|
---|
5780 | return yyrc;
|
---|
5781 | }
|
---|
5782 |
|
---|
5783 | inline int O32_GetUpdateRgn(HWND a, HRGN b, BOOL c)
|
---|
5784 | {
|
---|
5785 | int yyrc;
|
---|
5786 | USHORT sel = RestoreOS2FS();
|
---|
5787 |
|
---|
5788 | yyrc = _O32_GetUpdateRgn(a, b, c);
|
---|
5789 | SetFS(sel);
|
---|
5790 |
|
---|
5791 | return yyrc;
|
---|
5792 | }
|
---|
5793 |
|
---|
5794 | inline BOOL O32_GetViewportExtEx(HDC a, PSIZE b)
|
---|
5795 | {
|
---|
5796 | BOOL yyrc;
|
---|
5797 | USHORT sel = RestoreOS2FS();
|
---|
5798 |
|
---|
5799 | yyrc = _O32_GetViewportExtEx(a, b);
|
---|
5800 | SetFS(sel);
|
---|
5801 |
|
---|
5802 | return yyrc;
|
---|
5803 | }
|
---|
5804 |
|
---|
5805 | inline BOOL O32_GetViewportOrgEx(HDC a, PPOINT b)
|
---|
5806 | {
|
---|
5807 | BOOL yyrc;
|
---|
5808 | USHORT sel = RestoreOS2FS();
|
---|
5809 |
|
---|
5810 | yyrc = _O32_GetViewportOrgEx(a, b);
|
---|
5811 | SetFS(sel);
|
---|
5812 |
|
---|
5813 | return yyrc;
|
---|
5814 | }
|
---|
5815 |
|
---|
5816 | inline DWORD O32_GetVolumeInformation(LPCSTR a, LPSTR b, DWORD c, PDWORD d, PDWORD e, PDWORD f, LPSTR g, DWORD h)
|
---|
5817 | {
|
---|
5818 | DWORD yyrc;
|
---|
5819 | USHORT sel = RestoreOS2FS();
|
---|
5820 |
|
---|
5821 | yyrc = _O32_GetVolumeInformation(a, b, c, d, e, f, g, h);
|
---|
5822 | SetFS(sel);
|
---|
5823 |
|
---|
5824 | return yyrc;
|
---|
5825 | }
|
---|
5826 |
|
---|
5827 | inline UINT O32_GetWinMetaFileBits(HENHMETAFILE a, UINT b, PBYTE c, int d, HDC e)
|
---|
5828 | {
|
---|
5829 | UINT yyrc;
|
---|
5830 | USHORT sel = RestoreOS2FS();
|
---|
5831 |
|
---|
5832 | yyrc = _O32_GetWinMetaFileBits(a, b, c, d, e);
|
---|
5833 | SetFS(sel);
|
---|
5834 |
|
---|
5835 | return yyrc;
|
---|
5836 | }
|
---|
5837 |
|
---|
5838 | inline HWND O32_GetWindow(HWND a, UINT b)
|
---|
5839 | {
|
---|
5840 | HWND yyrc;
|
---|
5841 | USHORT sel = RestoreOS2FS();
|
---|
5842 |
|
---|
5843 | yyrc = _O32_GetWindow(a, b);
|
---|
5844 | SetFS(sel);
|
---|
5845 |
|
---|
5846 | return yyrc;
|
---|
5847 | }
|
---|
5848 |
|
---|
5849 | inline HDC O32_GetWindowDC(HWND a)
|
---|
5850 | {
|
---|
5851 | HDC yyrc;
|
---|
5852 | USHORT sel = RestoreOS2FS();
|
---|
5853 |
|
---|
5854 | yyrc = _O32_GetWindowDC(a);
|
---|
5855 | SetFS(sel);
|
---|
5856 |
|
---|
5857 | return yyrc;
|
---|
5858 | }
|
---|
5859 |
|
---|
5860 | inline BOOL O32_GetWindowExtEx(HDC a, PSIZE b)
|
---|
5861 | {
|
---|
5862 | BOOL yyrc;
|
---|
5863 | USHORT sel = RestoreOS2FS();
|
---|
5864 |
|
---|
5865 | yyrc = _O32_GetWindowExtEx(a, b);
|
---|
5866 | SetFS(sel);
|
---|
5867 |
|
---|
5868 | return yyrc;
|
---|
5869 | }
|
---|
5870 |
|
---|
5871 | inline LONG O32_GetWindowLong(HWND a, int b)
|
---|
5872 | {
|
---|
5873 | LONG yyrc;
|
---|
5874 | USHORT sel = RestoreOS2FS();
|
---|
5875 |
|
---|
5876 | yyrc = _O32_GetWindowLong(a, b);
|
---|
5877 | SetFS(sel);
|
---|
5878 |
|
---|
5879 | return yyrc;
|
---|
5880 | }
|
---|
5881 |
|
---|
5882 | inline BOOL O32_GetWindowOrgEx(HDC a, PPOINT b)
|
---|
5883 | {
|
---|
5884 | BOOL yyrc;
|
---|
5885 | USHORT sel = RestoreOS2FS();
|
---|
5886 |
|
---|
5887 | yyrc = _O32_GetWindowOrgEx(a, b);
|
---|
5888 | SetFS(sel);
|
---|
5889 |
|
---|
5890 | return yyrc;
|
---|
5891 | }
|
---|
5892 |
|
---|
5893 | inline BOOL O32_GetWindowPlacement(HWND a, LPWINDOWPLACEMENT b)
|
---|
5894 | {
|
---|
5895 | BOOL yyrc;
|
---|
5896 | USHORT sel = RestoreOS2FS();
|
---|
5897 |
|
---|
5898 | yyrc = _O32_GetWindowPlacement(a, b);
|
---|
5899 | SetFS(sel);
|
---|
5900 |
|
---|
5901 | return yyrc;
|
---|
5902 | }
|
---|
5903 |
|
---|
5904 | inline BOOL O32_GetWindowRect(HWND a, PRECT b)
|
---|
5905 | {
|
---|
5906 | BOOL yyrc;
|
---|
5907 | USHORT sel = RestoreOS2FS();
|
---|
5908 |
|
---|
5909 | yyrc = _O32_GetWindowRect(a, b);
|
---|
5910 | SetFS(sel);
|
---|
5911 |
|
---|
5912 | return yyrc;
|
---|
5913 | }
|
---|
5914 |
|
---|
5915 | inline UINT O32_GetWindowsDirectory(LPSTR a, UINT b)
|
---|
5916 | {
|
---|
5917 | UINT yyrc;
|
---|
5918 | USHORT sel = RestoreOS2FS();
|
---|
5919 |
|
---|
5920 | yyrc = _O32_GetWindowsDirectory(a, b);
|
---|
5921 | SetFS(sel);
|
---|
5922 |
|
---|
5923 | return yyrc;
|
---|
5924 | }
|
---|
5925 |
|
---|
5926 | inline int O32_GetWindowText(HWND a, LPSTR b, int c)
|
---|
5927 | {
|
---|
5928 | int yyrc;
|
---|
5929 | USHORT sel = RestoreOS2FS();
|
---|
5930 |
|
---|
5931 | yyrc = _O32_GetWindowText(a, b, c);
|
---|
5932 | SetFS(sel);
|
---|
5933 |
|
---|
5934 | return yyrc;
|
---|
5935 | }
|
---|
5936 |
|
---|
5937 | inline int O32_GetWindowTextLength(HWND a)
|
---|
5938 | {
|
---|
5939 | int yyrc;
|
---|
5940 | USHORT sel = RestoreOS2FS();
|
---|
5941 |
|
---|
5942 | yyrc = _O32_GetWindowTextLength(a);
|
---|
5943 | SetFS(sel);
|
---|
5944 |
|
---|
5945 | return yyrc;
|
---|
5946 | }
|
---|
5947 |
|
---|
5948 | inline DWORD O32_GetWindowThreadProcessId(HWND a, PDWORD b)
|
---|
5949 | {
|
---|
5950 | DWORD yyrc;
|
---|
5951 | USHORT sel = RestoreOS2FS();
|
---|
5952 |
|
---|
5953 | yyrc = _O32_GetWindowThreadProcessId(a, b);
|
---|
5954 | SetFS(sel);
|
---|
5955 |
|
---|
5956 | return yyrc;
|
---|
5957 | }
|
---|
5958 |
|
---|
5959 | inline WORD O32_GetWindowWord(HWND a, int b)
|
---|
5960 | {
|
---|
5961 | WORD yyrc;
|
---|
5962 | USHORT sel = RestoreOS2FS();
|
---|
5963 |
|
---|
5964 | yyrc = _O32_GetWindowWord(a, b);
|
---|
5965 | SetFS(sel);
|
---|
5966 |
|
---|
5967 | return yyrc;
|
---|
5968 | }
|
---|
5969 |
|
---|
5970 | inline BOOL O32_GetWorldTransform(HDC a, LPXFORM b)
|
---|
5971 | {
|
---|
5972 | BOOL yyrc;
|
---|
5973 | USHORT sel = RestoreOS2FS();
|
---|
5974 |
|
---|
5975 | yyrc = _O32_GetWorldTransform(a, b);
|
---|
5976 | SetFS(sel);
|
---|
5977 |
|
---|
5978 | return yyrc;
|
---|
5979 | }
|
---|
5980 |
|
---|
5981 | inline ATOM O32_GlobalAddAtom(LPCSTR a)
|
---|
5982 | {
|
---|
5983 | ATOM yyrc;
|
---|
5984 | USHORT sel = RestoreOS2FS();
|
---|
5985 |
|
---|
5986 | yyrc = _O32_GlobalAddAtom(a);
|
---|
5987 | SetFS(sel);
|
---|
5988 |
|
---|
5989 | return yyrc;
|
---|
5990 | }
|
---|
5991 |
|
---|
5992 | inline HGLOBAL O32_GlobalAlloc(UINT a, DWORD b)
|
---|
5993 | {
|
---|
5994 | HGLOBAL yyrc;
|
---|
5995 | USHORT sel = RestoreOS2FS();
|
---|
5996 |
|
---|
5997 | yyrc = _O32_GlobalAlloc(a, b);
|
---|
5998 | SetFS(sel);
|
---|
5999 |
|
---|
6000 | return yyrc;
|
---|
6001 | }
|
---|
6002 |
|
---|
6003 | inline ATOM O32_GlobalDeleteAtom(ATOM a)
|
---|
6004 | {
|
---|
6005 | ATOM yyrc;
|
---|
6006 | USHORT sel = RestoreOS2FS();
|
---|
6007 |
|
---|
6008 | yyrc = _O32_GlobalDeleteAtom(a);
|
---|
6009 | SetFS(sel);
|
---|
6010 |
|
---|
6011 | return yyrc;
|
---|
6012 | }
|
---|
6013 |
|
---|
6014 | inline HGLOBAL O32_GlobalDiscard(HGLOBAL a)
|
---|
6015 | {
|
---|
6016 | HGLOBAL yyrc;
|
---|
6017 | USHORT sel = RestoreOS2FS();
|
---|
6018 |
|
---|
6019 | yyrc = _O32_GlobalDiscard(a);
|
---|
6020 | SetFS(sel);
|
---|
6021 |
|
---|
6022 | return yyrc;
|
---|
6023 | }
|
---|
6024 |
|
---|
6025 | inline ATOM O32_GlobalFindAtom(LPCSTR a)
|
---|
6026 | {
|
---|
6027 | ATOM yyrc;
|
---|
6028 | USHORT sel = RestoreOS2FS();
|
---|
6029 |
|
---|
6030 | yyrc = _O32_GlobalFindAtom(a);
|
---|
6031 | SetFS(sel);
|
---|
6032 |
|
---|
6033 | return yyrc;
|
---|
6034 | }
|
---|
6035 |
|
---|
6036 | inline UINT O32_GlobalFlags(HGLOBAL a)
|
---|
6037 | {
|
---|
6038 | UINT yyrc;
|
---|
6039 | USHORT sel = RestoreOS2FS();
|
---|
6040 |
|
---|
6041 | yyrc = _O32_GlobalFlags(a);
|
---|
6042 | SetFS(sel);
|
---|
6043 |
|
---|
6044 | return yyrc;
|
---|
6045 | }
|
---|
6046 |
|
---|
6047 | inline HGLOBAL O32_GlobalFree(HGLOBAL a)
|
---|
6048 | {
|
---|
6049 | HGLOBAL yyrc;
|
---|
6050 | USHORT sel = RestoreOS2FS();
|
---|
6051 |
|
---|
6052 | yyrc = _O32_GlobalFree(a);
|
---|
6053 | SetFS(sel);
|
---|
6054 |
|
---|
6055 | return yyrc;
|
---|
6056 | }
|
---|
6057 |
|
---|
6058 | inline UINT O32_GlobalGetAtomName(ATOM a, LPSTR b, int c)
|
---|
6059 | {
|
---|
6060 | UINT yyrc;
|
---|
6061 | USHORT sel = RestoreOS2FS();
|
---|
6062 |
|
---|
6063 | yyrc = _O32_GlobalGetAtomName(a, b, c);
|
---|
6064 | SetFS(sel);
|
---|
6065 |
|
---|
6066 | return yyrc;
|
---|
6067 | }
|
---|
6068 |
|
---|
6069 | inline HGLOBAL O32_GlobalHandle(PVOID a)
|
---|
6070 | {
|
---|
6071 | HGLOBAL yyrc;
|
---|
6072 | USHORT sel = RestoreOS2FS();
|
---|
6073 |
|
---|
6074 | yyrc = _O32_GlobalHandle(a);
|
---|
6075 | SetFS(sel);
|
---|
6076 |
|
---|
6077 | return yyrc;
|
---|
6078 | }
|
---|
6079 |
|
---|
6080 | inline PVOID O32_GlobalLock(HGLOBAL a)
|
---|
6081 | {
|
---|
6082 | PVOID yyrc;
|
---|
6083 | USHORT sel = RestoreOS2FS();
|
---|
6084 |
|
---|
6085 | yyrc = _O32_GlobalLock(a);
|
---|
6086 | SetFS(sel);
|
---|
6087 |
|
---|
6088 | return yyrc;
|
---|
6089 | }
|
---|
6090 |
|
---|
6091 | inline VOID O32_GlobalMemoryStatus(LPMEMORYSTATUS a)
|
---|
6092 | {
|
---|
6093 | USHORT sel = RestoreOS2FS();
|
---|
6094 |
|
---|
6095 | _O32_GlobalMemoryStatus(a);
|
---|
6096 | SetFS(sel);
|
---|
6097 | }
|
---|
6098 |
|
---|
6099 | inline HGLOBAL O32_GlobalReAlloc(HGLOBAL a, DWORD b, UINT c)
|
---|
6100 | {
|
---|
6101 | HGLOBAL yyrc;
|
---|
6102 | USHORT sel = RestoreOS2FS();
|
---|
6103 |
|
---|
6104 | yyrc = _O32_GlobalReAlloc(a, b, c);
|
---|
6105 | SetFS(sel);
|
---|
6106 |
|
---|
6107 | return yyrc;
|
---|
6108 | }
|
---|
6109 |
|
---|
6110 | inline DWORD O32_GlobalSize(HGLOBAL a)
|
---|
6111 | {
|
---|
6112 | DWORD yyrc;
|
---|
6113 | USHORT sel = RestoreOS2FS();
|
---|
6114 |
|
---|
6115 | yyrc = _O32_GlobalSize(a);
|
---|
6116 | SetFS(sel);
|
---|
6117 |
|
---|
6118 | return yyrc;
|
---|
6119 | }
|
---|
6120 |
|
---|
6121 | inline BOOL O32_GlobalUnlock(HGLOBAL a)
|
---|
6122 | {
|
---|
6123 | BOOL yyrc;
|
---|
6124 | USHORT sel = RestoreOS2FS();
|
---|
6125 |
|
---|
6126 | yyrc = _O32_GlobalUnlock(a);
|
---|
6127 | SetFS(sel);
|
---|
6128 |
|
---|
6129 | return yyrc;
|
---|
6130 | }
|
---|
6131 |
|
---|
6132 | inline PVOID O32_HeapAlloc(HANDLE a, DWORD b, DWORD c)
|
---|
6133 | {
|
---|
6134 | PVOID yyrc;
|
---|
6135 | USHORT sel = RestoreOS2FS();
|
---|
6136 |
|
---|
6137 | yyrc = _O32_HeapAlloc(a, b, c);
|
---|
6138 | SetFS(sel);
|
---|
6139 |
|
---|
6140 | return yyrc;
|
---|
6141 | }
|
---|
6142 |
|
---|
6143 | inline HANDLE O32_HeapCreate(DWORD a, DWORD b, DWORD c)
|
---|
6144 | {
|
---|
6145 | HANDLE yyrc;
|
---|
6146 | USHORT sel = RestoreOS2FS();
|
---|
6147 |
|
---|
6148 | yyrc = _O32_HeapCreate(a, b, c);
|
---|
6149 | SetFS(sel);
|
---|
6150 |
|
---|
6151 | return yyrc;
|
---|
6152 | }
|
---|
6153 |
|
---|
6154 | inline BOOL O32_HeapDestroy(HANDLE a)
|
---|
6155 | {
|
---|
6156 | BOOL yyrc;
|
---|
6157 | USHORT sel = RestoreOS2FS();
|
---|
6158 |
|
---|
6159 | yyrc = _O32_HeapDestroy(a);
|
---|
6160 | SetFS(sel);
|
---|
6161 |
|
---|
6162 | return yyrc;
|
---|
6163 | }
|
---|
6164 |
|
---|
6165 | inline BOOL O32_HeapFree(HANDLE a, DWORD b, PVOID c)
|
---|
6166 | {
|
---|
6167 | BOOL yyrc;
|
---|
6168 | USHORT sel = RestoreOS2FS();
|
---|
6169 |
|
---|
6170 | yyrc = _O32_HeapFree(a, b, c);
|
---|
6171 | SetFS(sel);
|
---|
6172 |
|
---|
6173 | return yyrc;
|
---|
6174 | }
|
---|
6175 |
|
---|
6176 | inline PVOID O32_HeapReAlloc(HANDLE a, DWORD b, PVOID c, DWORD d)
|
---|
6177 | {
|
---|
6178 | PVOID yyrc;
|
---|
6179 | USHORT sel = RestoreOS2FS();
|
---|
6180 |
|
---|
6181 | yyrc = _O32_HeapReAlloc(a, b, c, d);
|
---|
6182 | SetFS(sel);
|
---|
6183 |
|
---|
6184 | return yyrc;
|
---|
6185 | }
|
---|
6186 |
|
---|
6187 | inline DWORD O32_HeapSize(HANDLE a, DWORD b, PVOID c)
|
---|
6188 | {
|
---|
6189 | DWORD yyrc;
|
---|
6190 | USHORT sel = RestoreOS2FS();
|
---|
6191 |
|
---|
6192 | yyrc = _O32_HeapSize(a, b, c);
|
---|
6193 | SetFS(sel);
|
---|
6194 |
|
---|
6195 | return yyrc;
|
---|
6196 | }
|
---|
6197 |
|
---|
6198 | inline BOOL O32_HideCaret(HWND a)
|
---|
6199 | {
|
---|
6200 | BOOL yyrc;
|
---|
6201 | USHORT sel = RestoreOS2FS();
|
---|
6202 |
|
---|
6203 | yyrc = _O32_HideCaret(a);
|
---|
6204 | SetFS(sel);
|
---|
6205 |
|
---|
6206 | return yyrc;
|
---|
6207 | }
|
---|
6208 |
|
---|
6209 | inline BOOL O32_HiliteMenuItem(HWND a, HMENU b, UINT c, UINT d)
|
---|
6210 | {
|
---|
6211 | BOOL yyrc;
|
---|
6212 | USHORT sel = RestoreOS2FS();
|
---|
6213 |
|
---|
6214 | yyrc = _O32_HiliteMenuItem(a, b, c, d);
|
---|
6215 | SetFS(sel);
|
---|
6216 |
|
---|
6217 | return yyrc;
|
---|
6218 | }
|
---|
6219 |
|
---|
6220 | inline BOOL O32_InflateRect(PRECT a, int b, int c)
|
---|
6221 | {
|
---|
6222 | BOOL yyrc;
|
---|
6223 | USHORT sel = RestoreOS2FS();
|
---|
6224 |
|
---|
6225 | yyrc = _O32_InflateRect(a, b, c);
|
---|
6226 | SetFS(sel);
|
---|
6227 |
|
---|
6228 | return yyrc;
|
---|
6229 | }
|
---|
6230 |
|
---|
6231 | inline BOOL O32_InSendMessage()
|
---|
6232 | {
|
---|
6233 | BOOL yyrc;
|
---|
6234 | USHORT sel = RestoreOS2FS();
|
---|
6235 |
|
---|
6236 | yyrc = _O32_InSendMessage();
|
---|
6237 | SetFS(sel);
|
---|
6238 |
|
---|
6239 | return yyrc;
|
---|
6240 | }
|
---|
6241 |
|
---|
6242 | inline BOOL O32_InitAtomTable(DWORD a)
|
---|
6243 | {
|
---|
6244 | BOOL yyrc;
|
---|
6245 | USHORT sel = RestoreOS2FS();
|
---|
6246 |
|
---|
6247 | yyrc = _O32_InitAtomTable(a);
|
---|
6248 | SetFS(sel);
|
---|
6249 |
|
---|
6250 | return yyrc;
|
---|
6251 | }
|
---|
6252 |
|
---|
6253 | inline VOID O32_InitializeCriticalSection(CRITICAL_SECTION *a)
|
---|
6254 | {
|
---|
6255 | USHORT sel = RestoreOS2FS();
|
---|
6256 |
|
---|
6257 | _O32_InitializeCriticalSection(a);
|
---|
6258 | SetFS(sel);
|
---|
6259 | }
|
---|
6260 |
|
---|
6261 | inline BOOL O32_InsertMenu(HMENU a, UINT b, UINT c, UINT d, LPCSTR e)
|
---|
6262 | {
|
---|
6263 | BOOL yyrc;
|
---|
6264 | USHORT sel = RestoreOS2FS();
|
---|
6265 |
|
---|
6266 | yyrc = _O32_InsertMenu(a, b, c, d, e);
|
---|
6267 | SetFS(sel);
|
---|
6268 |
|
---|
6269 | return yyrc;
|
---|
6270 | }
|
---|
6271 |
|
---|
6272 | inline LONG O32_InterlockedDecrement(PLONG a)
|
---|
6273 | {
|
---|
6274 | LONG yyrc;
|
---|
6275 | USHORT sel = RestoreOS2FS();
|
---|
6276 |
|
---|
6277 | yyrc = _O32_InterlockedDecrement(a);
|
---|
6278 | SetFS(sel);
|
---|
6279 |
|
---|
6280 | return yyrc;
|
---|
6281 | }
|
---|
6282 |
|
---|
6283 | inline LONG O32_InterlockedExchange(PLONG a, LONG b)
|
---|
6284 | {
|
---|
6285 | LONG yyrc;
|
---|
6286 | USHORT sel = RestoreOS2FS();
|
---|
6287 |
|
---|
6288 | yyrc = _O32_InterlockedExchange(a, b);
|
---|
6289 | SetFS(sel);
|
---|
6290 |
|
---|
6291 | return yyrc;
|
---|
6292 | }
|
---|
6293 |
|
---|
6294 | inline LONG O32_InterlockedIncrement(PLONG a)
|
---|
6295 | {
|
---|
6296 | LONG yyrc;
|
---|
6297 | USHORT sel = RestoreOS2FS();
|
---|
6298 |
|
---|
6299 | yyrc = _O32_InterlockedIncrement(a);
|
---|
6300 | SetFS(sel);
|
---|
6301 |
|
---|
6302 | return yyrc;
|
---|
6303 | }
|
---|
6304 |
|
---|
6305 | inline int O32_IntersectClipRect(HDC a, int b, int c, int d, int e)
|
---|
6306 | {
|
---|
6307 | int yyrc;
|
---|
6308 | USHORT sel = RestoreOS2FS();
|
---|
6309 |
|
---|
6310 | yyrc = _O32_IntersectClipRect(a, b, c, d, e);
|
---|
6311 | SetFS(sel);
|
---|
6312 |
|
---|
6313 | return yyrc;
|
---|
6314 | }
|
---|
6315 |
|
---|
6316 | inline BOOL O32_IntersectRect(PRECT a, CONST RECT *b, CONST RECT *c)
|
---|
6317 | {
|
---|
6318 | BOOL yyrc;
|
---|
6319 | USHORT sel = RestoreOS2FS();
|
---|
6320 |
|
---|
6321 | yyrc = _O32_IntersectRect(a, b, c);
|
---|
6322 | SetFS(sel);
|
---|
6323 |
|
---|
6324 | return yyrc;
|
---|
6325 | }
|
---|
6326 |
|
---|
6327 | inline BOOL O32_InvalidateRect(HWND a, CONST RECT *b, BOOL c)
|
---|
6328 | {
|
---|
6329 | BOOL yyrc;
|
---|
6330 | USHORT sel = RestoreOS2FS();
|
---|
6331 |
|
---|
6332 | yyrc = _O32_InvalidateRect(a, b, c);
|
---|
6333 | SetFS(sel);
|
---|
6334 |
|
---|
6335 | return yyrc;
|
---|
6336 | }
|
---|
6337 |
|
---|
6338 | inline BOOL O32_InvalidateRgn(HWND a, HRGN b, BOOL c)
|
---|
6339 | {
|
---|
6340 | BOOL yyrc;
|
---|
6341 | USHORT sel = RestoreOS2FS();
|
---|
6342 |
|
---|
6343 | yyrc = _O32_InvalidateRgn(a, b, c);
|
---|
6344 | SetFS(sel);
|
---|
6345 |
|
---|
6346 | return yyrc;
|
---|
6347 | }
|
---|
6348 |
|
---|
6349 | inline BOOL O32_InvertRect(HDC a, CONST RECT *b)
|
---|
6350 | {
|
---|
6351 | BOOL yyrc;
|
---|
6352 | USHORT sel = RestoreOS2FS();
|
---|
6353 |
|
---|
6354 | yyrc = _O32_InvertRect(a, b);
|
---|
6355 | SetFS(sel);
|
---|
6356 |
|
---|
6357 | return yyrc;
|
---|
6358 | }
|
---|
6359 |
|
---|
6360 | inline BOOL O32_InvertRgn(HDC a, HRGN b)
|
---|
6361 | {
|
---|
6362 | BOOL yyrc;
|
---|
6363 | USHORT sel = RestoreOS2FS();
|
---|
6364 |
|
---|
6365 | yyrc = _O32_InvertRgn(a, b);
|
---|
6366 | SetFS(sel);
|
---|
6367 |
|
---|
6368 | return yyrc;
|
---|
6369 | }
|
---|
6370 |
|
---|
6371 | inline BOOL O32_IsBadCodePtr(FARPROC a)
|
---|
6372 | {
|
---|
6373 | BOOL yyrc;
|
---|
6374 | USHORT sel = RestoreOS2FS();
|
---|
6375 |
|
---|
6376 | yyrc = _O32_IsBadCodePtr(a);
|
---|
6377 | SetFS(sel);
|
---|
6378 |
|
---|
6379 | return yyrc;
|
---|
6380 | }
|
---|
6381 |
|
---|
6382 | inline BOOL O32_IsBadReadPtr(CONST VOID *a, UINT b)
|
---|
6383 | {
|
---|
6384 | BOOL yyrc;
|
---|
6385 | USHORT sel = RestoreOS2FS();
|
---|
6386 |
|
---|
6387 | yyrc = _O32_IsBadReadPtr(a, b);
|
---|
6388 | SetFS(sel);
|
---|
6389 |
|
---|
6390 | return yyrc;
|
---|
6391 | }
|
---|
6392 |
|
---|
6393 | inline BOOL O32_IsBadStringPtr(LPCSTR a, UINT b)
|
---|
6394 | {
|
---|
6395 | BOOL yyrc;
|
---|
6396 | USHORT sel = RestoreOS2FS();
|
---|
6397 |
|
---|
6398 | yyrc = _O32_IsBadStringPtr(a, b);
|
---|
6399 | SetFS(sel);
|
---|
6400 |
|
---|
6401 | return yyrc;
|
---|
6402 | }
|
---|
6403 |
|
---|
6404 | inline BOOL O32_IsBadWritePtr(PVOID a, UINT b)
|
---|
6405 | {
|
---|
6406 | BOOL yyrc;
|
---|
6407 | USHORT sel = RestoreOS2FS();
|
---|
6408 |
|
---|
6409 | yyrc = _O32_IsBadWritePtr(a, b);
|
---|
6410 | SetFS(sel);
|
---|
6411 |
|
---|
6412 | return yyrc;
|
---|
6413 | }
|
---|
6414 |
|
---|
6415 | inline BOOL O32_IsChild(HWND a, HWND b)
|
---|
6416 | {
|
---|
6417 | BOOL yyrc;
|
---|
6418 | USHORT sel = RestoreOS2FS();
|
---|
6419 |
|
---|
6420 | yyrc = _O32_IsChild(a, b);
|
---|
6421 | SetFS(sel);
|
---|
6422 |
|
---|
6423 | return yyrc;
|
---|
6424 | }
|
---|
6425 |
|
---|
6426 | inline BOOL O32_IsClipboardFormatAvailable(UINT a)
|
---|
6427 | {
|
---|
6428 | BOOL yyrc;
|
---|
6429 | USHORT sel = RestoreOS2FS();
|
---|
6430 |
|
---|
6431 | yyrc = _O32_IsClipboardFormatAvailable(a);
|
---|
6432 | SetFS(sel);
|
---|
6433 |
|
---|
6434 | return yyrc;
|
---|
6435 | }
|
---|
6436 |
|
---|
6437 | inline BOOL O32_IsDBCSLeadByte(BYTE a)
|
---|
6438 | {
|
---|
6439 | BOOL yyrc;
|
---|
6440 | USHORT sel = RestoreOS2FS();
|
---|
6441 |
|
---|
6442 | yyrc = _O32_IsDBCSLeadByte(a);
|
---|
6443 | SetFS(sel);
|
---|
6444 |
|
---|
6445 | return yyrc;
|
---|
6446 | }
|
---|
6447 |
|
---|
6448 | inline BOOL O32_IsDialogMessage(HWND a, LPMSG b)
|
---|
6449 | {
|
---|
6450 | BOOL yyrc;
|
---|
6451 | USHORT sel = RestoreOS2FS();
|
---|
6452 |
|
---|
6453 | yyrc = _O32_IsDialogMessage(a, b);
|
---|
6454 | SetFS(sel);
|
---|
6455 |
|
---|
6456 | return yyrc;
|
---|
6457 | }
|
---|
6458 |
|
---|
6459 | inline BOOL O32_IsDlgButtonChecked(HWND a, int b)
|
---|
6460 | {
|
---|
6461 | BOOL yyrc;
|
---|
6462 | USHORT sel = RestoreOS2FS();
|
---|
6463 |
|
---|
6464 | yyrc = _O32_IsDlgButtonChecked(a, b);
|
---|
6465 | SetFS(sel);
|
---|
6466 |
|
---|
6467 | return yyrc;
|
---|
6468 | }
|
---|
6469 |
|
---|
6470 | inline BOOL O32_IsIconic(HWND a)
|
---|
6471 | {
|
---|
6472 | BOOL yyrc;
|
---|
6473 | USHORT sel = RestoreOS2FS();
|
---|
6474 |
|
---|
6475 | yyrc = _O32_IsIconic(a);
|
---|
6476 | SetFS(sel);
|
---|
6477 |
|
---|
6478 | return yyrc;
|
---|
6479 | }
|
---|
6480 |
|
---|
6481 | inline BOOL O32_IsMenu(HMENU a)
|
---|
6482 | {
|
---|
6483 | BOOL yyrc;
|
---|
6484 | USHORT sel = RestoreOS2FS();
|
---|
6485 |
|
---|
6486 | yyrc = _O32_IsMenu(a);
|
---|
6487 | SetFS(sel);
|
---|
6488 |
|
---|
6489 | return yyrc;
|
---|
6490 | }
|
---|
6491 |
|
---|
6492 | inline BOOL O32_IsRectEmpty(CONST RECT *a)
|
---|
6493 | {
|
---|
6494 | BOOL yyrc;
|
---|
6495 | USHORT sel = RestoreOS2FS();
|
---|
6496 |
|
---|
6497 | yyrc = _O32_IsRectEmpty(a);
|
---|
6498 | SetFS(sel);
|
---|
6499 |
|
---|
6500 | return yyrc;
|
---|
6501 | }
|
---|
6502 |
|
---|
6503 | inline BOOL O32_IsWindow(HWND a)
|
---|
6504 | {
|
---|
6505 | BOOL yyrc;
|
---|
6506 | USHORT sel = RestoreOS2FS();
|
---|
6507 |
|
---|
6508 | yyrc = _O32_IsWindow(a);
|
---|
6509 | SetFS(sel);
|
---|
6510 |
|
---|
6511 | return yyrc;
|
---|
6512 | }
|
---|
6513 |
|
---|
6514 | inline BOOL O32_IsWindowEnabled(HWND a)
|
---|
6515 | {
|
---|
6516 | BOOL yyrc;
|
---|
6517 | USHORT sel = RestoreOS2FS();
|
---|
6518 |
|
---|
6519 | yyrc = _O32_IsWindowEnabled(a);
|
---|
6520 | SetFS(sel);
|
---|
6521 |
|
---|
6522 | return yyrc;
|
---|
6523 | }
|
---|
6524 |
|
---|
6525 | inline BOOL O32_IsWindowVisible(HWND a)
|
---|
6526 | {
|
---|
6527 | BOOL yyrc;
|
---|
6528 | USHORT sel = RestoreOS2FS();
|
---|
6529 |
|
---|
6530 | yyrc = _O32_IsWindowVisible(a);
|
---|
6531 | SetFS(sel);
|
---|
6532 |
|
---|
6533 | return yyrc;
|
---|
6534 | }
|
---|
6535 |
|
---|
6536 | inline BOOL O32_IsZoomed(HWND a)
|
---|
6537 | {
|
---|
6538 | BOOL yyrc;
|
---|
6539 | USHORT sel = RestoreOS2FS();
|
---|
6540 |
|
---|
6541 | yyrc = _O32_IsZoomed(a);
|
---|
6542 | SetFS(sel);
|
---|
6543 |
|
---|
6544 | return yyrc;
|
---|
6545 | }
|
---|
6546 |
|
---|
6547 | inline BOOL O32_KillTimer(HWND a, UINT b)
|
---|
6548 | {
|
---|
6549 | BOOL yyrc;
|
---|
6550 | USHORT sel = RestoreOS2FS();
|
---|
6551 |
|
---|
6552 | yyrc = _O32_KillTimer(a, b);
|
---|
6553 | SetFS(sel);
|
---|
6554 |
|
---|
6555 | return yyrc;
|
---|
6556 | }
|
---|
6557 |
|
---|
6558 | inline BOOL O32_LPtoDP(HDC a, PPOINT b, int c)
|
---|
6559 | {
|
---|
6560 | BOOL yyrc;
|
---|
6561 | USHORT sel = RestoreOS2FS();
|
---|
6562 |
|
---|
6563 | yyrc = _O32_LPtoDP(a, b, c);
|
---|
6564 | SetFS(sel);
|
---|
6565 |
|
---|
6566 | return yyrc;
|
---|
6567 | }
|
---|
6568 |
|
---|
6569 | inline VOID O32_LeaveCriticalSection(CRITICAL_SECTION *a)
|
---|
6570 | {
|
---|
6571 | USHORT sel = RestoreOS2FS();
|
---|
6572 |
|
---|
6573 | _O32_LeaveCriticalSection(a);
|
---|
6574 | SetFS(sel);
|
---|
6575 | }
|
---|
6576 |
|
---|
6577 | inline BOOL O32_LineDDA(int a, int b, int c, int d, LINEDDAPROC_O32 e, LPARAM f)
|
---|
6578 | {
|
---|
6579 | BOOL yyrc;
|
---|
6580 | USHORT sel = RestoreOS2FS();
|
---|
6581 |
|
---|
6582 | yyrc = _O32_LineDDA(a, b, c, d, e, f);
|
---|
6583 | SetFS(sel);
|
---|
6584 |
|
---|
6585 | return yyrc;
|
---|
6586 | }
|
---|
6587 |
|
---|
6588 | inline BOOL O32_LineTo(HDC a, int b, int c)
|
---|
6589 | {
|
---|
6590 | BOOL yyrc;
|
---|
6591 | USHORT sel = RestoreOS2FS();
|
---|
6592 |
|
---|
6593 | yyrc = _O32_LineTo(a, b, c);
|
---|
6594 | SetFS(sel);
|
---|
6595 |
|
---|
6596 | return yyrc;
|
---|
6597 | }
|
---|
6598 |
|
---|
6599 | inline HACCEL O32_LoadAccelerators(HINSTANCE a, LPCSTR b)
|
---|
6600 | {
|
---|
6601 | HACCEL yyrc;
|
---|
6602 | USHORT sel = RestoreOS2FS();
|
---|
6603 |
|
---|
6604 | yyrc = _O32_LoadAccelerators(a, b);
|
---|
6605 | SetFS(sel);
|
---|
6606 |
|
---|
6607 | return yyrc;
|
---|
6608 | }
|
---|
6609 |
|
---|
6610 | inline HBITMAP O32_LoadBitmap(HINSTANCE a, LPCSTR b)
|
---|
6611 | {
|
---|
6612 | HBITMAP yyrc;
|
---|
6613 | USHORT sel = RestoreOS2FS();
|
---|
6614 |
|
---|
6615 | yyrc = _O32_LoadBitmap(a, b);
|
---|
6616 | SetFS(sel);
|
---|
6617 |
|
---|
6618 | return yyrc;
|
---|
6619 | }
|
---|
6620 |
|
---|
6621 | inline HCURSOR O32_LoadCursor(HINSTANCE a, LPCSTR b)
|
---|
6622 | {
|
---|
6623 | HCURSOR yyrc;
|
---|
6624 | USHORT sel = RestoreOS2FS();
|
---|
6625 |
|
---|
6626 | yyrc = _O32_LoadCursor(a, b);
|
---|
6627 | SetFS(sel);
|
---|
6628 |
|
---|
6629 | return yyrc;
|
---|
6630 | }
|
---|
6631 |
|
---|
6632 | inline HICON O32_LoadIcon(HINSTANCE a, LPCSTR b)
|
---|
6633 | {
|
---|
6634 | HICON yyrc;
|
---|
6635 | USHORT sel = RestoreOS2FS();
|
---|
6636 |
|
---|
6637 | yyrc = _O32_LoadIcon(a, b);
|
---|
6638 | SetFS(sel);
|
---|
6639 |
|
---|
6640 | return yyrc;
|
---|
6641 | }
|
---|
6642 |
|
---|
6643 | inline HINSTANCE O32_LoadLibrary(LPCSTR a)
|
---|
6644 | {
|
---|
6645 | HINSTANCE yyrc;
|
---|
6646 | USHORT sel = RestoreOS2FS();
|
---|
6647 |
|
---|
6648 | yyrc = _O32_LoadLibrary(a);
|
---|
6649 | SetFS(sel);
|
---|
6650 |
|
---|
6651 | return yyrc;
|
---|
6652 | }
|
---|
6653 |
|
---|
6654 | inline HMENU O32_LoadMenu(HINSTANCE a, LPCSTR b)
|
---|
6655 | {
|
---|
6656 | HMENU yyrc;
|
---|
6657 | USHORT sel = RestoreOS2FS();
|
---|
6658 |
|
---|
6659 | yyrc = _O32_LoadMenu(a, b);
|
---|
6660 | SetFS(sel);
|
---|
6661 |
|
---|
6662 | return yyrc;
|
---|
6663 | }
|
---|
6664 |
|
---|
6665 | inline HMENU O32_LoadMenuIndirect(CONST MENUITEMTEMPLATEHEADER *a)
|
---|
6666 | {
|
---|
6667 | HMENU yyrc;
|
---|
6668 | USHORT sel = RestoreOS2FS();
|
---|
6669 |
|
---|
6670 | yyrc = _O32_LoadMenuIndirect(a);
|
---|
6671 | SetFS(sel);
|
---|
6672 |
|
---|
6673 | return yyrc;
|
---|
6674 | }
|
---|
6675 |
|
---|
6676 | inline DWORD O32_LoadModule(LPCSTR a, PVOID b)
|
---|
6677 | {
|
---|
6678 | DWORD yyrc;
|
---|
6679 | USHORT sel = RestoreOS2FS();
|
---|
6680 |
|
---|
6681 | yyrc = _O32_LoadModule(a, b);
|
---|
6682 | SetFS(sel);
|
---|
6683 |
|
---|
6684 | return yyrc;
|
---|
6685 | }
|
---|
6686 |
|
---|
6687 | inline HGLOBAL O32_LoadResource(HINSTANCE a, HRSRC b)
|
---|
6688 | {
|
---|
6689 | HGLOBAL yyrc;
|
---|
6690 | USHORT sel = RestoreOS2FS();
|
---|
6691 |
|
---|
6692 | yyrc = _O32_LoadResource(a, b);
|
---|
6693 | SetFS(sel);
|
---|
6694 |
|
---|
6695 | return yyrc;
|
---|
6696 | }
|
---|
6697 |
|
---|
6698 | inline PVOID O32_LockResource(HGLOBAL a)
|
---|
6699 | {
|
---|
6700 | PVOID yyrc;
|
---|
6701 | USHORT sel = RestoreOS2FS();
|
---|
6702 |
|
---|
6703 | yyrc = _O32_LockResource(a);
|
---|
6704 | SetFS(sel);
|
---|
6705 |
|
---|
6706 | return yyrc;
|
---|
6707 | }
|
---|
6708 |
|
---|
6709 | inline int O32_LoadString(HINSTANCE a, UINT b, LPSTR c, int d)
|
---|
6710 | {
|
---|
6711 | int yyrc;
|
---|
6712 | USHORT sel = RestoreOS2FS();
|
---|
6713 |
|
---|
6714 | yyrc = _O32_LoadString(a, b, c, d);
|
---|
6715 | SetFS(sel);
|
---|
6716 |
|
---|
6717 | return yyrc;
|
---|
6718 | }
|
---|
6719 |
|
---|
6720 | inline HLOCAL O32_LocalAlloc(UINT a, UINT b)
|
---|
6721 | {
|
---|
6722 | HLOCAL yyrc;
|
---|
6723 | USHORT sel = RestoreOS2FS();
|
---|
6724 |
|
---|
6725 | yyrc = _O32_LocalAlloc(a, b);
|
---|
6726 | SetFS(sel);
|
---|
6727 |
|
---|
6728 | return yyrc;
|
---|
6729 | }
|
---|
6730 |
|
---|
6731 | inline HLOCAL O32_LocalDiscard(HLOCAL a)
|
---|
6732 | {
|
---|
6733 | HLOCAL yyrc;
|
---|
6734 | USHORT sel = RestoreOS2FS();
|
---|
6735 |
|
---|
6736 | yyrc = _O32_LocalDiscard(a);
|
---|
6737 | SetFS(sel);
|
---|
6738 |
|
---|
6739 | return yyrc;
|
---|
6740 | }
|
---|
6741 |
|
---|
6742 | inline UINT O32_LocalFlags(HLOCAL a)
|
---|
6743 | {
|
---|
6744 | UINT yyrc;
|
---|
6745 | USHORT sel = RestoreOS2FS();
|
---|
6746 |
|
---|
6747 | yyrc = _O32_LocalFlags(a);
|
---|
6748 | SetFS(sel);
|
---|
6749 |
|
---|
6750 | return yyrc;
|
---|
6751 | }
|
---|
6752 |
|
---|
6753 | inline BOOL O32_LocalFileTimeToFileTime(CONST FILETIME *a, FILETIME *b)
|
---|
6754 | {
|
---|
6755 | BOOL yyrc;
|
---|
6756 | USHORT sel = RestoreOS2FS();
|
---|
6757 |
|
---|
6758 | yyrc = _O32_LocalFileTimeToFileTime(a, b);
|
---|
6759 | SetFS(sel);
|
---|
6760 |
|
---|
6761 | return yyrc;
|
---|
6762 | }
|
---|
6763 |
|
---|
6764 | inline HLOCAL O32_LocalFree(HLOCAL a)
|
---|
6765 | {
|
---|
6766 | HLOCAL yyrc;
|
---|
6767 | USHORT sel = RestoreOS2FS();
|
---|
6768 |
|
---|
6769 | yyrc = _O32_LocalFree(a);
|
---|
6770 | SetFS(sel);
|
---|
6771 |
|
---|
6772 | return yyrc;
|
---|
6773 | }
|
---|
6774 |
|
---|
6775 | inline HLOCAL O32_LocalHandle(PVOID a)
|
---|
6776 | {
|
---|
6777 | HLOCAL yyrc;
|
---|
6778 | USHORT sel = RestoreOS2FS();
|
---|
6779 |
|
---|
6780 | yyrc = _O32_LocalHandle(a);
|
---|
6781 | SetFS(sel);
|
---|
6782 |
|
---|
6783 | return yyrc;
|
---|
6784 | }
|
---|
6785 |
|
---|
6786 | inline BOOL O32_LocalUnlock(HLOCAL a)
|
---|
6787 | {
|
---|
6788 | BOOL yyrc;
|
---|
6789 | USHORT sel = RestoreOS2FS();
|
---|
6790 |
|
---|
6791 | yyrc = _O32_LocalUnlock(a);
|
---|
6792 | SetFS(sel);
|
---|
6793 |
|
---|
6794 | return yyrc;
|
---|
6795 | }
|
---|
6796 |
|
---|
6797 | inline HLOCAL O32_LocalReAlloc(HLOCAL a, UINT b, UINT c)
|
---|
6798 | {
|
---|
6799 | HLOCAL yyrc;
|
---|
6800 | USHORT sel = RestoreOS2FS();
|
---|
6801 |
|
---|
6802 | yyrc = _O32_LocalReAlloc(a, b, c);
|
---|
6803 | SetFS(sel);
|
---|
6804 |
|
---|
6805 | return yyrc;
|
---|
6806 | }
|
---|
6807 |
|
---|
6808 | inline UINT O32_LocalSize(HLOCAL a)
|
---|
6809 | {
|
---|
6810 | UINT yyrc;
|
---|
6811 | USHORT sel = RestoreOS2FS();
|
---|
6812 |
|
---|
6813 | yyrc = _O32_LocalSize(a);
|
---|
6814 | SetFS(sel);
|
---|
6815 |
|
---|
6816 | return yyrc;
|
---|
6817 | }
|
---|
6818 |
|
---|
6819 | inline PVOID O32_LocalLock(HLOCAL a)
|
---|
6820 | {
|
---|
6821 | PVOID yyrc;
|
---|
6822 | USHORT sel = RestoreOS2FS();
|
---|
6823 |
|
---|
6824 | yyrc = _O32_LocalLock(a);
|
---|
6825 | SetFS(sel);
|
---|
6826 |
|
---|
6827 | return yyrc;
|
---|
6828 | }
|
---|
6829 |
|
---|
6830 | inline BOOL O32_LockFile(HANDLE a, DWORD b, DWORD c, DWORD d, DWORD e)
|
---|
6831 | {
|
---|
6832 | BOOL yyrc;
|
---|
6833 | USHORT sel = RestoreOS2FS();
|
---|
6834 |
|
---|
6835 | yyrc = _O32_LockFile(a, b, c, d, e);
|
---|
6836 | SetFS(sel);
|
---|
6837 |
|
---|
6838 | return yyrc;
|
---|
6839 | }
|
---|
6840 |
|
---|
6841 | inline BOOL O32_LockWindowUpdate(HWND a)
|
---|
6842 | {
|
---|
6843 | BOOL yyrc;
|
---|
6844 | USHORT sel = RestoreOS2FS();
|
---|
6845 |
|
---|
6846 | yyrc = _O32_LockWindowUpdate(a);
|
---|
6847 | SetFS(sel);
|
---|
6848 |
|
---|
6849 | return yyrc;
|
---|
6850 | }
|
---|
6851 |
|
---|
6852 | inline BOOL O32_MapDialogRect(HWND a, PRECT b)
|
---|
6853 | {
|
---|
6854 | BOOL yyrc;
|
---|
6855 | USHORT sel = RestoreOS2FS();
|
---|
6856 |
|
---|
6857 | yyrc = _O32_MapDialogRect(a, b);
|
---|
6858 | SetFS(sel);
|
---|
6859 |
|
---|
6860 | return yyrc;
|
---|
6861 | }
|
---|
6862 |
|
---|
6863 | inline UINT O32_MapVirtualKey(UINT a, UINT b)
|
---|
6864 | {
|
---|
6865 | UINT yyrc;
|
---|
6866 | USHORT sel = RestoreOS2FS();
|
---|
6867 |
|
---|
6868 | yyrc = _O32_MapVirtualKey(a, b);
|
---|
6869 | SetFS(sel);
|
---|
6870 |
|
---|
6871 | return yyrc;
|
---|
6872 | }
|
---|
6873 |
|
---|
6874 | inline int O32_MapWindowPoints(HWND a, HWND b, PPOINT c, int d)
|
---|
6875 | {
|
---|
6876 | int yyrc;
|
---|
6877 | USHORT sel = RestoreOS2FS();
|
---|
6878 |
|
---|
6879 | yyrc = _O32_MapWindowPoints(a, b, c, d);
|
---|
6880 | SetFS(sel);
|
---|
6881 |
|
---|
6882 | return yyrc;
|
---|
6883 | }
|
---|
6884 |
|
---|
6885 | 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)
|
---|
6886 | {
|
---|
6887 | BOOL yyrc;
|
---|
6888 | USHORT sel = RestoreOS2FS();
|
---|
6889 |
|
---|
6890 | yyrc = _O32_MaskBlt(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
6891 | SetFS(sel);
|
---|
6892 |
|
---|
6893 | return yyrc;
|
---|
6894 | }
|
---|
6895 |
|
---|
6896 | inline int O32_MessageBox(HWND a, LPCSTR b, LPCSTR c, UINT d)
|
---|
6897 | {
|
---|
6898 | int yyrc;
|
---|
6899 | USHORT sel = RestoreOS2FS();
|
---|
6900 |
|
---|
6901 | yyrc = _O32_MessageBox(a, b, c, d);
|
---|
6902 | SetFS(sel);
|
---|
6903 |
|
---|
6904 | return yyrc;
|
---|
6905 | }
|
---|
6906 |
|
---|
6907 | inline BOOL O32_MessageBeep(UINT a)
|
---|
6908 | {
|
---|
6909 | BOOL yyrc;
|
---|
6910 | USHORT sel = RestoreOS2FS();
|
---|
6911 |
|
---|
6912 | yyrc = _O32_MessageBeep(a);
|
---|
6913 | SetFS(sel);
|
---|
6914 |
|
---|
6915 | return yyrc;
|
---|
6916 | }
|
---|
6917 |
|
---|
6918 | inline DWORD O32_MsgWaitForMultipleObjects(DWORD a, LPHANDLE b, BOOL c, DWORD d, DWORD e)
|
---|
6919 | {
|
---|
6920 | DWORD yyrc;
|
---|
6921 | USHORT sel = RestoreOS2FS();
|
---|
6922 |
|
---|
6923 | yyrc = _O32_MsgWaitForMultipleObjects(a, b, c, d, e);
|
---|
6924 | SetFS(sel);
|
---|
6925 |
|
---|
6926 | return yyrc;
|
---|
6927 | }
|
---|
6928 |
|
---|
6929 | inline BOOL O32_ModifyMenu(HMENU a, UINT b, UINT c, UINT d, LPCSTR e)
|
---|
6930 | {
|
---|
6931 | BOOL yyrc;
|
---|
6932 | USHORT sel = RestoreOS2FS();
|
---|
6933 |
|
---|
6934 | yyrc = _O32_ModifyMenu(a, b, c, d, e);
|
---|
6935 | SetFS(sel);
|
---|
6936 |
|
---|
6937 | return yyrc;
|
---|
6938 | }
|
---|
6939 |
|
---|
6940 | inline BOOL O32_ModifyWorldTransform(HDC a, LPXFORM b, DWORD c)
|
---|
6941 | {
|
---|
6942 | BOOL yyrc;
|
---|
6943 | USHORT sel = RestoreOS2FS();
|
---|
6944 |
|
---|
6945 | yyrc = _O32_ModifyWorldTransform(a, b, c);
|
---|
6946 | SetFS(sel);
|
---|
6947 |
|
---|
6948 | return yyrc;
|
---|
6949 | }
|
---|
6950 |
|
---|
6951 | inline BOOL O32_MoveFile(LPCSTR a, LPCSTR b)
|
---|
6952 | {
|
---|
6953 | BOOL yyrc;
|
---|
6954 | USHORT sel = RestoreOS2FS();
|
---|
6955 |
|
---|
6956 | yyrc = _O32_MoveFile(a, b);
|
---|
6957 | SetFS(sel);
|
---|
6958 |
|
---|
6959 | return yyrc;
|
---|
6960 | }
|
---|
6961 |
|
---|
6962 | inline BOOL O32_MoveToEx(HDC a, int b, int c, PPOINT d)
|
---|
6963 | {
|
---|
6964 | BOOL yyrc;
|
---|
6965 | USHORT sel = RestoreOS2FS();
|
---|
6966 |
|
---|
6967 | yyrc = _O32_MoveToEx(a, b, c, d);
|
---|
6968 | SetFS(sel);
|
---|
6969 |
|
---|
6970 | return yyrc;
|
---|
6971 | }
|
---|
6972 |
|
---|
6973 | inline BOOL O32_MoveWindow(HWND a, int b, int c, int d, int e, BOOL f)
|
---|
6974 | {
|
---|
6975 | BOOL yyrc;
|
---|
6976 | USHORT sel = RestoreOS2FS();
|
---|
6977 |
|
---|
6978 | yyrc = _O32_MoveWindow(a, b, c, d, e, f);
|
---|
6979 | SetFS(sel);
|
---|
6980 |
|
---|
6981 | return yyrc;
|
---|
6982 | }
|
---|
6983 |
|
---|
6984 | inline int O32_MulDiv(int a, int b, int c)
|
---|
6985 | {
|
---|
6986 | int yyrc;
|
---|
6987 | USHORT sel = RestoreOS2FS();
|
---|
6988 |
|
---|
6989 | yyrc = _O32_MulDiv(a, b, c);
|
---|
6990 | SetFS(sel);
|
---|
6991 |
|
---|
6992 | return yyrc;
|
---|
6993 | }
|
---|
6994 |
|
---|
6995 | inline int O32_OffsetClipRgn(HDC a, int b, int c)
|
---|
6996 | {
|
---|
6997 | int yyrc;
|
---|
6998 | USHORT sel = RestoreOS2FS();
|
---|
6999 |
|
---|
7000 | yyrc = _O32_OffsetClipRgn(a, b, c);
|
---|
7001 | SetFS(sel);
|
---|
7002 |
|
---|
7003 | return yyrc;
|
---|
7004 | }
|
---|
7005 |
|
---|
7006 | inline BOOL O32_OffsetRect(PRECT a, int b, int c)
|
---|
7007 | {
|
---|
7008 | BOOL yyrc;
|
---|
7009 | USHORT sel = RestoreOS2FS();
|
---|
7010 |
|
---|
7011 | yyrc = _O32_OffsetRect(a, b, c);
|
---|
7012 | SetFS(sel);
|
---|
7013 |
|
---|
7014 | return yyrc;
|
---|
7015 | }
|
---|
7016 |
|
---|
7017 | inline int O32_OffsetRgn(HRGN a, int b, int c)
|
---|
7018 | {
|
---|
7019 | int yyrc;
|
---|
7020 | USHORT sel = RestoreOS2FS();
|
---|
7021 |
|
---|
7022 | yyrc = _O32_OffsetRgn(a, b, c);
|
---|
7023 | SetFS(sel);
|
---|
7024 |
|
---|
7025 | return yyrc;
|
---|
7026 | }
|
---|
7027 |
|
---|
7028 | inline BOOL O32_OffsetViewportOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
7029 | {
|
---|
7030 | BOOL yyrc;
|
---|
7031 | USHORT sel = RestoreOS2FS();
|
---|
7032 |
|
---|
7033 | yyrc = _O32_OffsetViewportOrgEx(a, b, c, d);
|
---|
7034 | SetFS(sel);
|
---|
7035 |
|
---|
7036 | return yyrc;
|
---|
7037 | }
|
---|
7038 |
|
---|
7039 | inline BOOL O32_OffsetWindowOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
7040 | {
|
---|
7041 | BOOL yyrc;
|
---|
7042 | USHORT sel = RestoreOS2FS();
|
---|
7043 |
|
---|
7044 | yyrc = _O32_OffsetWindowOrgEx(a, b, c, d);
|
---|
7045 | SetFS(sel);
|
---|
7046 |
|
---|
7047 | return yyrc;
|
---|
7048 | }
|
---|
7049 |
|
---|
7050 | inline BOOL O32_OpenClipboard(HWND a)
|
---|
7051 | {
|
---|
7052 | BOOL yyrc;
|
---|
7053 | USHORT sel = RestoreOS2FS();
|
---|
7054 |
|
---|
7055 | yyrc = _O32_OpenClipboard(a);
|
---|
7056 | SetFS(sel);
|
---|
7057 |
|
---|
7058 | return yyrc;
|
---|
7059 | }
|
---|
7060 |
|
---|
7061 | inline HANDLE O32_OpenEvent(DWORD a, BOOL b, LPCSTR c)
|
---|
7062 | {
|
---|
7063 | HANDLE yyrc;
|
---|
7064 | USHORT sel = RestoreOS2FS();
|
---|
7065 |
|
---|
7066 | yyrc = _O32_OpenEvent(a, b, c);
|
---|
7067 | SetFS(sel);
|
---|
7068 |
|
---|
7069 | return yyrc;
|
---|
7070 | }
|
---|
7071 |
|
---|
7072 | inline HFILE O32_OpenFile(LPCSTR a, LPOFSTRUCT b, UINT c)
|
---|
7073 | {
|
---|
7074 | HFILE yyrc;
|
---|
7075 | USHORT sel = RestoreOS2FS();
|
---|
7076 |
|
---|
7077 | yyrc = _O32_OpenFile(a, b, c);
|
---|
7078 | SetFS(sel);
|
---|
7079 |
|
---|
7080 | return yyrc;
|
---|
7081 | }
|
---|
7082 |
|
---|
7083 | inline HANDLE O32_OpenMutex(DWORD a, BOOL b, LPCSTR c)
|
---|
7084 | {
|
---|
7085 | HANDLE yyrc;
|
---|
7086 | USHORT sel = RestoreOS2FS();
|
---|
7087 |
|
---|
7088 | yyrc = _O32_OpenMutex(a, b, c);
|
---|
7089 | SetFS(sel);
|
---|
7090 |
|
---|
7091 | return yyrc;
|
---|
7092 | }
|
---|
7093 |
|
---|
7094 | inline HANDLE O32_OpenProcess(DWORD a, BOOL b, DWORD c)
|
---|
7095 | {
|
---|
7096 | HANDLE yyrc;
|
---|
7097 | USHORT sel = RestoreOS2FS();
|
---|
7098 |
|
---|
7099 | yyrc = _O32_OpenProcess(a, b, c);
|
---|
7100 | SetFS(sel);
|
---|
7101 |
|
---|
7102 | return yyrc;
|
---|
7103 | }
|
---|
7104 |
|
---|
7105 | inline HANDLE O32_OpenSemaphore(DWORD a, BOOL b, LPCSTR c)
|
---|
7106 | {
|
---|
7107 | HANDLE yyrc;
|
---|
7108 | USHORT sel = RestoreOS2FS();
|
---|
7109 |
|
---|
7110 | yyrc = _O32_OpenSemaphore(a, b, c);
|
---|
7111 | SetFS(sel);
|
---|
7112 |
|
---|
7113 | return yyrc;
|
---|
7114 | }
|
---|
7115 |
|
---|
7116 | inline VOID O32_OutputDebugString(LPCSTR a)
|
---|
7117 | {
|
---|
7118 | USHORT sel = RestoreOS2FS();
|
---|
7119 |
|
---|
7120 | _O32_OutputDebugString(a);
|
---|
7121 | SetFS(sel);
|
---|
7122 | }
|
---|
7123 |
|
---|
7124 | inline LONG O32_PackDDElParam(UINT a, UINT b, UINT c)
|
---|
7125 | {
|
---|
7126 | LONG yyrc;
|
---|
7127 | USHORT sel = RestoreOS2FS();
|
---|
7128 |
|
---|
7129 | yyrc = _O32_PackDDElParam(a, b, c);
|
---|
7130 | SetFS(sel);
|
---|
7131 |
|
---|
7132 | return yyrc;
|
---|
7133 | }
|
---|
7134 |
|
---|
7135 | inline BOOL O32_PaintRgn(HDC a, HRGN b)
|
---|
7136 | {
|
---|
7137 | BOOL yyrc;
|
---|
7138 | USHORT sel = RestoreOS2FS();
|
---|
7139 |
|
---|
7140 | yyrc = _O32_PaintRgn(a, b);
|
---|
7141 | SetFS(sel);
|
---|
7142 |
|
---|
7143 | return yyrc;
|
---|
7144 | }
|
---|
7145 |
|
---|
7146 | inline BOOL O32_PatBlt(HDC a, int b, int c, int d, int e, DWORD f)
|
---|
7147 | {
|
---|
7148 | BOOL yyrc;
|
---|
7149 | USHORT sel = RestoreOS2FS();
|
---|
7150 |
|
---|
7151 | yyrc = _O32_PatBlt(a, b, c, d, e, f);
|
---|
7152 | SetFS(sel);
|
---|
7153 |
|
---|
7154 | return yyrc;
|
---|
7155 | }
|
---|
7156 |
|
---|
7157 | inline HRGN O32_PathToRegion(HDC a)
|
---|
7158 | {
|
---|
7159 | HRGN yyrc;
|
---|
7160 | USHORT sel = RestoreOS2FS();
|
---|
7161 |
|
---|
7162 | yyrc = _O32_PathToRegion(a);
|
---|
7163 | SetFS(sel);
|
---|
7164 |
|
---|
7165 | return yyrc;
|
---|
7166 | }
|
---|
7167 |
|
---|
7168 | inline BOOL O32_PeekMessage(LPMSG a, HWND b, UINT c, UINT d, UINT e)
|
---|
7169 | {
|
---|
7170 | BOOL yyrc;
|
---|
7171 | USHORT sel = RestoreOS2FS();
|
---|
7172 |
|
---|
7173 | yyrc = _O32_PeekMessage(a, b, c, d, e);
|
---|
7174 | SetFS(sel);
|
---|
7175 |
|
---|
7176 | return yyrc;
|
---|
7177 | }
|
---|
7178 |
|
---|
7179 | inline BOOL O32_Pie(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
7180 | {
|
---|
7181 | BOOL yyrc;
|
---|
7182 | USHORT sel = RestoreOS2FS();
|
---|
7183 |
|
---|
7184 | yyrc = _O32_Pie(a, b, c, d, e, f, g, h, i);
|
---|
7185 | SetFS(sel);
|
---|
7186 |
|
---|
7187 | return yyrc;
|
---|
7188 | }
|
---|
7189 |
|
---|
7190 | inline BOOL O32_PlayEnhMetaFile(HDC a, HENHMETAFILE b, CONST RECT *c)
|
---|
7191 | {
|
---|
7192 | BOOL yyrc;
|
---|
7193 | USHORT sel = RestoreOS2FS();
|
---|
7194 |
|
---|
7195 | yyrc = _O32_PlayEnhMetaFile(a, b, c);
|
---|
7196 | SetFS(sel);
|
---|
7197 |
|
---|
7198 | return yyrc;
|
---|
7199 | }
|
---|
7200 |
|
---|
7201 | inline BOOL O32_PlayMetaFile(HDC a, HMETAFILE b)
|
---|
7202 | {
|
---|
7203 | BOOL yyrc;
|
---|
7204 | USHORT sel = RestoreOS2FS();
|
---|
7205 |
|
---|
7206 | yyrc = _O32_PlayMetaFile(a, b);
|
---|
7207 | SetFS(sel);
|
---|
7208 |
|
---|
7209 | return yyrc;
|
---|
7210 | }
|
---|
7211 |
|
---|
7212 | inline BOOL O32_PlayMetaFileRecord(HDC a, LPHANDLETABLE b, PMETARECORD c, int d)
|
---|
7213 | {
|
---|
7214 | BOOL yyrc;
|
---|
7215 | USHORT sel = RestoreOS2FS();
|
---|
7216 |
|
---|
7217 | yyrc = _O32_PlayMetaFileRecord(a, b, c, d);
|
---|
7218 | SetFS(sel);
|
---|
7219 |
|
---|
7220 | return yyrc;
|
---|
7221 | }
|
---|
7222 |
|
---|
7223 | inline BOOL O32_PolyBezier(HDC a, CONST POINT *b, int c)
|
---|
7224 | {
|
---|
7225 | BOOL yyrc;
|
---|
7226 | USHORT sel = RestoreOS2FS();
|
---|
7227 |
|
---|
7228 | yyrc = _O32_PolyBezier(a, b, c);
|
---|
7229 | SetFS(sel);
|
---|
7230 |
|
---|
7231 | return yyrc;
|
---|
7232 | }
|
---|
7233 |
|
---|
7234 | inline BOOL O32_PolyBezierTo(HDC a, CONST POINT *b, DWORD c)
|
---|
7235 | {
|
---|
7236 | BOOL yyrc;
|
---|
7237 | USHORT sel = RestoreOS2FS();
|
---|
7238 |
|
---|
7239 | yyrc = _O32_PolyBezierTo(a, b, c);
|
---|
7240 | SetFS(sel);
|
---|
7241 |
|
---|
7242 | return yyrc;
|
---|
7243 | }
|
---|
7244 |
|
---|
7245 | inline BOOL O32_PolyDraw(HDC a, CONST POINT *b, CONST BYTE *c, int d)
|
---|
7246 | {
|
---|
7247 | BOOL yyrc;
|
---|
7248 | USHORT sel = RestoreOS2FS();
|
---|
7249 |
|
---|
7250 | yyrc = _O32_PolyDraw(a, b, c, d);
|
---|
7251 | SetFS(sel);
|
---|
7252 |
|
---|
7253 | return yyrc;
|
---|
7254 | }
|
---|
7255 |
|
---|
7256 | inline BOOL O32_Polygon(HDC a, CONST POINT *b, int c)
|
---|
7257 | {
|
---|
7258 | BOOL yyrc;
|
---|
7259 | USHORT sel = RestoreOS2FS();
|
---|
7260 |
|
---|
7261 | yyrc = _O32_Polygon(a, b, c);
|
---|
7262 | SetFS(sel);
|
---|
7263 |
|
---|
7264 | return yyrc;
|
---|
7265 | }
|
---|
7266 |
|
---|
7267 | inline BOOL O32_Polyline(HDC a, CONST POINT *b, int c)
|
---|
7268 | {
|
---|
7269 | BOOL yyrc;
|
---|
7270 | USHORT sel = RestoreOS2FS();
|
---|
7271 |
|
---|
7272 | yyrc = _O32_Polyline(a, b, c);
|
---|
7273 | SetFS(sel);
|
---|
7274 |
|
---|
7275 | return yyrc;
|
---|
7276 | }
|
---|
7277 |
|
---|
7278 | inline BOOL O32_PolylineTo(HDC a, CONST POINT *b, DWORD c)
|
---|
7279 | {
|
---|
7280 | BOOL yyrc;
|
---|
7281 | USHORT sel = RestoreOS2FS();
|
---|
7282 |
|
---|
7283 | yyrc = _O32_PolylineTo(a, b, c);
|
---|
7284 | SetFS(sel);
|
---|
7285 |
|
---|
7286 | return yyrc;
|
---|
7287 | }
|
---|
7288 |
|
---|
7289 | inline BOOL O32_PolyPolygon(HDC a, CONST POINT *b, CONST int *c, int d)
|
---|
7290 | {
|
---|
7291 | BOOL yyrc;
|
---|
7292 | USHORT sel = RestoreOS2FS();
|
---|
7293 |
|
---|
7294 | yyrc = _O32_PolyPolygon(a, b, c, d);
|
---|
7295 | SetFS(sel);
|
---|
7296 |
|
---|
7297 | return yyrc;
|
---|
7298 | }
|
---|
7299 |
|
---|
7300 | inline BOOL O32_PolyPolyline(HDC a, CONST POINT *b, CONST DWORD *c, DWORD d)
|
---|
7301 | {
|
---|
7302 | BOOL yyrc;
|
---|
7303 | USHORT sel = RestoreOS2FS();
|
---|
7304 |
|
---|
7305 | yyrc = _O32_PolyPolyline(a, b, c, d);
|
---|
7306 | SetFS(sel);
|
---|
7307 |
|
---|
7308 | return yyrc;
|
---|
7309 | }
|
---|
7310 |
|
---|
7311 | inline VOID O32_PostQuitMessage(int a)
|
---|
7312 | {
|
---|
7313 | USHORT sel = RestoreOS2FS();
|
---|
7314 |
|
---|
7315 | _O32_PostQuitMessage(a);
|
---|
7316 | SetFS(sel);
|
---|
7317 | }
|
---|
7318 |
|
---|
7319 | inline BOOL O32_PostMessage(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
7320 | {
|
---|
7321 | BOOL yyrc;
|
---|
7322 | USHORT sel = RestoreOS2FS();
|
---|
7323 |
|
---|
7324 | yyrc = _O32_PostMessage(a, b, c, d);
|
---|
7325 | SetFS(sel);
|
---|
7326 |
|
---|
7327 | return yyrc;
|
---|
7328 | }
|
---|
7329 |
|
---|
7330 | inline BOOL O32_PostThreadMessage(DWORD a, UINT b, WPARAM c, LPARAM d)
|
---|
7331 | {
|
---|
7332 | BOOL yyrc;
|
---|
7333 | USHORT sel = RestoreOS2FS();
|
---|
7334 |
|
---|
7335 | yyrc = _O32_PostThreadMessage(a, b, c, d);
|
---|
7336 | SetFS(sel);
|
---|
7337 |
|
---|
7338 | return yyrc;
|
---|
7339 | }
|
---|
7340 |
|
---|
7341 | inline BOOL O32_PtInRect(CONST RECT *a, POINT b)
|
---|
7342 | {
|
---|
7343 | BOOL yyrc;
|
---|
7344 | USHORT sel = RestoreOS2FS();
|
---|
7345 |
|
---|
7346 | yyrc = _O32_PtInRect(a, b);
|
---|
7347 | SetFS(sel);
|
---|
7348 |
|
---|
7349 | return yyrc;
|
---|
7350 | }
|
---|
7351 |
|
---|
7352 | inline BOOL O32_PtInRegion(HRGN a, int b, int c)
|
---|
7353 | {
|
---|
7354 | BOOL yyrc;
|
---|
7355 | USHORT sel = RestoreOS2FS();
|
---|
7356 |
|
---|
7357 | yyrc = _O32_PtInRegion(a, b, c);
|
---|
7358 | SetFS(sel);
|
---|
7359 |
|
---|
7360 | return yyrc;
|
---|
7361 | }
|
---|
7362 |
|
---|
7363 | inline BOOL O32_PtVisible(HDC a, int b, int c)
|
---|
7364 | {
|
---|
7365 | BOOL yyrc;
|
---|
7366 | USHORT sel = RestoreOS2FS();
|
---|
7367 |
|
---|
7368 | yyrc = _O32_PtVisible(a, b, c);
|
---|
7369 | SetFS(sel);
|
---|
7370 |
|
---|
7371 | return yyrc;
|
---|
7372 | }
|
---|
7373 |
|
---|
7374 | inline BOOL O32_PrintDlg(LPPRINTDLGA a)
|
---|
7375 | {
|
---|
7376 | BOOL yyrc;
|
---|
7377 | USHORT sel = RestoreOS2FS();
|
---|
7378 |
|
---|
7379 | yyrc = _O32_PrintDlg(a);
|
---|
7380 | SetFS(sel);
|
---|
7381 |
|
---|
7382 | return yyrc;
|
---|
7383 | }
|
---|
7384 |
|
---|
7385 | inline BOOL O32_PulseEvent(HANDLE a)
|
---|
7386 | {
|
---|
7387 | BOOL yyrc;
|
---|
7388 | USHORT sel = RestoreOS2FS();
|
---|
7389 |
|
---|
7390 | yyrc = _O32_PulseEvent(a);
|
---|
7391 | SetFS(sel);
|
---|
7392 |
|
---|
7393 | return yyrc;
|
---|
7394 | }
|
---|
7395 |
|
---|
7396 | inline BOOL O32_ReadFile(HANDLE a, PVOID b, DWORD c, PDWORD d, LPOVERLAPPED e)
|
---|
7397 | {
|
---|
7398 | BOOL yyrc;
|
---|
7399 | USHORT sel = RestoreOS2FS();
|
---|
7400 |
|
---|
7401 | yyrc = _O32_ReadFile(a, b, c, d, e);
|
---|
7402 | SetFS(sel);
|
---|
7403 |
|
---|
7404 | return yyrc;
|
---|
7405 | }
|
---|
7406 |
|
---|
7407 | inline UINT O32_RealizePalette(HDC a)
|
---|
7408 | {
|
---|
7409 | UINT yyrc;
|
---|
7410 | USHORT sel = RestoreOS2FS();
|
---|
7411 |
|
---|
7412 | yyrc = _O32_RealizePalette(a);
|
---|
7413 | SetFS(sel);
|
---|
7414 |
|
---|
7415 | return yyrc;
|
---|
7416 | }
|
---|
7417 |
|
---|
7418 | inline BOOL O32_RectInRegion(HRGN a, CONST RECT *b)
|
---|
7419 | {
|
---|
7420 | BOOL yyrc;
|
---|
7421 | USHORT sel = RestoreOS2FS();
|
---|
7422 |
|
---|
7423 | yyrc = _O32_RectInRegion(a, b);
|
---|
7424 | SetFS(sel);
|
---|
7425 |
|
---|
7426 | return yyrc;
|
---|
7427 | }
|
---|
7428 |
|
---|
7429 | inline BOOL O32_RectVisible(HDC a, CONST RECT *b)
|
---|
7430 | {
|
---|
7431 | BOOL yyrc;
|
---|
7432 | USHORT sel = RestoreOS2FS();
|
---|
7433 |
|
---|
7434 | yyrc = _O32_RectVisible(a, b);
|
---|
7435 | SetFS(sel);
|
---|
7436 |
|
---|
7437 | return yyrc;
|
---|
7438 | }
|
---|
7439 |
|
---|
7440 | inline BOOL O32_Rectangle(HDC a, int b, int c, int d, int e)
|
---|
7441 | {
|
---|
7442 | BOOL yyrc;
|
---|
7443 | USHORT sel = RestoreOS2FS();
|
---|
7444 |
|
---|
7445 | yyrc = _O32_Rectangle(a, b, c, d, e);
|
---|
7446 | SetFS(sel);
|
---|
7447 |
|
---|
7448 | return yyrc;
|
---|
7449 | }
|
---|
7450 |
|
---|
7451 | inline BOOL O32_RedrawWindow(HWND a, CONST RECT *b, HRGN c, DWORD d)
|
---|
7452 | {
|
---|
7453 | BOOL yyrc;
|
---|
7454 | USHORT sel = RestoreOS2FS();
|
---|
7455 |
|
---|
7456 | yyrc = _O32_RedrawWindow(a, b, c, d);
|
---|
7457 | SetFS(sel);
|
---|
7458 |
|
---|
7459 | return yyrc;
|
---|
7460 | }
|
---|
7461 |
|
---|
7462 | inline LONG O32_RegCloseKey(HKEY a)
|
---|
7463 | {
|
---|
7464 | LONG yyrc;
|
---|
7465 | USHORT sel = RestoreOS2FS();
|
---|
7466 |
|
---|
7467 | yyrc = _O32_RegCloseKey(a);
|
---|
7468 | SetFS(sel);
|
---|
7469 |
|
---|
7470 | return yyrc;
|
---|
7471 | }
|
---|
7472 |
|
---|
7473 | inline LONG O32_RegCreateKey(HKEY a, LPCSTR b, PHKEY c)
|
---|
7474 | {
|
---|
7475 | LONG yyrc;
|
---|
7476 | USHORT sel = RestoreOS2FS();
|
---|
7477 |
|
---|
7478 | yyrc = _O32_RegCreateKey(a, b, c);
|
---|
7479 | SetFS(sel);
|
---|
7480 |
|
---|
7481 | return yyrc;
|
---|
7482 | }
|
---|
7483 |
|
---|
7484 | inline LONG O32_RegCreateKeyEx(HKEY a, LPCSTR b, DWORD c, LPSTR d, DWORD e, REGSAM f, LPSECURITY_ATTRIBUTES g, PHKEY h, PDWORD i)
|
---|
7485 | {
|
---|
7486 | LONG yyrc;
|
---|
7487 | USHORT sel = RestoreOS2FS();
|
---|
7488 |
|
---|
7489 | yyrc = _O32_RegCreateKeyEx(a, b, c, d, e, f, g, h, i);
|
---|
7490 | SetFS(sel);
|
---|
7491 |
|
---|
7492 | return yyrc;
|
---|
7493 | }
|
---|
7494 |
|
---|
7495 | inline LONG O32_RegDeleteKey(HKEY a, LPCSTR b)
|
---|
7496 | {
|
---|
7497 | LONG yyrc;
|
---|
7498 | USHORT sel = RestoreOS2FS();
|
---|
7499 |
|
---|
7500 | yyrc = _O32_RegDeleteKey(a, b);
|
---|
7501 | SetFS(sel);
|
---|
7502 |
|
---|
7503 | return yyrc;
|
---|
7504 | }
|
---|
7505 |
|
---|
7506 | inline LONG O32_RegDeleteValue(HKEY a, LPSTR b)
|
---|
7507 | {
|
---|
7508 | LONG yyrc;
|
---|
7509 | USHORT sel = RestoreOS2FS();
|
---|
7510 |
|
---|
7511 | yyrc = _O32_RegDeleteValue(a, b);
|
---|
7512 | SetFS(sel);
|
---|
7513 |
|
---|
7514 | return yyrc;
|
---|
7515 | }
|
---|
7516 |
|
---|
7517 | inline LONG O32_RegEnumKey(HKEY a, DWORD b, LPSTR c, DWORD d)
|
---|
7518 | {
|
---|
7519 | LONG yyrc;
|
---|
7520 | USHORT sel = RestoreOS2FS();
|
---|
7521 |
|
---|
7522 | yyrc = _O32_RegEnumKey(a, b, c, d);
|
---|
7523 | SetFS(sel);
|
---|
7524 |
|
---|
7525 | return yyrc;
|
---|
7526 | }
|
---|
7527 |
|
---|
7528 | inline LONG O32_RegEnumKeyEx(HKEY a, DWORD b, LPSTR c, PDWORD d, PDWORD e, LPSTR f, PDWORD g, FILETIME *h)
|
---|
7529 | {
|
---|
7530 | LONG yyrc;
|
---|
7531 | USHORT sel = RestoreOS2FS();
|
---|
7532 |
|
---|
7533 | yyrc = _O32_RegEnumKeyEx(a, b, c, d, e, f, g, h);
|
---|
7534 | SetFS(sel);
|
---|
7535 |
|
---|
7536 | return yyrc;
|
---|
7537 | }
|
---|
7538 |
|
---|
7539 | inline LONG O32_RegEnumValue(HKEY a, DWORD b, LPSTR c, PDWORD d, PDWORD e, PDWORD f, LPBYTE g, PDWORD h)
|
---|
7540 | {
|
---|
7541 | LONG yyrc;
|
---|
7542 | USHORT sel = RestoreOS2FS();
|
---|
7543 |
|
---|
7544 | yyrc = _O32_RegEnumValue(a, b, c, d, e, f, g, h);
|
---|
7545 | SetFS(sel);
|
---|
7546 |
|
---|
7547 | return yyrc;
|
---|
7548 | }
|
---|
7549 |
|
---|
7550 | inline LONG O32_RegOpenKey(HKEY a, LPCSTR b, PHKEY c)
|
---|
7551 | {
|
---|
7552 | LONG yyrc;
|
---|
7553 | USHORT sel = RestoreOS2FS();
|
---|
7554 |
|
---|
7555 | yyrc = _O32_RegOpenKey(a, b, c);
|
---|
7556 | SetFS(sel);
|
---|
7557 |
|
---|
7558 | return yyrc;
|
---|
7559 | }
|
---|
7560 |
|
---|
7561 | inline LONG O32_RegOpenKeyEx(HKEY a, LPCSTR b, DWORD c, REGSAM d, PHKEY e)
|
---|
7562 | {
|
---|
7563 | LONG yyrc;
|
---|
7564 | USHORT sel = RestoreOS2FS();
|
---|
7565 |
|
---|
7566 | yyrc = _O32_RegOpenKeyEx(a, b, c, d, e);
|
---|
7567 | SetFS(sel);
|
---|
7568 |
|
---|
7569 | return yyrc;
|
---|
7570 | }
|
---|
7571 |
|
---|
7572 | 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)
|
---|
7573 | {
|
---|
7574 | LONG yyrc;
|
---|
7575 | USHORT sel = RestoreOS2FS();
|
---|
7576 |
|
---|
7577 | yyrc = _O32_RegQueryInfoKey(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
7578 | SetFS(sel);
|
---|
7579 |
|
---|
7580 | return yyrc;
|
---|
7581 | }
|
---|
7582 |
|
---|
7583 | inline LONG O32_RegQueryValue(HKEY a, LPCSTR b, LPSTR c, PLONG d)
|
---|
7584 | {
|
---|
7585 | LONG yyrc;
|
---|
7586 | USHORT sel = RestoreOS2FS();
|
---|
7587 |
|
---|
7588 | yyrc = _O32_RegQueryValue(a, b, c, d);
|
---|
7589 | SetFS(sel);
|
---|
7590 |
|
---|
7591 | return yyrc;
|
---|
7592 | }
|
---|
7593 |
|
---|
7594 | inline LONG O32_RegQueryValueEx(HKEY a, LPCSTR b, PDWORD c, PDWORD d, LPBYTE e, PDWORD f)
|
---|
7595 | {
|
---|
7596 | LONG yyrc;
|
---|
7597 | USHORT sel = RestoreOS2FS();
|
---|
7598 |
|
---|
7599 | yyrc = _O32_RegQueryValueEx(a, b, c, d, e, f);
|
---|
7600 | SetFS(sel);
|
---|
7601 |
|
---|
7602 | return yyrc;
|
---|
7603 | }
|
---|
7604 |
|
---|
7605 | inline LONG O32_RegSetValue(HKEY a, LPCSTR b, DWORD c, LPCSTR d, DWORD e)
|
---|
7606 | {
|
---|
7607 | LONG yyrc;
|
---|
7608 | USHORT sel = RestoreOS2FS();
|
---|
7609 |
|
---|
7610 | yyrc = _O32_RegSetValue(a, b, c, d, e);
|
---|
7611 | SetFS(sel);
|
---|
7612 |
|
---|
7613 | return yyrc;
|
---|
7614 | }
|
---|
7615 |
|
---|
7616 | inline LONG O32_RegSetValueEx(HKEY a, LPCSTR b, DWORD c, DWORD d, CONST BYTE *e, DWORD f)
|
---|
7617 | {
|
---|
7618 | LONG yyrc;
|
---|
7619 | USHORT sel = RestoreOS2FS();
|
---|
7620 |
|
---|
7621 | yyrc = _O32_RegSetValueEx(a, b, c, d, e, f);
|
---|
7622 | SetFS(sel);
|
---|
7623 |
|
---|
7624 | return yyrc;
|
---|
7625 | }
|
---|
7626 |
|
---|
7627 | inline WORD O32_RegisterClass(CONST WNDCLASSA *a)
|
---|
7628 | {
|
---|
7629 | WORD yyrc;
|
---|
7630 | USHORT sel = RestoreOS2FS();
|
---|
7631 |
|
---|
7632 | yyrc = _O32_RegisterClass(a);
|
---|
7633 | SetFS(sel);
|
---|
7634 |
|
---|
7635 | return yyrc;
|
---|
7636 | }
|
---|
7637 |
|
---|
7638 | inline UINT O32_RegisterClipboardFormat(LPCSTR a)
|
---|
7639 | {
|
---|
7640 | UINT yyrc;
|
---|
7641 | USHORT sel = RestoreOS2FS();
|
---|
7642 |
|
---|
7643 | yyrc = _O32_RegisterClipboardFormat(a);
|
---|
7644 | SetFS(sel);
|
---|
7645 |
|
---|
7646 | return yyrc;
|
---|
7647 | }
|
---|
7648 |
|
---|
7649 | inline UINT O32_RegisterWindowMessage(LPCSTR a)
|
---|
7650 | {
|
---|
7651 | UINT yyrc;
|
---|
7652 | USHORT sel = RestoreOS2FS();
|
---|
7653 |
|
---|
7654 | yyrc = _O32_RegisterWindowMessage(a);
|
---|
7655 | SetFS(sel);
|
---|
7656 |
|
---|
7657 | return yyrc;
|
---|
7658 | }
|
---|
7659 |
|
---|
7660 | inline BOOL O32_ReleaseCapture()
|
---|
7661 | {
|
---|
7662 | BOOL yyrc;
|
---|
7663 | USHORT sel = RestoreOS2FS();
|
---|
7664 |
|
---|
7665 | yyrc = _O32_ReleaseCapture();
|
---|
7666 | SetFS(sel);
|
---|
7667 |
|
---|
7668 | return yyrc;
|
---|
7669 | }
|
---|
7670 |
|
---|
7671 | inline int O32_ReleaseDC(HWND a, HDC b)
|
---|
7672 | {
|
---|
7673 | int yyrc;
|
---|
7674 | USHORT sel = RestoreOS2FS();
|
---|
7675 |
|
---|
7676 | yyrc = _O32_ReleaseDC(a, b);
|
---|
7677 | SetFS(sel);
|
---|
7678 |
|
---|
7679 | return yyrc;
|
---|
7680 | }
|
---|
7681 |
|
---|
7682 | inline BOOL O32_ReleaseMutex(HANDLE a)
|
---|
7683 | {
|
---|
7684 | BOOL yyrc;
|
---|
7685 | USHORT sel = RestoreOS2FS();
|
---|
7686 |
|
---|
7687 | yyrc = _O32_ReleaseMutex(a);
|
---|
7688 | SetFS(sel);
|
---|
7689 |
|
---|
7690 | return yyrc;
|
---|
7691 | }
|
---|
7692 |
|
---|
7693 | inline BOOL O32_ReleaseSemaphore(HANDLE a, LONG b, PLONG c)
|
---|
7694 | {
|
---|
7695 | BOOL yyrc;
|
---|
7696 | USHORT sel = RestoreOS2FS();
|
---|
7697 |
|
---|
7698 | yyrc = _O32_ReleaseSemaphore(a, b, c);
|
---|
7699 | SetFS(sel);
|
---|
7700 |
|
---|
7701 | return yyrc;
|
---|
7702 | }
|
---|
7703 |
|
---|
7704 | inline BOOL O32_RemoveDirectory(LPCSTR a)
|
---|
7705 | {
|
---|
7706 | BOOL yyrc;
|
---|
7707 | USHORT sel = RestoreOS2FS();
|
---|
7708 |
|
---|
7709 | yyrc = _O32_RemoveDirectory(a);
|
---|
7710 | SetFS(sel);
|
---|
7711 |
|
---|
7712 | return yyrc;
|
---|
7713 | }
|
---|
7714 |
|
---|
7715 | inline BOOL O32_RemoveFontResource(LPCSTR a)
|
---|
7716 | {
|
---|
7717 | BOOL yyrc;
|
---|
7718 | USHORT sel = RestoreOS2FS();
|
---|
7719 |
|
---|
7720 | yyrc = _O32_RemoveFontResource(a);
|
---|
7721 | SetFS(sel);
|
---|
7722 |
|
---|
7723 | return yyrc;
|
---|
7724 | }
|
---|
7725 |
|
---|
7726 | inline BOOL O32_RemoveMenu(HMENU a, UINT b, UINT c)
|
---|
7727 | {
|
---|
7728 | BOOL yyrc;
|
---|
7729 | USHORT sel = RestoreOS2FS();
|
---|
7730 |
|
---|
7731 | yyrc = _O32_RemoveMenu(a, b, c);
|
---|
7732 | SetFS(sel);
|
---|
7733 |
|
---|
7734 | return yyrc;
|
---|
7735 | }
|
---|
7736 |
|
---|
7737 | inline HANDLE O32_RemoveProp(HWND a, LPCSTR b)
|
---|
7738 | {
|
---|
7739 | HANDLE yyrc;
|
---|
7740 | USHORT sel = RestoreOS2FS();
|
---|
7741 |
|
---|
7742 | yyrc = _O32_RemoveProp(a, b);
|
---|
7743 | SetFS(sel);
|
---|
7744 |
|
---|
7745 | return yyrc;
|
---|
7746 | }
|
---|
7747 |
|
---|
7748 | inline HWND O32_ReplaceText(LPFINDREPLACEA a)
|
---|
7749 | {
|
---|
7750 | HWND yyrc;
|
---|
7751 | USHORT sel = RestoreOS2FS();
|
---|
7752 |
|
---|
7753 | yyrc = _O32_ReplaceText(a);
|
---|
7754 | SetFS(sel);
|
---|
7755 |
|
---|
7756 | return yyrc;
|
---|
7757 | }
|
---|
7758 |
|
---|
7759 | inline BOOL O32_ReplyMessage(LRESULT a)
|
---|
7760 | {
|
---|
7761 | BOOL yyrc;
|
---|
7762 | USHORT sel = RestoreOS2FS();
|
---|
7763 |
|
---|
7764 | yyrc = _O32_ReplyMessage(a);
|
---|
7765 | SetFS(sel);
|
---|
7766 |
|
---|
7767 | return yyrc;
|
---|
7768 | }
|
---|
7769 |
|
---|
7770 | inline BOOL O32_ResetDC(HDC a, CONST DEVMODEA *b)
|
---|
7771 | {
|
---|
7772 | BOOL yyrc;
|
---|
7773 | USHORT sel = RestoreOS2FS();
|
---|
7774 |
|
---|
7775 | yyrc = _O32_ResetDC(a, b);
|
---|
7776 | SetFS(sel);
|
---|
7777 |
|
---|
7778 | return yyrc;
|
---|
7779 | }
|
---|
7780 |
|
---|
7781 | inline BOOL O32_ResetEvent(HANDLE a)
|
---|
7782 | {
|
---|
7783 | BOOL yyrc;
|
---|
7784 | USHORT sel = RestoreOS2FS();
|
---|
7785 |
|
---|
7786 | yyrc = _O32_ResetEvent(a);
|
---|
7787 | SetFS(sel);
|
---|
7788 |
|
---|
7789 | return yyrc;
|
---|
7790 | }
|
---|
7791 |
|
---|
7792 | inline BOOL O32_ResizePalette(HPALETTE a, UINT b)
|
---|
7793 | {
|
---|
7794 | BOOL yyrc;
|
---|
7795 | USHORT sel = RestoreOS2FS();
|
---|
7796 |
|
---|
7797 | yyrc = _O32_ResizePalette(a, b);
|
---|
7798 | SetFS(sel);
|
---|
7799 |
|
---|
7800 | return yyrc;
|
---|
7801 | }
|
---|
7802 |
|
---|
7803 | inline BOOL O32_RestoreDC(HDC a, int b)
|
---|
7804 | {
|
---|
7805 | BOOL yyrc;
|
---|
7806 | USHORT sel = RestoreOS2FS();
|
---|
7807 |
|
---|
7808 | yyrc = _O32_RestoreDC(a, b);
|
---|
7809 | SetFS(sel);
|
---|
7810 |
|
---|
7811 | return yyrc;
|
---|
7812 | }
|
---|
7813 |
|
---|
7814 | inline DWORD O32_ResumeThread(HANDLE a)
|
---|
7815 | {
|
---|
7816 | DWORD yyrc;
|
---|
7817 | USHORT sel = RestoreOS2FS();
|
---|
7818 |
|
---|
7819 | yyrc = _O32_ResumeThread(a);
|
---|
7820 | SetFS(sel);
|
---|
7821 |
|
---|
7822 | return yyrc;
|
---|
7823 | }
|
---|
7824 |
|
---|
7825 | inline LONG O32_ReuseDDElParam(LONG a, UINT b, UINT c, UINT d, UINT e)
|
---|
7826 | {
|
---|
7827 | LONG yyrc;
|
---|
7828 | USHORT sel = RestoreOS2FS();
|
---|
7829 |
|
---|
7830 | yyrc = _O32_ReuseDDElParam(a, b, c, d, e);
|
---|
7831 | SetFS(sel);
|
---|
7832 |
|
---|
7833 | return yyrc;
|
---|
7834 | }
|
---|
7835 |
|
---|
7836 | inline BOOL O32_RoundRect(HDC a, int b, int c, int d, int e, int f, int g)
|
---|
7837 | {
|
---|
7838 | BOOL yyrc;
|
---|
7839 | USHORT sel = RestoreOS2FS();
|
---|
7840 |
|
---|
7841 | yyrc = _O32_RoundRect(a, b, c, d, e, f, g);
|
---|
7842 | SetFS(sel);
|
---|
7843 |
|
---|
7844 | return yyrc;
|
---|
7845 | }
|
---|
7846 |
|
---|
7847 | inline int O32_SaveDC(HDC a)
|
---|
7848 | {
|
---|
7849 | int yyrc;
|
---|
7850 | USHORT sel = RestoreOS2FS();
|
---|
7851 |
|
---|
7852 | yyrc = _O32_SaveDC(a);
|
---|
7853 | SetFS(sel);
|
---|
7854 |
|
---|
7855 | return yyrc;
|
---|
7856 | }
|
---|
7857 |
|
---|
7858 | inline BOOL O32_ScaleViewportExtEx(HDC a, int b, int c, int d, int e, PSIZE f)
|
---|
7859 | {
|
---|
7860 | BOOL yyrc;
|
---|
7861 | USHORT sel = RestoreOS2FS();
|
---|
7862 |
|
---|
7863 | yyrc = _O32_ScaleViewportExtEx(a, b, c, d, e, f);
|
---|
7864 | SetFS(sel);
|
---|
7865 |
|
---|
7866 | return yyrc;
|
---|
7867 | }
|
---|
7868 |
|
---|
7869 | inline BOOL O32_ScaleWindowExtEx(HDC a, int b, int c, int d, int e, PSIZE f)
|
---|
7870 | {
|
---|
7871 | BOOL yyrc;
|
---|
7872 | USHORT sel = RestoreOS2FS();
|
---|
7873 |
|
---|
7874 | yyrc = _O32_ScaleWindowExtEx(a, b, c, d, e, f);
|
---|
7875 | SetFS(sel);
|
---|
7876 |
|
---|
7877 | return yyrc;
|
---|
7878 | }
|
---|
7879 |
|
---|
7880 | inline BOOL O32_ScreenToClient(HWND a, PPOINT b)
|
---|
7881 | {
|
---|
7882 | BOOL yyrc;
|
---|
7883 | USHORT sel = RestoreOS2FS();
|
---|
7884 |
|
---|
7885 | yyrc = _O32_ScreenToClient(a, b);
|
---|
7886 | SetFS(sel);
|
---|
7887 |
|
---|
7888 | return yyrc;
|
---|
7889 | }
|
---|
7890 |
|
---|
7891 | inline BOOL O32_ScrollDC(HDC a, int b, int c, CONST RECT *d, CONST RECT *e, HRGN f, PRECT g)
|
---|
7892 | {
|
---|
7893 | BOOL yyrc;
|
---|
7894 | USHORT sel = RestoreOS2FS();
|
---|
7895 |
|
---|
7896 | yyrc = _O32_ScrollDC(a, b, c, d, e, f, g);
|
---|
7897 | SetFS(sel);
|
---|
7898 |
|
---|
7899 | return yyrc;
|
---|
7900 | }
|
---|
7901 |
|
---|
7902 | inline BOOL O32_ScrollWindow(HWND a, int b, int c, CONST RECT *d, CONST RECT *e)
|
---|
7903 | {
|
---|
7904 | BOOL yyrc;
|
---|
7905 | USHORT sel = RestoreOS2FS();
|
---|
7906 |
|
---|
7907 | yyrc = _O32_ScrollWindow(a, b, c, d, e);
|
---|
7908 | SetFS(sel);
|
---|
7909 |
|
---|
7910 | return yyrc;
|
---|
7911 | }
|
---|
7912 |
|
---|
7913 | inline BOOL O32_ScrollWindowEx(HWND a, int b, int c, CONST RECT *d, CONST RECT *e, HRGN f, PRECT g, UINT h)
|
---|
7914 | {
|
---|
7915 | BOOL yyrc;
|
---|
7916 | USHORT sel = RestoreOS2FS();
|
---|
7917 |
|
---|
7918 | yyrc = _O32_ScrollWindowEx(a, b, c, d, e, f, g, h);
|
---|
7919 | SetFS(sel);
|
---|
7920 |
|
---|
7921 | return yyrc;
|
---|
7922 | }
|
---|
7923 |
|
---|
7924 | inline DWORD O32_SearchPath(LPCSTR a, LPCSTR b, LPCSTR c, DWORD d, LPSTR e, LPSTR *f)
|
---|
7925 | {
|
---|
7926 | DWORD yyrc;
|
---|
7927 | USHORT sel = RestoreOS2FS();
|
---|
7928 |
|
---|
7929 | yyrc = _O32_SearchPath(a, b, c, d, e, f);
|
---|
7930 | SetFS(sel);
|
---|
7931 |
|
---|
7932 | return yyrc;
|
---|
7933 | }
|
---|
7934 |
|
---|
7935 | inline int O32_SelectClipRgn(HDC a, HRGN b)
|
---|
7936 | {
|
---|
7937 | int yyrc;
|
---|
7938 | USHORT sel = RestoreOS2FS();
|
---|
7939 |
|
---|
7940 | yyrc = _O32_SelectClipRgn(a, b);
|
---|
7941 | SetFS(sel);
|
---|
7942 |
|
---|
7943 | return yyrc;
|
---|
7944 | }
|
---|
7945 |
|
---|
7946 | inline HGDIOBJ O32_SelectObject(HDC a, HGDIOBJ b)
|
---|
7947 | {
|
---|
7948 | HGDIOBJ yyrc;
|
---|
7949 | USHORT sel = RestoreOS2FS();
|
---|
7950 |
|
---|
7951 | yyrc = _O32_SelectObject(a, b);
|
---|
7952 | SetFS(sel);
|
---|
7953 |
|
---|
7954 | return yyrc;
|
---|
7955 | }
|
---|
7956 |
|
---|
7957 | inline HPALETTE O32_SelectPalette(HDC a, HPALETTE b, BOOL c)
|
---|
7958 | {
|
---|
7959 | HPALETTE yyrc;
|
---|
7960 | USHORT sel = RestoreOS2FS();
|
---|
7961 |
|
---|
7962 | yyrc = _O32_SelectPalette(a, b, c);
|
---|
7963 | SetFS(sel);
|
---|
7964 |
|
---|
7965 | return yyrc;
|
---|
7966 | }
|
---|
7967 |
|
---|
7968 | inline LONG O32_SendDlgItemMessage(HWND a, int b, UINT c, WPARAM d, LPARAM e)
|
---|
7969 | {
|
---|
7970 | LONG yyrc;
|
---|
7971 | USHORT sel = RestoreOS2FS();
|
---|
7972 |
|
---|
7973 | yyrc = _O32_SendDlgItemMessage(a, b, c, d, e);
|
---|
7974 | SetFS(sel);
|
---|
7975 |
|
---|
7976 | return yyrc;
|
---|
7977 | }
|
---|
7978 |
|
---|
7979 | inline LRESULT O32_SendMessage(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
7980 | {
|
---|
7981 | LRESULT yyrc;
|
---|
7982 | USHORT sel = RestoreOS2FS();
|
---|
7983 |
|
---|
7984 | yyrc = _O32_SendMessage(a, b, c, d);
|
---|
7985 | SetFS(sel);
|
---|
7986 |
|
---|
7987 | return yyrc;
|
---|
7988 | }
|
---|
7989 |
|
---|
7990 | inline HWND O32_SetActiveWindow(HWND a)
|
---|
7991 | {
|
---|
7992 | HWND yyrc;
|
---|
7993 | USHORT sel = RestoreOS2FS();
|
---|
7994 |
|
---|
7995 | yyrc = _O32_SetActiveWindow(a);
|
---|
7996 | SetFS(sel);
|
---|
7997 |
|
---|
7998 | return yyrc;
|
---|
7999 | }
|
---|
8000 |
|
---|
8001 | inline int O32_SetArcDirection(HDC a, int b)
|
---|
8002 | {
|
---|
8003 | int yyrc;
|
---|
8004 | USHORT sel = RestoreOS2FS();
|
---|
8005 |
|
---|
8006 | yyrc = _O32_SetArcDirection(a, b);
|
---|
8007 | SetFS(sel);
|
---|
8008 |
|
---|
8009 | return yyrc;
|
---|
8010 | }
|
---|
8011 |
|
---|
8012 | inline LONG O32_SetBitmapBits(HBITMAP a, DWORD b, CONST VOID *c)
|
---|
8013 | {
|
---|
8014 | LONG yyrc;
|
---|
8015 | USHORT sel = RestoreOS2FS();
|
---|
8016 |
|
---|
8017 | yyrc = _O32_SetBitmapBits(a, b, c);
|
---|
8018 | SetFS(sel);
|
---|
8019 |
|
---|
8020 | return yyrc;
|
---|
8021 | }
|
---|
8022 |
|
---|
8023 | inline BOOL O32_SetBitmapDimensionEx(HBITMAP a, int b, int c, PSIZE d)
|
---|
8024 | {
|
---|
8025 | BOOL yyrc;
|
---|
8026 | USHORT sel = RestoreOS2FS();
|
---|
8027 |
|
---|
8028 | yyrc = _O32_SetBitmapDimensionEx(a, b, c, d);
|
---|
8029 | SetFS(sel);
|
---|
8030 |
|
---|
8031 | return yyrc;
|
---|
8032 | }
|
---|
8033 |
|
---|
8034 | inline COLORREF O32_SetBkColor(HDC a, COLORREF b)
|
---|
8035 | {
|
---|
8036 | COLORREF yyrc;
|
---|
8037 | USHORT sel = RestoreOS2FS();
|
---|
8038 |
|
---|
8039 | yyrc = _O32_SetBkColor(a, b);
|
---|
8040 | SetFS(sel);
|
---|
8041 |
|
---|
8042 | return yyrc;
|
---|
8043 | }
|
---|
8044 |
|
---|
8045 | inline int O32_SetBkMode(HDC a, int b)
|
---|
8046 | {
|
---|
8047 | int yyrc;
|
---|
8048 | USHORT sel = RestoreOS2FS();
|
---|
8049 |
|
---|
8050 | yyrc = _O32_SetBkMode(a, b);
|
---|
8051 | SetFS(sel);
|
---|
8052 |
|
---|
8053 | return yyrc;
|
---|
8054 | }
|
---|
8055 |
|
---|
8056 | inline LONG O32_SetBoundsRect(HDC a, CONST RECT *b, UINT c)
|
---|
8057 | {
|
---|
8058 | LONG yyrc;
|
---|
8059 | USHORT sel = RestoreOS2FS();
|
---|
8060 |
|
---|
8061 | yyrc = _O32_SetBoundsRect(a, b, c);
|
---|
8062 | SetFS(sel);
|
---|
8063 |
|
---|
8064 | return yyrc;
|
---|
8065 | }
|
---|
8066 |
|
---|
8067 | inline BOOL O32_SetBrushOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
8068 | {
|
---|
8069 | BOOL yyrc;
|
---|
8070 | USHORT sel = RestoreOS2FS();
|
---|
8071 |
|
---|
8072 | yyrc = _O32_SetBrushOrgEx(a, b, c, d);
|
---|
8073 | SetFS(sel);
|
---|
8074 |
|
---|
8075 | return yyrc;
|
---|
8076 | }
|
---|
8077 |
|
---|
8078 | inline HWND O32_SetCapture(HWND a)
|
---|
8079 | {
|
---|
8080 | HWND yyrc;
|
---|
8081 | USHORT sel = RestoreOS2FS();
|
---|
8082 |
|
---|
8083 | yyrc = _O32_SetCapture(a);
|
---|
8084 | SetFS(sel);
|
---|
8085 |
|
---|
8086 | return yyrc;
|
---|
8087 | }
|
---|
8088 |
|
---|
8089 | inline BOOL O32_SetCaretBlinkTime(UINT a)
|
---|
8090 | {
|
---|
8091 | BOOL yyrc;
|
---|
8092 | USHORT sel = RestoreOS2FS();
|
---|
8093 |
|
---|
8094 | yyrc = _O32_SetCaretBlinkTime(a);
|
---|
8095 | SetFS(sel);
|
---|
8096 |
|
---|
8097 | return yyrc;
|
---|
8098 | }
|
---|
8099 |
|
---|
8100 | inline BOOL O32_SetCaretPos(int a, int b)
|
---|
8101 | {
|
---|
8102 | BOOL yyrc;
|
---|
8103 | USHORT sel = RestoreOS2FS();
|
---|
8104 |
|
---|
8105 | yyrc = _O32_SetCaretPos(a, b);
|
---|
8106 | SetFS(sel);
|
---|
8107 |
|
---|
8108 | return yyrc;
|
---|
8109 | }
|
---|
8110 |
|
---|
8111 | inline DWORD O32_SetClassLong(HWND a, int b, LONG c)
|
---|
8112 | {
|
---|
8113 | DWORD yyrc;
|
---|
8114 | USHORT sel = RestoreOS2FS();
|
---|
8115 |
|
---|
8116 | yyrc = _O32_SetClassLong(a, b, c);
|
---|
8117 | SetFS(sel);
|
---|
8118 |
|
---|
8119 | return yyrc;
|
---|
8120 | }
|
---|
8121 |
|
---|
8122 | inline WORD O32_SetClassWord(HWND a, int b, WORD c)
|
---|
8123 | {
|
---|
8124 | WORD yyrc;
|
---|
8125 | USHORT sel = RestoreOS2FS();
|
---|
8126 |
|
---|
8127 | yyrc = _O32_SetClassWord(a, b, c);
|
---|
8128 | SetFS(sel);
|
---|
8129 |
|
---|
8130 | return yyrc;
|
---|
8131 | }
|
---|
8132 |
|
---|
8133 | inline HANDLE O32_SetClipboardData(UINT a, HANDLE b)
|
---|
8134 | {
|
---|
8135 | HANDLE yyrc;
|
---|
8136 | USHORT sel = RestoreOS2FS();
|
---|
8137 |
|
---|
8138 | yyrc = _O32_SetClipboardData(a, b);
|
---|
8139 | SetFS(sel);
|
---|
8140 |
|
---|
8141 | return yyrc;
|
---|
8142 | }
|
---|
8143 |
|
---|
8144 | inline HWND O32_SetClipboardViewer(HWND a)
|
---|
8145 | {
|
---|
8146 | HWND yyrc;
|
---|
8147 | USHORT sel = RestoreOS2FS();
|
---|
8148 |
|
---|
8149 | yyrc = _O32_SetClipboardViewer(a);
|
---|
8150 | SetFS(sel);
|
---|
8151 |
|
---|
8152 | return yyrc;
|
---|
8153 | }
|
---|
8154 |
|
---|
8155 | inline BOOL O32_SetCurrentDirectory(LPSTR a)
|
---|
8156 | {
|
---|
8157 | BOOL yyrc;
|
---|
8158 | USHORT sel = RestoreOS2FS();
|
---|
8159 |
|
---|
8160 | yyrc = _O32_SetCurrentDirectory(a);
|
---|
8161 | SetFS(sel);
|
---|
8162 |
|
---|
8163 | return yyrc;
|
---|
8164 | }
|
---|
8165 |
|
---|
8166 | inline HCURSOR O32_SetCursor(HCURSOR a)
|
---|
8167 | {
|
---|
8168 | HCURSOR yyrc;
|
---|
8169 | USHORT sel = RestoreOS2FS();
|
---|
8170 |
|
---|
8171 | yyrc = _O32_SetCursor(a);
|
---|
8172 | SetFS(sel);
|
---|
8173 |
|
---|
8174 | return yyrc;
|
---|
8175 | }
|
---|
8176 |
|
---|
8177 | inline BOOL O32_SetCursorPos(int a, int b)
|
---|
8178 | {
|
---|
8179 | BOOL yyrc;
|
---|
8180 | USHORT sel = RestoreOS2FS();
|
---|
8181 |
|
---|
8182 | yyrc = _O32_SetCursorPos(a, b);
|
---|
8183 | SetFS(sel);
|
---|
8184 |
|
---|
8185 | return yyrc;
|
---|
8186 | }
|
---|
8187 |
|
---|
8188 | inline int O32_SetDIBits(HDC a, HBITMAP b, UINT c, UINT d, CONST VOID *e, CONST BITMAPINFO *f, UINT g)
|
---|
8189 | {
|
---|
8190 | int yyrc;
|
---|
8191 | USHORT sel = RestoreOS2FS();
|
---|
8192 |
|
---|
8193 | yyrc = _O32_SetDIBits(a, b, c, d, e, f, g);
|
---|
8194 | SetFS(sel);
|
---|
8195 |
|
---|
8196 | return yyrc;
|
---|
8197 | }
|
---|
8198 |
|
---|
8199 | 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)
|
---|
8200 | {
|
---|
8201 | int yyrc;
|
---|
8202 | USHORT sel = RestoreOS2FS();
|
---|
8203 |
|
---|
8204 | yyrc = _O32_SetDIBitsToDevice(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
8205 | SetFS(sel);
|
---|
8206 |
|
---|
8207 | return yyrc;
|
---|
8208 | }
|
---|
8209 |
|
---|
8210 | inline BOOL O32_SetDlgItemInt(HWND a, int b, UINT c, BOOL d)
|
---|
8211 | {
|
---|
8212 | BOOL yyrc;
|
---|
8213 | USHORT sel = RestoreOS2FS();
|
---|
8214 |
|
---|
8215 | yyrc = _O32_SetDlgItemInt(a, b, c, d);
|
---|
8216 | SetFS(sel);
|
---|
8217 |
|
---|
8218 | return yyrc;
|
---|
8219 | }
|
---|
8220 |
|
---|
8221 | inline BOOL O32_SetDlgItemText(HWND a, int b, LPCSTR c)
|
---|
8222 | {
|
---|
8223 | BOOL yyrc;
|
---|
8224 | USHORT sel = RestoreOS2FS();
|
---|
8225 |
|
---|
8226 | yyrc = _O32_SetDlgItemText(a, b, c);
|
---|
8227 | SetFS(sel);
|
---|
8228 |
|
---|
8229 | return yyrc;
|
---|
8230 | }
|
---|
8231 |
|
---|
8232 | inline BOOL O32_SetDoubleClickTime(UINT a)
|
---|
8233 | {
|
---|
8234 | BOOL yyrc;
|
---|
8235 | USHORT sel = RestoreOS2FS();
|
---|
8236 |
|
---|
8237 | yyrc = _O32_SetDoubleClickTime(a);
|
---|
8238 | SetFS(sel);
|
---|
8239 |
|
---|
8240 | return yyrc;
|
---|
8241 | }
|
---|
8242 |
|
---|
8243 | inline BOOL O32_SetEndOfFile(HANDLE a)
|
---|
8244 | {
|
---|
8245 | BOOL yyrc;
|
---|
8246 | USHORT sel = RestoreOS2FS();
|
---|
8247 |
|
---|
8248 | yyrc = _O32_SetEndOfFile(a);
|
---|
8249 | SetFS(sel);
|
---|
8250 |
|
---|
8251 | return yyrc;
|
---|
8252 | }
|
---|
8253 |
|
---|
8254 | inline HENHMETAFILE O32_SetEnhMetaFileBits(UINT a, CONST BYTE *b)
|
---|
8255 | {
|
---|
8256 | HENHMETAFILE yyrc;
|
---|
8257 | USHORT sel = RestoreOS2FS();
|
---|
8258 |
|
---|
8259 | yyrc = _O32_SetEnhMetaFileBits(a, b);
|
---|
8260 | SetFS(sel);
|
---|
8261 |
|
---|
8262 | return yyrc;
|
---|
8263 | }
|
---|
8264 |
|
---|
8265 | inline BOOL O32_SetEnvironmentVariable(LPCSTR a, LPCSTR b)
|
---|
8266 | {
|
---|
8267 | BOOL yyrc;
|
---|
8268 | USHORT sel = RestoreOS2FS();
|
---|
8269 |
|
---|
8270 | yyrc = _O32_SetEnvironmentVariable(a, b);
|
---|
8271 | SetFS(sel);
|
---|
8272 |
|
---|
8273 | return yyrc;
|
---|
8274 | }
|
---|
8275 |
|
---|
8276 | inline BOOL O32_SetEvent(HANDLE a)
|
---|
8277 | {
|
---|
8278 | BOOL yyrc;
|
---|
8279 | USHORT sel = RestoreOS2FS();
|
---|
8280 |
|
---|
8281 | yyrc = _O32_SetEvent(a);
|
---|
8282 | SetFS(sel);
|
---|
8283 |
|
---|
8284 | return yyrc;
|
---|
8285 | }
|
---|
8286 |
|
---|
8287 | inline BOOL O32_SetFileAttributes(LPCSTR a, DWORD b)
|
---|
8288 | {
|
---|
8289 | BOOL yyrc;
|
---|
8290 | USHORT sel = RestoreOS2FS();
|
---|
8291 |
|
---|
8292 | yyrc = _O32_SetFileAttributes(a, b);
|
---|
8293 | SetFS(sel);
|
---|
8294 |
|
---|
8295 | return yyrc;
|
---|
8296 | }
|
---|
8297 |
|
---|
8298 | inline DWORD O32_SetFilePointer(HANDLE a, LONG b, PLONG c, DWORD d)
|
---|
8299 | {
|
---|
8300 | DWORD yyrc;
|
---|
8301 | USHORT sel = RestoreOS2FS();
|
---|
8302 |
|
---|
8303 | yyrc = _O32_SetFilePointer(a, b, c, d);
|
---|
8304 | SetFS(sel);
|
---|
8305 |
|
---|
8306 | return yyrc;
|
---|
8307 | }
|
---|
8308 |
|
---|
8309 | inline BOOL O32_SetFileTime(HANDLE a, CONST FILETIME *b, CONST FILETIME *c, CONST FILETIME *d)
|
---|
8310 | {
|
---|
8311 | BOOL yyrc;
|
---|
8312 | USHORT sel = RestoreOS2FS();
|
---|
8313 |
|
---|
8314 | yyrc = _O32_SetFileTime(a, b, c, d);
|
---|
8315 | SetFS(sel);
|
---|
8316 |
|
---|
8317 | return yyrc;
|
---|
8318 | }
|
---|
8319 |
|
---|
8320 | inline HWND O32_SetFocus(HWND a)
|
---|
8321 | {
|
---|
8322 | HWND yyrc;
|
---|
8323 | USHORT sel = RestoreOS2FS();
|
---|
8324 |
|
---|
8325 | yyrc = _O32_SetFocus(a);
|
---|
8326 | SetFS(sel);
|
---|
8327 |
|
---|
8328 | return yyrc;
|
---|
8329 | }
|
---|
8330 |
|
---|
8331 | inline BOOL O32_SetForegroundWindow(HWND a)
|
---|
8332 | {
|
---|
8333 | BOOL yyrc;
|
---|
8334 | USHORT sel = RestoreOS2FS();
|
---|
8335 |
|
---|
8336 | yyrc = _O32_SetForegroundWindow(a);
|
---|
8337 | SetFS(sel);
|
---|
8338 |
|
---|
8339 | return yyrc;
|
---|
8340 | }
|
---|
8341 |
|
---|
8342 | inline int O32_SetGraphicsMode(HDC a, int b)
|
---|
8343 | {
|
---|
8344 | int yyrc;
|
---|
8345 | USHORT sel = RestoreOS2FS();
|
---|
8346 |
|
---|
8347 | yyrc = _O32_SetGraphicsMode(a, b);
|
---|
8348 | SetFS(sel);
|
---|
8349 |
|
---|
8350 | return yyrc;
|
---|
8351 | }
|
---|
8352 |
|
---|
8353 | inline UINT O32_SetHandleCount(UINT a)
|
---|
8354 | {
|
---|
8355 | UINT yyrc;
|
---|
8356 | USHORT sel = RestoreOS2FS();
|
---|
8357 |
|
---|
8358 | yyrc = _O32_SetHandleCount(a);
|
---|
8359 | SetFS(sel);
|
---|
8360 |
|
---|
8361 | return yyrc;
|
---|
8362 | }
|
---|
8363 |
|
---|
8364 | inline VOID O32_SetLastError(DWORD a)
|
---|
8365 | {
|
---|
8366 | USHORT sel = RestoreOS2FS();
|
---|
8367 |
|
---|
8368 | _O32_SetLastError(a);
|
---|
8369 | SetFS(sel);
|
---|
8370 | }
|
---|
8371 |
|
---|
8372 | inline BOOL O32_SetLocalTime(CONST SYSTEMTIME *a)
|
---|
8373 | {
|
---|
8374 | BOOL yyrc;
|
---|
8375 | USHORT sel = RestoreOS2FS();
|
---|
8376 |
|
---|
8377 | yyrc = _O32_SetLocalTime(a);
|
---|
8378 | SetFS(sel);
|
---|
8379 |
|
---|
8380 | return yyrc;
|
---|
8381 | }
|
---|
8382 |
|
---|
8383 | inline int O32_SetMapMode(HDC a, int b)
|
---|
8384 | {
|
---|
8385 | int yyrc;
|
---|
8386 | USHORT sel = RestoreOS2FS();
|
---|
8387 |
|
---|
8388 | yyrc = _O32_SetMapMode(a, b);
|
---|
8389 | SetFS(sel);
|
---|
8390 |
|
---|
8391 | return yyrc;
|
---|
8392 | }
|
---|
8393 |
|
---|
8394 | inline DWORD O32_SetMapperFlags(HDC a, DWORD b)
|
---|
8395 | {
|
---|
8396 | DWORD yyrc;
|
---|
8397 | USHORT sel = RestoreOS2FS();
|
---|
8398 |
|
---|
8399 | yyrc = _O32_SetMapperFlags(a, b);
|
---|
8400 | SetFS(sel);
|
---|
8401 |
|
---|
8402 | return yyrc;
|
---|
8403 | }
|
---|
8404 |
|
---|
8405 | inline BOOL O32_SetMenu(HWND a, HMENU b)
|
---|
8406 | {
|
---|
8407 | BOOL yyrc;
|
---|
8408 | USHORT sel = RestoreOS2FS();
|
---|
8409 |
|
---|
8410 | yyrc = _O32_SetMenu(a, b);
|
---|
8411 | SetFS(sel);
|
---|
8412 |
|
---|
8413 | return yyrc;
|
---|
8414 | }
|
---|
8415 |
|
---|
8416 | inline BOOL O32_SetMenuItemBitmaps(HMENU a, UINT b, UINT c, HBITMAP d, HBITMAP e)
|
---|
8417 | {
|
---|
8418 | BOOL yyrc;
|
---|
8419 | USHORT sel = RestoreOS2FS();
|
---|
8420 |
|
---|
8421 | yyrc = _O32_SetMenuItemBitmaps(a, b, c, d, e);
|
---|
8422 | SetFS(sel);
|
---|
8423 |
|
---|
8424 | return yyrc;
|
---|
8425 | }
|
---|
8426 |
|
---|
8427 | inline HMETAFILE O32_SetMetaFileBitsEx(UINT a, PBYTE b)
|
---|
8428 | {
|
---|
8429 | HMETAFILE yyrc;
|
---|
8430 | USHORT sel = RestoreOS2FS();
|
---|
8431 |
|
---|
8432 | yyrc = _O32_SetMetaFileBitsEx(a, b);
|
---|
8433 | SetFS(sel);
|
---|
8434 |
|
---|
8435 | return yyrc;
|
---|
8436 | }
|
---|
8437 |
|
---|
8438 | inline BOOL O32_SetMiterLimit(HDC a, float b, float *c)
|
---|
8439 | {
|
---|
8440 | BOOL yyrc;
|
---|
8441 | USHORT sel = RestoreOS2FS();
|
---|
8442 |
|
---|
8443 | yyrc = _O32_SetMiterLimit(a, b, c);
|
---|
8444 | SetFS(sel);
|
---|
8445 |
|
---|
8446 | return yyrc;
|
---|
8447 | }
|
---|
8448 |
|
---|
8449 | inline UINT O32_SetPaletteEntries(HPALETTE a, UINT b, UINT c, CONST PALETTEENTRY *d)
|
---|
8450 | {
|
---|
8451 | UINT yyrc;
|
---|
8452 | USHORT sel = RestoreOS2FS();
|
---|
8453 |
|
---|
8454 | yyrc = _O32_SetPaletteEntries(a, b, c, d);
|
---|
8455 | SetFS(sel);
|
---|
8456 |
|
---|
8457 | return yyrc;
|
---|
8458 | }
|
---|
8459 |
|
---|
8460 | inline HWND O32_SetParent(HWND a, HWND b)
|
---|
8461 | {
|
---|
8462 | HWND yyrc;
|
---|
8463 | USHORT sel = RestoreOS2FS();
|
---|
8464 |
|
---|
8465 | yyrc = _O32_SetParent(a, b);
|
---|
8466 | SetFS(sel);
|
---|
8467 |
|
---|
8468 | return yyrc;
|
---|
8469 | }
|
---|
8470 |
|
---|
8471 | inline COLORREF O32_SetPixel(HDC a, int b, int c, COLORREF d)
|
---|
8472 | {
|
---|
8473 | COLORREF yyrc;
|
---|
8474 | USHORT sel = RestoreOS2FS();
|
---|
8475 |
|
---|
8476 | yyrc = _O32_SetPixel(a, b, c, d);
|
---|
8477 | SetFS(sel);
|
---|
8478 |
|
---|
8479 | return yyrc;
|
---|
8480 | }
|
---|
8481 |
|
---|
8482 | inline int O32_SetPolyFillMode(HDC a, int b)
|
---|
8483 | {
|
---|
8484 | int yyrc;
|
---|
8485 | USHORT sel = RestoreOS2FS();
|
---|
8486 |
|
---|
8487 | yyrc = _O32_SetPolyFillMode(a, b);
|
---|
8488 | SetFS(sel);
|
---|
8489 |
|
---|
8490 | return yyrc;
|
---|
8491 | }
|
---|
8492 |
|
---|
8493 | inline BOOL O32_SetPriorityClass(HANDLE a, DWORD b)
|
---|
8494 | {
|
---|
8495 | BOOL yyrc;
|
---|
8496 | USHORT sel = RestoreOS2FS();
|
---|
8497 |
|
---|
8498 | yyrc = _O32_SetPriorityClass(a, b);
|
---|
8499 | SetFS(sel);
|
---|
8500 |
|
---|
8501 | return yyrc;
|
---|
8502 | }
|
---|
8503 |
|
---|
8504 | inline BOOL O32_SetProp(HWND a, LPCSTR b, HANDLE c)
|
---|
8505 | {
|
---|
8506 | BOOL yyrc;
|
---|
8507 | USHORT sel = RestoreOS2FS();
|
---|
8508 |
|
---|
8509 | yyrc = _O32_SetProp(a, b, c);
|
---|
8510 | SetFS(sel);
|
---|
8511 |
|
---|
8512 | return yyrc;
|
---|
8513 | }
|
---|
8514 |
|
---|
8515 | inline BOOL O32_SetRect(PRECT a, int b, int c, int d, int e)
|
---|
8516 | {
|
---|
8517 | BOOL yyrc;
|
---|
8518 | USHORT sel = RestoreOS2FS();
|
---|
8519 |
|
---|
8520 | yyrc = _O32_SetRect(a, b, c, d, e);
|
---|
8521 | SetFS(sel);
|
---|
8522 |
|
---|
8523 | return yyrc;
|
---|
8524 | }
|
---|
8525 |
|
---|
8526 | inline BOOL O32_SetRectEmpty(PRECT a)
|
---|
8527 | {
|
---|
8528 | BOOL yyrc;
|
---|
8529 | USHORT sel = RestoreOS2FS();
|
---|
8530 |
|
---|
8531 | yyrc = _O32_SetRectEmpty(a);
|
---|
8532 | SetFS(sel);
|
---|
8533 |
|
---|
8534 | return yyrc;
|
---|
8535 | }
|
---|
8536 |
|
---|
8537 | inline BOOL O32_SetRectRgn(HRGN a, int b, int c, int d, int e)
|
---|
8538 | {
|
---|
8539 | BOOL yyrc;
|
---|
8540 | USHORT sel = RestoreOS2FS();
|
---|
8541 |
|
---|
8542 | yyrc = _O32_SetRectRgn(a, b, c, d, e);
|
---|
8543 | SetFS(sel);
|
---|
8544 |
|
---|
8545 | return yyrc;
|
---|
8546 | }
|
---|
8547 |
|
---|
8548 | inline int O32_SetROP2(HDC a, int b)
|
---|
8549 | {
|
---|
8550 | int yyrc;
|
---|
8551 | USHORT sel = RestoreOS2FS();
|
---|
8552 |
|
---|
8553 | yyrc = _O32_SetROP2(a, b);
|
---|
8554 | SetFS(sel);
|
---|
8555 |
|
---|
8556 | return yyrc;
|
---|
8557 | }
|
---|
8558 |
|
---|
8559 | inline int O32_SetScrollPos(HWND a, int b, int c, BOOL d)
|
---|
8560 | {
|
---|
8561 | int yyrc;
|
---|
8562 | USHORT sel = RestoreOS2FS();
|
---|
8563 |
|
---|
8564 | yyrc = _O32_SetScrollPos(a, b, c, d);
|
---|
8565 | SetFS(sel);
|
---|
8566 |
|
---|
8567 | return yyrc;
|
---|
8568 | }
|
---|
8569 |
|
---|
8570 | inline BOOL O32_SetScrollRange(HWND a, int b, int c, int d, BOOL e)
|
---|
8571 | {
|
---|
8572 | BOOL yyrc;
|
---|
8573 | USHORT sel = RestoreOS2FS();
|
---|
8574 |
|
---|
8575 | yyrc = _O32_SetScrollRange(a, b, c, d, e);
|
---|
8576 | SetFS(sel);
|
---|
8577 |
|
---|
8578 | return yyrc;
|
---|
8579 | }
|
---|
8580 |
|
---|
8581 | inline BOOL O32_SetStdHandle(DWORD a, HANDLE b)
|
---|
8582 | {
|
---|
8583 | BOOL yyrc;
|
---|
8584 | USHORT sel = RestoreOS2FS();
|
---|
8585 |
|
---|
8586 | yyrc = _O32_SetStdHandle(a, b);
|
---|
8587 | SetFS(sel);
|
---|
8588 |
|
---|
8589 | return yyrc;
|
---|
8590 | }
|
---|
8591 |
|
---|
8592 | inline int O32_SetStretchBltMode(HDC a, int b)
|
---|
8593 | {
|
---|
8594 | int yyrc;
|
---|
8595 | USHORT sel = RestoreOS2FS();
|
---|
8596 |
|
---|
8597 | yyrc = _O32_SetStretchBltMode(a, b);
|
---|
8598 | SetFS(sel);
|
---|
8599 |
|
---|
8600 | return yyrc;
|
---|
8601 | }
|
---|
8602 |
|
---|
8603 | inline UINT O32_SetSysColors(int a, CONST int *b, CONST COLORREF *c)
|
---|
8604 | {
|
---|
8605 | UINT yyrc;
|
---|
8606 | USHORT sel = RestoreOS2FS();
|
---|
8607 |
|
---|
8608 | yyrc = _O32_SetSysColors(a, b, c);
|
---|
8609 | SetFS(sel);
|
---|
8610 |
|
---|
8611 | return yyrc;
|
---|
8612 | }
|
---|
8613 |
|
---|
8614 | inline BOOL O32_SetSystemTime(CONST SYSTEMTIME *a)
|
---|
8615 | {
|
---|
8616 | BOOL yyrc;
|
---|
8617 | USHORT sel = RestoreOS2FS();
|
---|
8618 |
|
---|
8619 | yyrc = _O32_SetSystemTime(a);
|
---|
8620 | SetFS(sel);
|
---|
8621 |
|
---|
8622 | return yyrc;
|
---|
8623 | }
|
---|
8624 |
|
---|
8625 | inline BOOL O32_SetTimeZoneInformation(CONST TIME_ZONE_INFORMATION *a)
|
---|
8626 | {
|
---|
8627 | BOOL yyrc;
|
---|
8628 | USHORT sel = RestoreOS2FS();
|
---|
8629 |
|
---|
8630 | yyrc = _O32_SetTimeZoneInformation(a);
|
---|
8631 | SetFS(sel);
|
---|
8632 |
|
---|
8633 | return yyrc;
|
---|
8634 | }
|
---|
8635 |
|
---|
8636 | inline UINT O32_SetTextAlign(HDC a, UINT b)
|
---|
8637 | {
|
---|
8638 | UINT yyrc;
|
---|
8639 | USHORT sel = RestoreOS2FS();
|
---|
8640 |
|
---|
8641 | yyrc = _O32_SetTextAlign(a, b);
|
---|
8642 | SetFS(sel);
|
---|
8643 |
|
---|
8644 | return yyrc;
|
---|
8645 | }
|
---|
8646 |
|
---|
8647 | inline int O32_SetTextCharacterExtra(HDC a, int b)
|
---|
8648 | {
|
---|
8649 | int yyrc;
|
---|
8650 | USHORT sel = RestoreOS2FS();
|
---|
8651 |
|
---|
8652 | yyrc = _O32_SetTextCharacterExtra(a, b);
|
---|
8653 | SetFS(sel);
|
---|
8654 |
|
---|
8655 | return yyrc;
|
---|
8656 | }
|
---|
8657 |
|
---|
8658 | inline COLORREF O32_SetTextColor(HDC a, COLORREF b)
|
---|
8659 | {
|
---|
8660 | COLORREF yyrc;
|
---|
8661 | USHORT sel = RestoreOS2FS();
|
---|
8662 |
|
---|
8663 | yyrc = _O32_SetTextColor(a, b);
|
---|
8664 | SetFS(sel);
|
---|
8665 |
|
---|
8666 | return yyrc;
|
---|
8667 | }
|
---|
8668 |
|
---|
8669 | inline BOOL O32_SetTextJustification(HDC a, int b, int c)
|
---|
8670 | {
|
---|
8671 | BOOL yyrc;
|
---|
8672 | USHORT sel = RestoreOS2FS();
|
---|
8673 |
|
---|
8674 | yyrc = _O32_SetTextJustification(a, b, c);
|
---|
8675 | SetFS(sel);
|
---|
8676 |
|
---|
8677 | return yyrc;
|
---|
8678 | }
|
---|
8679 |
|
---|
8680 | inline BOOL O32_SetThreadPriority(HANDLE a, int b)
|
---|
8681 | {
|
---|
8682 | BOOL yyrc;
|
---|
8683 | USHORT sel = RestoreOS2FS();
|
---|
8684 |
|
---|
8685 | yyrc = _O32_SetThreadPriority(a, b);
|
---|
8686 | SetFS(sel);
|
---|
8687 |
|
---|
8688 | return yyrc;
|
---|
8689 | }
|
---|
8690 |
|
---|
8691 | inline UINT O32_SetTimer(HWND a, UINT b, UINT c, TIMERPROC_O32 d)
|
---|
8692 | {
|
---|
8693 | UINT yyrc;
|
---|
8694 | USHORT sel = RestoreOS2FS();
|
---|
8695 |
|
---|
8696 | yyrc = _O32_SetTimer(a, b, c, d);
|
---|
8697 | SetFS(sel);
|
---|
8698 |
|
---|
8699 | return yyrc;
|
---|
8700 | }
|
---|
8701 |
|
---|
8702 | inline BOOL O32_SetViewportExtEx(HDC a, int b, int c, PSIZE d)
|
---|
8703 | {
|
---|
8704 | BOOL yyrc;
|
---|
8705 | USHORT sel = RestoreOS2FS();
|
---|
8706 |
|
---|
8707 | yyrc = _O32_SetViewportExtEx(a, b, c, d);
|
---|
8708 | SetFS(sel);
|
---|
8709 |
|
---|
8710 | return yyrc;
|
---|
8711 | }
|
---|
8712 |
|
---|
8713 | inline BOOL O32_SetViewportOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
8714 | {
|
---|
8715 | BOOL yyrc;
|
---|
8716 | USHORT sel = RestoreOS2FS();
|
---|
8717 |
|
---|
8718 | yyrc = _O32_SetViewportOrgEx(a, b, c, d);
|
---|
8719 | SetFS(sel);
|
---|
8720 |
|
---|
8721 | return yyrc;
|
---|
8722 | }
|
---|
8723 |
|
---|
8724 | inline BOOL O32_SetVolumeLabel(LPCSTR a, LPCSTR b)
|
---|
8725 | {
|
---|
8726 | BOOL yyrc;
|
---|
8727 | USHORT sel = RestoreOS2FS();
|
---|
8728 |
|
---|
8729 | yyrc = _O32_SetVolumeLabel(a, b);
|
---|
8730 | SetFS(sel);
|
---|
8731 |
|
---|
8732 | return yyrc;
|
---|
8733 | }
|
---|
8734 |
|
---|
8735 | inline BOOL O32_SetWindowExtEx(HDC a, int b, int c, PSIZE d)
|
---|
8736 | {
|
---|
8737 | BOOL yyrc;
|
---|
8738 | USHORT sel = RestoreOS2FS();
|
---|
8739 |
|
---|
8740 | yyrc = _O32_SetWindowExtEx(a, b, c, d);
|
---|
8741 | SetFS(sel);
|
---|
8742 |
|
---|
8743 | return yyrc;
|
---|
8744 | }
|
---|
8745 |
|
---|
8746 | inline LONG O32_SetWindowLong(HWND a, int b, LONG c)
|
---|
8747 | {
|
---|
8748 | LONG yyrc;
|
---|
8749 | USHORT sel = RestoreOS2FS();
|
---|
8750 |
|
---|
8751 | yyrc = _O32_SetWindowLong(a, b, c);
|
---|
8752 | SetFS(sel);
|
---|
8753 |
|
---|
8754 | return yyrc;
|
---|
8755 | }
|
---|
8756 |
|
---|
8757 | inline BOOL O32_SetWindowOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
8758 | {
|
---|
8759 | BOOL yyrc;
|
---|
8760 | USHORT sel = RestoreOS2FS();
|
---|
8761 |
|
---|
8762 | yyrc = _O32_SetWindowOrgEx(a, b, c, d);
|
---|
8763 | SetFS(sel);
|
---|
8764 |
|
---|
8765 | return yyrc;
|
---|
8766 | }
|
---|
8767 |
|
---|
8768 | inline BOOL O32_SetWindowPlacement(HWND a, CONST WINDOWPLACEMENT *b)
|
---|
8769 | {
|
---|
8770 | BOOL yyrc;
|
---|
8771 | USHORT sel = RestoreOS2FS();
|
---|
8772 |
|
---|
8773 | yyrc = _O32_SetWindowPlacement(a, b);
|
---|
8774 | SetFS(sel);
|
---|
8775 |
|
---|
8776 | return yyrc;
|
---|
8777 | }
|
---|
8778 |
|
---|
8779 | inline BOOL O32_SetWindowPos(HWND a, HWND b, int c, int d, int e, int f, UINT g)
|
---|
8780 | {
|
---|
8781 | BOOL yyrc;
|
---|
8782 | USHORT sel = RestoreOS2FS();
|
---|
8783 |
|
---|
8784 | yyrc = _O32_SetWindowPos(a, b, c, d, e, f, g);
|
---|
8785 | SetFS(sel);
|
---|
8786 |
|
---|
8787 | return yyrc;
|
---|
8788 | }
|
---|
8789 |
|
---|
8790 | inline HHOOK O32_SetWindowsHookEx(int a, HOOKPROC_O32 b, HINSTANCE c, DWORD d)
|
---|
8791 | {
|
---|
8792 | HHOOK yyrc;
|
---|
8793 | USHORT sel = RestoreOS2FS();
|
---|
8794 |
|
---|
8795 | yyrc = _O32_SetWindowsHookEx(a, b, c, d);
|
---|
8796 | SetFS(sel);
|
---|
8797 |
|
---|
8798 | return yyrc;
|
---|
8799 | }
|
---|
8800 |
|
---|
8801 | inline BOOL O32_SetWindowText(HWND a, LPCSTR b)
|
---|
8802 | {
|
---|
8803 | BOOL yyrc;
|
---|
8804 | USHORT sel = RestoreOS2FS();
|
---|
8805 |
|
---|
8806 | yyrc = _O32_SetWindowText(a, b);
|
---|
8807 | SetFS(sel);
|
---|
8808 |
|
---|
8809 | return yyrc;
|
---|
8810 | }
|
---|
8811 |
|
---|
8812 | inline WORD O32_SetWindowWord(HWND a, int b, WORD c)
|
---|
8813 | {
|
---|
8814 | WORD yyrc;
|
---|
8815 | USHORT sel = RestoreOS2FS();
|
---|
8816 |
|
---|
8817 | yyrc = _O32_SetWindowWord(a, b, c);
|
---|
8818 | SetFS(sel);
|
---|
8819 |
|
---|
8820 | return yyrc;
|
---|
8821 | }
|
---|
8822 |
|
---|
8823 | inline HENHMETAFILE O32_SetWinMetaFileBits(UINT a, CONST BYTE *b, HDC c, CONST METAFILEPICT *d)
|
---|
8824 | {
|
---|
8825 | HENHMETAFILE yyrc;
|
---|
8826 | USHORT sel = RestoreOS2FS();
|
---|
8827 |
|
---|
8828 | yyrc = _O32_SetWinMetaFileBits(a, b, c, d);
|
---|
8829 | SetFS(sel);
|
---|
8830 |
|
---|
8831 | return yyrc;
|
---|
8832 | }
|
---|
8833 |
|
---|
8834 | inline BOOL O32_SetWorldTransform(HDC a, LPXFORM b)
|
---|
8835 | {
|
---|
8836 | BOOL yyrc;
|
---|
8837 | USHORT sel = RestoreOS2FS();
|
---|
8838 |
|
---|
8839 | yyrc = _O32_SetWorldTransform(a, b);
|
---|
8840 | SetFS(sel);
|
---|
8841 |
|
---|
8842 | return yyrc;
|
---|
8843 | }
|
---|
8844 |
|
---|
8845 | inline BOOL O32_ShowCaret(HWND a)
|
---|
8846 | {
|
---|
8847 | BOOL yyrc;
|
---|
8848 | USHORT sel = RestoreOS2FS();
|
---|
8849 |
|
---|
8850 | yyrc = _O32_ShowCaret(a);
|
---|
8851 | SetFS(sel);
|
---|
8852 |
|
---|
8853 | return yyrc;
|
---|
8854 | }
|
---|
8855 |
|
---|
8856 | inline int O32_ShowCursor(BOOL a)
|
---|
8857 | {
|
---|
8858 | int yyrc;
|
---|
8859 | USHORT sel = RestoreOS2FS();
|
---|
8860 |
|
---|
8861 | yyrc = _O32_ShowCursor(a);
|
---|
8862 | SetFS(sel);
|
---|
8863 |
|
---|
8864 | return yyrc;
|
---|
8865 | }
|
---|
8866 |
|
---|
8867 | inline BOOL O32_ShowOwnedPopups(HWND a, BOOL b)
|
---|
8868 | {
|
---|
8869 | BOOL yyrc;
|
---|
8870 | USHORT sel = RestoreOS2FS();
|
---|
8871 |
|
---|
8872 | yyrc = _O32_ShowOwnedPopups(a, b);
|
---|
8873 | SetFS(sel);
|
---|
8874 |
|
---|
8875 | return yyrc;
|
---|
8876 | }
|
---|
8877 |
|
---|
8878 | inline BOOL O32_ShowScrollBar(HWND a, int b, BOOL c)
|
---|
8879 | {
|
---|
8880 | BOOL yyrc;
|
---|
8881 | USHORT sel = RestoreOS2FS();
|
---|
8882 |
|
---|
8883 | yyrc = _O32_ShowScrollBar(a, b, c);
|
---|
8884 | SetFS(sel);
|
---|
8885 |
|
---|
8886 | return yyrc;
|
---|
8887 | }
|
---|
8888 |
|
---|
8889 | inline BOOL O32_ShowWindow(HWND a, int b)
|
---|
8890 | {
|
---|
8891 | BOOL yyrc;
|
---|
8892 | USHORT sel = RestoreOS2FS();
|
---|
8893 |
|
---|
8894 | yyrc = _O32_ShowWindow(a, b);
|
---|
8895 | SetFS(sel);
|
---|
8896 |
|
---|
8897 | return yyrc;
|
---|
8898 | }
|
---|
8899 |
|
---|
8900 | inline DWORD O32_SizeofResource(HINSTANCE a, HRSRC b)
|
---|
8901 | {
|
---|
8902 | DWORD yyrc;
|
---|
8903 | USHORT sel = RestoreOS2FS();
|
---|
8904 |
|
---|
8905 | yyrc = _O32_SizeofResource(a, b);
|
---|
8906 | SetFS(sel);
|
---|
8907 |
|
---|
8908 | return yyrc;
|
---|
8909 | }
|
---|
8910 |
|
---|
8911 | inline VOID O32_Sleep(DWORD a)
|
---|
8912 | {
|
---|
8913 | USHORT sel = RestoreOS2FS();
|
---|
8914 |
|
---|
8915 | _O32_Sleep(a);
|
---|
8916 | SetFS(sel);
|
---|
8917 | }
|
---|
8918 |
|
---|
8919 | inline int O32_StartDoc(HDC a, LPDOCINFOA b)
|
---|
8920 | {
|
---|
8921 | int yyrc;
|
---|
8922 | USHORT sel = RestoreOS2FS();
|
---|
8923 |
|
---|
8924 | yyrc = _O32_StartDoc(a, b);
|
---|
8925 | SetFS(sel);
|
---|
8926 |
|
---|
8927 | return yyrc;
|
---|
8928 | }
|
---|
8929 |
|
---|
8930 | inline int O32_StartPage(HDC a)
|
---|
8931 | {
|
---|
8932 | int yyrc;
|
---|
8933 | USHORT sel = RestoreOS2FS();
|
---|
8934 |
|
---|
8935 | yyrc = _O32_StartPage(a);
|
---|
8936 | SetFS(sel);
|
---|
8937 |
|
---|
8938 | return yyrc;
|
---|
8939 | }
|
---|
8940 |
|
---|
8941 | 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)
|
---|
8942 | {
|
---|
8943 | int yyrc;
|
---|
8944 | USHORT sel = RestoreOS2FS();
|
---|
8945 |
|
---|
8946 | yyrc = _O32_StretchDIBits(a, b, c, d, e, f, g, h, i, j, k, l, m);
|
---|
8947 | SetFS(sel);
|
---|
8948 |
|
---|
8949 | return yyrc;
|
---|
8950 | }
|
---|
8951 |
|
---|
8952 | 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)
|
---|
8953 | {
|
---|
8954 | BOOL yyrc;
|
---|
8955 | USHORT sel = RestoreOS2FS();
|
---|
8956 |
|
---|
8957 | yyrc = _O32_StretchBlt(a, b, c, d, e, f, g, h, i, j, k);
|
---|
8958 | SetFS(sel);
|
---|
8959 |
|
---|
8960 | return yyrc;
|
---|
8961 | }
|
---|
8962 |
|
---|
8963 | inline BOOL O32_StrokeAndFillPath(HDC a)
|
---|
8964 | {
|
---|
8965 | BOOL yyrc;
|
---|
8966 | USHORT sel = RestoreOS2FS();
|
---|
8967 |
|
---|
8968 | yyrc = _O32_StrokeAndFillPath(a);
|
---|
8969 | SetFS(sel);
|
---|
8970 |
|
---|
8971 | return yyrc;
|
---|
8972 | }
|
---|
8973 |
|
---|
8974 | inline BOOL O32_StrokePath(HDC a)
|
---|
8975 | {
|
---|
8976 | BOOL yyrc;
|
---|
8977 | USHORT sel = RestoreOS2FS();
|
---|
8978 |
|
---|
8979 | yyrc = _O32_StrokePath(a);
|
---|
8980 | SetFS(sel);
|
---|
8981 |
|
---|
8982 | return yyrc;
|
---|
8983 | }
|
---|
8984 |
|
---|
8985 | inline BOOL O32_SubtractRect(PRECT a, CONST RECT *b, CONST RECT *c)
|
---|
8986 | {
|
---|
8987 | BOOL yyrc;
|
---|
8988 | USHORT sel = RestoreOS2FS();
|
---|
8989 |
|
---|
8990 | yyrc = _O32_SubtractRect(a, b, c);
|
---|
8991 | SetFS(sel);
|
---|
8992 |
|
---|
8993 | return yyrc;
|
---|
8994 | }
|
---|
8995 |
|
---|
8996 | inline DWORD O32_SuspendThread(HANDLE a)
|
---|
8997 | {
|
---|
8998 | DWORD yyrc;
|
---|
8999 | USHORT sel = RestoreOS2FS();
|
---|
9000 |
|
---|
9001 | yyrc = _O32_SuspendThread(a);
|
---|
9002 | SetFS(sel);
|
---|
9003 |
|
---|
9004 | return yyrc;
|
---|
9005 | }
|
---|
9006 |
|
---|
9007 | inline BOOL O32_SwapMouseButton(BOOL a)
|
---|
9008 | {
|
---|
9009 | BOOL yyrc;
|
---|
9010 | USHORT sel = RestoreOS2FS();
|
---|
9011 |
|
---|
9012 | yyrc = _O32_SwapMouseButton(a);
|
---|
9013 | SetFS(sel);
|
---|
9014 |
|
---|
9015 | return yyrc;
|
---|
9016 | }
|
---|
9017 |
|
---|
9018 | inline UINT O32_SystemParametersInfo(UINT a, UINT b, PVOID c, UINT d)
|
---|
9019 | {
|
---|
9020 | UINT yyrc;
|
---|
9021 | USHORT sel = RestoreOS2FS();
|
---|
9022 |
|
---|
9023 | yyrc = _O32_SystemParametersInfo(a, b, c, d);
|
---|
9024 | SetFS(sel);
|
---|
9025 |
|
---|
9026 | return yyrc;
|
---|
9027 | }
|
---|
9028 |
|
---|
9029 | inline BOOL O32_SystemTimeToFileTime(CONST SYSTEMTIME *a, FILETIME *b)
|
---|
9030 | {
|
---|
9031 | BOOL yyrc;
|
---|
9032 | USHORT sel = RestoreOS2FS();
|
---|
9033 |
|
---|
9034 | yyrc = _O32_SystemTimeToFileTime(a, b);
|
---|
9035 | SetFS(sel);
|
---|
9036 |
|
---|
9037 | return yyrc;
|
---|
9038 | }
|
---|
9039 |
|
---|
9040 | inline BOOL O32_SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION a, LPSYSTEMTIME b, LPSYSTEMTIME c)
|
---|
9041 | {
|
---|
9042 | BOOL yyrc;
|
---|
9043 | USHORT sel = RestoreOS2FS();
|
---|
9044 |
|
---|
9045 | yyrc = _O32_SystemTimeToTzSpecificLocalTime(a, b, c);
|
---|
9046 | SetFS(sel);
|
---|
9047 |
|
---|
9048 | return yyrc;
|
---|
9049 | }
|
---|
9050 |
|
---|
9051 | inline LONG O32_TabbedTextOut(HDC a, int b, int c, LPCSTR d, int e, int f, int *g, int h)
|
---|
9052 | {
|
---|
9053 | LONG yyrc;
|
---|
9054 | USHORT sel = RestoreOS2FS();
|
---|
9055 |
|
---|
9056 | yyrc = _O32_TabbedTextOut(a, b, c, d, e, f, g, h);
|
---|
9057 | SetFS(sel);
|
---|
9058 |
|
---|
9059 | return yyrc;
|
---|
9060 | }
|
---|
9061 |
|
---|
9062 | inline BOOL O32_TerminateProcess(HANDLE a, UINT b)
|
---|
9063 | {
|
---|
9064 | BOOL yyrc;
|
---|
9065 | USHORT sel = RestoreOS2FS();
|
---|
9066 |
|
---|
9067 | yyrc = _O32_TerminateProcess(a, b);
|
---|
9068 | SetFS(sel);
|
---|
9069 |
|
---|
9070 | return yyrc;
|
---|
9071 | }
|
---|
9072 |
|
---|
9073 | inline BOOL O32_TerminateThread(HANDLE a, DWORD b)
|
---|
9074 | {
|
---|
9075 | BOOL yyrc;
|
---|
9076 | USHORT sel = RestoreOS2FS();
|
---|
9077 |
|
---|
9078 | yyrc = _O32_TerminateThread(a, b);
|
---|
9079 | SetFS(sel);
|
---|
9080 |
|
---|
9081 | return yyrc;
|
---|
9082 | }
|
---|
9083 |
|
---|
9084 | inline BOOL O32_TextOut(HDC a, int b, int c, LPCSTR d, int e)
|
---|
9085 | {
|
---|
9086 | BOOL yyrc;
|
---|
9087 | USHORT sel = RestoreOS2FS();
|
---|
9088 |
|
---|
9089 | yyrc = _O32_TextOut(a, b, c, d, e);
|
---|
9090 | SetFS(sel);
|
---|
9091 |
|
---|
9092 | return yyrc;
|
---|
9093 | }
|
---|
9094 |
|
---|
9095 | inline DWORD O32_TlsAlloc()
|
---|
9096 | {
|
---|
9097 | DWORD yyrc;
|
---|
9098 | USHORT sel = RestoreOS2FS();
|
---|
9099 |
|
---|
9100 | yyrc = _O32_TlsAlloc();
|
---|
9101 | SetFS(sel);
|
---|
9102 |
|
---|
9103 | return yyrc;
|
---|
9104 | }
|
---|
9105 |
|
---|
9106 | inline BOOL O32_TlsFree(DWORD a)
|
---|
9107 | {
|
---|
9108 | BOOL yyrc;
|
---|
9109 | USHORT sel = RestoreOS2FS();
|
---|
9110 |
|
---|
9111 | yyrc = _O32_TlsFree(a);
|
---|
9112 | SetFS(sel);
|
---|
9113 |
|
---|
9114 | return yyrc;
|
---|
9115 | }
|
---|
9116 |
|
---|
9117 | inline PVOID O32_TlsGetValue(DWORD a)
|
---|
9118 | {
|
---|
9119 | PVOID yyrc;
|
---|
9120 | USHORT sel = RestoreOS2FS();
|
---|
9121 |
|
---|
9122 | yyrc = _O32_TlsGetValue(a);
|
---|
9123 | SetFS(sel);
|
---|
9124 |
|
---|
9125 | return yyrc;
|
---|
9126 | }
|
---|
9127 |
|
---|
9128 | inline BOOL O32_TlsSetValue(DWORD a, PVOID b)
|
---|
9129 | {
|
---|
9130 | BOOL yyrc;
|
---|
9131 | USHORT sel = RestoreOS2FS();
|
---|
9132 |
|
---|
9133 | yyrc = _O32_TlsSetValue(a, b);
|
---|
9134 | SetFS(sel);
|
---|
9135 |
|
---|
9136 | return yyrc;
|
---|
9137 | }
|
---|
9138 |
|
---|
9139 | inline BOOL O32_TrackPopupMenu(HMENU a, UINT b, int c, int d, int e, HWND f, CONST RECT *g)
|
---|
9140 | {
|
---|
9141 | BOOL yyrc;
|
---|
9142 | USHORT sel = RestoreOS2FS();
|
---|
9143 |
|
---|
9144 | yyrc = _O32_TrackPopupMenu(a, b, c, d, e, f, g);
|
---|
9145 | SetFS(sel);
|
---|
9146 |
|
---|
9147 | return yyrc;
|
---|
9148 | }
|
---|
9149 |
|
---|
9150 | inline int O32_TranslateAccelerator(HWND a, HACCEL b, LPMSG c)
|
---|
9151 | {
|
---|
9152 | int yyrc;
|
---|
9153 | USHORT sel = RestoreOS2FS();
|
---|
9154 |
|
---|
9155 | yyrc = _O32_TranslateAccelerator(a, b, c);
|
---|
9156 | SetFS(sel);
|
---|
9157 |
|
---|
9158 | return yyrc;
|
---|
9159 | }
|
---|
9160 |
|
---|
9161 | inline BOOL O32_TranslateMDISysAccel(HWND a, LPMSG b)
|
---|
9162 | {
|
---|
9163 | BOOL yyrc;
|
---|
9164 | USHORT sel = RestoreOS2FS();
|
---|
9165 |
|
---|
9166 | yyrc = _O32_TranslateMDISysAccel(a, b);
|
---|
9167 | SetFS(sel);
|
---|
9168 |
|
---|
9169 | return yyrc;
|
---|
9170 | }
|
---|
9171 |
|
---|
9172 | inline BOOL O32_TranslateMessage(CONST MSG *a)
|
---|
9173 | {
|
---|
9174 | BOOL yyrc;
|
---|
9175 | USHORT sel = RestoreOS2FS();
|
---|
9176 |
|
---|
9177 | yyrc = _O32_TranslateMessage(a);
|
---|
9178 | SetFS(sel);
|
---|
9179 |
|
---|
9180 | return yyrc;
|
---|
9181 | }
|
---|
9182 |
|
---|
9183 | inline BOOL O32_UnhookWindowsHookEx(HHOOK a)
|
---|
9184 | {
|
---|
9185 | BOOL yyrc;
|
---|
9186 | USHORT sel = RestoreOS2FS();
|
---|
9187 |
|
---|
9188 | yyrc = _O32_UnhookWindowsHookEx(a);
|
---|
9189 | SetFS(sel);
|
---|
9190 |
|
---|
9191 | return yyrc;
|
---|
9192 | }
|
---|
9193 |
|
---|
9194 | inline BOOL O32_UnionRect(PRECT a, CONST RECT *b, CONST RECT *c)
|
---|
9195 | {
|
---|
9196 | BOOL yyrc;
|
---|
9197 | USHORT sel = RestoreOS2FS();
|
---|
9198 |
|
---|
9199 | yyrc = _O32_UnionRect(a, b, c);
|
---|
9200 | SetFS(sel);
|
---|
9201 |
|
---|
9202 | return yyrc;
|
---|
9203 | }
|
---|
9204 |
|
---|
9205 | inline BOOL O32_UnlockFile(HANDLE a, DWORD b, DWORD c, DWORD d, DWORD e)
|
---|
9206 | {
|
---|
9207 | BOOL yyrc;
|
---|
9208 | USHORT sel = RestoreOS2FS();
|
---|
9209 |
|
---|
9210 | yyrc = _O32_UnlockFile(a, b, c, d, e);
|
---|
9211 | SetFS(sel);
|
---|
9212 |
|
---|
9213 | return yyrc;
|
---|
9214 | }
|
---|
9215 |
|
---|
9216 | inline BOOL O32_UnpackDDElParam(UINT a, LONG b, PUINT c, PUINT d)
|
---|
9217 | {
|
---|
9218 | BOOL yyrc;
|
---|
9219 | USHORT sel = RestoreOS2FS();
|
---|
9220 |
|
---|
9221 | yyrc = _O32_UnpackDDElParam(a, b, c, d);
|
---|
9222 | SetFS(sel);
|
---|
9223 |
|
---|
9224 | return yyrc;
|
---|
9225 | }
|
---|
9226 |
|
---|
9227 | inline BOOL O32_UnrealizeObject(HGDIOBJ a)
|
---|
9228 | {
|
---|
9229 | BOOL yyrc;
|
---|
9230 | USHORT sel = RestoreOS2FS();
|
---|
9231 |
|
---|
9232 | yyrc = _O32_UnrealizeObject(a);
|
---|
9233 | SetFS(sel);
|
---|
9234 |
|
---|
9235 | return yyrc;
|
---|
9236 | }
|
---|
9237 |
|
---|
9238 | inline BOOL O32_UnregisterClass(LPCSTR a, HINSTANCE b)
|
---|
9239 | {
|
---|
9240 | BOOL yyrc;
|
---|
9241 | USHORT sel = RestoreOS2FS();
|
---|
9242 |
|
---|
9243 | yyrc = _O32_UnregisterClass(a, b);
|
---|
9244 | SetFS(sel);
|
---|
9245 |
|
---|
9246 | return yyrc;
|
---|
9247 | }
|
---|
9248 |
|
---|
9249 | inline BOOL O32_UpdateWindow(HWND a)
|
---|
9250 | {
|
---|
9251 | BOOL yyrc;
|
---|
9252 | USHORT sel = RestoreOS2FS();
|
---|
9253 |
|
---|
9254 | yyrc = _O32_UpdateWindow(a);
|
---|
9255 | SetFS(sel);
|
---|
9256 |
|
---|
9257 | return yyrc;
|
---|
9258 | }
|
---|
9259 |
|
---|
9260 | inline BOOL O32_ValidateRect(HWND a, CONST RECT *b)
|
---|
9261 | {
|
---|
9262 | BOOL yyrc;
|
---|
9263 | USHORT sel = RestoreOS2FS();
|
---|
9264 |
|
---|
9265 | yyrc = _O32_ValidateRect(a, b);
|
---|
9266 | SetFS(sel);
|
---|
9267 |
|
---|
9268 | return yyrc;
|
---|
9269 | }
|
---|
9270 |
|
---|
9271 | inline BOOL O32_ValidateRgn(HWND a, HRGN b)
|
---|
9272 | {
|
---|
9273 | BOOL yyrc;
|
---|
9274 | USHORT sel = RestoreOS2FS();
|
---|
9275 |
|
---|
9276 | yyrc = _O32_ValidateRgn(a, b);
|
---|
9277 | SetFS(sel);
|
---|
9278 |
|
---|
9279 | return yyrc;
|
---|
9280 | }
|
---|
9281 |
|
---|
9282 | inline SHORT O32_VkKeyScan(char a)
|
---|
9283 | {
|
---|
9284 | SHORT yyrc;
|
---|
9285 | USHORT sel = RestoreOS2FS();
|
---|
9286 |
|
---|
9287 | yyrc = _O32_VkKeyScan(a);
|
---|
9288 | SetFS(sel);
|
---|
9289 |
|
---|
9290 | return yyrc;
|
---|
9291 | }
|
---|
9292 |
|
---|
9293 | inline DWORD O32_WaitForMultipleObjects(DWORD a, CONST HANDLE *b, BOOL c, DWORD d)
|
---|
9294 | {
|
---|
9295 | DWORD yyrc;
|
---|
9296 | USHORT sel = RestoreOS2FS();
|
---|
9297 |
|
---|
9298 | yyrc = _O32_WaitForMultipleObjects(a, b, c, d);
|
---|
9299 | SetFS(sel);
|
---|
9300 |
|
---|
9301 | return yyrc;
|
---|
9302 | }
|
---|
9303 |
|
---|
9304 | inline DWORD O32_WaitForSingleObject(HANDLE a, DWORD b)
|
---|
9305 | {
|
---|
9306 | DWORD yyrc;
|
---|
9307 | USHORT sel = RestoreOS2FS();
|
---|
9308 |
|
---|
9309 | yyrc = _O32_WaitForSingleObject(a, b);
|
---|
9310 | SetFS(sel);
|
---|
9311 |
|
---|
9312 | return yyrc;
|
---|
9313 | }
|
---|
9314 |
|
---|
9315 | inline BOOL O32_WaitMessage()
|
---|
9316 | {
|
---|
9317 | BOOL yyrc;
|
---|
9318 | USHORT sel = RestoreOS2FS();
|
---|
9319 |
|
---|
9320 | yyrc = _O32_WaitMessage();
|
---|
9321 | SetFS(sel);
|
---|
9322 |
|
---|
9323 | return yyrc;
|
---|
9324 | }
|
---|
9325 |
|
---|
9326 | inline BOOL O32_WidenPath(HDC a)
|
---|
9327 | {
|
---|
9328 | BOOL yyrc;
|
---|
9329 | USHORT sel = RestoreOS2FS();
|
---|
9330 |
|
---|
9331 | yyrc = _O32_WidenPath(a);
|
---|
9332 | SetFS(sel);
|
---|
9333 |
|
---|
9334 | return yyrc;
|
---|
9335 | }
|
---|
9336 |
|
---|
9337 | inline UINT O32_WinExec(LPCSTR a, UINT b)
|
---|
9338 | {
|
---|
9339 | UINT yyrc;
|
---|
9340 | USHORT sel = RestoreOS2FS();
|
---|
9341 |
|
---|
9342 | yyrc = _O32_WinExec(a, b);
|
---|
9343 | SetFS(sel);
|
---|
9344 |
|
---|
9345 | return yyrc;
|
---|
9346 | }
|
---|
9347 |
|
---|
9348 | inline BOOL O32_WinHelp(HWND a, LPCSTR b, UINT c, DWORD d)
|
---|
9349 | {
|
---|
9350 | BOOL yyrc;
|
---|
9351 | USHORT sel = RestoreOS2FS();
|
---|
9352 |
|
---|
9353 | yyrc = _O32_WinHelp(a, b, c, d);
|
---|
9354 | SetFS(sel);
|
---|
9355 |
|
---|
9356 | return yyrc;
|
---|
9357 | }
|
---|
9358 |
|
---|
9359 | inline HWND O32_WindowFromPoint(POINT a)
|
---|
9360 | {
|
---|
9361 | HWND yyrc;
|
---|
9362 | USHORT sel = RestoreOS2FS();
|
---|
9363 |
|
---|
9364 | yyrc = _O32_WindowFromPoint(a);
|
---|
9365 | SetFS(sel);
|
---|
9366 |
|
---|
9367 | return yyrc;
|
---|
9368 | }
|
---|
9369 |
|
---|
9370 | inline HWND O32_WindowFromDC(HDC a)
|
---|
9371 | {
|
---|
9372 | HWND yyrc;
|
---|
9373 | USHORT sel = RestoreOS2FS();
|
---|
9374 |
|
---|
9375 | yyrc = _O32_WindowFromDC(a);
|
---|
9376 | SetFS(sel);
|
---|
9377 |
|
---|
9378 | return yyrc;
|
---|
9379 | }
|
---|
9380 |
|
---|
9381 | inline BOOL O32_WriteFile(HANDLE a, CONST VOID *b, DWORD c, PDWORD d, LPOVERLAPPED e)
|
---|
9382 | {
|
---|
9383 | BOOL yyrc;
|
---|
9384 | USHORT sel = RestoreOS2FS();
|
---|
9385 |
|
---|
9386 | yyrc = _O32_WriteFile(a, b, c, d, e);
|
---|
9387 | SetFS(sel);
|
---|
9388 |
|
---|
9389 | return yyrc;
|
---|
9390 | }
|
---|
9391 |
|
---|
9392 | inline BOOL O32_WritePrivateProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPCSTR d)
|
---|
9393 | {
|
---|
9394 | BOOL yyrc;
|
---|
9395 | USHORT sel = RestoreOS2FS();
|
---|
9396 |
|
---|
9397 | yyrc = _O32_WritePrivateProfileString(a, b, c, d);
|
---|
9398 | SetFS(sel);
|
---|
9399 |
|
---|
9400 | return yyrc;
|
---|
9401 | }
|
---|
9402 |
|
---|
9403 | inline BOOL O32_WriteProfileString(LPCSTR a, LPCSTR b, LPCSTR c)
|
---|
9404 | {
|
---|
9405 | BOOL yyrc;
|
---|
9406 | USHORT sel = RestoreOS2FS();
|
---|
9407 |
|
---|
9408 | yyrc = _O32_WriteProfileString(a, b, c);
|
---|
9409 | SetFS(sel);
|
---|
9410 |
|
---|
9411 | return yyrc;
|
---|
9412 | }
|
---|
9413 |
|
---|
9414 | inline VOID O32_ZeroMemory(PVOID a, DWORD b)
|
---|
9415 | {
|
---|
9416 | USHORT sel = RestoreOS2FS();
|
---|
9417 |
|
---|
9418 | _O32_ZeroMemory(a, b);
|
---|
9419 | SetFS(sel);
|
---|
9420 | }
|
---|
9421 |
|
---|
9422 | inline HFILE O32__lclose(HFILE a)
|
---|
9423 | {
|
---|
9424 | HFILE yyrc;
|
---|
9425 | USHORT sel = RestoreOS2FS();
|
---|
9426 |
|
---|
9427 | yyrc = _O32__lclose(a);
|
---|
9428 | SetFS(sel);
|
---|
9429 |
|
---|
9430 | return yyrc;
|
---|
9431 | }
|
---|
9432 |
|
---|
9433 | inline HFILE O32__lcreat(LPCSTR a, int b)
|
---|
9434 | {
|
---|
9435 | HFILE yyrc;
|
---|
9436 | USHORT sel = RestoreOS2FS();
|
---|
9437 |
|
---|
9438 | yyrc = _O32__lcreat(a, b);
|
---|
9439 | SetFS(sel);
|
---|
9440 |
|
---|
9441 | return yyrc;
|
---|
9442 | }
|
---|
9443 |
|
---|
9444 | inline HFILE O32__lopen(LPCSTR a, int b)
|
---|
9445 | {
|
---|
9446 | HFILE yyrc;
|
---|
9447 | USHORT sel = RestoreOS2FS();
|
---|
9448 |
|
---|
9449 | yyrc = _O32__lopen(a, b);
|
---|
9450 | SetFS(sel);
|
---|
9451 |
|
---|
9452 | return yyrc;
|
---|
9453 | }
|
---|
9454 |
|
---|
9455 | inline UINT O32__lread(HFILE a, PVOID b, UINT c)
|
---|
9456 | {
|
---|
9457 | UINT yyrc;
|
---|
9458 | USHORT sel = RestoreOS2FS();
|
---|
9459 |
|
---|
9460 | yyrc = _O32__lread(a, b, c);
|
---|
9461 | SetFS(sel);
|
---|
9462 |
|
---|
9463 | return yyrc;
|
---|
9464 | }
|
---|
9465 |
|
---|
9466 | inline LONG O32__llseek(HFILE a, LONG b, int c)
|
---|
9467 | {
|
---|
9468 | LONG yyrc;
|
---|
9469 | USHORT sel = RestoreOS2FS();
|
---|
9470 |
|
---|
9471 | yyrc = _O32__llseek(a, b, c);
|
---|
9472 | SetFS(sel);
|
---|
9473 |
|
---|
9474 | return yyrc;
|
---|
9475 | }
|
---|
9476 |
|
---|
9477 | inline UINT O32__lwrite(HFILE a, CONST VOID *b, UINT c)
|
---|
9478 | {
|
---|
9479 | UINT yyrc;
|
---|
9480 | USHORT sel = RestoreOS2FS();
|
---|
9481 |
|
---|
9482 | yyrc = _O32__lwrite(a, b, c);
|
---|
9483 | SetFS(sel);
|
---|
9484 |
|
---|
9485 | return yyrc;
|
---|
9486 | }
|
---|
9487 |
|
---|
9488 | inline DWORD O32_timeGetSystemTime(LPMMTIME a, UINT b)
|
---|
9489 | {
|
---|
9490 | DWORD yyrc;
|
---|
9491 | USHORT sel = RestoreOS2FS();
|
---|
9492 |
|
---|
9493 | yyrc = _O32_timeGetSystemTime(a, b);
|
---|
9494 | SetFS(sel);
|
---|
9495 |
|
---|
9496 | return yyrc;
|
---|
9497 | }
|
---|
9498 |
|
---|
9499 | inline DWORD O32_timeGetTime()
|
---|
9500 | {
|
---|
9501 | DWORD yyrc;
|
---|
9502 | USHORT sel = RestoreOS2FS();
|
---|
9503 |
|
---|
9504 | yyrc = _O32_timeGetTime();
|
---|
9505 | SetFS(sel);
|
---|
9506 |
|
---|
9507 | return yyrc;
|
---|
9508 | }
|
---|
9509 |
|
---|
9510 | inline int O32_wvsprintf(LPSTR a, LPCSTR b, CONST VOID *c)
|
---|
9511 | {
|
---|
9512 | int yyrc;
|
---|
9513 | USHORT sel = RestoreOS2FS();
|
---|
9514 |
|
---|
9515 | yyrc = _O32_wvsprintf(a, b, c);
|
---|
9516 | SetFS(sel);
|
---|
9517 |
|
---|
9518 | return yyrc;
|
---|
9519 | }
|
---|
9520 |
|
---|
9521 | inline LPSTR O32_CharNext(LPCSTR a)
|
---|
9522 | {
|
---|
9523 | LPSTR yyrc;
|
---|
9524 | USHORT sel = RestoreOS2FS();
|
---|
9525 |
|
---|
9526 | yyrc = _O32_CharNext(a);
|
---|
9527 | SetFS(sel);
|
---|
9528 |
|
---|
9529 | return yyrc;
|
---|
9530 | }
|
---|
9531 |
|
---|
9532 | inline LPSTR O32_CharPrev(LPCSTR a, LPCSTR b)
|
---|
9533 | {
|
---|
9534 | LPSTR yyrc;
|
---|
9535 | USHORT sel = RestoreOS2FS();
|
---|
9536 |
|
---|
9537 | yyrc = _O32_CharPrev(a, b);
|
---|
9538 | SetFS(sel);
|
---|
9539 |
|
---|
9540 | return yyrc;
|
---|
9541 | }
|
---|
9542 |
|
---|
9543 | inline HWND O32_GetDesktopWindow()
|
---|
9544 | {
|
---|
9545 | HWND yyrc;
|
---|
9546 | USHORT sel = RestoreOS2FS();
|
---|
9547 |
|
---|
9548 | yyrc = _O32_GetDesktopWindow();
|
---|
9549 | SetFS(sel);
|
---|
9550 |
|
---|
9551 | return yyrc;
|
---|
9552 | }
|
---|
9553 |
|
---|
9554 | inline BOOL O32_CharToOem(LPCSTR a, LPSTR b)
|
---|
9555 | {
|
---|
9556 | BOOL yyrc;
|
---|
9557 | USHORT sel = RestoreOS2FS();
|
---|
9558 |
|
---|
9559 | yyrc = _O32_CharToOem(a, b);
|
---|
9560 | SetFS(sel);
|
---|
9561 |
|
---|
9562 | return yyrc;
|
---|
9563 | }
|
---|
9564 |
|
---|
9565 | inline BOOL O32_OemToChar(LPCSTR a, LPSTR b)
|
---|
9566 | {
|
---|
9567 | BOOL yyrc;
|
---|
9568 | USHORT sel = RestoreOS2FS();
|
---|
9569 |
|
---|
9570 | yyrc = _O32_OemToChar(a, b);
|
---|
9571 | SetFS(sel);
|
---|
9572 |
|
---|
9573 | return yyrc;
|
---|
9574 | }
|
---|
9575 |
|
---|
9576 | inline BOOL O32_CharToOemBuff(LPCSTR a, LPSTR b, DWORD c)
|
---|
9577 | {
|
---|
9578 | BOOL yyrc;
|
---|
9579 | USHORT sel = RestoreOS2FS();
|
---|
9580 |
|
---|
9581 | yyrc = _O32_CharToOemBuff(a, b, c);
|
---|
9582 | SetFS(sel);
|
---|
9583 |
|
---|
9584 | return yyrc;
|
---|
9585 | }
|
---|
9586 |
|
---|
9587 | inline BOOL O32_OemToCharBuff(LPCSTR a, LPSTR b, DWORD c)
|
---|
9588 | {
|
---|
9589 | BOOL yyrc;
|
---|
9590 | USHORT sel = RestoreOS2FS();
|
---|
9591 |
|
---|
9592 | yyrc = _O32_OemToCharBuff(a, b, c);
|
---|
9593 | SetFS(sel);
|
---|
9594 |
|
---|
9595 | return yyrc;
|
---|
9596 | }
|
---|
9597 |
|
---|
9598 | inline BOOL O32_IsBadHugeReadPtr(CONST void *a, UINT b)
|
---|
9599 | {
|
---|
9600 | BOOL yyrc;
|
---|
9601 | USHORT sel = RestoreOS2FS();
|
---|
9602 |
|
---|
9603 | yyrc = _O32_IsBadHugeReadPtr(a, b);
|
---|
9604 | SetFS(sel);
|
---|
9605 |
|
---|
9606 | return yyrc;
|
---|
9607 | }
|
---|
9608 |
|
---|
9609 | inline BOOL O32_IsBadHugeWritePtr(PVOID a, UINT b)
|
---|
9610 | {
|
---|
9611 | BOOL yyrc;
|
---|
9612 | USHORT sel = RestoreOS2FS();
|
---|
9613 |
|
---|
9614 | yyrc = _O32_IsBadHugeWritePtr(a, b);
|
---|
9615 | SetFS(sel);
|
---|
9616 |
|
---|
9617 | return yyrc;
|
---|
9618 | }
|
---|
9619 |
|
---|
9620 | inline BOOL O32_FloodFill(HDC a, int b, int c, COLORREF d)
|
---|
9621 | {
|
---|
9622 | BOOL yyrc;
|
---|
9623 | USHORT sel = RestoreOS2FS();
|
---|
9624 |
|
---|
9625 | yyrc = _O32_FloodFill(a, b, c, d);
|
---|
9626 | SetFS(sel);
|
---|
9627 |
|
---|
9628 | return yyrc;
|
---|
9629 | }
|
---|
9630 |
|
---|
9631 | inline BOOL O32_IsCharAlpha(WCHAR a)
|
---|
9632 | {
|
---|
9633 | BOOL yyrc;
|
---|
9634 | USHORT sel = RestoreOS2FS();
|
---|
9635 |
|
---|
9636 | yyrc = _O32_IsCharAlpha(a);
|
---|
9637 | SetFS(sel);
|
---|
9638 |
|
---|
9639 | return yyrc;
|
---|
9640 | }
|
---|
9641 |
|
---|
9642 | inline BOOL O32_IsCharAlphaNumeric(WCHAR a)
|
---|
9643 | {
|
---|
9644 | BOOL yyrc;
|
---|
9645 | USHORT sel = RestoreOS2FS();
|
---|
9646 |
|
---|
9647 | yyrc = _O32_IsCharAlphaNumeric(a);
|
---|
9648 | SetFS(sel);
|
---|
9649 |
|
---|
9650 | return yyrc;
|
---|
9651 | }
|
---|
9652 |
|
---|
9653 | inline BOOL O32_IsCharLower(WCHAR a)
|
---|
9654 | {
|
---|
9655 | BOOL yyrc;
|
---|
9656 | USHORT sel = RestoreOS2FS();
|
---|
9657 |
|
---|
9658 | yyrc = _O32_IsCharLower(a);
|
---|
9659 | SetFS(sel);
|
---|
9660 |
|
---|
9661 | return yyrc;
|
---|
9662 | }
|
---|
9663 |
|
---|
9664 | inline BOOL O32_IsCharUpper(WCHAR a)
|
---|
9665 | {
|
---|
9666 | BOOL yyrc;
|
---|
9667 | USHORT sel = RestoreOS2FS();
|
---|
9668 |
|
---|
9669 | yyrc = _O32_IsCharUpper(a);
|
---|
9670 | SetFS(sel);
|
---|
9671 |
|
---|
9672 | return yyrc;
|
---|
9673 | }
|
---|
9674 |
|
---|
9675 | inline LPSTR O32_lstrcat(LPSTR a, LPCSTR b)
|
---|
9676 | {
|
---|
9677 | LPSTR yyrc;
|
---|
9678 | USHORT sel = RestoreOS2FS();
|
---|
9679 |
|
---|
9680 | yyrc = _O32_lstrcat(a, b);
|
---|
9681 | SetFS(sel);
|
---|
9682 |
|
---|
9683 | return yyrc;
|
---|
9684 | }
|
---|
9685 |
|
---|
9686 | inline int O32_lstrcmp(LPCSTR a, LPCSTR b)
|
---|
9687 | {
|
---|
9688 | int yyrc;
|
---|
9689 | USHORT sel = RestoreOS2FS();
|
---|
9690 |
|
---|
9691 | yyrc = _O32_lstrcmp(a, b);
|
---|
9692 | SetFS(sel);
|
---|
9693 |
|
---|
9694 | return yyrc;
|
---|
9695 | }
|
---|
9696 |
|
---|
9697 | inline int O32_lstrcmpi(LPCSTR a, LPCSTR b)
|
---|
9698 | {
|
---|
9699 | int yyrc;
|
---|
9700 | USHORT sel = RestoreOS2FS();
|
---|
9701 |
|
---|
9702 | yyrc = _O32_lstrcmpi(a, b);
|
---|
9703 | SetFS(sel);
|
---|
9704 |
|
---|
9705 | return yyrc;
|
---|
9706 | }
|
---|
9707 |
|
---|
9708 | inline LPSTR O32_lstrcpy(LPSTR a, LPCSTR b)
|
---|
9709 | {
|
---|
9710 | LPSTR yyrc;
|
---|
9711 | USHORT sel = RestoreOS2FS();
|
---|
9712 |
|
---|
9713 | yyrc = _O32_lstrcpy(a, b);
|
---|
9714 | SetFS(sel);
|
---|
9715 |
|
---|
9716 | return yyrc;
|
---|
9717 | }
|
---|
9718 |
|
---|
9719 | inline int O32_lstrlen(LPCSTR a)
|
---|
9720 | {
|
---|
9721 | int yyrc;
|
---|
9722 | USHORT sel = RestoreOS2FS();
|
---|
9723 |
|
---|
9724 | yyrc = _O32_lstrlen(a);
|
---|
9725 | SetFS(sel);
|
---|
9726 |
|
---|
9727 | return yyrc;
|
---|
9728 | }
|
---|
9729 |
|
---|
9730 | inline int O32_WinCallWinMain(int a, char **b, FNMAIN_O32 c, int d)
|
---|
9731 | {
|
---|
9732 | int yyrc;
|
---|
9733 | USHORT sel = RestoreOS2FS();
|
---|
9734 |
|
---|
9735 | yyrc = _O32_WinCallWinMain(a, b, c, d);
|
---|
9736 | SetFS(sel);
|
---|
9737 |
|
---|
9738 | return yyrc;
|
---|
9739 | }
|
---|
9740 |
|
---|
9741 | inline BOOL O32_WinTranslateDevicePoints(HDC a, HWND b, PPOINT c, INT d, XLATEDIR e)
|
---|
9742 | {
|
---|
9743 | BOOL yyrc;
|
---|
9744 | USHORT sel = RestoreOS2FS();
|
---|
9745 |
|
---|
9746 | yyrc = _O32_WinTranslateDevicePoints(a, b, c, d, e);
|
---|
9747 | SetFS(sel);
|
---|
9748 |
|
---|
9749 | return yyrc;
|
---|
9750 | }
|
---|
9751 |
|
---|
9752 | inline BOOL O32_WinTranslateDeviceRects(HDC a, HWND b, PRECT c, INT d, XLATEDIR e)
|
---|
9753 | {
|
---|
9754 | BOOL yyrc;
|
---|
9755 | USHORT sel = RestoreOS2FS();
|
---|
9756 |
|
---|
9757 | yyrc = _O32_WinTranslateDeviceRects(a, b, c, d, e);
|
---|
9758 | SetFS(sel);
|
---|
9759 |
|
---|
9760 | return yyrc;
|
---|
9761 | }
|
---|
9762 |
|
---|
9763 | inline ULONG O32_WinTranslateGraphicsObjectHandle(HGDIOBJ a, XLATEDIR b, ULONG c)
|
---|
9764 | {
|
---|
9765 | ULONG yyrc;
|
---|
9766 | USHORT sel = RestoreOS2FS();
|
---|
9767 |
|
---|
9768 | yyrc = _O32_WinTranslateGraphicsObjectHandle(a, b, c);
|
---|
9769 | SetFS(sel);
|
---|
9770 |
|
---|
9771 | return yyrc;
|
---|
9772 | }
|
---|
9773 |
|
---|
9774 | inline ULONG O32_WinTranslateMnemonicString(LPCSTR a, LPSTR *b, ULONG c, XLATEDIR d)
|
---|
9775 | {
|
---|
9776 | ULONG yyrc;
|
---|
9777 | USHORT sel = RestoreOS2FS();
|
---|
9778 |
|
---|
9779 | yyrc = _O32_WinTranslateMnemonicString(a, b, c, d);
|
---|
9780 | SetFS(sel);
|
---|
9781 |
|
---|
9782 | return yyrc;
|
---|
9783 | }
|
---|
9784 |
|
---|
9785 | inline DWORD O32_WinQueryTranslateMode()
|
---|
9786 | {
|
---|
9787 | DWORD yyrc;
|
---|
9788 | USHORT sel = RestoreOS2FS();
|
---|
9789 |
|
---|
9790 | yyrc = _O32_WinQueryTranslateMode();
|
---|
9791 | SetFS(sel);
|
---|
9792 |
|
---|
9793 | return yyrc;
|
---|
9794 | }
|
---|
9795 |
|
---|
9796 | inline BOOL O32_WinSetTranslateMode(DWORD a)
|
---|
9797 | {
|
---|
9798 | BOOL yyrc;
|
---|
9799 | USHORT sel = RestoreOS2FS();
|
---|
9800 |
|
---|
9801 | yyrc = _O32_WinSetTranslateMode(a);
|
---|
9802 | SetFS(sel);
|
---|
9803 |
|
---|
9804 | return yyrc;
|
---|
9805 | }
|
---|
9806 |
|
---|
9807 |
|
---|
9808 | #endif /* ifdef _OS2WIN_H */
|
---|