1 | #ifndef _OS2WIN_H
|
---|
2 | #define _OS2WIN_H
|
---|
3 |
|
---|
4 | #ifdef OS2_INCLUDED
|
---|
5 | #include <win32type.h>
|
---|
6 | #else
|
---|
7 | #include <odin.h>
|
---|
8 |
|
---|
9 | #include <windef.h>
|
---|
10 | #include <winbase.h>
|
---|
11 | #include <wingdi.h>
|
---|
12 | #include <winuser.h>
|
---|
13 | #include <winerror.h>
|
---|
14 | #include <commdlg.h>
|
---|
15 | #include <ddeml.h>
|
---|
16 | #include <mmsystem.h>
|
---|
17 | #endif
|
---|
18 |
|
---|
19 | #include <os2sel.h>
|
---|
20 |
|
---|
21 | #include "misc.h"
|
---|
22 |
|
---|
23 | #define OPEN32API _System
|
---|
24 | #define EXPENTRY_O32 _System
|
---|
25 | #define APIENTRY_O32 _System
|
---|
26 |
|
---|
27 | /* WinMain/WinProcs/TimerProcs
|
---|
28 | */
|
---|
29 | typedef int (* EXPENTRY_O32 FNMAIN_O32 )( HINSTANCE, HINSTANCE, LPSTR, int );
|
---|
30 | typedef FNMAIN_O32 PFNMAIN_O32;
|
---|
31 | typedef LRESULT (* EXPENTRY_O32 WNDPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
|
---|
32 | typedef int (* EXPENTRY_O32 FARPROC_O32 ) ( );
|
---|
33 | typedef UINT (* EXPENTRY_O32 LPOFNHOOKPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
|
---|
34 | typedef BOOL (* EXPENTRY_O32 DLGPROC_O32 ) ( HWND, UINT, WPARAM, LPARAM );
|
---|
35 | typedef void (* EXPENTRY_O32 TIMERPROC_O32)( HWND, UINT, UINT, DWORD );
|
---|
36 | typedef BOOL (* EXPENTRY_O32 ABORTPROC_O32)( HDC, int);
|
---|
37 | typedef UINT (* APIENTRY_O32 LPPRINTHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
38 | typedef UINT (* APIENTRY_O32 LPSETUPHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
39 | typedef LRESULT (* EXPENTRY_O32 HOOKPROC_O32)(int code, WPARAM wParam, LPARAM lParam);
|
---|
40 | typedef DWORD (* EXPENTRY_O32 PTHREAD_START_ROUTINE_O32)(PVOID lpThreadParameter);
|
---|
41 | typedef DWORD (* EXPENTRY_O32 LPTHREAD_START_ROUTINE_O32)(PVOID lpThreadParameter);
|
---|
42 |
|
---|
43 | typedef int (* EXPENTRY_O32 GOBJENUMPROC_O32)(PVOID, LPARAM);
|
---|
44 | typedef VOID (* EXPENTRY_O32 LINEDDAPROC_O32)(int, int, LPARAM);
|
---|
45 | typedef int (* EXPENTRY_O32 OLDFONTENUMPROC_O32)( PLOGFONTA, LPTEXTMETRICA, DWORD, LPARAM );
|
---|
46 | typedef int (* EXPENTRY_O32 FONTENUMPROC_O32)( LPENUMLOGFONTA, LPNEWTEXTMETRICA, DWORD, LPARAM );
|
---|
47 | typedef BOOL (* EXPENTRY_O32 WNDENUMPROC_O32)( HWND, LPARAM );
|
---|
48 | typedef BOOL (* EXPENTRY_O32 PROPENUMPROC_O32)( HWND, LPCSTR, HANDLE );
|
---|
49 | typedef UINT (* EXPENTRY_O32 PFRHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
50 | typedef BOOL (* EXPENTRY_O32 GRAYSTRINGPROC_O32)(HDC, LPARAM, int);
|
---|
51 | typedef UINT (* EXPENTRY_O32 LPCCHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
52 | typedef UINT (* EXPENTRY_O32 LPCFHOOKPROC_O32) (HWND, UINT, WPARAM, LPARAM);
|
---|
53 | typedef HDDEDATA (* EXPENTRY_O32 FNCALLBACK_O32)(UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD, DWORD );
|
---|
54 | typedef BOOL (* EXPENTRY_O32 PROPENUMPROCEX_O32)( HWND, LPCSTR, HANDLE, DWORD );
|
---|
55 | typedef FNCALLBACK_O32 *PFNCALLBACK_O32;
|
---|
56 |
|
---|
57 | typedef int (* EXPENTRY_O32 ENHMFENUMPROC_O32)(HDC, LPHANDLETABLE, const PENHMETARECORD, int, LPARAM);
|
---|
58 | typedef int (* EXPENTRY_O32 MFENUMPROC_O32)(HDC, LPHANDLETABLE, PMETARECORD, int, LPARAM);
|
---|
59 |
|
---|
60 | #define HKEY_LOCAL_MACHINE_O32 0xFFFFFFEFL
|
---|
61 | #define HKEY_CURRENT_USER_O32 0xFFFFFFEEL
|
---|
62 | #define HKEY_USERS_O32 0xFFFFFFEDL
|
---|
63 | #define HKEY_CLASSES_ROOT_O32 0xFFFFFFECL
|
---|
64 |
|
---|
65 | #define O32_MakeProcInstance(proc, hinst) (proc)
|
---|
66 | #define O32_FreeProcInstance(proc) (proc)
|
---|
67 | #define O32_FreeModule(hLibModule) O32_FreeLibrary((hLibModule))
|
---|
68 | #define O32_Yield()
|
---|
69 |
|
---|
70 | #define O32_GetWindowTask(hWnd) ((HANDLE)O32_GetWindowThreadProcessId(hWnd, NULL))
|
---|
71 |
|
---|
72 |
|
---|
73 | /* Macro'd APIs
|
---|
74 | */
|
---|
75 | #define O32_CreateWindow(lpClassName, lpWindowName, dwStyle, x, y,\
|
---|
76 | nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
|
---|
77 | O32_CreateWindowEx(0, lpClassName, lpWindowName, dwStyle, x, y,\
|
---|
78 | nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
|
---|
79 |
|
---|
80 | /* TBD: This must be removed before release
|
---|
81 | */
|
---|
82 | #ifndef NO_HEAPSIZE_MACRO
|
---|
83 | #define _O32_HeapSize(handle, flags, pMem) AweHeapSize(handle, flags, pMem)
|
---|
84 | #endif
|
---|
85 |
|
---|
86 | #define O32_AnsiToOem O32_CharToOem
|
---|
87 | #define O32_OemToAnsi O32_OemToChar
|
---|
88 | #define O32_AnsiToOemBuff O32_CharToOemBuff
|
---|
89 | #define O32_OemToAnsiBuff O32_OemToCharBuff
|
---|
90 | #define O32_AnsiUpper O32_CharUpper
|
---|
91 | #define O32_AnsiUpperBuff O32_CharUpperBuff
|
---|
92 | #define O32_AnsiLower O32_CharLower
|
---|
93 | #define O32_AnsiLowerBuff O32_CharLowerBuff
|
---|
94 | #define O32_AnsiNext O32_CharNext
|
---|
95 | #define O32_AnsiPrev O32_CharPrev
|
---|
96 |
|
---|
97 | /* Name Mapped API's
|
---|
98 | */
|
---|
99 | #define _O32_CreateBitmapIndirect _O32__CreateBitmapIndirect
|
---|
100 | #define _O32_CreateDialogIndirect _O32__CreateDialogIndirect
|
---|
101 | #define _O32_CreateDialogIndirectParam _O32__CreateDialogIndirectParam
|
---|
102 | #define _O32_CreateIconIndirect _O32__CreateIconIndirect
|
---|
103 | #define _O32_DialogBoxIndirect _O32__DialogBoxIndirect
|
---|
104 | #define _O32_DialogBoxIndirectParam _O32__DialogBoxIndirectParam
|
---|
105 | #define _O32_LoadMenuIndirect _O32__LoadMenuIndirect
|
---|
106 | #define _O32_LoadResource _O32__LoadResource
|
---|
107 |
|
---|
108 | /* API Prototypes
|
---|
109 | */
|
---|
110 | int OPEN32API _O32_WinMain( HINSTANCE, HINSTANCE, LPSTR, int );
|
---|
111 |
|
---|
112 | int OPEN32API _O32_AbortDoc( HDC );
|
---|
113 |
|
---|
114 | BOOL OPEN32API _O32_AbortPath( HDC );
|
---|
115 |
|
---|
116 | ATOM OPEN32API _O32_AddAtom( LPCSTR );
|
---|
117 |
|
---|
118 | int OPEN32API _O32_AddFontResource( LPCSTR );
|
---|
119 |
|
---|
120 | BOOL OPEN32API _O32_AdjustWindowRect( PRECT, DWORD, BOOL );
|
---|
121 |
|
---|
122 | BOOL OPEN32API _O32_AdjustWindowRectEx( PRECT, DWORD, BOOL, DWORD );
|
---|
123 |
|
---|
124 | BOOL OPEN32API _O32_AngleArc( HDC, int, int, DWORD, float startAngle, float sweepAngle );
|
---|
125 |
|
---|
126 | BOOL OPEN32API _O32_AnimatePalette( HPALETTE, UINT, UINT, const PALETTEENTRY *);
|
---|
127 |
|
---|
128 | BOOL OPEN32API _O32_AppendMenu( HMENU, UINT, UINT, LPCSTR );
|
---|
129 |
|
---|
130 | BOOL OPEN32API _O32_Arc( HDC, int, int, int, int, int, int, int, int );
|
---|
131 |
|
---|
132 | BOOL OPEN32API _O32_ArcTo( HDC, int, int, int, int, int xRad1, int yRad1, int xRad2, int yRad2);
|
---|
133 |
|
---|
134 | UINT OPEN32API _O32_ArrangeIconicWindows( HWND );
|
---|
135 |
|
---|
136 | BOOL OPEN32API _O32_Beep( DWORD, DWORD );
|
---|
137 |
|
---|
138 | HDWP OPEN32API _O32_BeginDeferWindowPos( int );
|
---|
139 |
|
---|
140 | HDC OPEN32API _O32_BeginPaint( HWND, PPAINTSTRUCT );
|
---|
141 |
|
---|
142 | BOOL OPEN32API _O32_BeginPath( HDC );
|
---|
143 |
|
---|
144 | BOOL OPEN32API _O32_BitBlt( HDC , int, int, int, int, HDC , int, int, DWORD );
|
---|
145 |
|
---|
146 | BOOL OPEN32API _O32_BringWindowToTop( HWND );
|
---|
147 |
|
---|
148 | BOOL OPEN32API _O32_CallMsgFilter( LPMSG, int );
|
---|
149 |
|
---|
150 | LRESULT OPEN32API _O32_CallNextHookEx( HHOOK, int, WPARAM, LPARAM );
|
---|
151 |
|
---|
152 | LRESULT OPEN32API _O32_CallWindowProc( WNDPROC_O32, HWND, UINT, WPARAM, LPARAM );
|
---|
153 |
|
---|
154 | BOOL OPEN32API _O32_ChangeClipboardChain( HWND, HWND );
|
---|
155 |
|
---|
156 | LPSTR OPEN32API _O32_CharLower( LPSTR );
|
---|
157 |
|
---|
158 | DWORD OPEN32API _O32_CharLowerBuff( LPSTR, DWORD );
|
---|
159 |
|
---|
160 | LPSTR OPEN32API _O32_CharUpper( LPSTR );
|
---|
161 |
|
---|
162 | DWORD OPEN32API _O32_CharUpperBuff( LPSTR, DWORD );
|
---|
163 |
|
---|
164 | BOOL OPEN32API _O32_CheckDlgButton( HWND, int, UINT );
|
---|
165 |
|
---|
166 | DWORD OPEN32API _O32_CheckMenuItem( HMENU, UINT, UINT );
|
---|
167 |
|
---|
168 | BOOL OPEN32API _O32_CheckRadioButton( HWND, int, int, int );
|
---|
169 |
|
---|
170 | HWND OPEN32API _O32_ChildWindowFromPoint( HWND, POINT );
|
---|
171 |
|
---|
172 | BOOL OPEN32API _O32_ChooseColor( LPCHOOSECOLORA );
|
---|
173 |
|
---|
174 | BOOL OPEN32API _O32_ChooseFont( LPCHOOSEFONTA );
|
---|
175 |
|
---|
176 | BOOL OPEN32API _O32_Chord( HDC , int, int, int, int, int xRadial1, int yRadial1, int xRadial2, int yRadial2);
|
---|
177 |
|
---|
178 | BOOL OPEN32API _O32_ClientToScreen( HWND, PPOINT );
|
---|
179 |
|
---|
180 | BOOL OPEN32API _O32_ClipCursor( const RECT *);
|
---|
181 |
|
---|
182 | BOOL OPEN32API _O32_CloseClipboard( VOID );
|
---|
183 |
|
---|
184 | HENHMETAFILE OPEN32API _O32_CloseEnhMetaFile( HDC );
|
---|
185 |
|
---|
186 | BOOL OPEN32API _O32_CloseFigure( HDC );
|
---|
187 |
|
---|
188 | BOOL OPEN32API _O32_CloseHandle( HANDLE );
|
---|
189 |
|
---|
190 | HMETAFILE OPEN32API _O32_CloseMetaFile( HDC );
|
---|
191 |
|
---|
192 | BOOL OPEN32API _O32_CloseWindow( HWND );
|
---|
193 |
|
---|
194 | int OPEN32API _O32_CombineRgn( HRGN, HRGN hrgnSrc1, HRGN hrgnSrc2, int );
|
---|
195 |
|
---|
196 | DWORD OPEN32API _O32_CommDlgExtendedError( VOID );
|
---|
197 |
|
---|
198 | LONG OPEN32API _O32_CompareFileTime( FILETIME *, FILETIME * );
|
---|
199 |
|
---|
200 | HCURSOR OPEN32API _O32_CopyCursor( HCURSOR );
|
---|
201 |
|
---|
202 | HENHMETAFILE OPEN32API _O32_CopyEnhMetaFile( HENHMETAFILE, LPCSTR );
|
---|
203 |
|
---|
204 | BOOL OPEN32API _O32_CopyFile( LPCSTR, LPCSTR, BOOL );
|
---|
205 |
|
---|
206 | HICON OPEN32API _O32_CopyIcon( HICON );
|
---|
207 |
|
---|
208 | HMETAFILE OPEN32API _O32_CopyMetaFile( HMETAFILE, LPCSTR );
|
---|
209 |
|
---|
210 | BOOL OPEN32API _O32_CopyRect( PRECT, const RECT *);
|
---|
211 |
|
---|
212 | int OPEN32API _O32_CountClipboardFormats( VOID );
|
---|
213 |
|
---|
214 | HACCEL OPEN32API _O32_CreateAcceleratorTable( LPACCEL, int );
|
---|
215 |
|
---|
216 | HBITMAP OPEN32API _O32_CreateBitmap( int, int, UINT, UINT, const void * );
|
---|
217 |
|
---|
218 | HBITMAP OPEN32API _O32_CreateBitmapIndirect( const BITMAP * );
|
---|
219 |
|
---|
220 | HBRUSH OPEN32API _O32_CreateBrushIndirect( LPLOGBRUSH );
|
---|
221 |
|
---|
222 | BOOL OPEN32API _O32_CreateCaret( HWND, HBITMAP, int, int );
|
---|
223 |
|
---|
224 | HBITMAP OPEN32API _O32_CreateCompatibleBitmap( HDC , int, int );
|
---|
225 |
|
---|
226 | HDC OPEN32API _O32_CreateCompatibleDC( HDC );
|
---|
227 |
|
---|
228 | HCURSOR OPEN32API _O32_CreateCursor( HINSTANCE, int, int, int, int, const VOID *, const VOID *);
|
---|
229 |
|
---|
230 | HDC OPEN32API _O32_CreateDC( LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *);
|
---|
231 |
|
---|
232 | HBRUSH OPEN32API _O32_CreateDIBPatternBrushPt( const VOID *, UINT );
|
---|
233 |
|
---|
234 | HBITMAP OPEN32API _O32_CreateDIBitmap( HDC, const BITMAPINFOHEADER *, DWORD, const void *, const BITMAPINFO *, UINT );
|
---|
235 |
|
---|
236 | HWND OPEN32API _O32_CreateDialog( HINSTANCE, LPCSTR, HWND, DLGPROC_O32 );
|
---|
237 |
|
---|
238 | HWND OPEN32API _O32_CreateDialogParam( HINSTANCE, LPCSTR, HWND, DLGPROC_O32, LPARAM );
|
---|
239 |
|
---|
240 | HWND OPEN32API _O32_CreateDialogIndirect( HINSTANCE, const DLGTEMPLATE *, HWND, DLGPROC_O32 );
|
---|
241 |
|
---|
242 | HWND OPEN32API _O32_CreateDialogIndirectParam( HINSTANCE, const DLGTEMPLATE *, HWND, DLGPROC_O32, LPARAM );
|
---|
243 |
|
---|
244 | BOOL OPEN32API _O32_CreateDirectory( LPCSTR, PSECURITY_ATTRIBUTES );
|
---|
245 |
|
---|
246 | HRGN OPEN32API _O32_CreateEllipticRgn( int, int, int, int );
|
---|
247 |
|
---|
248 | HRGN OPEN32API _O32_CreateEllipticRgnIndirect( const RECT * );
|
---|
249 |
|
---|
250 | HENHMETAFILE OPEN32API _O32_CreateEnhMetaFile( HDC, LPCSTR, const RECT *, LPCSTR );
|
---|
251 |
|
---|
252 | HANDLE OPEN32API _O32_CreateEvent( PSECURITY_ATTRIBUTES, BOOL, BOOL, LPCSTR );
|
---|
253 |
|
---|
254 | HANDLE OPEN32API _O32_CreateFile( LPCSTR, DWORD, DWORD, PSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE );
|
---|
255 |
|
---|
256 | HFONT OPEN32API _O32_CreateFont( int, int, int, int, int, DWORD, DWORD, DWORD, DWORD,
|
---|
257 | DWORD, DWORD, DWORD, DWORD, LPCSTR );
|
---|
258 |
|
---|
259 | HFONT OPEN32API _O32_CreateFontIndirect( const LOGFONTA *);
|
---|
260 |
|
---|
261 | HBRUSH OPEN32API _O32_CreateHatchBrush( int, COLORREF );
|
---|
262 |
|
---|
263 | HDC OPEN32API _O32_CreateIC( LPCSTR, LPCSTR, LPCSTR, const DEVMODEA *);
|
---|
264 |
|
---|
265 | HICON OPEN32API _O32_CreateIcon( HINSTANCE, int, int, BYTE, BYTE, const BYTE *, const BYTE * );
|
---|
266 |
|
---|
267 | HICON OPEN32API _O32_CreateIconFromResource( PBYTE, DWORD, BOOL, DWORD );
|
---|
268 |
|
---|
269 | HICON OPEN32API _O32_CreateIconIndirect( LPICONINFO );
|
---|
270 |
|
---|
271 | HMENU OPEN32API _O32_CreateMenu( void);
|
---|
272 |
|
---|
273 | HDC OPEN32API _O32_CreateMetaFile( LPCSTR );
|
---|
274 |
|
---|
275 | HWND OPEN32API _O32_CreateMDIWindow( LPSTR, LPSTR, DWORD, int, int, int, int, HWND, HINSTANCE, LPARAM );
|
---|
276 |
|
---|
277 | HANDLE OPEN32API _O32_CreateMutex( PSECURITY_ATTRIBUTES, BOOL, LPCSTR );
|
---|
278 |
|
---|
279 | HPALETTE OPEN32API _O32_CreatePalette( const LOGPALETTE * );
|
---|
280 |
|
---|
281 | HBRUSH OPEN32API _O32_CreatePatternBrush( HBITMAP );
|
---|
282 |
|
---|
283 | HPEN OPEN32API _O32_CreatePen( int, int, COLORREF );
|
---|
284 |
|
---|
285 | HPEN OPEN32API _O32_CreatePenIndirect( const LOGPEN * );
|
---|
286 |
|
---|
287 | HRGN OPEN32API _O32_CreatePolyPolygonRgn( const POINT *, const INT *, int, int );
|
---|
288 |
|
---|
289 | HRGN OPEN32API _O32_CreatePolygonRgn( const POINT *, int, int );
|
---|
290 |
|
---|
291 | HMENU OPEN32API _O32_CreatePopupMenu( VOID );
|
---|
292 |
|
---|
293 | BOOL OPEN32API _O32_CreateProcess( LPCSTR, LPCSTR, PSECURITY_ATTRIBUTES, PSECURITY_ATTRIBUTES,
|
---|
294 | BOOL, DWORD, PVOID, LPCSTR, LPSTARTUPINFOA,
|
---|
295 | LPPROCESS_INFORMATION );
|
---|
296 |
|
---|
297 | HRGN OPEN32API _O32_CreateRectRgn( int, int, int, int );
|
---|
298 |
|
---|
299 | HRGN OPEN32API _O32_CreateRectRgnIndirect( const RECT * );
|
---|
300 |
|
---|
301 | HRGN OPEN32API _O32_CreateRoundRectRgn( int, int, int, int, int, int );
|
---|
302 |
|
---|
303 | HANDLE OPEN32API _O32_CreateSemaphore( PSECURITY_ATTRIBUTES, LONG, LONG, LPSTR );
|
---|
304 |
|
---|
305 | HBRUSH OPEN32API _O32_CreateSolidBrush( COLORREF );
|
---|
306 |
|
---|
307 | HANDLE OPEN32API _O32_CreateThread( PSECURITY_ATTRIBUTES, DWORD, PTHREAD_START_ROUTINE_O32, PVOID, DWORD, PDWORD );
|
---|
308 |
|
---|
309 | HWND OPEN32API _O32_CreateWindowEx( DWORD, LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, PVOID );
|
---|
310 |
|
---|
311 | BOOL OPEN32API _O32_DPtoLP( HDC, PPOINT, int );
|
---|
312 |
|
---|
313 | BOOL OPEN32API _O32_DdeAbandonTransaction( DWORD, HCONV, DWORD );
|
---|
314 |
|
---|
315 | PBYTE OPEN32API _O32_DdeAccessData(HDDEDATA, PDWORD );
|
---|
316 |
|
---|
317 | HDDEDATA OPEN32API _O32_DdeAddData( HDDEDATA, PVOID, DWORD, DWORD );
|
---|
318 |
|
---|
319 | HDDEDATA OPEN32API _O32_DdeClientTransaction( PVOID, DWORD, HCONV,
|
---|
320 | HSZ, UINT, UINT, DWORD, PDWORD );
|
---|
321 |
|
---|
322 | int OPEN32API _O32_DdeCmpStringHandles( HSZ hsz1, HSZ hsz2);
|
---|
323 |
|
---|
324 | HCONV OPEN32API _O32_DdeConnect( DWORD, HSZ, HSZ, LPCONVCONTEXT );
|
---|
325 |
|
---|
326 | HCONVLIST OPEN32API _O32_DdeConnectList(DWORD, HSZ, HSZ, HCONVLIST, LPCONVCONTEXT );
|
---|
327 |
|
---|
328 | HDDEDATA OPEN32API _O32_DdeCreateDataHandle(DWORD, PVOID, DWORD, DWORD, HSZ, UINT, UINT );
|
---|
329 |
|
---|
330 | HSZ OPEN32API _O32_DdeCreateStringHandle(DWORD, LPCSTR, int );
|
---|
331 |
|
---|
332 | BOOL OPEN32API _O32_DdeDisconnect(HCONV );
|
---|
333 |
|
---|
334 | BOOL OPEN32API _O32_DdeDisconnectList( HCONVLIST );
|
---|
335 |
|
---|
336 | BOOL OPEN32API _O32_DdeEnableCallback(DWORD, HCONV, UINT );
|
---|
337 |
|
---|
338 | BOOL OPEN32API _O32_DdeFreeDataHandle( HDDEDATA );
|
---|
339 |
|
---|
340 | BOOL OPEN32API _O32_DdeFreeStringHandle(DWORD, HSZ );
|
---|
341 |
|
---|
342 | DWORD OPEN32API _O32_DdeGetData( HDDEDATA, PVOID, DWORD, DWORD );
|
---|
343 |
|
---|
344 | UINT OPEN32API _O32_DdeGetLastError(DWORD );
|
---|
345 |
|
---|
346 | UINT OPEN32API _O32_DdeInitialize(PDWORD, PFNCALLBACK, DWORD, DWORD );
|
---|
347 |
|
---|
348 | BOOL OPEN32API _O32_DdeKeepStringHandle(DWORD, HSZ );
|
---|
349 |
|
---|
350 | HDDEDATA OPEN32API _O32_DdeNameService( DWORD, HSZ hsz1, HSZ hsz2, UINT );
|
---|
351 |
|
---|
352 | BOOL OPEN32API _O32_DdePostAdvise(DWORD, HSZ, HSZ );
|
---|
353 |
|
---|
354 | UINT OPEN32API _O32_DdeQueryConvInfo( HCONV, DWORD, LPCONVINFO );
|
---|
355 |
|
---|
356 | HCONV OPEN32API _O32_DdeQueryNextServer( HCONVLIST, HCONV );
|
---|
357 |
|
---|
358 | DWORD OPEN32API _O32_DdeQueryString(DWORD, HSZ, LPSTR, DWORD, int );
|
---|
359 |
|
---|
360 | HCONV OPEN32API _O32_DdeReconnect( HCONV );
|
---|
361 |
|
---|
362 | BOOL OPEN32API _O32_DdeSetUserHandle( HCONV, DWORD, DWORD );
|
---|
363 |
|
---|
364 | BOOL OPEN32API _O32_DdeUnaccessData( HDDEDATA );
|
---|
365 |
|
---|
366 | BOOL OPEN32API _O32_DdeUninitialize(DWORD );
|
---|
367 |
|
---|
368 | LRESULT OPEN32API _O32_DefDlgProc( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
369 |
|
---|
370 | HDWP OPEN32API _O32_DeferWindowPos( HDWP, HWND, HWND hWndInsertAfter , int, int, int, int, UINT );
|
---|
371 |
|
---|
372 | LRESULT OPEN32API _O32_DefFrameProc( HWND, HWND, UINT, WPARAM, LPARAM );
|
---|
373 |
|
---|
374 | LRESULT OPEN32API _O32_DefMDIChildProc( HWND, UINT, WPARAM, LPARAM );
|
---|
375 |
|
---|
376 | LRESULT OPEN32API _O32_DefWindowProc( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
377 |
|
---|
378 | ATOM OPEN32API _O32_DeleteAtom( ATOM );
|
---|
379 |
|
---|
380 | VOID OPEN32API _O32_DeleteCriticalSection( CRITICAL_SECTION * );
|
---|
381 |
|
---|
382 | BOOL OPEN32API _O32_DeleteDC( HDC );
|
---|
383 |
|
---|
384 | BOOL OPEN32API _O32_DeleteEnhMetaFile( HENHMETAFILE );
|
---|
385 |
|
---|
386 | BOOL OPEN32API _O32_DeleteFile( LPCSTR );
|
---|
387 |
|
---|
388 | BOOL OPEN32API _O32_DeleteMenu( HMENU, UINT, UINT );
|
---|
389 |
|
---|
390 | BOOL OPEN32API _O32_DeleteMetaFile( HMETAFILE );
|
---|
391 |
|
---|
392 | BOOL OPEN32API _O32_DeleteObject( HANDLE );
|
---|
393 |
|
---|
394 | BOOL OPEN32API _O32_DestroyAcceleratorTable( HACCEL );
|
---|
395 |
|
---|
396 | BOOL OPEN32API _O32_DestroyCaret( VOID );
|
---|
397 |
|
---|
398 | BOOL OPEN32API _O32_DestroyCursor( HCURSOR );
|
---|
399 |
|
---|
400 | BOOL OPEN32API _O32_DestroyIcon( HICON );
|
---|
401 |
|
---|
402 | BOOL OPEN32API _O32_DestroyMenu( HMENU );
|
---|
403 |
|
---|
404 | BOOL OPEN32API _O32_DestroyWindow( HWND );
|
---|
405 |
|
---|
406 | DWORD OPEN32API _O32_DeviceCapabilities( LPCSTR, LPCSTR, WORD, LPTSTR, const DEVMODEA *);
|
---|
407 |
|
---|
408 | int OPEN32API _O32_DialogBox( HINSTANCE, LPCSTR, HWND, DLGPROC_O32 );
|
---|
409 |
|
---|
410 | int OPEN32API _O32_DialogBoxParam( HINSTANCE, LPCSTR, HWND, DLGPROC_O32, LPARAM );
|
---|
411 |
|
---|
412 | BOOL OPEN32API _O32_DialogBoxIndirect( HINSTANCE, LPDLGTEMPLATEA, HWND, DLGPROC_O32 );
|
---|
413 |
|
---|
414 | BOOL OPEN32API _O32_DialogBoxIndirectParam( HINSTANCE, LPDLGTEMPLATEA, HWND, DLGPROC_O32, LPARAM );
|
---|
415 |
|
---|
416 | LONG OPEN32API _O32_DispatchMessage( const MSG * );
|
---|
417 |
|
---|
418 | int OPEN32API _O32_DlgDirList( HWND, LPSTR, int, int, UINT );
|
---|
419 |
|
---|
420 | int OPEN32API _O32_DlgDirListComboBox( HWND, LPSTR, int, int, UINT );
|
---|
421 |
|
---|
422 | BOOL OPEN32API _O32_DlgDirSelectEx( HWND, LPSTR, int, int );
|
---|
423 |
|
---|
424 | BOOL OPEN32API _O32_DlgDirSelectComboBoxEx( HWND, LPSTR, int, int );
|
---|
425 |
|
---|
426 | BOOL OPEN32API _O32_DllEntryPoint( HINSTANCE, DWORD, LPVOID );
|
---|
427 |
|
---|
428 | BOOL OPEN32API _O32_DosDateTimeToFileTime( WORD, WORD, LPFILETIME );
|
---|
429 |
|
---|
430 | VOID OPEN32API _O32_DragAcceptFiles( HWND, BOOL );
|
---|
431 |
|
---|
432 | VOID OPEN32API _O32_DragFinish( HDROP );
|
---|
433 |
|
---|
434 | UINT OPEN32API _O32_DragQueryFile( HDROP, int, LPSTR, int );
|
---|
435 |
|
---|
436 | BOOL OPEN32API _O32_DragQueryPoint( HDROP, PPOINT );
|
---|
437 |
|
---|
438 | BOOL OPEN32API _O32_DrawFocusRect( HDC, const RECT * );
|
---|
439 |
|
---|
440 | BOOL OPEN32API _O32_DrawIcon( HDC, int, int, HICON );
|
---|
441 |
|
---|
442 | BOOL OPEN32API _O32_DrawMenuBar( HWND );
|
---|
443 |
|
---|
444 | int OPEN32API _O32_DrawText( HDC, LPCSTR, int, PRECT, UINT );
|
---|
445 |
|
---|
446 | BOOL OPEN32API _O32_DuplicateHandle( HANDLE, HANDLE, HANDLE, LPHANDLE, DWORD, BOOL, DWORD );
|
---|
447 |
|
---|
448 | BOOL OPEN32API _O32_Ellipse( HDC, int, int, int, int );
|
---|
449 |
|
---|
450 | BOOL OPEN32API _O32_EmptyClipboard( void);
|
---|
451 |
|
---|
452 | BOOL OPEN32API _O32_EnableMenuItem( HMENU, UINT, UINT );
|
---|
453 |
|
---|
454 | BOOL OPEN32API _O32_EnableScrollBar( HWND, UINT, UINT );
|
---|
455 |
|
---|
456 | BOOL OPEN32API _O32_EnableWindow( HWND, BOOL );
|
---|
457 |
|
---|
458 | BOOL OPEN32API _O32_EndDeferWindowPos( HDWP );
|
---|
459 |
|
---|
460 | BOOL OPEN32API _O32_EndDialog( HWND, int );
|
---|
461 |
|
---|
462 | int OPEN32API _O32_EndDoc( HDC );
|
---|
463 |
|
---|
464 | int OPEN32API _O32_EndPage( HDC );
|
---|
465 |
|
---|
466 | BOOL OPEN32API _O32_EndPath( HDC );
|
---|
467 |
|
---|
468 | BOOL OPEN32API _O32_EndPaint( HWND, const PAINTSTRUCT *);
|
---|
469 |
|
---|
470 | VOID OPEN32API _O32_EnterCriticalSection( CRITICAL_SECTION * );
|
---|
471 |
|
---|
472 | BOOL OPEN32API _O32_EnumChildWindows( HWND, WNDENUMPROC_O32, LPARAM );
|
---|
473 |
|
---|
474 | UINT OPEN32API _O32_EnumClipboardFormats( UINT );
|
---|
475 |
|
---|
476 | BOOL OPEN32API _O32_EnumEnhMetaFile( HDC , HENHMETAFILE, ENHMFENUMPROC_O32, PVOID, const RECT * );
|
---|
477 |
|
---|
478 | int OPEN32API _O32_EnumFonts( HDC , LPCSTR, OLDFONTENUMPROC_O32, LPARAM );
|
---|
479 |
|
---|
480 | int OPEN32API _O32_EnumFontFamilies( HDC , LPCSTR, FONTENUMPROC_O32, LPARAM );
|
---|
481 |
|
---|
482 | BOOL OPEN32API _O32_EnumMetaFile( HDC , HMETAFILE, MFENUMPROC_O32, LPARAM );
|
---|
483 |
|
---|
484 | int OPEN32API _O32_EnumObjects( HDC , int, GOBJENUMPROC_O32, LPARAM );
|
---|
485 |
|
---|
486 | BOOL OPEN32API _O32_EnumPrinters( DWORD, LPTSTR, DWORD, LPBYTE, DWORD, LPDWORD, LPDWORD);
|
---|
487 |
|
---|
488 | int OPEN32API _O32_EnumProps( HWND, PROPENUMPROC_O32 );
|
---|
489 |
|
---|
490 | int OPEN32API _O32_EnumPropsEx( HWND, PROPENUMPROCEX_O32, LPARAM );
|
---|
491 |
|
---|
492 | BOOL OPEN32API _O32_EnumThreadWindows( DWORD, WNDENUMPROC_O32, LPARAM );
|
---|
493 |
|
---|
494 | BOOL OPEN32API _O32_EnumWindows( WNDENUMPROC_O32, LPARAM );
|
---|
495 |
|
---|
496 | BOOL OPEN32API _O32_EqualRect( const RECT *, const RECT * );
|
---|
497 |
|
---|
498 | BOOL OPEN32API _O32_EqualRgn( HRGN, HRGN );
|
---|
499 |
|
---|
500 | int OPEN32API _O32_Escape( HDC, int, int, LPCSTR, PVOID );
|
---|
501 |
|
---|
502 | int OPEN32API _O32_ExcludeClipRect( HDC, int, int, int, int );
|
---|
503 |
|
---|
504 | BOOL OPEN32API _O32_ExcludeUpdateRgn( HDC, HWND );
|
---|
505 |
|
---|
506 | VOID OPEN32API _O32_ExitProcess( UINT );
|
---|
507 |
|
---|
508 | VOID OPEN32API _O32_ExitThread( DWORD );
|
---|
509 |
|
---|
510 | BOOL OPEN32API _O32_ExitWindows( DWORD, UINT );
|
---|
511 |
|
---|
512 | BOOL OPEN32API _O32_ExitWindowsEx( UINT, DWORD );
|
---|
513 |
|
---|
514 | HPEN OPEN32API _O32_ExtCreatePen( DWORD, DWORD, const LOGBRUSH *, DWORD, const DWORD * );
|
---|
515 |
|
---|
516 | HRGN OPEN32API _O32_ExtCreateRegion( const XFORM *, DWORD, const RGNDATA * );
|
---|
517 |
|
---|
518 | BOOL OPEN32API _O32_ExtFloodFill( HDC, int, int, COLORREF, UINT );
|
---|
519 |
|
---|
520 | int OPEN32API _O32_ExtSelectClipRgn( HDC, HRGN, int );
|
---|
521 |
|
---|
522 | BOOL OPEN32API _O32_ExtTextOut( HDC, int, int, UINT, const RECT *, LPCSTR, UINT, const int * );
|
---|
523 |
|
---|
524 | VOID OPEN32API _O32_FatalAppExit( UINT, LPCSTR );
|
---|
525 |
|
---|
526 | VOID OPEN32API _O32_FatalExit( UINT );
|
---|
527 |
|
---|
528 | BOOL OPEN32API _O32_FileTimeToDosDateTime( const FILETIME *, LPWORD, LPWORD );
|
---|
529 |
|
---|
530 | BOOL OPEN32API _O32_FileTimeToLocalFileTime( const FILETIME *, FILETIME * );
|
---|
531 |
|
---|
532 | BOOL OPEN32API _O32_FileTimeToSystemTime( const FILETIME *, LPSYSTEMTIME );
|
---|
533 |
|
---|
534 | BOOL OPEN32API _O32_FillPath( HDC );
|
---|
535 |
|
---|
536 | int OPEN32API _O32_FillRect( HDC, const RECT *, HBRUSH );
|
---|
537 |
|
---|
538 | BOOL OPEN32API _O32_FillRgn( HDC, HRGN, HBRUSH );
|
---|
539 |
|
---|
540 | ATOM OPEN32API _O32_FindAtom( LPCSTR );
|
---|
541 |
|
---|
542 | BOOL OPEN32API _O32_FindClose( HANDLE );
|
---|
543 |
|
---|
544 | HANDLE OPEN32API _O32_FindFirstFile( LPCSTR, LPWIN32_FIND_DATAA );
|
---|
545 |
|
---|
546 | BOOL OPEN32API _O32_FindNextFile( HANDLE, LPWIN32_FIND_DATAA );
|
---|
547 |
|
---|
548 | HRSRC OPEN32API _O32_FindResource( HINSTANCE, LPCSTR, LPCSTR );
|
---|
549 |
|
---|
550 | HWND OPEN32API _O32_FindText( LPFINDREPLACEA );
|
---|
551 |
|
---|
552 | HWND OPEN32API _O32_FindWindow( LPCSTR lpClassName , LPCSTR );
|
---|
553 |
|
---|
554 | BOOL OPEN32API _O32_FlashWindow( HWND, BOOL );
|
---|
555 |
|
---|
556 | BOOL OPEN32API _O32_FlattenPath( HDC );
|
---|
557 |
|
---|
558 | BOOL OPEN32API _O32_FlushFileBuffers( HANDLE );
|
---|
559 |
|
---|
560 | int OPEN32API _O32_FrameRect( HDC, const RECT *, HBRUSH );
|
---|
561 |
|
---|
562 | BOOL OPEN32API _O32_FrameRgn( HDC, HRGN, HBRUSH, int, int );
|
---|
563 |
|
---|
564 | BOOL OPEN32API _O32_FreeDDElParam( UINT, LONG );
|
---|
565 |
|
---|
566 | BOOL OPEN32API _O32_FreeLibrary( HINSTANCE );
|
---|
567 |
|
---|
568 | UINT OPEN32API _O32_GetACP( VOID );
|
---|
569 |
|
---|
570 | HWND OPEN32API _O32_GetActiveWindow( void);
|
---|
571 |
|
---|
572 | int OPEN32API _O32_GetArcDirection( HDC );
|
---|
573 |
|
---|
574 | BOOL OPEN32API _O32_GetAspectRatioFilterEx( HDC, PSIZE );
|
---|
575 |
|
---|
576 | UINT OPEN32API _O32_GetAtomName( ATOM, LPSTR, int );
|
---|
577 |
|
---|
578 | LONG OPEN32API _O32_GetBitmapBits( HBITMAP, LONG, PVOID );
|
---|
579 |
|
---|
580 | BOOL OPEN32API _O32_GetBitmapDimensionEx( HBITMAP, PSIZE );
|
---|
581 |
|
---|
582 | COLORREF OPEN32API _O32_GetBkColor( HDC );
|
---|
583 |
|
---|
584 | int OPEN32API _O32_GetBkMode( HDC );
|
---|
585 |
|
---|
586 | UINT OPEN32API _O32_GetBoundsRect( HDC, PRECT, UINT );
|
---|
587 |
|
---|
588 | BOOL OPEN32API _O32_GetBrushOrgEx( HDC, PPOINT );
|
---|
589 |
|
---|
590 | HWND OPEN32API _O32_GetCapture( void);
|
---|
591 |
|
---|
592 | UINT OPEN32API _O32_GetCaretBlinkTime( VOID );
|
---|
593 |
|
---|
594 | BOOL OPEN32API _O32_GetCaretPos( PPOINT );
|
---|
595 |
|
---|
596 | BOOL OPEN32API _O32_GetCharABCWidths( HDC, UINT, UINT, LPABC );
|
---|
597 |
|
---|
598 | BOOL OPEN32API _O32_GetCharWidth( HDC, UINT, UINT, PINT );
|
---|
599 |
|
---|
600 | BOOL OPEN32API _O32_GetClassInfo( HINSTANCE hInstance , LPCSTR, WNDCLASSA * );
|
---|
601 |
|
---|
602 | DWORD OPEN32API _O32_GetClassLong( HWND, int );
|
---|
603 |
|
---|
604 | int OPEN32API _O32_GetClassName( HWND, LPSTR, int );
|
---|
605 |
|
---|
606 | WORD OPEN32API _O32_GetClassWord( HWND, int );
|
---|
607 |
|
---|
608 | BOOL OPEN32API _O32_GetClientRect( HWND, PRECT );
|
---|
609 |
|
---|
610 | HANDLE OPEN32API _O32_GetClipboardData( UINT );
|
---|
611 |
|
---|
612 | int OPEN32API _O32_GetClipboardFormatName( UINT, LPSTR, int );
|
---|
613 |
|
---|
614 | HWND OPEN32API _O32_GetClipboardOwner( void);
|
---|
615 |
|
---|
616 | HWND OPEN32API _O32_GetClipboardViewer( VOID );
|
---|
617 |
|
---|
618 | int OPEN32API _O32_GetClipBox( HDC, PRECT );
|
---|
619 |
|
---|
620 | BOOL OPEN32API _O32_GetClipCursor( PRECT );
|
---|
621 |
|
---|
622 | int OPEN32API _O32_GetClipRgn( HDC, HRGN );
|
---|
623 |
|
---|
624 | LPSTR OPEN32API _O32_GetCommandLine( VOID );
|
---|
625 |
|
---|
626 | int OPEN32API _O32_GetCurrentDirectory( DWORD, LPSTR );
|
---|
627 |
|
---|
628 | HGDIOBJ OPEN32API _O32_GetCurrentObject( HDC, DWORD );
|
---|
629 |
|
---|
630 | BOOL OPEN32API _O32_GetCurrentPositionEx( HDC, PPOINT );
|
---|
631 |
|
---|
632 | HANDLE OPEN32API _O32_GetCurrentProcess( VOID );
|
---|
633 |
|
---|
634 | DWORD OPEN32API _O32_GetCurrentProcessId( VOID );
|
---|
635 |
|
---|
636 | HANDLE OPEN32API _O32_GetCurrentThread( VOID );
|
---|
637 |
|
---|
638 | DWORD OPEN32API _O32_GetCurrentThreadId( VOID );
|
---|
639 |
|
---|
640 | DWORD OPEN32API _O32_GetCurrentTime( VOID );
|
---|
641 |
|
---|
642 | HCURSOR OPEN32API _O32_GetCursor( VOID );
|
---|
643 |
|
---|
644 | BOOL OPEN32API _O32_GetCursorPos( PPOINT );
|
---|
645 |
|
---|
646 | HDC OPEN32API _O32_GetDC( HWND );
|
---|
647 |
|
---|
648 | HDC OPEN32API _O32_GetDCEx( HWND, HRGN, DWORD );
|
---|
649 |
|
---|
650 | BOOL OPEN32API _O32_GetDCOrgEx( HDC, PPOINT );
|
---|
651 |
|
---|
652 | int OPEN32API _O32_GetDIBits( HDC, HBITMAP, UINT, UINT, void *, PBITMAPINFO, UINT );
|
---|
653 |
|
---|
654 | int OPEN32API _O32_GetDeviceCaps( HDC, int );
|
---|
655 |
|
---|
656 | LONG OPEN32API _O32_GetDialogBaseUnits( void);
|
---|
657 |
|
---|
658 | BOOL OPEN32API _O32_GetDiskFreeSpace( LPCSTR, PDWORD, PDWORD, PDWORD, PDWORD );
|
---|
659 |
|
---|
660 | int OPEN32API _O32_GetDlgCtrlID( HWND );
|
---|
661 |
|
---|
662 | HWND OPEN32API _O32_GetDlgItem( HWND, int );
|
---|
663 |
|
---|
664 | UINT OPEN32API _O32_GetDlgItemInt( HWND, int, PBOOL, BOOL );
|
---|
665 |
|
---|
666 | UINT OPEN32API _O32_GetDlgItemText( HWND, int, LPSTR, int );
|
---|
667 |
|
---|
668 | UINT OPEN32API _O32_GetDoubleClickTime( VOID );
|
---|
669 |
|
---|
670 | UINT OPEN32API _O32_GetDriveType( LPCSTR );
|
---|
671 |
|
---|
672 | HENHMETAFILE OPEN32API _O32_GetEnhMetaFile( LPCSTR );
|
---|
673 |
|
---|
674 | UINT OPEN32API _O32_GetEnhMetaFileBits( HENHMETAFILE, UINT, PBYTE );
|
---|
675 |
|
---|
676 | UINT OPEN32API _O32_GetEnhMetaFileHeader( HENHMETAFILE, UINT, LPENHMETAHEADER );
|
---|
677 |
|
---|
678 | UINT OPEN32API _O32_GetEnhMetaFilePaletteEntries( HENHMETAFILE, UINT, LPPALETTEENTRY );
|
---|
679 |
|
---|
680 | PVOID OPEN32API _O32_GetEnvironmentStrings( VOID );
|
---|
681 |
|
---|
682 | DWORD OPEN32API _O32_GetEnvironmentVariable(LPCSTR, LPSTR, DWORD );
|
---|
683 |
|
---|
684 | BOOL OPEN32API _O32_GetExitCodeProcess( HANDLE, LPDWORD );
|
---|
685 |
|
---|
686 | BOOL OPEN32API _O32_GetExitCodeThread( HANDLE, LPDWORD );
|
---|
687 |
|
---|
688 | DWORD OPEN32API _O32_GetFileAttributes( LPSTR );
|
---|
689 |
|
---|
690 | DWORD OPEN32API _O32_GetFileInformationByHandle( HANDLE, BY_HANDLE_FILE_INFORMATION * );
|
---|
691 |
|
---|
692 | DWORD OPEN32API _O32_GetFileSize( HANDLE, PDWORD );
|
---|
693 |
|
---|
694 | BOOL OPEN32API _O32_GetFileTime( HANDLE, FILETIME *, FILETIME *, FILETIME * );
|
---|
695 |
|
---|
696 | short OPEN32API _O32_GetFileTitle( LPCSTR, LPSTR, WORD );
|
---|
697 |
|
---|
698 | DWORD OPEN32API _O32_GetFileType( HANDLE );
|
---|
699 |
|
---|
700 | HWND OPEN32API _O32_GetFocus( VOID );
|
---|
701 |
|
---|
702 | HWND OPEN32API _O32_GetForegroundWindow( VOID );
|
---|
703 |
|
---|
704 | DWORD OPEN32API _O32_GetFullPathName( LPCSTR, DWORD, LPSTR, LPSTR * );
|
---|
705 |
|
---|
706 | int OPEN32API _O32_GetGraphicsMode(HDC);
|
---|
707 |
|
---|
708 | BOOL OPEN32API _O32_GetIconInfo( HICON, LPICONINFO );
|
---|
709 |
|
---|
710 | DWORD OPEN32API _O32_GetKerningPairs( HDC, DWORD, LPKERNINGPAIR );
|
---|
711 |
|
---|
712 | int OPEN32API _O32_GetKeyboardType( int );
|
---|
713 |
|
---|
714 | int OPEN32API _O32_GetKeyNameText( LPARAM, LPSTR, int );
|
---|
715 |
|
---|
716 | SHORT OPEN32API _O32_GetKeyState( int );
|
---|
717 |
|
---|
718 | HWND OPEN32API _O32_GetLastActivePopup( HWND );
|
---|
719 |
|
---|
720 | DWORD OPEN32API _O32_GetLastError( VOID );
|
---|
721 |
|
---|
722 | VOID OPEN32API _O32_GetLocalTime( LPSYSTEMTIME );
|
---|
723 |
|
---|
724 | DWORD OPEN32API _O32_GetLogicalDriveStrings( DWORD, LPSTR );
|
---|
725 |
|
---|
726 | DWORD OPEN32API _O32_GetLogicalDrives( VOID );
|
---|
727 |
|
---|
728 | int OPEN32API _O32_GetMapMode( HDC);
|
---|
729 |
|
---|
730 | HMENU OPEN32API _O32_GetMenu( HWND );
|
---|
731 |
|
---|
732 | LONG OPEN32API _O32_GetMenuCheckMarkDimensions(void);
|
---|
733 |
|
---|
734 | int OPEN32API _O32_GetMenuItemCount( HMENU );
|
---|
735 |
|
---|
736 | UINT OPEN32API _O32_GetMenuItemID( HMENU, int );
|
---|
737 |
|
---|
738 | UINT OPEN32API _O32_GetMenuState( HMENU, UINT, UINT );
|
---|
739 |
|
---|
740 | int OPEN32API _O32_GetMenuString( HMENU, UINT, LPSTR, int, UINT );
|
---|
741 |
|
---|
742 | BOOL OPEN32API _O32_GetMessage( LPMSG, HWND hwnd , UINT, UINT );
|
---|
743 |
|
---|
744 | LONG OPEN32API _O32_GetMessageExtraInfo( VOID );
|
---|
745 |
|
---|
746 | DWORD OPEN32API _O32_GetMessagePos( VOID );
|
---|
747 |
|
---|
748 | LONG OPEN32API _O32_GetMessageTime( VOID );
|
---|
749 |
|
---|
750 | HMETAFILE OPEN32API _O32_GetMetaFile( LPCSTR );
|
---|
751 |
|
---|
752 | UINT OPEN32API _O32_GetMetaFileBitsEx( HMETAFILE, UINT, LPVOID );
|
---|
753 |
|
---|
754 | BOOL OPEN32API _O32_GetMiterLimit( HDC, float *);
|
---|
755 |
|
---|
756 | DWORD OPEN32API _O32_GetModuleFileName( HINSTANCE, LPSTR, DWORD );
|
---|
757 |
|
---|
758 | HMODULE OPEN32API _O32_GetModuleHandle( LPCSTR );
|
---|
759 |
|
---|
760 | COLORREF OPEN32API _O32_GetNearestColor( HDC, COLORREF );
|
---|
761 |
|
---|
762 | UINT OPEN32API _O32_GetNearestPaletteIndex( HPALETTE, COLORREF );
|
---|
763 |
|
---|
764 | HWND OPEN32API _O32_GetNextDlgGroupItem( HWND, HWND, BOOL );
|
---|
765 |
|
---|
766 | HWND OPEN32API _O32_GetNextDlgTabItem( HWND, HWND, BOOL );
|
---|
767 |
|
---|
768 | HWND OPEN32API _O32_GetNextWindow( HWND, UINT );
|
---|
769 |
|
---|
770 | int OPEN32API _O32_GetOEMCP( VOID );
|
---|
771 |
|
---|
772 | int OPEN32API _O32_GetObject( HGDIOBJ, int, void * );
|
---|
773 |
|
---|
774 | DWORD OPEN32API _O32_GetObjectType( HGDIOBJ );
|
---|
775 |
|
---|
776 | HWND OPEN32API _O32_GetOpenClipboardWindow( VOID );
|
---|
777 |
|
---|
778 | BOOL OPEN32API _O32_GetOpenFileName( LPOPENFILENAMEA );
|
---|
779 |
|
---|
780 | UINT OPEN32API _O32_GetOutlineTextMetrics( HDC, UINT, LPOUTLINETEXTMETRICA );
|
---|
781 |
|
---|
782 | BOOL OPEN32API _O32_GetOverlappedResult(HANDLE, LPOVERLAPPED, LPDWORD, BOOL );
|
---|
783 |
|
---|
784 | UINT OPEN32API _O32_GetPaletteEntries( HPALETTE, UINT, UINT, PPALETTEENTRY );
|
---|
785 |
|
---|
786 | HWND OPEN32API _O32_GetParent( HWND );
|
---|
787 |
|
---|
788 | UINT OPEN32API _O32_GetPath( HDC, PPOINT, PBYTE, int );
|
---|
789 |
|
---|
790 | COLORREF OPEN32API _O32_GetPixel( HDC, int, int );
|
---|
791 |
|
---|
792 | int OPEN32API _O32_GetPolyFillMode( HDC);
|
---|
793 |
|
---|
794 | DWORD OPEN32API _O32_GetPriorityClass( HANDLE );
|
---|
795 |
|
---|
796 | int OPEN32API _O32_GetPriorityClipboardFormat( PUINT, int );
|
---|
797 |
|
---|
798 | UINT OPEN32API _O32_GetPrivateProfileInt( LPCSTR, LPCSTR, INT, LPCSTR );
|
---|
799 |
|
---|
800 | DWORD OPEN32API _O32_GetPrivateProfileString( LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD, LPCSTR );
|
---|
801 |
|
---|
802 | FARPROC OPEN32API _O32_GetProcAddress( HMODULE, LPCSTR );
|
---|
803 |
|
---|
804 | UINT OPEN32API _O32_GetProfileInt( LPCSTR, LPCSTR, INT );
|
---|
805 |
|
---|
806 | DWORD OPEN32API _O32_GetProfileString( LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD );
|
---|
807 |
|
---|
808 | HANDLE OPEN32API _O32_GetProp( HWND, LPCSTR );
|
---|
809 |
|
---|
810 | DWORD OPEN32API _O32_GetQueueStatus( UINT );
|
---|
811 |
|
---|
812 | int OPEN32API _O32_GetROP2( HDC );
|
---|
813 |
|
---|
814 | BOOL OPEN32API _O32_GetRasterizerCaps( LPRASTERIZER_STATUS, UINT );
|
---|
815 |
|
---|
816 | int OPEN32API _O32_GetRgnBox( HRGN, PRECT );
|
---|
817 |
|
---|
818 | DWORD OPEN32API _O32_GetRegionData( HRGN, DWORD, PRGNDATA );
|
---|
819 |
|
---|
820 | BOOL OPEN32API _O32_GetSaveFileName( LPOPENFILENAMEA );
|
---|
821 |
|
---|
822 | int OPEN32API _O32_GetScrollPos( HWND, int );
|
---|
823 |
|
---|
824 | BOOL OPEN32API _O32_GetScrollRange( HWND, int, int *, int * );
|
---|
825 |
|
---|
826 | HANDLE OPEN32API _O32_GetStdHandle( DWORD );
|
---|
827 |
|
---|
828 | HGDIOBJ OPEN32API _O32_GetStockObject( int );
|
---|
829 |
|
---|
830 | int OPEN32API _O32_GetStretchBltMode( HDC );
|
---|
831 |
|
---|
832 | HMENU OPEN32API _O32_GetSubMenu( HWND, int );
|
---|
833 |
|
---|
834 | DWORD OPEN32API _O32_GetSysColor( int );
|
---|
835 |
|
---|
836 | UINT OPEN32API _O32_GetSystemDirectory( LPSTR, UINT );
|
---|
837 |
|
---|
838 | HMENU OPEN32API _O32_GetSystemMenu( HWND, BOOL );
|
---|
839 |
|
---|
840 | int OPEN32API _O32_GetSystemMetrics( int );
|
---|
841 |
|
---|
842 | UINT OPEN32API _O32_GetSystemPaletteEntries( HDC, UINT, UINT, PPALETTEENTRY );
|
---|
843 |
|
---|
844 | void OPEN32API _O32_GetSystemTime( LPSYSTEMTIME );
|
---|
845 |
|
---|
846 | DWORD OPEN32API _O32_GetTabbedTextExtent( HDC, LPCSTR, int, int, int * );
|
---|
847 |
|
---|
848 | UINT OPEN32API _O32_GetTempFileName( LPCSTR, LPCSTR, UINT, LPSTR );
|
---|
849 |
|
---|
850 | DWORD OPEN32API _O32_GetTempPath( DWORD, LPSTR );
|
---|
851 |
|
---|
852 | UINT OPEN32API _O32_GetTextAlign( HDC);
|
---|
853 |
|
---|
854 | int OPEN32API _O32_GetTextCharacterExtra( HDC);
|
---|
855 |
|
---|
856 | COLORREF OPEN32API _O32_GetTextColor( HDC );
|
---|
857 |
|
---|
858 | BOOL OPEN32API _O32_GetTextExtentPoint( HDC, LPCSTR, int, PSIZE );
|
---|
859 |
|
---|
860 | BOOL OPEN32API _O32_GetTextExtentPoint32( HDC, LPCSTR, int, PSIZE );
|
---|
861 |
|
---|
862 | int OPEN32API _O32_GetTextFace( HDC, int, LPSTR );
|
---|
863 |
|
---|
864 | BOOL OPEN32API _O32_GetTextMetrics( HDC, LPTEXTMETRICA );
|
---|
865 |
|
---|
866 | DWORD OPEN32API _O32_GetThreadPriority( HANDLE );
|
---|
867 |
|
---|
868 | DWORD OPEN32API _O32_GetTickCount( VOID );
|
---|
869 |
|
---|
870 | DWORD OPEN32API _O32_GetTimeZoneInformation( LPTIME_ZONE_INFORMATION );
|
---|
871 |
|
---|
872 | HWND OPEN32API _O32_GetTopWindow( HWND );
|
---|
873 |
|
---|
874 | BOOL OPEN32API _O32_GetUpdateRect( HWND, PRECT, BOOL );
|
---|
875 |
|
---|
876 | int OPEN32API _O32_GetUpdateRgn( HWND, HRGN, BOOL );
|
---|
877 |
|
---|
878 | BOOL OPEN32API _O32_GetViewportExtEx( HDC, PSIZE );
|
---|
879 |
|
---|
880 | BOOL OPEN32API _O32_GetViewportOrgEx( HDC, PPOINT );
|
---|
881 |
|
---|
882 | DWORD OPEN32API _O32_GetVolumeInformation( LPCSTR, LPSTR, DWORD, PDWORD,
|
---|
883 | PDWORD, PDWORD, LPSTR, DWORD );
|
---|
884 |
|
---|
885 | UINT OPEN32API _O32_GetWinMetaFileBits( HENHMETAFILE, UINT, PBYTE, int, HDC);
|
---|
886 |
|
---|
887 | HWND OPEN32API _O32_GetWindow( HWND, UINT );
|
---|
888 |
|
---|
889 | HDC OPEN32API _O32_GetWindowDC( HWND );
|
---|
890 |
|
---|
891 | BOOL OPEN32API _O32_GetWindowExtEx( HDC, PSIZE );
|
---|
892 |
|
---|
893 | LONG OPEN32API _O32_GetWindowLong( HWND, int );
|
---|
894 |
|
---|
895 | BOOL OPEN32API _O32_GetWindowOrgEx( HDC, PPOINT );
|
---|
896 |
|
---|
897 | BOOL OPEN32API _O32_GetWindowPlacement( HWND, LPWINDOWPLACEMENT );
|
---|
898 |
|
---|
899 | BOOL OPEN32API _O32_GetWindowRect( HWND, PRECT );
|
---|
900 |
|
---|
901 | UINT OPEN32API _O32_GetWindowsDirectory( LPSTR, UINT );
|
---|
902 |
|
---|
903 | int OPEN32API _O32_GetWindowText( HWND, LPSTR, int );
|
---|
904 |
|
---|
905 | int OPEN32API _O32_GetWindowTextLength( HWND );
|
---|
906 |
|
---|
907 | DWORD OPEN32API _O32_GetWindowThreadProcessId(HWND, PDWORD );
|
---|
908 |
|
---|
909 | WORD OPEN32API _O32_GetWindowWord( HWND, int );
|
---|
910 |
|
---|
911 | BOOL OPEN32API _O32_GetWorldTransform( HDC, LPXFORM );
|
---|
912 |
|
---|
913 | ATOM OPEN32API _O32_GlobalAddAtom( LPCSTR );
|
---|
914 |
|
---|
915 | HGLOBAL OPEN32API _O32_GlobalAlloc( UINT, DWORD );
|
---|
916 |
|
---|
917 | ATOM OPEN32API _O32_GlobalDeleteAtom( ATOM );
|
---|
918 |
|
---|
919 | HGLOBAL OPEN32API _O32_GlobalDiscard( HGLOBAL );
|
---|
920 |
|
---|
921 | ATOM OPEN32API _O32_GlobalFindAtom( LPCSTR );
|
---|
922 |
|
---|
923 | UINT OPEN32API _O32_GlobalFlags( HGLOBAL );
|
---|
924 |
|
---|
925 | HGLOBAL OPEN32API _O32_GlobalFree( HGLOBAL );
|
---|
926 |
|
---|
927 | UINT OPEN32API _O32_GlobalGetAtomName( ATOM, LPSTR, int );
|
---|
928 |
|
---|
929 | HGLOBAL OPEN32API _O32_GlobalHandle( PVOID memPtr );
|
---|
930 |
|
---|
931 | PVOID OPEN32API _O32_GlobalLock( HGLOBAL hglbMem );
|
---|
932 |
|
---|
933 | VOID OPEN32API _O32_GlobalMemoryStatus( LPMEMORYSTATUS );
|
---|
934 |
|
---|
935 | HGLOBAL OPEN32API _O32_GlobalReAlloc( HGLOBAL, DWORD, UINT );
|
---|
936 |
|
---|
937 | DWORD OPEN32API _O32_GlobalSize( HGLOBAL );
|
---|
938 |
|
---|
939 | BOOL OPEN32API _O32_GlobalUnlock( HGLOBAL hglbMem );
|
---|
940 |
|
---|
941 | PVOID OPEN32API _O32_HeapAlloc( HANDLE, DWORD, DWORD );
|
---|
942 |
|
---|
943 | HANDLE OPEN32API _O32_HeapCreate( DWORD, DWORD, DWORD );
|
---|
944 |
|
---|
945 | BOOL OPEN32API _O32_HeapDestroy( HANDLE );
|
---|
946 |
|
---|
947 | BOOL OPEN32API _O32_HeapFree( HANDLE, DWORD, PVOID );
|
---|
948 |
|
---|
949 | PVOID OPEN32API _O32_HeapReAlloc( HANDLE, DWORD, PVOID, DWORD );
|
---|
950 |
|
---|
951 | DWORD OPEN32API _O32_HeapSize( HANDLE, DWORD, PVOID );
|
---|
952 |
|
---|
953 | BOOL OPEN32API _O32_HideCaret( HWND );
|
---|
954 |
|
---|
955 | BOOL OPEN32API _O32_HiliteMenuItem( HWND, HMENU, UINT, UINT );
|
---|
956 |
|
---|
957 | BOOL OPEN32API _O32_InflateRect( PRECT, int, int );
|
---|
958 |
|
---|
959 | BOOL OPEN32API _O32_InSendMessage( VOID );
|
---|
960 |
|
---|
961 | BOOL OPEN32API _O32_InitAtomTable( DWORD );
|
---|
962 |
|
---|
963 | VOID OPEN32API _O32_InitializeCriticalSection( CRITICAL_SECTION * );
|
---|
964 |
|
---|
965 | BOOL OPEN32API _O32_InsertMenu( HMENU, UINT, UINT, UINT, LPCSTR );
|
---|
966 |
|
---|
967 | LONG OPEN32API _O32_InterlockedDecrement( PLONG );
|
---|
968 |
|
---|
969 | LONG OPEN32API _O32_InterlockedExchange( PLONG, LONG );
|
---|
970 |
|
---|
971 | LONG OPEN32API _O32_InterlockedIncrement( PLONG );
|
---|
972 |
|
---|
973 | int OPEN32API _O32_IntersectClipRect( HDC, int, int, int, int );
|
---|
974 |
|
---|
975 | BOOL OPEN32API _O32_IntersectRect( PRECT, const RECT * rect1, const RECT * rect2);
|
---|
976 |
|
---|
977 | BOOL OPEN32API _O32_InvalidateRect( HWND, const RECT *, BOOL );
|
---|
978 |
|
---|
979 | BOOL OPEN32API _O32_InvalidateRgn( HWND, HRGN, BOOL );
|
---|
980 |
|
---|
981 | BOOL OPEN32API _O32_InvertRect( HDC, const RECT *);
|
---|
982 |
|
---|
983 | BOOL OPEN32API _O32_InvertRgn( HDC, HRGN );
|
---|
984 |
|
---|
985 | BOOL OPEN32API _O32_IsBadCodePtr( FARPROC );
|
---|
986 |
|
---|
987 | BOOL OPEN32API _O32_IsBadReadPtr( const VOID *, UINT );
|
---|
988 |
|
---|
989 | BOOL OPEN32API _O32_IsBadStringPtr( LPCSTR, UINT );
|
---|
990 |
|
---|
991 | BOOL OPEN32API _O32_IsBadWritePtr( PVOID, UINT );
|
---|
992 |
|
---|
993 | BOOL OPEN32API _O32_IsChild( HWND, HWND );
|
---|
994 |
|
---|
995 | BOOL OPEN32API _O32_IsClipboardFormatAvailable( UINT );
|
---|
996 |
|
---|
997 | BOOL OPEN32API _O32_IsDBCSLeadByte( BYTE );
|
---|
998 |
|
---|
999 | BOOL OPEN32API _O32_IsDialogMessage( HWND, LPMSG );
|
---|
1000 |
|
---|
1001 | BOOL OPEN32API _O32_IsDlgButtonChecked( HWND, int );
|
---|
1002 |
|
---|
1003 | BOOL OPEN32API _O32_IsIconic( HWND );
|
---|
1004 |
|
---|
1005 | BOOL OPEN32API _O32_IsMenu( HMENU );
|
---|
1006 |
|
---|
1007 | BOOL OPEN32API _O32_IsRectEmpty( const RECT *);
|
---|
1008 |
|
---|
1009 | BOOL OPEN32API _O32_IsWindow( HWND );
|
---|
1010 |
|
---|
1011 | BOOL OPEN32API _O32_IsWindowEnabled( HWND );
|
---|
1012 |
|
---|
1013 | BOOL OPEN32API _O32_IsWindowVisible( HWND );
|
---|
1014 |
|
---|
1015 | BOOL OPEN32API _O32_IsZoomed( HWND );
|
---|
1016 |
|
---|
1017 | BOOL OPEN32API _O32_KillTimer(HWND, UINT );
|
---|
1018 |
|
---|
1019 | BOOL OPEN32API _O32_LPtoDP( HDC, PPOINT, int );
|
---|
1020 |
|
---|
1021 | VOID OPEN32API _O32_LeaveCriticalSection( CRITICAL_SECTION * );
|
---|
1022 |
|
---|
1023 | BOOL OPEN32API _O32_LineDDA( int, int, int, int, LINEDDAPROC_O32, LPARAM );
|
---|
1024 |
|
---|
1025 | BOOL OPEN32API _O32_LineTo( HDC, int, int );
|
---|
1026 |
|
---|
1027 | HACCEL OPEN32API _O32_LoadAccelerators( HINSTANCE, LPCSTR );
|
---|
1028 |
|
---|
1029 | HBITMAP OPEN32API _O32_LoadBitmap( HINSTANCE, LPCSTR );
|
---|
1030 |
|
---|
1031 | HCURSOR OPEN32API _O32_LoadCursor( HINSTANCE, LPCSTR );
|
---|
1032 |
|
---|
1033 | HICON OPEN32API _O32_LoadIcon( HINSTANCE, LPCSTR );
|
---|
1034 |
|
---|
1035 | HINSTANCE OPEN32API _O32_LoadLibrary( LPCSTR );
|
---|
1036 |
|
---|
1037 | HMENU OPEN32API _O32_LoadMenu( HINSTANCE, LPCSTR );
|
---|
1038 |
|
---|
1039 | HMENU OPEN32API _O32_LoadMenuIndirect( const MENUITEMTEMPLATEHEADER * );
|
---|
1040 |
|
---|
1041 | DWORD OPEN32API _O32_LoadModule( LPCSTR, PVOID );
|
---|
1042 |
|
---|
1043 | HGLOBAL OPEN32API _O32_LoadResource( HINSTANCE, HRSRC );
|
---|
1044 |
|
---|
1045 | PVOID OPEN32API _O32_LockResource( HGLOBAL );
|
---|
1046 |
|
---|
1047 | int OPEN32API _O32_LoadString( HINSTANCE, UINT, LPSTR, int );
|
---|
1048 |
|
---|
1049 | HLOCAL OPEN32API _O32_LocalAlloc( UINT, UINT );
|
---|
1050 |
|
---|
1051 | HLOCAL OPEN32API _O32_LocalDiscard( HLOCAL );
|
---|
1052 |
|
---|
1053 | UINT OPEN32API _O32_LocalFlags( HLOCAL );
|
---|
1054 |
|
---|
1055 | BOOL OPEN32API _O32_LocalFileTimeToFileTime( const FILETIME *, FILETIME * );
|
---|
1056 |
|
---|
1057 | HLOCAL OPEN32API _O32_LocalFree( HLOCAL );
|
---|
1058 |
|
---|
1059 | HLOCAL OPEN32API _O32_LocalHandle( PVOID lpvMem );
|
---|
1060 |
|
---|
1061 | BOOL OPEN32API _O32_LocalUnlock( HLOCAL hlocal);
|
---|
1062 |
|
---|
1063 | HLOCAL OPEN32API _O32_LocalReAlloc( HLOCAL, UINT, UINT );
|
---|
1064 |
|
---|
1065 | UINT OPEN32API _O32_LocalSize( HLOCAL );
|
---|
1066 |
|
---|
1067 | PVOID OPEN32API _O32_LocalLock( HLOCAL hlocal );
|
---|
1068 |
|
---|
1069 | BOOL OPEN32API _O32_LockFile( HANDLE, DWORD, DWORD, DWORD, DWORD );
|
---|
1070 |
|
---|
1071 | BOOL OPEN32API _O32_LockWindowUpdate( HWND );
|
---|
1072 |
|
---|
1073 | BOOL OPEN32API _O32_MapDialogRect( HWND, PRECT );
|
---|
1074 |
|
---|
1075 | UINT OPEN32API _O32_MapVirtualKey( UINT, UINT );
|
---|
1076 |
|
---|
1077 | int OPEN32API _O32_MapWindowPoints( HWND, HWND, PPOINT, int );
|
---|
1078 |
|
---|
1079 | BOOL OPEN32API _O32_MaskBlt( HDC, int, int, int, int, HDC hdcSrc, int, int, HBITMAP, int, int, DWORD );
|
---|
1080 |
|
---|
1081 | int OPEN32API _O32_MessageBox( HWND hwnd , LPCSTR, LPCSTR, UINT );
|
---|
1082 |
|
---|
1083 | BOOL OPEN32API _O32_MessageBeep( UINT );
|
---|
1084 |
|
---|
1085 | DWORD OPEN32API _O32_MsgWaitForMultipleObjects( DWORD, LPHANDLE, BOOL, DWORD, DWORD );
|
---|
1086 |
|
---|
1087 | BOOL OPEN32API _O32_ModifyMenu( HMENU, UINT, UINT, UINT, LPCSTR );
|
---|
1088 |
|
---|
1089 | BOOL OPEN32API _O32_ModifyWorldTransform( HDC, LPXFORM, DWORD );
|
---|
1090 |
|
---|
1091 | BOOL OPEN32API _O32_MoveFile( LPCSTR, LPCSTR );
|
---|
1092 |
|
---|
1093 | BOOL OPEN32API _O32_MoveToEx( HDC, int, int, PPOINT );
|
---|
1094 |
|
---|
1095 | BOOL OPEN32API _O32_MoveWindow( HWND, int, int, int, int, BOOL );
|
---|
1096 |
|
---|
1097 | int OPEN32API _O32_MulDiv(int, int, int );
|
---|
1098 |
|
---|
1099 | int OPEN32API _O32_OffsetClipRgn( HDC, int, int );
|
---|
1100 |
|
---|
1101 | BOOL OPEN32API _O32_OffsetRect( PRECT, int, int );
|
---|
1102 |
|
---|
1103 | int OPEN32API _O32_OffsetRgn( HRGN, int, int );
|
---|
1104 |
|
---|
1105 | BOOL OPEN32API _O32_OffsetViewportOrgEx( HDC, int, int, PPOINT );
|
---|
1106 |
|
---|
1107 | BOOL OPEN32API _O32_OffsetWindowOrgEx( HDC, int, int, PPOINT );
|
---|
1108 |
|
---|
1109 | BOOL OPEN32API _O32_OpenClipboard( HWND );
|
---|
1110 |
|
---|
1111 | HANDLE OPEN32API _O32_OpenEvent( DWORD, BOOL, LPCSTR );
|
---|
1112 |
|
---|
1113 | HFILE OPEN32API _O32_OpenFile( LPCSTR, LPOFSTRUCT, UINT );
|
---|
1114 |
|
---|
1115 | HANDLE OPEN32API _O32_OpenMutex( DWORD, BOOL, LPCSTR );
|
---|
1116 |
|
---|
1117 | HANDLE OPEN32API _O32_OpenProcess( DWORD, BOOL, DWORD );
|
---|
1118 |
|
---|
1119 | HANDLE OPEN32API _O32_OpenSemaphore( DWORD, BOOL, LPCSTR );
|
---|
1120 |
|
---|
1121 | VOID OPEN32API _O32_OutputDebugString( LPCSTR );
|
---|
1122 |
|
---|
1123 | LONG OPEN32API _O32_PackDDElParam(UINT, UINT, UINT );
|
---|
1124 |
|
---|
1125 | BOOL OPEN32API _O32_PaintRgn( HDC, HRGN );
|
---|
1126 |
|
---|
1127 | BOOL OPEN32API _O32_PatBlt( HDC, int, int, int, int, DWORD );
|
---|
1128 |
|
---|
1129 | HRGN OPEN32API _O32_PathToRegion( HDC);
|
---|
1130 |
|
---|
1131 | BOOL OPEN32API _O32_PeekMessage( LPMSG, HWND, UINT, UINT, UINT );
|
---|
1132 |
|
---|
1133 | BOOL OPEN32API _O32_Pie( HDC, int, int, int, int, int, int, int, int );
|
---|
1134 |
|
---|
1135 | BOOL OPEN32API _O32_PlayEnhMetaFile( HDC, HENHMETAFILE, const RECT * );
|
---|
1136 |
|
---|
1137 | BOOL OPEN32API _O32_PlayMetaFile( HDC, HMETAFILE );
|
---|
1138 |
|
---|
1139 | BOOL OPEN32API _O32_PlayMetaFileRecord( HDC, LPHANDLETABLE, PMETARECORD, int );
|
---|
1140 |
|
---|
1141 | BOOL OPEN32API _O32_PolyBezier( HDC, const POINT *, int );
|
---|
1142 |
|
---|
1143 | BOOL OPEN32API _O32_PolyBezierTo( HDC, const POINT *, DWORD );
|
---|
1144 |
|
---|
1145 | BOOL OPEN32API _O32_PolyDraw( HDC, const POINT *, const BYTE *, int );
|
---|
1146 |
|
---|
1147 | BOOL OPEN32API _O32_Polygon( HDC, const POINT *, int );
|
---|
1148 |
|
---|
1149 | BOOL OPEN32API _O32_Polyline( HDC, const POINT *, int );
|
---|
1150 |
|
---|
1151 | BOOL OPEN32API _O32_PolylineTo( HDC, const POINT *, DWORD );
|
---|
1152 |
|
---|
1153 | BOOL OPEN32API _O32_PolyPolygon( HDC, const POINT *, const int *, int );
|
---|
1154 |
|
---|
1155 | BOOL OPEN32API _O32_PolyPolyline( HDC, const POINT *, const DWORD *, DWORD );
|
---|
1156 |
|
---|
1157 | VOID OPEN32API _O32_PostQuitMessage( int );
|
---|
1158 |
|
---|
1159 | BOOL OPEN32API _O32_PostMessage( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
1160 |
|
---|
1161 | BOOL OPEN32API _O32_PostThreadMessage( DWORD, UINT, WPARAM, LPARAM );
|
---|
1162 |
|
---|
1163 | BOOL OPEN32API _O32_PtInRect( const RECT *, POINT );
|
---|
1164 |
|
---|
1165 | BOOL OPEN32API _O32_PtInRegion( HRGN, int, int );
|
---|
1166 |
|
---|
1167 | BOOL OPEN32API _O32_PtVisible( HDC, int, int );
|
---|
1168 |
|
---|
1169 | BOOL OPEN32API _O32_PrintDlg( LPPRINTDLGA );
|
---|
1170 |
|
---|
1171 | BOOL OPEN32API _O32_PulseEvent ( HANDLE );
|
---|
1172 |
|
---|
1173 | BOOL OPEN32API _O32_ReadFile( HANDLE, PVOID, DWORD, PDWORD, LPOVERLAPPED );
|
---|
1174 |
|
---|
1175 | UINT OPEN32API _O32_RealizePalette( HDC);
|
---|
1176 |
|
---|
1177 | BOOL OPEN32API _O32_RectInRegion( HRGN, const RECT * );
|
---|
1178 |
|
---|
1179 | BOOL OPEN32API _O32_RectVisible( HDC, const RECT *);
|
---|
1180 |
|
---|
1181 | BOOL OPEN32API _O32_Rectangle( HDC, int, int, int, int );
|
---|
1182 |
|
---|
1183 | BOOL OPEN32API _O32_RedrawWindow( HWND, const RECT *, HRGN, DWORD );
|
---|
1184 |
|
---|
1185 | LONG OPEN32API _O32_RegCloseKey( HKEY );
|
---|
1186 |
|
---|
1187 | LONG OPEN32API _O32_RegCreateKey( HKEY, LPCSTR, PHKEY );
|
---|
1188 |
|
---|
1189 | LONG OPEN32API _O32_RegCreateKeyEx( HKEY, LPCSTR, DWORD, LPSTR, DWORD, REGSAM, LPSECURITY_ATTRIBUTES, PHKEY, PDWORD );
|
---|
1190 |
|
---|
1191 | LONG OPEN32API _O32_RegDeleteKey( HKEY, LPCSTR );
|
---|
1192 |
|
---|
1193 | LONG OPEN32API _O32_RegDeleteValue( HKEY, LPSTR );
|
---|
1194 |
|
---|
1195 | LONG OPEN32API _O32_RegEnumKey( HKEY, DWORD, LPSTR, DWORD );
|
---|
1196 |
|
---|
1197 | LONG OPEN32API _O32_RegEnumKeyEx( HKEY, DWORD, LPSTR, PDWORD, PDWORD, LPSTR, PDWORD, FILETIME * );
|
---|
1198 |
|
---|
1199 | LONG OPEN32API _O32_RegEnumValue( HKEY, DWORD, LPSTR, PDWORD, PDWORD, PDWORD, LPBYTE, PDWORD );
|
---|
1200 |
|
---|
1201 | LONG OPEN32API _O32_RegOpenKey( HKEY, LPCSTR, PHKEY );
|
---|
1202 |
|
---|
1203 | LONG OPEN32API _O32_RegOpenKeyEx( HKEY, LPCSTR, DWORD, REGSAM, PHKEY );
|
---|
1204 |
|
---|
1205 | LONG OPEN32API _O32_RegQueryInfoKey( HKEY, LPSTR, PDWORD, PDWORD, PDWORD, PDWORD,
|
---|
1206 | PDWORD, PDWORD, PDWORD, PDWORD, PDWORD, FILETIME * );
|
---|
1207 |
|
---|
1208 | LONG OPEN32API _O32_RegQueryValue( HKEY, LPCSTR, LPSTR, PLONG );
|
---|
1209 |
|
---|
1210 | LONG OPEN32API _O32_RegQueryValueEx( HKEY, LPCSTR, PDWORD, PDWORD, LPBYTE, PDWORD );
|
---|
1211 |
|
---|
1212 | LONG OPEN32API _O32_RegSetValue( HKEY, LPCSTR, DWORD, LPCSTR, DWORD );
|
---|
1213 |
|
---|
1214 | LONG OPEN32API _O32_RegSetValueEx( HKEY, LPCSTR, DWORD, DWORD, const BYTE *, DWORD );
|
---|
1215 |
|
---|
1216 | WORD OPEN32API _O32_RegisterClass( const WNDCLASSA *);
|
---|
1217 |
|
---|
1218 | UINT OPEN32API _O32_RegisterClipboardFormat( LPCSTR );
|
---|
1219 |
|
---|
1220 | UINT OPEN32API _O32_RegisterWindowMessage( LPCSTR );
|
---|
1221 |
|
---|
1222 | BOOL OPEN32API _O32_ReleaseCapture( void );
|
---|
1223 |
|
---|
1224 | int OPEN32API _O32_ReleaseDC( HWND, HDC );
|
---|
1225 |
|
---|
1226 | BOOL OPEN32API _O32_ReleaseMutex( HANDLE );
|
---|
1227 |
|
---|
1228 | BOOL OPEN32API _O32_ReleaseSemaphore( HANDLE, LONG, PLONG );
|
---|
1229 |
|
---|
1230 | BOOL OPEN32API _O32_RemoveDirectory( LPCSTR );
|
---|
1231 |
|
---|
1232 | BOOL OPEN32API _O32_RemoveFontResource( LPCSTR );
|
---|
1233 |
|
---|
1234 | BOOL OPEN32API _O32_RemoveMenu( HMENU, UINT, UINT );
|
---|
1235 |
|
---|
1236 | HANDLE OPEN32API _O32_RemoveProp( HWND, LPCSTR );
|
---|
1237 |
|
---|
1238 | HWND OPEN32API _O32_ReplaceText( LPFINDREPLACEA );
|
---|
1239 |
|
---|
1240 | BOOL OPEN32API _O32_ReplyMessage( LRESULT );
|
---|
1241 |
|
---|
1242 | BOOL OPEN32API _O32_ResetDC( HDC, const DEVMODEA * );
|
---|
1243 |
|
---|
1244 | BOOL OPEN32API _O32_ResetEvent( HANDLE );
|
---|
1245 |
|
---|
1246 | BOOL OPEN32API _O32_ResizePalette( HPALETTE, UINT );
|
---|
1247 |
|
---|
1248 | BOOL OPEN32API _O32_RestoreDC( HDC, int );
|
---|
1249 |
|
---|
1250 | DWORD OPEN32API _O32_ResumeThread( HANDLE );
|
---|
1251 |
|
---|
1252 | LONG OPEN32API _O32_ReuseDDElParam( LONG, UINT, UINT, UINT, UINT );
|
---|
1253 |
|
---|
1254 | BOOL OPEN32API _O32_RoundRect( HDC, int, int, int, int, int, int );
|
---|
1255 |
|
---|
1256 | int OPEN32API _O32_SaveDC( HDC );
|
---|
1257 |
|
---|
1258 | BOOL OPEN32API _O32_ScaleViewportExtEx( HDC, int, int, int, int, PSIZE );
|
---|
1259 |
|
---|
1260 | BOOL OPEN32API _O32_ScaleWindowExtEx( HDC, int, int, int, int, PSIZE );
|
---|
1261 |
|
---|
1262 | BOOL OPEN32API _O32_ScreenToClient( HWND, PPOINT );
|
---|
1263 |
|
---|
1264 | BOOL OPEN32API _O32_ScrollDC( HDC, int, int, const RECT *, const RECT *, HRGN, PRECT );
|
---|
1265 |
|
---|
1266 | BOOL OPEN32API _O32_ScrollWindow( HWND, int, int, const RECT *, const RECT * );
|
---|
1267 |
|
---|
1268 | BOOL OPEN32API _O32_ScrollWindowEx( HWND, int, int, const RECT *, const RECT *, HRGN, PRECT, UINT );
|
---|
1269 |
|
---|
1270 | DWORD OPEN32API _O32_SearchPath( LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPSTR *);
|
---|
1271 |
|
---|
1272 | int OPEN32API _O32_SelectClipRgn( HDC, HRGN );
|
---|
1273 |
|
---|
1274 | HGDIOBJ OPEN32API _O32_SelectObject( HDC, HGDIOBJ );
|
---|
1275 |
|
---|
1276 | HPALETTE OPEN32API _O32_SelectPalette( HDC, HPALETTE, BOOL );
|
---|
1277 |
|
---|
1278 | LONG OPEN32API _O32_SendDlgItemMessage( HWND, int, UINT, WPARAM, LPARAM );
|
---|
1279 |
|
---|
1280 | LRESULT OPEN32API _O32_SendMessage( HWND, UINT, WPARAM mp1, LPARAM mp2 );
|
---|
1281 |
|
---|
1282 | HWND OPEN32API _O32_SetActiveWindow( HWND );
|
---|
1283 |
|
---|
1284 | int OPEN32API _O32_SetArcDirection( HDC, int );
|
---|
1285 |
|
---|
1286 | LONG OPEN32API _O32_SetBitmapBits( HBITMAP, DWORD, const VOID * );
|
---|
1287 |
|
---|
1288 | BOOL OPEN32API _O32_SetBitmapDimensionEx( HBITMAP, int, int, PSIZE );
|
---|
1289 |
|
---|
1290 | COLORREF OPEN32API _O32_SetBkColor( HDC, COLORREF );
|
---|
1291 |
|
---|
1292 | int OPEN32API _O32_SetBkMode( HDC, int );
|
---|
1293 |
|
---|
1294 | LONG OPEN32API _O32_SetBoundsRect( HDC, const RECT *, UINT );
|
---|
1295 |
|
---|
1296 | BOOL OPEN32API _O32_SetBrushOrgEx( HDC, int, int, PPOINT );
|
---|
1297 |
|
---|
1298 | HWND OPEN32API _O32_SetCapture( HWND );
|
---|
1299 |
|
---|
1300 | BOOL OPEN32API _O32_SetCaretBlinkTime( UINT );
|
---|
1301 |
|
---|
1302 | BOOL OPEN32API _O32_SetCaretPos( int, int );
|
---|
1303 |
|
---|
1304 | DWORD OPEN32API _O32_SetClassLong( HWND, int, LONG );
|
---|
1305 |
|
---|
1306 | WORD OPEN32API _O32_SetClassWord( HWND, int, WORD );
|
---|
1307 |
|
---|
1308 | HANDLE OPEN32API _O32_SetClipboardData( UINT, HANDLE );
|
---|
1309 |
|
---|
1310 | HWND OPEN32API _O32_SetClipboardViewer( HWND );
|
---|
1311 |
|
---|
1312 | BOOL OPEN32API _O32_SetCurrentDirectory( LPSTR );
|
---|
1313 |
|
---|
1314 | HCURSOR OPEN32API _O32_SetCursor( HCURSOR );
|
---|
1315 |
|
---|
1316 | BOOL OPEN32API _O32_SetCursorPos( int, int );
|
---|
1317 |
|
---|
1318 | int OPEN32API _O32_SetDIBits( HDC, HBITMAP, UINT, UINT, const VOID *, const BITMAPINFO *, UINT );
|
---|
1319 |
|
---|
1320 | int OPEN32API _O32_SetDIBitsToDevice( HDC, int, int, int, int, int, int, UINT, UINT, PVOID, PBITMAPINFO, UINT );
|
---|
1321 |
|
---|
1322 | BOOL OPEN32API _O32_SetDlgItemInt( HWND, int, UINT, BOOL );
|
---|
1323 |
|
---|
1324 | BOOL OPEN32API _O32_SetDlgItemText( HWND, int, LPCSTR );
|
---|
1325 |
|
---|
1326 | BOOL OPEN32API _O32_SetDoubleClickTime( UINT );
|
---|
1327 |
|
---|
1328 | BOOL OPEN32API _O32_SetEndOfFile( HANDLE );
|
---|
1329 |
|
---|
1330 | HENHMETAFILE OPEN32API _O32_SetEnhMetaFileBits( UINT, const BYTE * );
|
---|
1331 |
|
---|
1332 | BOOL OPEN32API _O32_SetEnvironmentVariable( LPCSTR, LPCSTR );
|
---|
1333 |
|
---|
1334 | BOOL OPEN32API _O32_SetEvent( HANDLE );
|
---|
1335 |
|
---|
1336 | BOOL OPEN32API _O32_SetFileAttributes( LPCSTR, DWORD );
|
---|
1337 |
|
---|
1338 | DWORD OPEN32API _O32_SetFilePointer( HANDLE, LONG, PLONG, DWORD );
|
---|
1339 |
|
---|
1340 | BOOL OPEN32API _O32_SetFileTime( HANDLE, const FILETIME *, const FILETIME *, const FILETIME * );
|
---|
1341 |
|
---|
1342 | HWND OPEN32API _O32_SetFocus( HWND );
|
---|
1343 |
|
---|
1344 | BOOL OPEN32API _O32_SetForegroundWindow( HWND );
|
---|
1345 |
|
---|
1346 | int OPEN32API _O32_SetGraphicsMode(HDC, int );
|
---|
1347 |
|
---|
1348 | UINT OPEN32API _O32_SetHandleCount( UINT );
|
---|
1349 |
|
---|
1350 | VOID OPEN32API _O32_SetLastError( DWORD );
|
---|
1351 |
|
---|
1352 | BOOL OPEN32API _O32_SetLocalTime( const SYSTEMTIME * );
|
---|
1353 |
|
---|
1354 | int OPEN32API _O32_SetMapMode( HDC, int );
|
---|
1355 |
|
---|
1356 | DWORD OPEN32API _O32_SetMapperFlags( HDC, DWORD );
|
---|
1357 |
|
---|
1358 | BOOL OPEN32API _O32_SetMenu( HWND, HMENU );
|
---|
1359 |
|
---|
1360 | BOOL OPEN32API _O32_SetMenuItemBitmaps( HMENU, UINT, UINT, HBITMAP, HBITMAP );
|
---|
1361 |
|
---|
1362 | HMETAFILE OPEN32API _O32_SetMetaFileBitsEx( UINT, PBYTE );
|
---|
1363 |
|
---|
1364 | BOOL OPEN32API _O32_SetMiterLimit( HDC, float limit, float * );
|
---|
1365 |
|
---|
1366 | UINT OPEN32API _O32_SetPaletteEntries( HPALETTE, UINT, UINT, const PALETTEENTRY *);
|
---|
1367 |
|
---|
1368 | HWND OPEN32API _O32_SetParent( HWND, HWND );
|
---|
1369 |
|
---|
1370 | COLORREF
|
---|
1371 | OPEN32API _O32_SetPixel( HDC, int, int, COLORREF );
|
---|
1372 |
|
---|
1373 | int OPEN32API _O32_SetPolyFillMode( HDC, int );
|
---|
1374 |
|
---|
1375 | BOOL OPEN32API _O32_SetPriorityClass( HANDLE, DWORD );
|
---|
1376 |
|
---|
1377 | BOOL OPEN32API _O32_SetProp( HWND, LPCSTR, HANDLE );
|
---|
1378 |
|
---|
1379 | BOOL OPEN32API _O32_SetRect( PRECT, int, int, int, int );
|
---|
1380 |
|
---|
1381 | BOOL OPEN32API _O32_SetRectEmpty( PRECT );
|
---|
1382 |
|
---|
1383 | BOOL OPEN32API _O32_SetRectRgn( HRGN, int, int, int, int );
|
---|
1384 |
|
---|
1385 | int OPEN32API _O32_SetROP2( HDC, int );
|
---|
1386 |
|
---|
1387 | int OPEN32API _O32_SetScrollPos( HWND, int, int, BOOL );
|
---|
1388 |
|
---|
1389 | BOOL OPEN32API _O32_SetScrollRange( HWND, int, int, int, BOOL );
|
---|
1390 |
|
---|
1391 | BOOL OPEN32API _O32_SetStdHandle( DWORD, HANDLE );
|
---|
1392 |
|
---|
1393 | int OPEN32API _O32_SetStretchBltMode( HDC, int );
|
---|
1394 |
|
---|
1395 | UINT OPEN32API _O32_SetSysColors( int, const int *, const COLORREF * );
|
---|
1396 |
|
---|
1397 | BOOL OPEN32API _O32_SetSystemTime( const SYSTEMTIME * );
|
---|
1398 |
|
---|
1399 | BOOL OPEN32API _O32_SetTimeZoneInformation( const TIME_ZONE_INFORMATION * );
|
---|
1400 |
|
---|
1401 | UINT OPEN32API _O32_SetTextAlign( HDC, UINT );
|
---|
1402 |
|
---|
1403 | int OPEN32API _O32_SetTextCharacterExtra( HDC, int );
|
---|
1404 |
|
---|
1405 | COLORREF OPEN32API _O32_SetTextColor( HDC, COLORREF );
|
---|
1406 |
|
---|
1407 | BOOL OPEN32API _O32_SetTextJustification( HDC, int, int );
|
---|
1408 |
|
---|
1409 | BOOL OPEN32API _O32_SetThreadPriority( HANDLE, int );
|
---|
1410 |
|
---|
1411 | UINT OPEN32API _O32_SetTimer( HWND, UINT, UINT, TIMERPROC_O32 );
|
---|
1412 |
|
---|
1413 | BOOL OPEN32API _O32_SetViewportExtEx( HDC, int, int, PSIZE );
|
---|
1414 |
|
---|
1415 | BOOL OPEN32API _O32_SetViewportOrgEx( HDC, int, int, PPOINT );
|
---|
1416 |
|
---|
1417 | BOOL OPEN32API _O32_SetVolumeLabel( LPCSTR, LPCSTR );
|
---|
1418 |
|
---|
1419 | BOOL OPEN32API _O32_SetWindowExtEx( HDC, int, int, PSIZE );
|
---|
1420 |
|
---|
1421 | LONG OPEN32API _O32_SetWindowLong( HWND, int, LONG );
|
---|
1422 |
|
---|
1423 | BOOL OPEN32API _O32_SetWindowOrgEx( HDC, int, int, PPOINT );
|
---|
1424 |
|
---|
1425 | BOOL OPEN32API _O32_SetWindowPlacement( HWND, const WINDOWPLACEMENT * );
|
---|
1426 |
|
---|
1427 | BOOL OPEN32API _O32_SetWindowPos( HWND, HWND, int, int, int, int, UINT );
|
---|
1428 |
|
---|
1429 | HHOOK OPEN32API _O32_SetWindowsHookEx( int, HOOKPROC_O32, HINSTANCE, DWORD );
|
---|
1430 |
|
---|
1431 | BOOL OPEN32API _O32_SetWindowText( HWND, LPCSTR );
|
---|
1432 |
|
---|
1433 | WORD OPEN32API _O32_SetWindowWord( HWND, int, WORD );
|
---|
1434 |
|
---|
1435 | HENHMETAFILE OPEN32API _O32_SetWinMetaFileBits( UINT, const BYTE *, HDC, const METAFILEPICT * );
|
---|
1436 |
|
---|
1437 | BOOL OPEN32API _O32_SetWorldTransform( HDC, LPXFORM );
|
---|
1438 |
|
---|
1439 | BOOL OPEN32API _O32_ShowCaret( HWND );
|
---|
1440 |
|
---|
1441 | int OPEN32API _O32_ShowCursor( BOOL );
|
---|
1442 |
|
---|
1443 | BOOL OPEN32API _O32_ShowOwnedPopups( HWND, BOOL );
|
---|
1444 |
|
---|
1445 | BOOL OPEN32API _O32_ShowScrollBar( HWND, int, BOOL );
|
---|
1446 |
|
---|
1447 | BOOL OPEN32API _O32_ShowWindow( HWND, int );
|
---|
1448 |
|
---|
1449 | DWORD OPEN32API _O32_SizeofResource( HINSTANCE, HRSRC );
|
---|
1450 |
|
---|
1451 | VOID OPEN32API _O32_Sleep( DWORD );
|
---|
1452 |
|
---|
1453 | int OPEN32API _O32_StartDoc( HDC, LPDOCINFOA );
|
---|
1454 |
|
---|
1455 | int OPEN32API _O32_StartPage( HDC );
|
---|
1456 |
|
---|
1457 | int OPEN32API _O32_StretchDIBits( HDC, int, int, int, int, int, int, int, int, void *, PBITMAPINFO, UINT, DWORD );
|
---|
1458 |
|
---|
1459 | BOOL OPEN32API _O32_StretchBlt( HDC, int, int, int, int, HDC, int, int, int, int, DWORD );
|
---|
1460 |
|
---|
1461 | BOOL OPEN32API _O32_StrokeAndFillPath( HDC );
|
---|
1462 |
|
---|
1463 | BOOL OPEN32API _O32_StrokePath( HDC );
|
---|
1464 |
|
---|
1465 | BOOL OPEN32API _O32_SubtractRect( PRECT, const RECT *, const RECT *);
|
---|
1466 |
|
---|
1467 | DWORD OPEN32API _O32_SuspendThread( HANDLE );
|
---|
1468 |
|
---|
1469 | BOOL OPEN32API _O32_SwapMouseButton( BOOL );
|
---|
1470 |
|
---|
1471 | UINT OPEN32API _O32_SystemParametersInfo( UINT, UINT, PVOID, UINT );
|
---|
1472 |
|
---|
1473 | BOOL OPEN32API _O32_SystemTimeToFileTime( const SYSTEMTIME *, FILETIME * );
|
---|
1474 |
|
---|
1475 | BOOL OPEN32API _O32_SystemTimeToTzSpecificLocalTime( LPTIME_ZONE_INFORMATION, LPSYSTEMTIME, LPSYSTEMTIME );
|
---|
1476 |
|
---|
1477 | LONG OPEN32API _O32_TabbedTextOut( HDC, int, int, LPCSTR, int, int, int *, int );
|
---|
1478 |
|
---|
1479 | BOOL OPEN32API _O32_TerminateProcess( HANDLE, UINT );
|
---|
1480 |
|
---|
1481 | BOOL OPEN32API _O32_TerminateThread( HANDLE, DWORD );
|
---|
1482 |
|
---|
1483 | BOOL OPEN32API _O32_TextOut( HDC, int, int, LPCSTR, int );
|
---|
1484 |
|
---|
1485 | DWORD OPEN32API _O32_TlsAlloc( VOID );
|
---|
1486 |
|
---|
1487 | BOOL OPEN32API _O32_TlsFree( DWORD );
|
---|
1488 |
|
---|
1489 | PVOID OPEN32API _O32_TlsGetValue( DWORD );
|
---|
1490 |
|
---|
1491 | BOOL OPEN32API _O32_TlsSetValue( DWORD, PVOID );
|
---|
1492 |
|
---|
1493 | BOOL OPEN32API _O32_TrackPopupMenu( HMENU, UINT, int, int, int, HWND, const RECT * );
|
---|
1494 |
|
---|
1495 | int OPEN32API _O32_TranslateAccelerator( HWND, HACCEL, LPMSG );
|
---|
1496 |
|
---|
1497 | BOOL OPEN32API _O32_TranslateMDISysAccel( HWND, LPMSG );
|
---|
1498 |
|
---|
1499 | BOOL OPEN32API _O32_TranslateMessage( const MSG * );
|
---|
1500 |
|
---|
1501 | BOOL OPEN32API _O32_UnhookWindowsHookEx( HHOOK );
|
---|
1502 |
|
---|
1503 | BOOL OPEN32API _O32_UnionRect( PRECT, const RECT *, const RECT * );
|
---|
1504 |
|
---|
1505 | BOOL OPEN32API _O32_UnlockFile( HANDLE, DWORD, DWORD, DWORD, DWORD );
|
---|
1506 |
|
---|
1507 | BOOL OPEN32API _O32_UnpackDDElParam(UINT, LONG, PUINT, PUINT );
|
---|
1508 |
|
---|
1509 | BOOL OPEN32API _O32_UnrealizeObject( HGDIOBJ );
|
---|
1510 |
|
---|
1511 | BOOL OPEN32API _O32_UnregisterClass( LPCSTR, HINSTANCE );
|
---|
1512 |
|
---|
1513 | BOOL OPEN32API _O32_UpdateWindow( HWND );
|
---|
1514 |
|
---|
1515 | BOOL OPEN32API _O32_ValidateRect( HWND, const RECT *);
|
---|
1516 |
|
---|
1517 | BOOL OPEN32API _O32_ValidateRgn( HWND, HRGN );
|
---|
1518 |
|
---|
1519 | SHORT OPEN32API _O32_VkKeyScan( char keyScan);
|
---|
1520 |
|
---|
1521 | DWORD OPEN32API _O32_WaitForMultipleObjects( DWORD, const HANDLE *, BOOL, DWORD );
|
---|
1522 |
|
---|
1523 | DWORD OPEN32API _O32_WaitForSingleObject( HANDLE, DWORD );
|
---|
1524 |
|
---|
1525 | BOOL OPEN32API _O32_WaitMessage( void);
|
---|
1526 |
|
---|
1527 | BOOL OPEN32API _O32_WidenPath( HDC);
|
---|
1528 |
|
---|
1529 | UINT OPEN32API _O32_WinExec( LPCSTR, UINT );
|
---|
1530 |
|
---|
1531 | BOOL OPEN32API _O32_WinHelp( HWND, LPCSTR, UINT, DWORD );
|
---|
1532 |
|
---|
1533 | HWND OPEN32API _O32_WindowFromPoint( POINT );
|
---|
1534 |
|
---|
1535 | HWND OPEN32API _O32_WindowFromDC( HDC );
|
---|
1536 |
|
---|
1537 | BOOL OPEN32API _O32_WriteFile( HANDLE, const VOID *, DWORD, PDWORD, LPOVERLAPPED );
|
---|
1538 |
|
---|
1539 | BOOL OPEN32API _O32_WritePrivateProfileString( LPCSTR, LPCSTR, LPCSTR, LPCSTR );
|
---|
1540 |
|
---|
1541 | BOOL OPEN32API _O32_WriteProfileString( LPCSTR, LPCSTR, LPCSTR );
|
---|
1542 |
|
---|
1543 | VOID OPEN32API _O32_ZeroMemory( PVOID, DWORD );
|
---|
1544 |
|
---|
1545 | HFILE OPEN32API _O32__lclose( HFILE );
|
---|
1546 |
|
---|
1547 | HFILE OPEN32API _O32__lcreat( LPCSTR, int );
|
---|
1548 |
|
---|
1549 | HFILE OPEN32API _O32__lopen( LPCSTR, int );
|
---|
1550 |
|
---|
1551 | UINT OPEN32API _O32__lread( HFILE, PVOID, UINT );
|
---|
1552 |
|
---|
1553 | LONG OPEN32API _O32__llseek( HFILE, LONG, int );
|
---|
1554 |
|
---|
1555 | UINT OPEN32API _O32__lwrite( HFILE, const VOID *, UINT );
|
---|
1556 |
|
---|
1557 | DWORD OPEN32API _O32_timeGetSystemTime( LPMMTIME, UINT );
|
---|
1558 |
|
---|
1559 | DWORD OPEN32API _O32_timeGetTime( VOID );
|
---|
1560 |
|
---|
1561 | int OPEN32API _O32_wsprintf( LPSTR, LPCSTR, ... );
|
---|
1562 | int OPEN32API _O32_wvsprintf( LPSTR, LPCSTR, const VOID *);
|
---|
1563 |
|
---|
1564 | LPSTR OPEN32API _O32_CharNext( LPCSTR );
|
---|
1565 |
|
---|
1566 | LPSTR OPEN32API _O32_CharPrev( LPCSTR, LPCSTR );
|
---|
1567 |
|
---|
1568 | HWND OPEN32API _O32_GetDesktopWindow( VOID );
|
---|
1569 |
|
---|
1570 | BOOL OPEN32API _O32_CharToOem( LPCSTR, LPSTR );
|
---|
1571 |
|
---|
1572 | BOOL OPEN32API _O32_OemToChar( LPCSTR, LPSTR );
|
---|
1573 |
|
---|
1574 | BOOL OPEN32API _O32_CharToOemBuff( LPCSTR, LPSTR, DWORD );
|
---|
1575 |
|
---|
1576 | BOOL OPEN32API _O32_OemToCharBuff( LPCSTR, LPSTR, DWORD );
|
---|
1577 |
|
---|
1578 | BOOL OPEN32API _O32_IsBadHugeReadPtr( const void *, UINT );
|
---|
1579 |
|
---|
1580 | BOOL OPEN32API _O32_IsBadHugeWritePtr( PVOID, UINT );
|
---|
1581 |
|
---|
1582 | BOOL OPEN32API _O32_FloodFill(HDC, int, int, COLORREF );
|
---|
1583 |
|
---|
1584 | BOOL OPEN32API _O32_IsCharAlpha( WCHAR );
|
---|
1585 |
|
---|
1586 | BOOL OPEN32API _O32_IsCharAlphaNumeric( WCHAR );
|
---|
1587 |
|
---|
1588 | BOOL OPEN32API _O32_IsCharLower( WCHAR );
|
---|
1589 |
|
---|
1590 | BOOL OPEN32API _O32_IsCharUpper( WCHAR );
|
---|
1591 |
|
---|
1592 | LPSTR OPEN32API _O32_lstrcat( LPSTR, LPCSTR );
|
---|
1593 |
|
---|
1594 | int OPEN32API _O32_lstrcmp( LPCSTR, LPCSTR );
|
---|
1595 |
|
---|
1596 | int OPEN32API _O32_lstrcmpi( LPCSTR, LPCSTR );
|
---|
1597 |
|
---|
1598 | LPSTR OPEN32API _O32_lstrcpy( LPSTR, LPCSTR );
|
---|
1599 |
|
---|
1600 | int OPEN32API _O32_lstrlen( LPCSTR );
|
---|
1601 |
|
---|
1602 | /* -----------------------------------------------------------------*/
|
---|
1603 |
|
---|
1604 |
|
---|
1605 | int OPEN32API _O32_WinCallWinMain(int, char *[], FNMAIN_O32, int);
|
---|
1606 |
|
---|
1607 | /* The following functions are used for translating data between the native
|
---|
1608 | * Presentation Manager format and the Developer API Extensions equivalents.
|
---|
1609 | */
|
---|
1610 | typedef enum { WINX2PM, PM2WINX} XLATEDIR;
|
---|
1611 |
|
---|
1612 | /* Use the GDI object type to specify the type of handle passing in
|
---|
1613 | */
|
---|
1614 | BOOL OPEN32API _O32_WinTranslateDevicePoints( HDC, HWND, PPOINT, INT, XLATEDIR );
|
---|
1615 | BOOL OPEN32API _O32_WinTranslateDeviceRects ( HDC, HWND, PRECT, INT, XLATEDIR );
|
---|
1616 | ULONG OPEN32API _O32_WinTranslateGraphicsObjectHandle( HGDIOBJ, XLATEDIR, ULONG );
|
---|
1617 | ULONG OPEN32API _O32_WinTranslateMnemonicString( LPCSTR, LPSTR *, ULONG, XLATEDIR );
|
---|
1618 | DWORD OPEN32API _O32_WinQueryTranslateMode( VOID );
|
---|
1619 | BOOL OPEN32API _O32_WinSetTranslateMode( DWORD );
|
---|
1620 |
|
---|
1621 | inline int O32_WinMain(HINSTANCE a, HINSTANCE b, LPSTR c, int d)
|
---|
1622 | {
|
---|
1623 | int yyrc;
|
---|
1624 | USHORT sel = GetFS();
|
---|
1625 |
|
---|
1626 | yyrc = _O32_WinMain(a, b, c, d);
|
---|
1627 | SetFS(sel);
|
---|
1628 |
|
---|
1629 | return yyrc;
|
---|
1630 | }
|
---|
1631 |
|
---|
1632 | inline int O32_AbortDoc(HDC a)
|
---|
1633 | {
|
---|
1634 | int yyrc;
|
---|
1635 | USHORT sel = GetFS();
|
---|
1636 |
|
---|
1637 | yyrc = _O32_AbortDoc(a);
|
---|
1638 | SetFS(sel);
|
---|
1639 |
|
---|
1640 | return yyrc;
|
---|
1641 | }
|
---|
1642 |
|
---|
1643 | inline BOOL O32_AbortPath(HDC a)
|
---|
1644 | {
|
---|
1645 | BOOL yyrc;
|
---|
1646 | USHORT sel = GetFS();
|
---|
1647 |
|
---|
1648 | yyrc = _O32_AbortPath(a);
|
---|
1649 | SetFS(sel);
|
---|
1650 |
|
---|
1651 | return yyrc;
|
---|
1652 | }
|
---|
1653 |
|
---|
1654 | inline ATOM O32_AddAtom(LPCSTR a)
|
---|
1655 | {
|
---|
1656 | ATOM yyrc;
|
---|
1657 | USHORT sel = GetFS();
|
---|
1658 |
|
---|
1659 | yyrc = _O32_AddAtom(a);
|
---|
1660 | SetFS(sel);
|
---|
1661 |
|
---|
1662 | return yyrc;
|
---|
1663 | }
|
---|
1664 |
|
---|
1665 | inline int O32_AddFontResource(LPCSTR a)
|
---|
1666 | {
|
---|
1667 | int yyrc;
|
---|
1668 | USHORT sel = GetFS();
|
---|
1669 |
|
---|
1670 | yyrc = _O32_AddFontResource(a);
|
---|
1671 | SetFS(sel);
|
---|
1672 |
|
---|
1673 | return yyrc;
|
---|
1674 | }
|
---|
1675 |
|
---|
1676 | inline BOOL O32_AdjustWindowRect(PRECT a, DWORD b, BOOL c)
|
---|
1677 | {
|
---|
1678 | BOOL yyrc;
|
---|
1679 | USHORT sel = GetFS();
|
---|
1680 |
|
---|
1681 | yyrc = _O32_AdjustWindowRect(a, b, c);
|
---|
1682 | SetFS(sel);
|
---|
1683 |
|
---|
1684 | return yyrc;
|
---|
1685 | }
|
---|
1686 |
|
---|
1687 | inline BOOL O32_AdjustWindowRectEx(PRECT a, DWORD b, BOOL c, DWORD d)
|
---|
1688 | {
|
---|
1689 | BOOL yyrc;
|
---|
1690 | USHORT sel = GetFS();
|
---|
1691 |
|
---|
1692 | yyrc = _O32_AdjustWindowRectEx(a, b, c, d);
|
---|
1693 | SetFS(sel);
|
---|
1694 |
|
---|
1695 | return yyrc;
|
---|
1696 | }
|
---|
1697 |
|
---|
1698 | inline BOOL O32_AngleArc(HDC a, int b, int c, DWORD d, float e, float f)
|
---|
1699 | {
|
---|
1700 | BOOL yyrc;
|
---|
1701 | USHORT sel = GetFS();
|
---|
1702 |
|
---|
1703 | yyrc = _O32_AngleArc(a, b, c, d, e, f);
|
---|
1704 | SetFS(sel);
|
---|
1705 |
|
---|
1706 | return yyrc;
|
---|
1707 | }
|
---|
1708 |
|
---|
1709 | inline BOOL O32_AnimatePalette(HPALETTE a, UINT b, UINT c, CONST PALETTEENTRY *d)
|
---|
1710 | {
|
---|
1711 | BOOL yyrc;
|
---|
1712 | USHORT sel = GetFS();
|
---|
1713 |
|
---|
1714 | yyrc = _O32_AnimatePalette(a, b, c, d);
|
---|
1715 | SetFS(sel);
|
---|
1716 |
|
---|
1717 | return yyrc;
|
---|
1718 | }
|
---|
1719 |
|
---|
1720 | inline BOOL O32_AppendMenu(HMENU a, UINT b, UINT c, LPCSTR d)
|
---|
1721 | {
|
---|
1722 | BOOL yyrc;
|
---|
1723 | USHORT sel = GetFS();
|
---|
1724 |
|
---|
1725 | yyrc = _O32_AppendMenu(a, b, c, d);
|
---|
1726 | SetFS(sel);
|
---|
1727 |
|
---|
1728 | return yyrc;
|
---|
1729 | }
|
---|
1730 |
|
---|
1731 | inline BOOL O32_Arc(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
1732 | {
|
---|
1733 | BOOL yyrc;
|
---|
1734 | USHORT sel = GetFS();
|
---|
1735 |
|
---|
1736 | yyrc = _O32_Arc(a, b, c, d, e, f, g, h, i);
|
---|
1737 | SetFS(sel);
|
---|
1738 |
|
---|
1739 | return yyrc;
|
---|
1740 | }
|
---|
1741 |
|
---|
1742 | inline BOOL O32_ArcTo(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
1743 | {
|
---|
1744 | BOOL yyrc;
|
---|
1745 | USHORT sel = GetFS();
|
---|
1746 |
|
---|
1747 | yyrc = _O32_ArcTo(a, b, c, d, e, f, g, h, i);
|
---|
1748 | SetFS(sel);
|
---|
1749 |
|
---|
1750 | return yyrc;
|
---|
1751 | }
|
---|
1752 |
|
---|
1753 | inline UINT O32_ArrangeIconicWindows(HWND a)
|
---|
1754 | {
|
---|
1755 | UINT yyrc;
|
---|
1756 | USHORT sel = GetFS();
|
---|
1757 |
|
---|
1758 | yyrc = _O32_ArrangeIconicWindows(a);
|
---|
1759 | SetFS(sel);
|
---|
1760 |
|
---|
1761 | return yyrc;
|
---|
1762 | }
|
---|
1763 |
|
---|
1764 | inline BOOL O32_Beep(DWORD a, DWORD b)
|
---|
1765 | {
|
---|
1766 | BOOL yyrc;
|
---|
1767 | USHORT sel = GetFS();
|
---|
1768 |
|
---|
1769 | yyrc = _O32_Beep(a, b);
|
---|
1770 | SetFS(sel);
|
---|
1771 |
|
---|
1772 | return yyrc;
|
---|
1773 | }
|
---|
1774 |
|
---|
1775 | inline HDWP O32_BeginDeferWindowPos(int a)
|
---|
1776 | {
|
---|
1777 | HDWP yyrc;
|
---|
1778 | USHORT sel = GetFS();
|
---|
1779 |
|
---|
1780 | yyrc = _O32_BeginDeferWindowPos(a);
|
---|
1781 | SetFS(sel);
|
---|
1782 |
|
---|
1783 | return yyrc;
|
---|
1784 | }
|
---|
1785 |
|
---|
1786 | inline HDC O32_BeginPaint(HWND a, PPAINTSTRUCT b)
|
---|
1787 | {
|
---|
1788 | HDC yyrc;
|
---|
1789 | USHORT sel = GetFS();
|
---|
1790 |
|
---|
1791 | yyrc = _O32_BeginPaint(a, b);
|
---|
1792 | SetFS(sel);
|
---|
1793 |
|
---|
1794 | return yyrc;
|
---|
1795 | }
|
---|
1796 |
|
---|
1797 | inline BOOL O32_BeginPath(HDC a)
|
---|
1798 | {
|
---|
1799 | BOOL yyrc;
|
---|
1800 | USHORT sel = GetFS();
|
---|
1801 |
|
---|
1802 | yyrc = _O32_BeginPath(a);
|
---|
1803 | SetFS(sel);
|
---|
1804 |
|
---|
1805 | return yyrc;
|
---|
1806 | }
|
---|
1807 |
|
---|
1808 | inline BOOL O32_BitBlt(HDC a, int b, int c, int d, int e, HDC f, int g, int h, DWORD i)
|
---|
1809 | {
|
---|
1810 | BOOL yyrc;
|
---|
1811 | USHORT sel = GetFS();
|
---|
1812 |
|
---|
1813 | yyrc = _O32_BitBlt(a, b, c, d, e, f, g, h, i);
|
---|
1814 | SetFS(sel);
|
---|
1815 |
|
---|
1816 | return yyrc;
|
---|
1817 | }
|
---|
1818 |
|
---|
1819 | inline BOOL O32_BringWindowToTop(HWND a)
|
---|
1820 | {
|
---|
1821 | BOOL yyrc;
|
---|
1822 | USHORT sel = GetFS();
|
---|
1823 |
|
---|
1824 | yyrc = _O32_BringWindowToTop(a);
|
---|
1825 | SetFS(sel);
|
---|
1826 |
|
---|
1827 | return yyrc;
|
---|
1828 | }
|
---|
1829 |
|
---|
1830 | inline BOOL O32_CallMsgFilter(LPMSG a, int b)
|
---|
1831 | {
|
---|
1832 | BOOL yyrc;
|
---|
1833 | USHORT sel = GetFS();
|
---|
1834 |
|
---|
1835 | yyrc = _O32_CallMsgFilter(a, b);
|
---|
1836 | SetFS(sel);
|
---|
1837 |
|
---|
1838 | return yyrc;
|
---|
1839 | }
|
---|
1840 |
|
---|
1841 | inline LRESULT O32_CallNextHookEx(HHOOK a, int b, WPARAM c, LPARAM d)
|
---|
1842 | {
|
---|
1843 | LRESULT yyrc;
|
---|
1844 | USHORT sel = GetFS();
|
---|
1845 |
|
---|
1846 | yyrc = _O32_CallNextHookEx(a, b, c, d);
|
---|
1847 | SetFS(sel);
|
---|
1848 |
|
---|
1849 | return yyrc;
|
---|
1850 | }
|
---|
1851 |
|
---|
1852 | inline LRESULT O32_CallWindowProc(WNDPROC_O32 a, HWND b, UINT c, WPARAM d, LPARAM e)
|
---|
1853 | {
|
---|
1854 | LRESULT yyrc;
|
---|
1855 | USHORT sel = GetFS();
|
---|
1856 |
|
---|
1857 | yyrc = _O32_CallWindowProc(a, b, c, d, e);
|
---|
1858 | SetFS(sel);
|
---|
1859 |
|
---|
1860 | return yyrc;
|
---|
1861 | }
|
---|
1862 |
|
---|
1863 | inline BOOL O32_ChangeClipboardChain(HWND a, HWND b)
|
---|
1864 | {
|
---|
1865 | BOOL yyrc;
|
---|
1866 | USHORT sel = GetFS();
|
---|
1867 |
|
---|
1868 | yyrc = _O32_ChangeClipboardChain(a, b);
|
---|
1869 | SetFS(sel);
|
---|
1870 |
|
---|
1871 | return yyrc;
|
---|
1872 | }
|
---|
1873 |
|
---|
1874 | inline LPSTR O32_CharLower(LPSTR a)
|
---|
1875 | {
|
---|
1876 | LPSTR yyrc;
|
---|
1877 | USHORT sel = GetFS();
|
---|
1878 |
|
---|
1879 | yyrc = _O32_CharLower(a);
|
---|
1880 | SetFS(sel);
|
---|
1881 |
|
---|
1882 | return yyrc;
|
---|
1883 | }
|
---|
1884 |
|
---|
1885 | inline DWORD O32_CharLowerBuff(LPSTR a, DWORD b)
|
---|
1886 | {
|
---|
1887 | DWORD yyrc;
|
---|
1888 | USHORT sel = GetFS();
|
---|
1889 |
|
---|
1890 | yyrc = _O32_CharLowerBuff(a, b);
|
---|
1891 | SetFS(sel);
|
---|
1892 |
|
---|
1893 | return yyrc;
|
---|
1894 | }
|
---|
1895 |
|
---|
1896 | inline LPSTR O32_CharUpper(LPSTR a)
|
---|
1897 | {
|
---|
1898 | LPSTR yyrc;
|
---|
1899 | USHORT sel = GetFS();
|
---|
1900 |
|
---|
1901 | yyrc = _O32_CharUpper(a);
|
---|
1902 | SetFS(sel);
|
---|
1903 |
|
---|
1904 | return yyrc;
|
---|
1905 | }
|
---|
1906 |
|
---|
1907 | inline DWORD O32_CharUpperBuff(LPSTR a, DWORD b)
|
---|
1908 | {
|
---|
1909 | DWORD yyrc;
|
---|
1910 | USHORT sel = GetFS();
|
---|
1911 |
|
---|
1912 | yyrc = _O32_CharUpperBuff(a, b);
|
---|
1913 | SetFS(sel);
|
---|
1914 |
|
---|
1915 | return yyrc;
|
---|
1916 | }
|
---|
1917 |
|
---|
1918 | inline BOOL O32_CheckDlgButton(HWND a, int b, UINT c)
|
---|
1919 | {
|
---|
1920 | BOOL yyrc;
|
---|
1921 | USHORT sel = GetFS();
|
---|
1922 |
|
---|
1923 | yyrc = _O32_CheckDlgButton(a, b, c);
|
---|
1924 | SetFS(sel);
|
---|
1925 |
|
---|
1926 | return yyrc;
|
---|
1927 | }
|
---|
1928 |
|
---|
1929 | inline DWORD O32_CheckMenuItem(HMENU a, UINT b, UINT c)
|
---|
1930 | {
|
---|
1931 | DWORD yyrc;
|
---|
1932 | USHORT sel = GetFS();
|
---|
1933 |
|
---|
1934 | yyrc = _O32_CheckMenuItem(a, b, c);
|
---|
1935 | SetFS(sel);
|
---|
1936 |
|
---|
1937 | return yyrc;
|
---|
1938 | }
|
---|
1939 |
|
---|
1940 | inline BOOL O32_CheckRadioButton(HWND a, int b, int c, int d)
|
---|
1941 | {
|
---|
1942 | BOOL yyrc;
|
---|
1943 | USHORT sel = GetFS();
|
---|
1944 |
|
---|
1945 | yyrc = _O32_CheckRadioButton(a, b, c, d);
|
---|
1946 | SetFS(sel);
|
---|
1947 |
|
---|
1948 | return yyrc;
|
---|
1949 | }
|
---|
1950 |
|
---|
1951 | inline HWND O32_ChildWindowFromPoint(HWND a, POINT b)
|
---|
1952 | {
|
---|
1953 | HWND yyrc;
|
---|
1954 | USHORT sel = GetFS();
|
---|
1955 |
|
---|
1956 | yyrc = _O32_ChildWindowFromPoint(a, b);
|
---|
1957 | SetFS(sel);
|
---|
1958 |
|
---|
1959 | return yyrc;
|
---|
1960 | }
|
---|
1961 |
|
---|
1962 | inline BOOL O32_ChooseColor(LPCHOOSECOLORA a)
|
---|
1963 | {
|
---|
1964 | BOOL yyrc;
|
---|
1965 | USHORT sel = GetFS();
|
---|
1966 |
|
---|
1967 | yyrc = _O32_ChooseColor(a);
|
---|
1968 | SetFS(sel);
|
---|
1969 |
|
---|
1970 | return yyrc;
|
---|
1971 | }
|
---|
1972 |
|
---|
1973 | inline BOOL O32_ChooseFont(LPCHOOSEFONTA a)
|
---|
1974 | {
|
---|
1975 | BOOL yyrc;
|
---|
1976 | USHORT sel = GetFS();
|
---|
1977 |
|
---|
1978 | yyrc = _O32_ChooseFont(a);
|
---|
1979 | SetFS(sel);
|
---|
1980 |
|
---|
1981 | return yyrc;
|
---|
1982 | }
|
---|
1983 |
|
---|
1984 | inline BOOL O32_Chord(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
1985 | {
|
---|
1986 | BOOL yyrc;
|
---|
1987 | USHORT sel = GetFS();
|
---|
1988 |
|
---|
1989 | yyrc = _O32_Chord(a, b, c, d, e, f, g, h, i);
|
---|
1990 | SetFS(sel);
|
---|
1991 |
|
---|
1992 | return yyrc;
|
---|
1993 | }
|
---|
1994 |
|
---|
1995 | inline BOOL O32_ClientToScreen(HWND a, PPOINT b)
|
---|
1996 | {
|
---|
1997 | BOOL yyrc;
|
---|
1998 | USHORT sel = GetFS();
|
---|
1999 |
|
---|
2000 | yyrc = _O32_ClientToScreen(a, b);
|
---|
2001 | SetFS(sel);
|
---|
2002 |
|
---|
2003 | return yyrc;
|
---|
2004 | }
|
---|
2005 |
|
---|
2006 | inline BOOL O32_ClipCursor(CONST RECT *a)
|
---|
2007 | {
|
---|
2008 | BOOL yyrc;
|
---|
2009 | USHORT sel = GetFS();
|
---|
2010 |
|
---|
2011 | yyrc = _O32_ClipCursor(a);
|
---|
2012 | SetFS(sel);
|
---|
2013 |
|
---|
2014 | return yyrc;
|
---|
2015 | }
|
---|
2016 |
|
---|
2017 | inline BOOL O32_CloseClipboard()
|
---|
2018 | {
|
---|
2019 | BOOL yyrc;
|
---|
2020 | USHORT sel = GetFS();
|
---|
2021 |
|
---|
2022 | yyrc = _O32_CloseClipboard();
|
---|
2023 | SetFS(sel);
|
---|
2024 |
|
---|
2025 | return yyrc;
|
---|
2026 | }
|
---|
2027 |
|
---|
2028 | inline HENHMETAFILE O32_CloseEnhMetaFile(HDC a)
|
---|
2029 | {
|
---|
2030 | HENHMETAFILE yyrc;
|
---|
2031 | USHORT sel = GetFS();
|
---|
2032 |
|
---|
2033 | yyrc = _O32_CloseEnhMetaFile(a);
|
---|
2034 | SetFS(sel);
|
---|
2035 |
|
---|
2036 | return yyrc;
|
---|
2037 | }
|
---|
2038 |
|
---|
2039 | inline BOOL O32_CloseFigure(HDC a)
|
---|
2040 | {
|
---|
2041 | BOOL yyrc;
|
---|
2042 | USHORT sel = GetFS();
|
---|
2043 |
|
---|
2044 | yyrc = _O32_CloseFigure(a);
|
---|
2045 | SetFS(sel);
|
---|
2046 |
|
---|
2047 | return yyrc;
|
---|
2048 | }
|
---|
2049 |
|
---|
2050 | inline BOOL O32_CloseHandle(HANDLE a)
|
---|
2051 | {
|
---|
2052 | BOOL yyrc;
|
---|
2053 | USHORT sel = GetFS();
|
---|
2054 |
|
---|
2055 | yyrc = _O32_CloseHandle(a);
|
---|
2056 | SetFS(sel);
|
---|
2057 |
|
---|
2058 | return yyrc;
|
---|
2059 | }
|
---|
2060 |
|
---|
2061 | inline HMETAFILE O32_CloseMetaFile(HDC a)
|
---|
2062 | {
|
---|
2063 | HMETAFILE yyrc;
|
---|
2064 | USHORT sel = GetFS();
|
---|
2065 |
|
---|
2066 | yyrc = _O32_CloseMetaFile(a);
|
---|
2067 | SetFS(sel);
|
---|
2068 |
|
---|
2069 | return yyrc;
|
---|
2070 | }
|
---|
2071 |
|
---|
2072 | inline BOOL O32_CloseWindow(HWND a)
|
---|
2073 | {
|
---|
2074 | BOOL yyrc;
|
---|
2075 | USHORT sel = GetFS();
|
---|
2076 |
|
---|
2077 | yyrc = _O32_CloseWindow(a);
|
---|
2078 | SetFS(sel);
|
---|
2079 |
|
---|
2080 | return yyrc;
|
---|
2081 | }
|
---|
2082 |
|
---|
2083 | inline int O32_CombineRgn(HRGN a, HRGN b, HRGN c, int d)
|
---|
2084 | {
|
---|
2085 | int yyrc;
|
---|
2086 | USHORT sel = GetFS();
|
---|
2087 |
|
---|
2088 | yyrc = _O32_CombineRgn(a, b, c, d);
|
---|
2089 | SetFS(sel);
|
---|
2090 |
|
---|
2091 | return yyrc;
|
---|
2092 | }
|
---|
2093 |
|
---|
2094 | inline DWORD O32_CommDlgExtendedError()
|
---|
2095 | {
|
---|
2096 | DWORD yyrc;
|
---|
2097 | USHORT sel = GetFS();
|
---|
2098 |
|
---|
2099 | yyrc = _O32_CommDlgExtendedError();
|
---|
2100 | SetFS(sel);
|
---|
2101 |
|
---|
2102 | return yyrc;
|
---|
2103 | }
|
---|
2104 |
|
---|
2105 | inline LONG O32_CompareFileTime(FILETIME *a, FILETIME *b)
|
---|
2106 | {
|
---|
2107 | LONG yyrc;
|
---|
2108 | USHORT sel = GetFS();
|
---|
2109 |
|
---|
2110 | yyrc = _O32_CompareFileTime(a, b);
|
---|
2111 | SetFS(sel);
|
---|
2112 |
|
---|
2113 | return yyrc;
|
---|
2114 | }
|
---|
2115 |
|
---|
2116 | inline HCURSOR O32_CopyCursor(HCURSOR a)
|
---|
2117 | {
|
---|
2118 | HCURSOR yyrc;
|
---|
2119 | USHORT sel = GetFS();
|
---|
2120 |
|
---|
2121 | yyrc = _O32_CopyCursor(a);
|
---|
2122 | SetFS(sel);
|
---|
2123 |
|
---|
2124 | return yyrc;
|
---|
2125 | }
|
---|
2126 |
|
---|
2127 | inline HENHMETAFILE O32_CopyEnhMetaFile(HENHMETAFILE a, LPCSTR b)
|
---|
2128 | {
|
---|
2129 | HENHMETAFILE yyrc;
|
---|
2130 | USHORT sel = GetFS();
|
---|
2131 |
|
---|
2132 | yyrc = _O32_CopyEnhMetaFile(a, b);
|
---|
2133 | SetFS(sel);
|
---|
2134 |
|
---|
2135 | return yyrc;
|
---|
2136 | }
|
---|
2137 |
|
---|
2138 | inline BOOL O32_CopyFile(LPCSTR a, LPCSTR b, BOOL c)
|
---|
2139 | {
|
---|
2140 | BOOL yyrc;
|
---|
2141 | USHORT sel = GetFS();
|
---|
2142 |
|
---|
2143 | yyrc = _O32_CopyFile(a, b, c);
|
---|
2144 | SetFS(sel);
|
---|
2145 |
|
---|
2146 | return yyrc;
|
---|
2147 | }
|
---|
2148 |
|
---|
2149 | inline HICON O32_CopyIcon(HICON a)
|
---|
2150 | {
|
---|
2151 | HICON yyrc;
|
---|
2152 | USHORT sel = GetFS();
|
---|
2153 |
|
---|
2154 | yyrc = _O32_CopyIcon(a);
|
---|
2155 | SetFS(sel);
|
---|
2156 |
|
---|
2157 | return yyrc;
|
---|
2158 | }
|
---|
2159 |
|
---|
2160 | inline HMETAFILE O32_CopyMetaFile(HMETAFILE a, LPCSTR b)
|
---|
2161 | {
|
---|
2162 | HMETAFILE yyrc;
|
---|
2163 | USHORT sel = GetFS();
|
---|
2164 |
|
---|
2165 | yyrc = _O32_CopyMetaFile(a, b);
|
---|
2166 | SetFS(sel);
|
---|
2167 |
|
---|
2168 | return yyrc;
|
---|
2169 | }
|
---|
2170 |
|
---|
2171 | inline BOOL O32_CopyRect(PRECT a, CONST RECT *b)
|
---|
2172 | {
|
---|
2173 | BOOL yyrc;
|
---|
2174 | USHORT sel = GetFS();
|
---|
2175 |
|
---|
2176 | yyrc = _O32_CopyRect(a, b);
|
---|
2177 | SetFS(sel);
|
---|
2178 |
|
---|
2179 | return yyrc;
|
---|
2180 | }
|
---|
2181 |
|
---|
2182 | inline int O32_CountClipboardFormats()
|
---|
2183 | {
|
---|
2184 | int yyrc;
|
---|
2185 | USHORT sel = GetFS();
|
---|
2186 |
|
---|
2187 | yyrc = _O32_CountClipboardFormats();
|
---|
2188 | SetFS(sel);
|
---|
2189 |
|
---|
2190 | return yyrc;
|
---|
2191 | }
|
---|
2192 |
|
---|
2193 | inline HACCEL O32_CreateAcceleratorTable(LPACCEL a, int b)
|
---|
2194 | {
|
---|
2195 | HACCEL yyrc;
|
---|
2196 | USHORT sel = GetFS();
|
---|
2197 |
|
---|
2198 | yyrc = _O32_CreateAcceleratorTable(a, b);
|
---|
2199 | SetFS(sel);
|
---|
2200 |
|
---|
2201 | return yyrc;
|
---|
2202 | }
|
---|
2203 |
|
---|
2204 | inline HBITMAP O32_CreateBitmap(int a, int b, UINT c, UINT d, CONST void *e)
|
---|
2205 | {
|
---|
2206 | HBITMAP yyrc;
|
---|
2207 | USHORT sel = GetFS();
|
---|
2208 |
|
---|
2209 | yyrc = _O32_CreateBitmap(a, b, c, d, e);
|
---|
2210 | SetFS(sel);
|
---|
2211 |
|
---|
2212 | return yyrc;
|
---|
2213 | }
|
---|
2214 |
|
---|
2215 | inline HBITMAP O32_CreateBitmapIndirect(CONST BITMAP *a)
|
---|
2216 | {
|
---|
2217 | HBITMAP yyrc;
|
---|
2218 | USHORT sel = GetFS();
|
---|
2219 |
|
---|
2220 | yyrc = _O32_CreateBitmapIndirect(a);
|
---|
2221 | SetFS(sel);
|
---|
2222 |
|
---|
2223 | return yyrc;
|
---|
2224 | }
|
---|
2225 |
|
---|
2226 | inline HBRUSH O32_CreateBrushIndirect(LPLOGBRUSH a)
|
---|
2227 | {
|
---|
2228 | HBRUSH yyrc;
|
---|
2229 | USHORT sel = GetFS();
|
---|
2230 |
|
---|
2231 | yyrc = _O32_CreateBrushIndirect(a);
|
---|
2232 | SetFS(sel);
|
---|
2233 |
|
---|
2234 | return yyrc;
|
---|
2235 | }
|
---|
2236 |
|
---|
2237 | inline BOOL O32_CreateCaret(HWND a, HBITMAP b, int c, int d)
|
---|
2238 | {
|
---|
2239 | BOOL yyrc;
|
---|
2240 | USHORT sel = GetFS();
|
---|
2241 |
|
---|
2242 | yyrc = _O32_CreateCaret(a, b, c, d);
|
---|
2243 | SetFS(sel);
|
---|
2244 |
|
---|
2245 | return yyrc;
|
---|
2246 | }
|
---|
2247 |
|
---|
2248 | inline HBITMAP O32_CreateCompatibleBitmap(HDC a, int b, int c)
|
---|
2249 | {
|
---|
2250 | HBITMAP yyrc;
|
---|
2251 | USHORT sel = GetFS();
|
---|
2252 |
|
---|
2253 | yyrc = _O32_CreateCompatibleBitmap(a, b, c);
|
---|
2254 | SetFS(sel);
|
---|
2255 |
|
---|
2256 | return yyrc;
|
---|
2257 | }
|
---|
2258 |
|
---|
2259 | inline HDC O32_CreateCompatibleDC(HDC a)
|
---|
2260 | {
|
---|
2261 | HDC yyrc;
|
---|
2262 | USHORT sel = GetFS();
|
---|
2263 |
|
---|
2264 | yyrc = _O32_CreateCompatibleDC(a);
|
---|
2265 | SetFS(sel);
|
---|
2266 |
|
---|
2267 | return yyrc;
|
---|
2268 | }
|
---|
2269 |
|
---|
2270 | inline HCURSOR O32_CreateCursor(HINSTANCE a, int b, int c, int d, int e, CONST VOID *f, CONST VOID *g)
|
---|
2271 | {
|
---|
2272 | HCURSOR yyrc;
|
---|
2273 | USHORT sel = GetFS();
|
---|
2274 |
|
---|
2275 | yyrc = _O32_CreateCursor(a, b, c, d, e, f, g);
|
---|
2276 | SetFS(sel);
|
---|
2277 |
|
---|
2278 | return yyrc;
|
---|
2279 | }
|
---|
2280 |
|
---|
2281 | inline HDC O32_CreateDC(LPCSTR a, LPCSTR b, LPCSTR c, CONST DEVMODEA *d)
|
---|
2282 | {
|
---|
2283 | HDC yyrc;
|
---|
2284 | USHORT sel = GetFS();
|
---|
2285 |
|
---|
2286 | yyrc = _O32_CreateDC(a, b, c, d);
|
---|
2287 | SetFS(sel);
|
---|
2288 |
|
---|
2289 | return yyrc;
|
---|
2290 | }
|
---|
2291 |
|
---|
2292 | inline HBRUSH O32_CreateDIBPatternBrushPt(CONST VOID *a, UINT b)
|
---|
2293 | {
|
---|
2294 | HBRUSH yyrc;
|
---|
2295 | USHORT sel = GetFS();
|
---|
2296 |
|
---|
2297 | yyrc = _O32_CreateDIBPatternBrushPt(a, b);
|
---|
2298 | SetFS(sel);
|
---|
2299 |
|
---|
2300 | return yyrc;
|
---|
2301 | }
|
---|
2302 |
|
---|
2303 | inline HBITMAP O32_CreateDIBitmap(HDC a, CONST BITMAPINFOHEADER *b, DWORD c, CONST void *d, CONST BITMAPINFO *e, UINT f)
|
---|
2304 | {
|
---|
2305 | HBITMAP yyrc;
|
---|
2306 | USHORT sel = GetFS();
|
---|
2307 |
|
---|
2308 | yyrc = _O32_CreateDIBitmap(a, b, c, d, e, f);
|
---|
2309 | SetFS(sel);
|
---|
2310 |
|
---|
2311 | return yyrc;
|
---|
2312 | }
|
---|
2313 |
|
---|
2314 | inline HWND O32_CreateDialog(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d)
|
---|
2315 | {
|
---|
2316 | HWND yyrc;
|
---|
2317 | USHORT sel = GetFS();
|
---|
2318 |
|
---|
2319 | yyrc = _O32_CreateDialog(a, b, c, d);
|
---|
2320 | SetFS(sel);
|
---|
2321 |
|
---|
2322 | return yyrc;
|
---|
2323 | }
|
---|
2324 |
|
---|
2325 | inline HWND O32_CreateDialogParam(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
2326 | {
|
---|
2327 | HWND yyrc;
|
---|
2328 | USHORT sel = GetFS();
|
---|
2329 |
|
---|
2330 | yyrc = _O32_CreateDialogParam(a, b, c, d, e);
|
---|
2331 | SetFS(sel);
|
---|
2332 |
|
---|
2333 | return yyrc;
|
---|
2334 | }
|
---|
2335 |
|
---|
2336 | inline HWND O32_CreateDialogIndirect(HINSTANCE a, CONST DLGTEMPLATE *b, HWND c, DLGPROC_O32 d)
|
---|
2337 | {
|
---|
2338 | HWND yyrc;
|
---|
2339 | USHORT sel = GetFS();
|
---|
2340 |
|
---|
2341 | yyrc = _O32_CreateDialogIndirect(a, b, c, d);
|
---|
2342 | SetFS(sel);
|
---|
2343 |
|
---|
2344 | return yyrc;
|
---|
2345 | }
|
---|
2346 |
|
---|
2347 | inline HWND O32_CreateDialogIndirectParam(HINSTANCE a, CONST DLGTEMPLATE *b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
2348 | {
|
---|
2349 | HWND yyrc;
|
---|
2350 | USHORT sel = GetFS();
|
---|
2351 |
|
---|
2352 | yyrc = _O32_CreateDialogIndirectParam(a, b, c, d, e);
|
---|
2353 | SetFS(sel);
|
---|
2354 |
|
---|
2355 | return yyrc;
|
---|
2356 | }
|
---|
2357 |
|
---|
2358 | inline BOOL O32_CreateDirectory(LPCSTR a, PSECURITY_ATTRIBUTES b)
|
---|
2359 | {
|
---|
2360 | BOOL yyrc;
|
---|
2361 | USHORT sel = GetFS();
|
---|
2362 |
|
---|
2363 | yyrc = _O32_CreateDirectory(a, b);
|
---|
2364 | SetFS(sel);
|
---|
2365 |
|
---|
2366 | return yyrc;
|
---|
2367 | }
|
---|
2368 |
|
---|
2369 | inline HRGN O32_CreateEllipticRgn(int a, int b, int c, int d)
|
---|
2370 | {
|
---|
2371 | HRGN yyrc;
|
---|
2372 | USHORT sel = GetFS();
|
---|
2373 |
|
---|
2374 | yyrc = _O32_CreateEllipticRgn(a, b, c, d);
|
---|
2375 | SetFS(sel);
|
---|
2376 |
|
---|
2377 | return yyrc;
|
---|
2378 | }
|
---|
2379 |
|
---|
2380 | inline HRGN O32_CreateEllipticRgnIndirect(CONST RECT *a)
|
---|
2381 | {
|
---|
2382 | HRGN yyrc;
|
---|
2383 | USHORT sel = GetFS();
|
---|
2384 |
|
---|
2385 | yyrc = _O32_CreateEllipticRgnIndirect(a);
|
---|
2386 | SetFS(sel);
|
---|
2387 |
|
---|
2388 | return yyrc;
|
---|
2389 | }
|
---|
2390 |
|
---|
2391 | inline HENHMETAFILE O32_CreateEnhMetaFile(HDC a, LPCSTR b, CONST RECT *c, LPCSTR d)
|
---|
2392 | {
|
---|
2393 | HENHMETAFILE yyrc;
|
---|
2394 | USHORT sel = GetFS();
|
---|
2395 |
|
---|
2396 | yyrc = _O32_CreateEnhMetaFile(a, b, c, d);
|
---|
2397 | SetFS(sel);
|
---|
2398 |
|
---|
2399 | return yyrc;
|
---|
2400 | }
|
---|
2401 |
|
---|
2402 | inline HANDLE O32_CreateEvent(PSECURITY_ATTRIBUTES a, BOOL b, BOOL c, LPCSTR d)
|
---|
2403 | {
|
---|
2404 | HANDLE yyrc;
|
---|
2405 | USHORT sel = GetFS();
|
---|
2406 |
|
---|
2407 | yyrc = _O32_CreateEvent(a, b, c, d);
|
---|
2408 | SetFS(sel);
|
---|
2409 |
|
---|
2410 | return yyrc;
|
---|
2411 | }
|
---|
2412 |
|
---|
2413 | inline HANDLE O32_CreateFile(LPCSTR a, DWORD b, DWORD c, PSECURITY_ATTRIBUTES d, DWORD e, DWORD f, HANDLE g)
|
---|
2414 | {
|
---|
2415 | HANDLE yyrc;
|
---|
2416 | USHORT sel = GetFS();
|
---|
2417 |
|
---|
2418 | yyrc = _O32_CreateFile(a, b, c, d, e, f, g);
|
---|
2419 | SetFS(sel);
|
---|
2420 |
|
---|
2421 | return yyrc;
|
---|
2422 | }
|
---|
2423 |
|
---|
2424 | 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)
|
---|
2425 | {
|
---|
2426 | HFONT yyrc;
|
---|
2427 | USHORT sel = GetFS();
|
---|
2428 |
|
---|
2429 | yyrc = _O32_CreateFont(a, b, c, d, e, f, g, h, i, j, k, l, m, n);
|
---|
2430 | SetFS(sel);
|
---|
2431 |
|
---|
2432 | return yyrc;
|
---|
2433 | }
|
---|
2434 |
|
---|
2435 | inline HFONT O32_CreateFontIndirect(CONST LOGFONTA *a)
|
---|
2436 | {
|
---|
2437 | HFONT yyrc;
|
---|
2438 | USHORT sel = GetFS();
|
---|
2439 |
|
---|
2440 | yyrc = _O32_CreateFontIndirect(a);
|
---|
2441 | SetFS(sel);
|
---|
2442 |
|
---|
2443 | return yyrc;
|
---|
2444 | }
|
---|
2445 |
|
---|
2446 | inline HBRUSH O32_CreateHatchBrush(int a, COLORREF b)
|
---|
2447 | {
|
---|
2448 | HBRUSH yyrc;
|
---|
2449 | USHORT sel = GetFS();
|
---|
2450 |
|
---|
2451 | yyrc = _O32_CreateHatchBrush(a, b);
|
---|
2452 | SetFS(sel);
|
---|
2453 |
|
---|
2454 | return yyrc;
|
---|
2455 | }
|
---|
2456 |
|
---|
2457 | inline HDC O32_CreateIC(LPCSTR a, LPCSTR b, LPCSTR c, CONST DEVMODEA *d)
|
---|
2458 | {
|
---|
2459 | HDC yyrc;
|
---|
2460 | USHORT sel = GetFS();
|
---|
2461 |
|
---|
2462 | yyrc = _O32_CreateIC(a, b, c, d);
|
---|
2463 | SetFS(sel);
|
---|
2464 |
|
---|
2465 | return yyrc;
|
---|
2466 | }
|
---|
2467 |
|
---|
2468 | inline HICON O32_CreateIcon(HINSTANCE a, int b, int c, BYTE d, BYTE e, CONST BYTE *f, CONST BYTE *g)
|
---|
2469 | {
|
---|
2470 | HICON yyrc;
|
---|
2471 | USHORT sel = GetFS();
|
---|
2472 |
|
---|
2473 | yyrc = _O32_CreateIcon(a, b, c, d, e, f, g);
|
---|
2474 | SetFS(sel);
|
---|
2475 |
|
---|
2476 | return yyrc;
|
---|
2477 | }
|
---|
2478 |
|
---|
2479 | inline HICON O32_CreateIconFromResource(PBYTE a, DWORD b, BOOL c, DWORD d)
|
---|
2480 | {
|
---|
2481 | HICON yyrc;
|
---|
2482 | USHORT sel = GetFS();
|
---|
2483 |
|
---|
2484 | yyrc = _O32_CreateIconFromResource(a, b, c, d);
|
---|
2485 | SetFS(sel);
|
---|
2486 |
|
---|
2487 | return yyrc;
|
---|
2488 | }
|
---|
2489 |
|
---|
2490 | inline HICON O32_CreateIconIndirect(LPICONINFO a)
|
---|
2491 | {
|
---|
2492 | HICON yyrc;
|
---|
2493 | USHORT sel = GetFS();
|
---|
2494 |
|
---|
2495 | yyrc = _O32_CreateIconIndirect(a);
|
---|
2496 | SetFS(sel);
|
---|
2497 |
|
---|
2498 | return yyrc;
|
---|
2499 | }
|
---|
2500 |
|
---|
2501 | inline HMENU O32_CreateMenu()
|
---|
2502 | {
|
---|
2503 | HMENU yyrc;
|
---|
2504 | USHORT sel = GetFS();
|
---|
2505 |
|
---|
2506 | yyrc = _O32_CreateMenu();
|
---|
2507 | SetFS(sel);
|
---|
2508 |
|
---|
2509 | return yyrc;
|
---|
2510 | }
|
---|
2511 |
|
---|
2512 | inline HDC O32_CreateMetaFile(LPCSTR a)
|
---|
2513 | {
|
---|
2514 | HDC yyrc;
|
---|
2515 | USHORT sel = GetFS();
|
---|
2516 |
|
---|
2517 | yyrc = _O32_CreateMetaFile(a);
|
---|
2518 | SetFS(sel);
|
---|
2519 |
|
---|
2520 | return yyrc;
|
---|
2521 | }
|
---|
2522 |
|
---|
2523 | inline HWND O32_CreateMDIWindow(LPSTR a, LPSTR b, DWORD c, int d, int e, int f, int g, HWND h, HINSTANCE i, LPARAM j)
|
---|
2524 | {
|
---|
2525 | HWND yyrc;
|
---|
2526 | USHORT sel = GetFS();
|
---|
2527 |
|
---|
2528 | yyrc = _O32_CreateMDIWindow(a, b, c, d, e, f, g, h, i, j);
|
---|
2529 | SetFS(sel);
|
---|
2530 |
|
---|
2531 | return yyrc;
|
---|
2532 | }
|
---|
2533 |
|
---|
2534 | inline HANDLE O32_CreateMutex(PSECURITY_ATTRIBUTES a, BOOL b, LPCSTR c)
|
---|
2535 | {
|
---|
2536 | HANDLE yyrc;
|
---|
2537 | USHORT sel = GetFS();
|
---|
2538 |
|
---|
2539 | yyrc = _O32_CreateMutex(a, b, c);
|
---|
2540 | SetFS(sel);
|
---|
2541 |
|
---|
2542 | return yyrc;
|
---|
2543 | }
|
---|
2544 |
|
---|
2545 | inline HPALETTE O32_CreatePalette(CONST LOGPALETTE *a)
|
---|
2546 | {
|
---|
2547 | HPALETTE yyrc;
|
---|
2548 | USHORT sel = GetFS();
|
---|
2549 |
|
---|
2550 | yyrc = _O32_CreatePalette(a);
|
---|
2551 | SetFS(sel);
|
---|
2552 |
|
---|
2553 | return yyrc;
|
---|
2554 | }
|
---|
2555 |
|
---|
2556 | inline HBRUSH O32_CreatePatternBrush(HBITMAP a)
|
---|
2557 | {
|
---|
2558 | HBRUSH yyrc;
|
---|
2559 | USHORT sel = GetFS();
|
---|
2560 |
|
---|
2561 | yyrc = _O32_CreatePatternBrush(a);
|
---|
2562 | SetFS(sel);
|
---|
2563 |
|
---|
2564 | return yyrc;
|
---|
2565 | }
|
---|
2566 |
|
---|
2567 | inline HPEN O32_CreatePen(int a, int b, COLORREF c)
|
---|
2568 | {
|
---|
2569 | HPEN yyrc;
|
---|
2570 | USHORT sel = GetFS();
|
---|
2571 |
|
---|
2572 | yyrc = _O32_CreatePen(a, b, c);
|
---|
2573 | SetFS(sel);
|
---|
2574 |
|
---|
2575 | return yyrc;
|
---|
2576 | }
|
---|
2577 |
|
---|
2578 | inline HPEN O32_CreatePenIndirect(CONST LOGPEN *a)
|
---|
2579 | {
|
---|
2580 | HPEN yyrc;
|
---|
2581 | USHORT sel = GetFS();
|
---|
2582 |
|
---|
2583 | yyrc = _O32_CreatePenIndirect(a);
|
---|
2584 | SetFS(sel);
|
---|
2585 |
|
---|
2586 | return yyrc;
|
---|
2587 | }
|
---|
2588 |
|
---|
2589 | inline HRGN O32_CreatePolyPolygonRgn(CONST POINT *a, CONST INT *b, int c, int d)
|
---|
2590 | {
|
---|
2591 | HRGN yyrc;
|
---|
2592 | USHORT sel = GetFS();
|
---|
2593 |
|
---|
2594 | yyrc = _O32_CreatePolyPolygonRgn(a, b, c, d);
|
---|
2595 | SetFS(sel);
|
---|
2596 |
|
---|
2597 | return yyrc;
|
---|
2598 | }
|
---|
2599 |
|
---|
2600 | inline HRGN O32_CreatePolygonRgn(CONST POINT *a, int b, int c)
|
---|
2601 | {
|
---|
2602 | HRGN yyrc;
|
---|
2603 | USHORT sel = GetFS();
|
---|
2604 |
|
---|
2605 | yyrc = _O32_CreatePolygonRgn(a, b, c);
|
---|
2606 | SetFS(sel);
|
---|
2607 |
|
---|
2608 | return yyrc;
|
---|
2609 | }
|
---|
2610 |
|
---|
2611 | inline HMENU O32_CreatePopupMenu()
|
---|
2612 | {
|
---|
2613 | HMENU yyrc;
|
---|
2614 | USHORT sel = GetFS();
|
---|
2615 |
|
---|
2616 | yyrc = _O32_CreatePopupMenu();
|
---|
2617 | SetFS(sel);
|
---|
2618 |
|
---|
2619 | return yyrc;
|
---|
2620 | }
|
---|
2621 |
|
---|
2622 | 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)
|
---|
2623 | {
|
---|
2624 | BOOL yyrc;
|
---|
2625 | USHORT sel = GetFS();
|
---|
2626 |
|
---|
2627 | yyrc = _O32_CreateProcess(a, b, c, d, e, f, g, h, i, j);
|
---|
2628 | SetFS(sel);
|
---|
2629 |
|
---|
2630 | return yyrc;
|
---|
2631 | }
|
---|
2632 |
|
---|
2633 | inline HRGN O32_CreateRectRgn(int a, int b, int c, int d)
|
---|
2634 | {
|
---|
2635 | HRGN yyrc;
|
---|
2636 | USHORT sel = GetFS();
|
---|
2637 |
|
---|
2638 | yyrc = _O32_CreateRectRgn(a, b, c, d);
|
---|
2639 | SetFS(sel);
|
---|
2640 |
|
---|
2641 | return yyrc;
|
---|
2642 | }
|
---|
2643 |
|
---|
2644 | inline HRGN O32_CreateRectRgnIndirect(CONST RECT *a)
|
---|
2645 | {
|
---|
2646 | HRGN yyrc;
|
---|
2647 | USHORT sel = GetFS();
|
---|
2648 |
|
---|
2649 | yyrc = _O32_CreateRectRgnIndirect(a);
|
---|
2650 | SetFS(sel);
|
---|
2651 |
|
---|
2652 | return yyrc;
|
---|
2653 | }
|
---|
2654 |
|
---|
2655 | inline HRGN O32_CreateRoundRectRgn(int a, int b, int c, int d, int e, int f)
|
---|
2656 | {
|
---|
2657 | HRGN yyrc;
|
---|
2658 | USHORT sel = GetFS();
|
---|
2659 |
|
---|
2660 | yyrc = _O32_CreateRoundRectRgn(a, b, c, d, e, f);
|
---|
2661 | SetFS(sel);
|
---|
2662 |
|
---|
2663 | return yyrc;
|
---|
2664 | }
|
---|
2665 |
|
---|
2666 | inline HANDLE O32_CreateSemaphore(PSECURITY_ATTRIBUTES a, LONG b, LONG c, LPSTR d)
|
---|
2667 | {
|
---|
2668 | HANDLE yyrc;
|
---|
2669 | USHORT sel = GetFS();
|
---|
2670 |
|
---|
2671 | yyrc = _O32_CreateSemaphore(a, b, c, d);
|
---|
2672 | SetFS(sel);
|
---|
2673 |
|
---|
2674 | return yyrc;
|
---|
2675 | }
|
---|
2676 |
|
---|
2677 | inline HBRUSH O32_CreateSolidBrush(COLORREF a)
|
---|
2678 | {
|
---|
2679 | HBRUSH yyrc;
|
---|
2680 | USHORT sel = GetFS();
|
---|
2681 |
|
---|
2682 | yyrc = _O32_CreateSolidBrush(a);
|
---|
2683 | SetFS(sel);
|
---|
2684 |
|
---|
2685 | return yyrc;
|
---|
2686 | }
|
---|
2687 |
|
---|
2688 | inline HANDLE O32_CreateThread(PSECURITY_ATTRIBUTES a, DWORD b, PTHREAD_START_ROUTINE_O32 c, PVOID d, DWORD e, PDWORD f)
|
---|
2689 | {
|
---|
2690 | HANDLE yyrc;
|
---|
2691 | USHORT sel = GetFS();
|
---|
2692 |
|
---|
2693 | yyrc = _O32_CreateThread(a, b, c, d, e, f);
|
---|
2694 | SetFS(sel);
|
---|
2695 |
|
---|
2696 | return yyrc;
|
---|
2697 | }
|
---|
2698 |
|
---|
2699 | 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)
|
---|
2700 | {
|
---|
2701 | HWND yyrc;
|
---|
2702 | USHORT sel = GetFS();
|
---|
2703 |
|
---|
2704 | yyrc = _O32_CreateWindowEx(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
2705 | SetFS(sel);
|
---|
2706 |
|
---|
2707 | return yyrc;
|
---|
2708 | }
|
---|
2709 |
|
---|
2710 | inline BOOL O32_DPtoLP(HDC a, PPOINT b, int c)
|
---|
2711 | {
|
---|
2712 | BOOL yyrc;
|
---|
2713 | USHORT sel = GetFS();
|
---|
2714 |
|
---|
2715 | yyrc = _O32_DPtoLP(a, b, c);
|
---|
2716 | SetFS(sel);
|
---|
2717 |
|
---|
2718 | return yyrc;
|
---|
2719 | }
|
---|
2720 |
|
---|
2721 | inline BOOL O32_DdeAbandonTransaction(DWORD a, HCONV b, DWORD c)
|
---|
2722 | {
|
---|
2723 | BOOL yyrc;
|
---|
2724 | USHORT sel = GetFS();
|
---|
2725 |
|
---|
2726 | yyrc = _O32_DdeAbandonTransaction(a, b, c);
|
---|
2727 | SetFS(sel);
|
---|
2728 |
|
---|
2729 | return yyrc;
|
---|
2730 | }
|
---|
2731 |
|
---|
2732 | inline PBYTE O32_DdeAccessData(HDDEDATA a, PDWORD b)
|
---|
2733 | {
|
---|
2734 | PBYTE yyrc;
|
---|
2735 | USHORT sel = GetFS();
|
---|
2736 |
|
---|
2737 | yyrc = _O32_DdeAccessData(a, b);
|
---|
2738 | SetFS(sel);
|
---|
2739 |
|
---|
2740 | return yyrc;
|
---|
2741 | }
|
---|
2742 |
|
---|
2743 | inline HDDEDATA O32_DdeAddData(HDDEDATA a, PVOID b, DWORD c, DWORD d)
|
---|
2744 | {
|
---|
2745 | HDDEDATA yyrc;
|
---|
2746 | USHORT sel = GetFS();
|
---|
2747 |
|
---|
2748 | yyrc = _O32_DdeAddData(a, b, c, d);
|
---|
2749 | SetFS(sel);
|
---|
2750 |
|
---|
2751 | return yyrc;
|
---|
2752 | }
|
---|
2753 |
|
---|
2754 | inline HDDEDATA O32_DdeClientTransaction(PVOID a, DWORD b, HCONV c, HSZ d, UINT e, UINT f, DWORD g, PDWORD h)
|
---|
2755 | {
|
---|
2756 | HDDEDATA yyrc;
|
---|
2757 | USHORT sel = GetFS();
|
---|
2758 |
|
---|
2759 | yyrc = _O32_DdeClientTransaction(a, b, c, d, e, f, g, h);
|
---|
2760 | SetFS(sel);
|
---|
2761 |
|
---|
2762 | return yyrc;
|
---|
2763 | }
|
---|
2764 |
|
---|
2765 | inline int O32_DdeCmpStringHandles(HSZ a, HSZ b)
|
---|
2766 | {
|
---|
2767 | int yyrc;
|
---|
2768 | USHORT sel = GetFS();
|
---|
2769 |
|
---|
2770 | yyrc = _O32_DdeCmpStringHandles(a, b);
|
---|
2771 | SetFS(sel);
|
---|
2772 |
|
---|
2773 | return yyrc;
|
---|
2774 | }
|
---|
2775 |
|
---|
2776 | inline HCONV O32_DdeConnect(DWORD a, HSZ b, HSZ c, LPCONVCONTEXT d)
|
---|
2777 | {
|
---|
2778 | HCONV yyrc;
|
---|
2779 | USHORT sel = GetFS();
|
---|
2780 |
|
---|
2781 | yyrc = _O32_DdeConnect(a, b, c, d);
|
---|
2782 | SetFS(sel);
|
---|
2783 |
|
---|
2784 | return yyrc;
|
---|
2785 | }
|
---|
2786 |
|
---|
2787 | inline HCONVLIST O32_DdeConnectList(DWORD a, HSZ b, HSZ c, HCONVLIST d, LPCONVCONTEXT e)
|
---|
2788 | {
|
---|
2789 | HCONVLIST yyrc;
|
---|
2790 | USHORT sel = GetFS();
|
---|
2791 |
|
---|
2792 | yyrc = _O32_DdeConnectList(a, b, c, d, e);
|
---|
2793 | SetFS(sel);
|
---|
2794 |
|
---|
2795 | return yyrc;
|
---|
2796 | }
|
---|
2797 |
|
---|
2798 | inline HDDEDATA O32_DdeCreateDataHandle(DWORD a, PVOID b, DWORD c, DWORD d, HSZ e, UINT f, UINT g)
|
---|
2799 | {
|
---|
2800 | HDDEDATA yyrc;
|
---|
2801 | USHORT sel = GetFS();
|
---|
2802 |
|
---|
2803 | yyrc = _O32_DdeCreateDataHandle(a, b, c, d, e, f, g);
|
---|
2804 | SetFS(sel);
|
---|
2805 |
|
---|
2806 | return yyrc;
|
---|
2807 | }
|
---|
2808 |
|
---|
2809 | inline HSZ O32_DdeCreateStringHandle(DWORD a, LPCSTR b, int c)
|
---|
2810 | {
|
---|
2811 | HSZ yyrc;
|
---|
2812 | USHORT sel = GetFS();
|
---|
2813 |
|
---|
2814 | yyrc = _O32_DdeCreateStringHandle(a, b, c);
|
---|
2815 | SetFS(sel);
|
---|
2816 |
|
---|
2817 | return yyrc;
|
---|
2818 | }
|
---|
2819 |
|
---|
2820 | inline BOOL O32_DdeDisconnect(HCONV a)
|
---|
2821 | {
|
---|
2822 | BOOL yyrc;
|
---|
2823 | USHORT sel = GetFS();
|
---|
2824 |
|
---|
2825 | yyrc = _O32_DdeDisconnect(a);
|
---|
2826 | SetFS(sel);
|
---|
2827 |
|
---|
2828 | return yyrc;
|
---|
2829 | }
|
---|
2830 |
|
---|
2831 | inline BOOL O32_DdeDisconnectList(HCONVLIST a)
|
---|
2832 | {
|
---|
2833 | BOOL yyrc;
|
---|
2834 | USHORT sel = GetFS();
|
---|
2835 |
|
---|
2836 | yyrc = _O32_DdeDisconnectList(a);
|
---|
2837 | SetFS(sel);
|
---|
2838 |
|
---|
2839 | return yyrc;
|
---|
2840 | }
|
---|
2841 |
|
---|
2842 | inline BOOL O32_DdeEnableCallback(DWORD a, HCONV b, UINT c)
|
---|
2843 | {
|
---|
2844 | BOOL yyrc;
|
---|
2845 | USHORT sel = GetFS();
|
---|
2846 |
|
---|
2847 | yyrc = _O32_DdeEnableCallback(a, b, c);
|
---|
2848 | SetFS(sel);
|
---|
2849 |
|
---|
2850 | return yyrc;
|
---|
2851 | }
|
---|
2852 |
|
---|
2853 | inline BOOL O32_DdeFreeDataHandle(HDDEDATA a)
|
---|
2854 | {
|
---|
2855 | BOOL yyrc;
|
---|
2856 | USHORT sel = GetFS();
|
---|
2857 |
|
---|
2858 | yyrc = _O32_DdeFreeDataHandle(a);
|
---|
2859 | SetFS(sel);
|
---|
2860 |
|
---|
2861 | return yyrc;
|
---|
2862 | }
|
---|
2863 |
|
---|
2864 | inline BOOL O32_DdeFreeStringHandle(DWORD a, HSZ b)
|
---|
2865 | {
|
---|
2866 | BOOL yyrc;
|
---|
2867 | USHORT sel = GetFS();
|
---|
2868 |
|
---|
2869 | yyrc = _O32_DdeFreeStringHandle(a, b);
|
---|
2870 | SetFS(sel);
|
---|
2871 |
|
---|
2872 | return yyrc;
|
---|
2873 | }
|
---|
2874 |
|
---|
2875 | inline DWORD O32_DdeGetData(HDDEDATA a, PVOID b, DWORD c, DWORD d)
|
---|
2876 | {
|
---|
2877 | DWORD yyrc;
|
---|
2878 | USHORT sel = GetFS();
|
---|
2879 |
|
---|
2880 | yyrc = _O32_DdeGetData(a, b, c, d);
|
---|
2881 | SetFS(sel);
|
---|
2882 |
|
---|
2883 | return yyrc;
|
---|
2884 | }
|
---|
2885 |
|
---|
2886 | inline UINT O32_DdeGetLastError(DWORD a)
|
---|
2887 | {
|
---|
2888 | UINT yyrc;
|
---|
2889 | USHORT sel = GetFS();
|
---|
2890 |
|
---|
2891 | yyrc = _O32_DdeGetLastError(a);
|
---|
2892 | SetFS(sel);
|
---|
2893 |
|
---|
2894 | return yyrc;
|
---|
2895 | }
|
---|
2896 |
|
---|
2897 | inline UINT O32_DdeInitialize(PDWORD a, PFNCALLBACK b, DWORD c, DWORD d)
|
---|
2898 | {
|
---|
2899 | UINT yyrc;
|
---|
2900 | USHORT sel = GetFS();
|
---|
2901 |
|
---|
2902 | yyrc = _O32_DdeInitialize(a, b, c, d);
|
---|
2903 | SetFS(sel);
|
---|
2904 |
|
---|
2905 | return yyrc;
|
---|
2906 | }
|
---|
2907 |
|
---|
2908 | inline BOOL O32_DdeKeepStringHandle(DWORD a, HSZ b)
|
---|
2909 | {
|
---|
2910 | BOOL yyrc;
|
---|
2911 | USHORT sel = GetFS();
|
---|
2912 |
|
---|
2913 | yyrc = _O32_DdeKeepStringHandle(a, b);
|
---|
2914 | SetFS(sel);
|
---|
2915 |
|
---|
2916 | return yyrc;
|
---|
2917 | }
|
---|
2918 |
|
---|
2919 | inline HDDEDATA O32_DdeNameService(DWORD a, HSZ b, HSZ c, UINT d)
|
---|
2920 | {
|
---|
2921 | HDDEDATA yyrc;
|
---|
2922 | USHORT sel = GetFS();
|
---|
2923 |
|
---|
2924 | yyrc = _O32_DdeNameService(a, b, c, d);
|
---|
2925 | SetFS(sel);
|
---|
2926 |
|
---|
2927 | return yyrc;
|
---|
2928 | }
|
---|
2929 |
|
---|
2930 | inline BOOL O32_DdePostAdvise(DWORD a, HSZ b, HSZ c)
|
---|
2931 | {
|
---|
2932 | BOOL yyrc;
|
---|
2933 | USHORT sel = GetFS();
|
---|
2934 |
|
---|
2935 | yyrc = _O32_DdePostAdvise(a, b, c);
|
---|
2936 | SetFS(sel);
|
---|
2937 |
|
---|
2938 | return yyrc;
|
---|
2939 | }
|
---|
2940 |
|
---|
2941 | inline UINT O32_DdeQueryConvInfo(HCONV a, DWORD b, LPCONVINFO c)
|
---|
2942 | {
|
---|
2943 | UINT yyrc;
|
---|
2944 | USHORT sel = GetFS();
|
---|
2945 |
|
---|
2946 | yyrc = _O32_DdeQueryConvInfo(a, b, c);
|
---|
2947 | SetFS(sel);
|
---|
2948 |
|
---|
2949 | return yyrc;
|
---|
2950 | }
|
---|
2951 |
|
---|
2952 | inline HCONV O32_DdeQueryNextServer(HCONVLIST a, HCONV b)
|
---|
2953 | {
|
---|
2954 | HCONV yyrc;
|
---|
2955 | USHORT sel = GetFS();
|
---|
2956 |
|
---|
2957 | yyrc = _O32_DdeQueryNextServer(a, b);
|
---|
2958 | SetFS(sel);
|
---|
2959 |
|
---|
2960 | return yyrc;
|
---|
2961 | }
|
---|
2962 |
|
---|
2963 | inline DWORD O32_DdeQueryString(DWORD a, HSZ b, LPSTR c, DWORD d, int e)
|
---|
2964 | {
|
---|
2965 | DWORD yyrc;
|
---|
2966 | USHORT sel = GetFS();
|
---|
2967 |
|
---|
2968 | yyrc = _O32_DdeQueryString(a, b, c, d, e);
|
---|
2969 | SetFS(sel);
|
---|
2970 |
|
---|
2971 | return yyrc;
|
---|
2972 | }
|
---|
2973 |
|
---|
2974 | inline HCONV O32_DdeReconnect(HCONV a)
|
---|
2975 | {
|
---|
2976 | HCONV yyrc;
|
---|
2977 | USHORT sel = GetFS();
|
---|
2978 |
|
---|
2979 | yyrc = _O32_DdeReconnect(a);
|
---|
2980 | SetFS(sel);
|
---|
2981 |
|
---|
2982 | return yyrc;
|
---|
2983 | }
|
---|
2984 |
|
---|
2985 | inline BOOL O32_DdeSetUserHandle(HCONV a, DWORD b, DWORD c)
|
---|
2986 | {
|
---|
2987 | BOOL yyrc;
|
---|
2988 | USHORT sel = GetFS();
|
---|
2989 |
|
---|
2990 | yyrc = _O32_DdeSetUserHandle(a, b, c);
|
---|
2991 | SetFS(sel);
|
---|
2992 |
|
---|
2993 | return yyrc;
|
---|
2994 | }
|
---|
2995 |
|
---|
2996 | inline BOOL O32_DdeUnaccessData(HDDEDATA a)
|
---|
2997 | {
|
---|
2998 | BOOL yyrc;
|
---|
2999 | USHORT sel = GetFS();
|
---|
3000 |
|
---|
3001 | yyrc = _O32_DdeUnaccessData(a);
|
---|
3002 | SetFS(sel);
|
---|
3003 |
|
---|
3004 | return yyrc;
|
---|
3005 | }
|
---|
3006 |
|
---|
3007 | inline BOOL O32_DdeUninitialize(DWORD a)
|
---|
3008 | {
|
---|
3009 | BOOL yyrc;
|
---|
3010 | USHORT sel = GetFS();
|
---|
3011 |
|
---|
3012 | yyrc = _O32_DdeUninitialize(a);
|
---|
3013 | SetFS(sel);
|
---|
3014 |
|
---|
3015 | return yyrc;
|
---|
3016 | }
|
---|
3017 |
|
---|
3018 | inline LRESULT O32_DefDlgProc(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
3019 | {
|
---|
3020 | LRESULT yyrc;
|
---|
3021 | USHORT sel = GetFS();
|
---|
3022 |
|
---|
3023 | yyrc = _O32_DefDlgProc(a, b, c, d);
|
---|
3024 | SetFS(sel);
|
---|
3025 |
|
---|
3026 | return yyrc;
|
---|
3027 | }
|
---|
3028 |
|
---|
3029 | inline HDWP O32_DeferWindowPos(HDWP a, HWND b, HWND c, int d, int e, int f, int g, UINT h)
|
---|
3030 | {
|
---|
3031 | HDWP yyrc;
|
---|
3032 | USHORT sel = GetFS();
|
---|
3033 |
|
---|
3034 | yyrc = _O32_DeferWindowPos(a, b, c, d, e, f, g, h);
|
---|
3035 | SetFS(sel);
|
---|
3036 |
|
---|
3037 | return yyrc;
|
---|
3038 | }
|
---|
3039 |
|
---|
3040 | inline LRESULT O32_DefFrameProc(HWND a, HWND b, UINT c, WPARAM d, LPARAM e)
|
---|
3041 | {
|
---|
3042 | LRESULT yyrc;
|
---|
3043 | USHORT sel = GetFS();
|
---|
3044 |
|
---|
3045 | yyrc = _O32_DefFrameProc(a, b, c, d, e);
|
---|
3046 | SetFS(sel);
|
---|
3047 |
|
---|
3048 | return yyrc;
|
---|
3049 | }
|
---|
3050 |
|
---|
3051 | inline LRESULT O32_DefMDIChildProc(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
3052 | {
|
---|
3053 | LRESULT yyrc;
|
---|
3054 | USHORT sel = GetFS();
|
---|
3055 |
|
---|
3056 | yyrc = _O32_DefMDIChildProc(a, b, c, d);
|
---|
3057 | SetFS(sel);
|
---|
3058 |
|
---|
3059 | return yyrc;
|
---|
3060 | }
|
---|
3061 |
|
---|
3062 | inline LRESULT O32_DefWindowProc(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
3063 | {
|
---|
3064 | LRESULT yyrc;
|
---|
3065 | USHORT sel = GetFS();
|
---|
3066 |
|
---|
3067 | yyrc = _O32_DefWindowProc(a, b, c, d);
|
---|
3068 | SetFS(sel);
|
---|
3069 |
|
---|
3070 | return yyrc;
|
---|
3071 | }
|
---|
3072 |
|
---|
3073 | inline ATOM O32_DeleteAtom(ATOM a)
|
---|
3074 | {
|
---|
3075 | ATOM yyrc;
|
---|
3076 | USHORT sel = GetFS();
|
---|
3077 |
|
---|
3078 | yyrc = _O32_DeleteAtom(a);
|
---|
3079 | SetFS(sel);
|
---|
3080 |
|
---|
3081 | return yyrc;
|
---|
3082 | }
|
---|
3083 |
|
---|
3084 | inline VOID O32_DeleteCriticalSection(CRITICAL_SECTION *a)
|
---|
3085 | {
|
---|
3086 | USHORT sel = GetFS();
|
---|
3087 |
|
---|
3088 | _O32_DeleteCriticalSection(a);
|
---|
3089 | SetFS(sel);
|
---|
3090 | }
|
---|
3091 |
|
---|
3092 | inline BOOL O32_DeleteDC(HDC a)
|
---|
3093 | {
|
---|
3094 | BOOL yyrc;
|
---|
3095 | USHORT sel = GetFS();
|
---|
3096 |
|
---|
3097 | yyrc = _O32_DeleteDC(a);
|
---|
3098 | SetFS(sel);
|
---|
3099 |
|
---|
3100 | return yyrc;
|
---|
3101 | }
|
---|
3102 |
|
---|
3103 | inline BOOL O32_DeleteEnhMetaFile(HENHMETAFILE a)
|
---|
3104 | {
|
---|
3105 | BOOL yyrc;
|
---|
3106 | USHORT sel = GetFS();
|
---|
3107 |
|
---|
3108 | yyrc = _O32_DeleteEnhMetaFile(a);
|
---|
3109 | SetFS(sel);
|
---|
3110 |
|
---|
3111 | return yyrc;
|
---|
3112 | }
|
---|
3113 |
|
---|
3114 | inline BOOL O32_DeleteFile(LPCSTR a)
|
---|
3115 | {
|
---|
3116 | BOOL yyrc;
|
---|
3117 | USHORT sel = GetFS();
|
---|
3118 |
|
---|
3119 | yyrc = _O32_DeleteFile(a);
|
---|
3120 | SetFS(sel);
|
---|
3121 |
|
---|
3122 | return yyrc;
|
---|
3123 | }
|
---|
3124 |
|
---|
3125 | inline BOOL O32_DeleteMenu(HMENU a, UINT b, UINT c)
|
---|
3126 | {
|
---|
3127 | BOOL yyrc;
|
---|
3128 | USHORT sel = GetFS();
|
---|
3129 |
|
---|
3130 | yyrc = _O32_DeleteMenu(a, b, c);
|
---|
3131 | SetFS(sel);
|
---|
3132 |
|
---|
3133 | return yyrc;
|
---|
3134 | }
|
---|
3135 |
|
---|
3136 | inline BOOL O32_DeleteMetaFile(HMETAFILE a)
|
---|
3137 | {
|
---|
3138 | BOOL yyrc;
|
---|
3139 | USHORT sel = GetFS();
|
---|
3140 |
|
---|
3141 | yyrc = _O32_DeleteMetaFile(a);
|
---|
3142 | SetFS(sel);
|
---|
3143 |
|
---|
3144 | return yyrc;
|
---|
3145 | }
|
---|
3146 |
|
---|
3147 | inline BOOL O32_DeleteObject(HANDLE a)
|
---|
3148 | {
|
---|
3149 | BOOL yyrc;
|
---|
3150 | USHORT sel = GetFS();
|
---|
3151 |
|
---|
3152 | yyrc = _O32_DeleteObject(a);
|
---|
3153 | SetFS(sel);
|
---|
3154 |
|
---|
3155 | return yyrc;
|
---|
3156 | }
|
---|
3157 |
|
---|
3158 | inline BOOL O32_DestroyAcceleratorTable(HACCEL a)
|
---|
3159 | {
|
---|
3160 | BOOL yyrc;
|
---|
3161 | USHORT sel = GetFS();
|
---|
3162 |
|
---|
3163 | yyrc = _O32_DestroyAcceleratorTable(a);
|
---|
3164 | SetFS(sel);
|
---|
3165 |
|
---|
3166 | return yyrc;
|
---|
3167 | }
|
---|
3168 |
|
---|
3169 | inline BOOL O32_DestroyCaret()
|
---|
3170 | {
|
---|
3171 | BOOL yyrc;
|
---|
3172 | USHORT sel = GetFS();
|
---|
3173 |
|
---|
3174 | yyrc = _O32_DestroyCaret();
|
---|
3175 | SetFS(sel);
|
---|
3176 |
|
---|
3177 | return yyrc;
|
---|
3178 | }
|
---|
3179 |
|
---|
3180 | inline BOOL O32_DestroyCursor(HCURSOR a)
|
---|
3181 | {
|
---|
3182 | BOOL yyrc;
|
---|
3183 | USHORT sel = GetFS();
|
---|
3184 |
|
---|
3185 | yyrc = _O32_DestroyCursor(a);
|
---|
3186 | SetFS(sel);
|
---|
3187 |
|
---|
3188 | return yyrc;
|
---|
3189 | }
|
---|
3190 |
|
---|
3191 | inline BOOL O32_DestroyIcon(HICON a)
|
---|
3192 | {
|
---|
3193 | BOOL yyrc;
|
---|
3194 | USHORT sel = GetFS();
|
---|
3195 |
|
---|
3196 | yyrc = _O32_DestroyIcon(a);
|
---|
3197 | SetFS(sel);
|
---|
3198 |
|
---|
3199 | return yyrc;
|
---|
3200 | }
|
---|
3201 |
|
---|
3202 | inline BOOL O32_DestroyMenu(HMENU a)
|
---|
3203 | {
|
---|
3204 | BOOL yyrc;
|
---|
3205 | USHORT sel = GetFS();
|
---|
3206 |
|
---|
3207 | yyrc = _O32_DestroyMenu(a);
|
---|
3208 | SetFS(sel);
|
---|
3209 |
|
---|
3210 | return yyrc;
|
---|
3211 | }
|
---|
3212 |
|
---|
3213 | inline BOOL O32_DestroyWindow(HWND a)
|
---|
3214 | {
|
---|
3215 | BOOL yyrc;
|
---|
3216 | USHORT sel = GetFS();
|
---|
3217 |
|
---|
3218 | yyrc = _O32_DestroyWindow(a);
|
---|
3219 | SetFS(sel);
|
---|
3220 |
|
---|
3221 | return yyrc;
|
---|
3222 | }
|
---|
3223 |
|
---|
3224 | inline DWORD O32_DeviceCapabilities(LPCSTR a, LPCSTR b, WORD c, LPTSTR d, CONST DEVMODEA *e)
|
---|
3225 | {
|
---|
3226 | DWORD yyrc;
|
---|
3227 | USHORT sel = GetFS();
|
---|
3228 |
|
---|
3229 | yyrc = _O32_DeviceCapabilities(a, b, c, d, e);
|
---|
3230 | SetFS(sel);
|
---|
3231 |
|
---|
3232 | return yyrc;
|
---|
3233 | }
|
---|
3234 |
|
---|
3235 | inline int O32_DialogBox(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d)
|
---|
3236 | {
|
---|
3237 | int yyrc;
|
---|
3238 | USHORT sel = GetFS();
|
---|
3239 |
|
---|
3240 | yyrc = _O32_DialogBox(a, b, c, d);
|
---|
3241 | SetFS(sel);
|
---|
3242 |
|
---|
3243 | return yyrc;
|
---|
3244 | }
|
---|
3245 |
|
---|
3246 | inline int O32_DialogBoxParam(HINSTANCE a, LPCSTR b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
3247 | {
|
---|
3248 | int yyrc;
|
---|
3249 | USHORT sel = GetFS();
|
---|
3250 |
|
---|
3251 | yyrc = _O32_DialogBoxParam(a, b, c, d, e);
|
---|
3252 | SetFS(sel);
|
---|
3253 |
|
---|
3254 | return yyrc;
|
---|
3255 | }
|
---|
3256 |
|
---|
3257 | inline BOOL O32_DialogBoxIndirect(HINSTANCE a, LPDLGTEMPLATEA b, HWND c, DLGPROC_O32 d)
|
---|
3258 | {
|
---|
3259 | BOOL yyrc;
|
---|
3260 | USHORT sel = GetFS();
|
---|
3261 |
|
---|
3262 | yyrc = _O32_DialogBoxIndirect(a, b, c, d);
|
---|
3263 | SetFS(sel);
|
---|
3264 |
|
---|
3265 | return yyrc;
|
---|
3266 | }
|
---|
3267 |
|
---|
3268 | inline BOOL O32_DialogBoxIndirectParam(HINSTANCE a, LPDLGTEMPLATEA b, HWND c, DLGPROC_O32 d, LPARAM e)
|
---|
3269 | {
|
---|
3270 | BOOL yyrc;
|
---|
3271 | USHORT sel = GetFS();
|
---|
3272 |
|
---|
3273 | yyrc = _O32_DialogBoxIndirectParam(a, b, c, d, e);
|
---|
3274 | SetFS(sel);
|
---|
3275 |
|
---|
3276 | return yyrc;
|
---|
3277 | }
|
---|
3278 |
|
---|
3279 | inline LONG O32_DispatchMessage(CONST MSG *a)
|
---|
3280 | {
|
---|
3281 | LONG yyrc;
|
---|
3282 | USHORT sel = GetFS();
|
---|
3283 |
|
---|
3284 | yyrc = _O32_DispatchMessage(a);
|
---|
3285 | SetFS(sel);
|
---|
3286 |
|
---|
3287 | return yyrc;
|
---|
3288 | }
|
---|
3289 |
|
---|
3290 | inline int O32_DlgDirList(HWND a, LPSTR b, int c, int d, UINT e)
|
---|
3291 | {
|
---|
3292 | int yyrc;
|
---|
3293 | USHORT sel = GetFS();
|
---|
3294 |
|
---|
3295 | yyrc = _O32_DlgDirList(a, b, c, d, e);
|
---|
3296 | SetFS(sel);
|
---|
3297 |
|
---|
3298 | return yyrc;
|
---|
3299 | }
|
---|
3300 |
|
---|
3301 | inline int O32_DlgDirListComboBox(HWND a, LPSTR b, int c, int d, UINT e)
|
---|
3302 | {
|
---|
3303 | int yyrc;
|
---|
3304 | USHORT sel = GetFS();
|
---|
3305 |
|
---|
3306 | yyrc = _O32_DlgDirListComboBox(a, b, c, d, e);
|
---|
3307 | SetFS(sel);
|
---|
3308 |
|
---|
3309 | return yyrc;
|
---|
3310 | }
|
---|
3311 |
|
---|
3312 | inline BOOL O32_DlgDirSelectEx(HWND a, LPSTR b, int c, int d)
|
---|
3313 | {
|
---|
3314 | BOOL yyrc;
|
---|
3315 | USHORT sel = GetFS();
|
---|
3316 |
|
---|
3317 | yyrc = _O32_DlgDirSelectEx(a, b, c, d);
|
---|
3318 | SetFS(sel);
|
---|
3319 |
|
---|
3320 | return yyrc;
|
---|
3321 | }
|
---|
3322 |
|
---|
3323 | inline BOOL O32_DlgDirSelectComboBoxEx(HWND a, LPSTR b, int c, int d)
|
---|
3324 | {
|
---|
3325 | BOOL yyrc;
|
---|
3326 | USHORT sel = GetFS();
|
---|
3327 |
|
---|
3328 | yyrc = _O32_DlgDirSelectComboBoxEx(a, b, c, d);
|
---|
3329 | SetFS(sel);
|
---|
3330 |
|
---|
3331 | return yyrc;
|
---|
3332 | }
|
---|
3333 |
|
---|
3334 | inline BOOL O32_DllEntryPoint(HINSTANCE a, DWORD b, LPVOID c)
|
---|
3335 | {
|
---|
3336 | BOOL yyrc;
|
---|
3337 | USHORT sel = GetFS();
|
---|
3338 |
|
---|
3339 | yyrc = _O32_DllEntryPoint(a, b, c);
|
---|
3340 | SetFS(sel);
|
---|
3341 |
|
---|
3342 | return yyrc;
|
---|
3343 | }
|
---|
3344 |
|
---|
3345 | inline BOOL O32_DosDateTimeToFileTime(WORD a, WORD b, LPFILETIME c)
|
---|
3346 | {
|
---|
3347 | BOOL yyrc;
|
---|
3348 | USHORT sel = GetFS();
|
---|
3349 |
|
---|
3350 | yyrc = _O32_DosDateTimeToFileTime(a, b, c);
|
---|
3351 | SetFS(sel);
|
---|
3352 |
|
---|
3353 | return yyrc;
|
---|
3354 | }
|
---|
3355 |
|
---|
3356 | inline VOID O32_DragAcceptFiles(HWND a, BOOL b)
|
---|
3357 | {
|
---|
3358 | USHORT sel = GetFS();
|
---|
3359 |
|
---|
3360 | _O32_DragAcceptFiles(a, b);
|
---|
3361 | SetFS(sel);
|
---|
3362 | }
|
---|
3363 |
|
---|
3364 | inline VOID O32_DragFinish(HDROP a)
|
---|
3365 | {
|
---|
3366 | USHORT sel = GetFS();
|
---|
3367 |
|
---|
3368 | _O32_DragFinish(a);
|
---|
3369 | SetFS(sel);
|
---|
3370 | }
|
---|
3371 |
|
---|
3372 | inline UINT O32_DragQueryFile(HDROP a, int b, LPSTR c, int d)
|
---|
3373 | {
|
---|
3374 | UINT yyrc;
|
---|
3375 | USHORT sel = GetFS();
|
---|
3376 |
|
---|
3377 | yyrc = _O32_DragQueryFile(a, b, c, d);
|
---|
3378 | SetFS(sel);
|
---|
3379 |
|
---|
3380 | return yyrc;
|
---|
3381 | }
|
---|
3382 |
|
---|
3383 | inline BOOL O32_DragQueryPoint(HDROP a, PPOINT b)
|
---|
3384 | {
|
---|
3385 | BOOL yyrc;
|
---|
3386 | USHORT sel = GetFS();
|
---|
3387 |
|
---|
3388 | yyrc = _O32_DragQueryPoint(a, b);
|
---|
3389 | SetFS(sel);
|
---|
3390 |
|
---|
3391 | return yyrc;
|
---|
3392 | }
|
---|
3393 |
|
---|
3394 | inline BOOL O32_DrawFocusRect(HDC a, CONST RECT *b)
|
---|
3395 | {
|
---|
3396 | BOOL yyrc;
|
---|
3397 | USHORT sel = GetFS();
|
---|
3398 |
|
---|
3399 | yyrc = _O32_DrawFocusRect(a, b);
|
---|
3400 | SetFS(sel);
|
---|
3401 |
|
---|
3402 | return yyrc;
|
---|
3403 | }
|
---|
3404 |
|
---|
3405 | inline BOOL O32_DrawIcon(HDC a, int b, int c, HICON d)
|
---|
3406 | {
|
---|
3407 | BOOL yyrc;
|
---|
3408 | USHORT sel = GetFS();
|
---|
3409 |
|
---|
3410 | yyrc = _O32_DrawIcon(a, b, c, d);
|
---|
3411 | SetFS(sel);
|
---|
3412 |
|
---|
3413 | return yyrc;
|
---|
3414 | }
|
---|
3415 |
|
---|
3416 | inline BOOL O32_DrawMenuBar(HWND a)
|
---|
3417 | {
|
---|
3418 | BOOL yyrc;
|
---|
3419 | USHORT sel = GetFS();
|
---|
3420 |
|
---|
3421 | yyrc = _O32_DrawMenuBar(a);
|
---|
3422 | SetFS(sel);
|
---|
3423 |
|
---|
3424 | return yyrc;
|
---|
3425 | }
|
---|
3426 |
|
---|
3427 | inline int O32_DrawText(HDC a, LPCSTR b, int c, PRECT d, UINT e)
|
---|
3428 | {
|
---|
3429 | int yyrc;
|
---|
3430 | USHORT sel = GetFS();
|
---|
3431 |
|
---|
3432 | yyrc = _O32_DrawText(a, b, c, d, e);
|
---|
3433 | SetFS(sel);
|
---|
3434 |
|
---|
3435 | return yyrc;
|
---|
3436 | }
|
---|
3437 |
|
---|
3438 | inline BOOL O32_DuplicateHandle(HANDLE a, HANDLE b, HANDLE c, LPHANDLE d, DWORD e, BOOL f, DWORD g)
|
---|
3439 | {
|
---|
3440 | BOOL yyrc;
|
---|
3441 | USHORT sel = GetFS();
|
---|
3442 |
|
---|
3443 | yyrc = _O32_DuplicateHandle(a, b, c, d, e, f, g);
|
---|
3444 | SetFS(sel);
|
---|
3445 |
|
---|
3446 | return yyrc;
|
---|
3447 | }
|
---|
3448 |
|
---|
3449 | inline BOOL O32_Ellipse(HDC a, int b, int c, int d, int e)
|
---|
3450 | {
|
---|
3451 | BOOL yyrc;
|
---|
3452 | USHORT sel = GetFS();
|
---|
3453 |
|
---|
3454 | yyrc = _O32_Ellipse(a, b, c, d, e);
|
---|
3455 | SetFS(sel);
|
---|
3456 |
|
---|
3457 | return yyrc;
|
---|
3458 | }
|
---|
3459 |
|
---|
3460 | inline BOOL O32_EmptyClipboard()
|
---|
3461 | {
|
---|
3462 | BOOL yyrc;
|
---|
3463 | USHORT sel = GetFS();
|
---|
3464 |
|
---|
3465 | yyrc = _O32_EmptyClipboard();
|
---|
3466 | SetFS(sel);
|
---|
3467 |
|
---|
3468 | return yyrc;
|
---|
3469 | }
|
---|
3470 |
|
---|
3471 | inline BOOL O32_EnableMenuItem(HMENU a, UINT b, UINT c)
|
---|
3472 | {
|
---|
3473 | BOOL yyrc;
|
---|
3474 | USHORT sel = GetFS();
|
---|
3475 |
|
---|
3476 | yyrc = _O32_EnableMenuItem(a, b, c);
|
---|
3477 | SetFS(sel);
|
---|
3478 |
|
---|
3479 | return yyrc;
|
---|
3480 | }
|
---|
3481 |
|
---|
3482 | inline BOOL O32_EnableScrollBar(HWND a, UINT b, UINT c)
|
---|
3483 | {
|
---|
3484 | BOOL yyrc;
|
---|
3485 | USHORT sel = GetFS();
|
---|
3486 |
|
---|
3487 | yyrc = _O32_EnableScrollBar(a, b, c);
|
---|
3488 | SetFS(sel);
|
---|
3489 |
|
---|
3490 | return yyrc;
|
---|
3491 | }
|
---|
3492 |
|
---|
3493 | inline BOOL O32_EnableWindow(HWND a, BOOL b)
|
---|
3494 | {
|
---|
3495 | BOOL yyrc;
|
---|
3496 | USHORT sel = GetFS();
|
---|
3497 |
|
---|
3498 | yyrc = _O32_EnableWindow(a, b);
|
---|
3499 | SetFS(sel);
|
---|
3500 |
|
---|
3501 | return yyrc;
|
---|
3502 | }
|
---|
3503 |
|
---|
3504 | inline BOOL O32_EndDeferWindowPos(HDWP a)
|
---|
3505 | {
|
---|
3506 | BOOL yyrc;
|
---|
3507 | USHORT sel = GetFS();
|
---|
3508 |
|
---|
3509 | yyrc = _O32_EndDeferWindowPos(a);
|
---|
3510 | SetFS(sel);
|
---|
3511 |
|
---|
3512 | return yyrc;
|
---|
3513 | }
|
---|
3514 |
|
---|
3515 | inline BOOL O32_EndDialog(HWND a, int b)
|
---|
3516 | {
|
---|
3517 | BOOL yyrc;
|
---|
3518 | USHORT sel = GetFS();
|
---|
3519 |
|
---|
3520 | yyrc = _O32_EndDialog(a, b);
|
---|
3521 | SetFS(sel);
|
---|
3522 |
|
---|
3523 | return yyrc;
|
---|
3524 | }
|
---|
3525 |
|
---|
3526 | inline int O32_EndDoc(HDC a)
|
---|
3527 | {
|
---|
3528 | int yyrc;
|
---|
3529 | USHORT sel = GetFS();
|
---|
3530 |
|
---|
3531 | yyrc = _O32_EndDoc(a);
|
---|
3532 | SetFS(sel);
|
---|
3533 |
|
---|
3534 | return yyrc;
|
---|
3535 | }
|
---|
3536 |
|
---|
3537 | inline int O32_EndPage(HDC a)
|
---|
3538 | {
|
---|
3539 | int yyrc;
|
---|
3540 | USHORT sel = GetFS();
|
---|
3541 |
|
---|
3542 | yyrc = _O32_EndPage(a);
|
---|
3543 | SetFS(sel);
|
---|
3544 |
|
---|
3545 | return yyrc;
|
---|
3546 | }
|
---|
3547 |
|
---|
3548 | inline BOOL O32_EndPath(HDC a)
|
---|
3549 | {
|
---|
3550 | BOOL yyrc;
|
---|
3551 | USHORT sel = GetFS();
|
---|
3552 |
|
---|
3553 | yyrc = _O32_EndPath(a);
|
---|
3554 | SetFS(sel);
|
---|
3555 |
|
---|
3556 | return yyrc;
|
---|
3557 | }
|
---|
3558 |
|
---|
3559 | inline BOOL O32_EndPaint(HWND a, CONST PAINTSTRUCT *b)
|
---|
3560 | {
|
---|
3561 | BOOL yyrc;
|
---|
3562 | USHORT sel = GetFS();
|
---|
3563 |
|
---|
3564 | yyrc = _O32_EndPaint(a, b);
|
---|
3565 | SetFS(sel);
|
---|
3566 |
|
---|
3567 | return yyrc;
|
---|
3568 | }
|
---|
3569 |
|
---|
3570 | inline VOID O32_EnterCriticalSection(CRITICAL_SECTION *a)
|
---|
3571 | {
|
---|
3572 | USHORT sel = GetFS();
|
---|
3573 |
|
---|
3574 | _O32_EnterCriticalSection(a);
|
---|
3575 | SetFS(sel);
|
---|
3576 | }
|
---|
3577 |
|
---|
3578 | inline BOOL O32_EnumChildWindows(HWND a, WNDENUMPROC_O32 b, LPARAM c)
|
---|
3579 | {
|
---|
3580 | BOOL yyrc;
|
---|
3581 | USHORT sel = GetFS();
|
---|
3582 |
|
---|
3583 | yyrc = _O32_EnumChildWindows(a, b, c);
|
---|
3584 | SetFS(sel);
|
---|
3585 |
|
---|
3586 | return yyrc;
|
---|
3587 | }
|
---|
3588 |
|
---|
3589 | inline UINT O32_EnumClipboardFormats(UINT a)
|
---|
3590 | {
|
---|
3591 | UINT yyrc;
|
---|
3592 | USHORT sel = GetFS();
|
---|
3593 |
|
---|
3594 | yyrc = _O32_EnumClipboardFormats(a);
|
---|
3595 | SetFS(sel);
|
---|
3596 |
|
---|
3597 | return yyrc;
|
---|
3598 | }
|
---|
3599 |
|
---|
3600 | inline BOOL O32_EnumEnhMetaFile(HDC a, HENHMETAFILE b, ENHMFENUMPROC_O32 c, PVOID d, CONST RECT *e)
|
---|
3601 | {
|
---|
3602 | BOOL yyrc;
|
---|
3603 | USHORT sel = GetFS();
|
---|
3604 |
|
---|
3605 | yyrc = _O32_EnumEnhMetaFile(a, b, c, d, e);
|
---|
3606 | SetFS(sel);
|
---|
3607 |
|
---|
3608 | return yyrc;
|
---|
3609 | }
|
---|
3610 |
|
---|
3611 | inline int O32_EnumFonts(HDC a, LPCSTR b, OLDFONTENUMPROC_O32 c, LPARAM d)
|
---|
3612 | {
|
---|
3613 | int yyrc;
|
---|
3614 | USHORT sel = GetFS();
|
---|
3615 |
|
---|
3616 | yyrc = _O32_EnumFonts(a, b, c, d);
|
---|
3617 | SetFS(sel);
|
---|
3618 |
|
---|
3619 | return yyrc;
|
---|
3620 | }
|
---|
3621 |
|
---|
3622 | inline int O32_EnumFontFamilies(HDC a, LPCSTR b, FONTENUMPROC_O32 c, LPARAM d)
|
---|
3623 | {
|
---|
3624 | int yyrc;
|
---|
3625 | USHORT sel = GetFS();
|
---|
3626 |
|
---|
3627 | yyrc = _O32_EnumFontFamilies(a, b, c, d);
|
---|
3628 | SetFS(sel);
|
---|
3629 |
|
---|
3630 | return yyrc;
|
---|
3631 | }
|
---|
3632 |
|
---|
3633 | inline BOOL O32_EnumMetaFile(HDC a, HMETAFILE b, MFENUMPROC_O32 c, LPARAM d)
|
---|
3634 | {
|
---|
3635 | BOOL yyrc;
|
---|
3636 | USHORT sel = GetFS();
|
---|
3637 |
|
---|
3638 | yyrc = _O32_EnumMetaFile(a, b, c, d);
|
---|
3639 | SetFS(sel);
|
---|
3640 |
|
---|
3641 | return yyrc;
|
---|
3642 | }
|
---|
3643 |
|
---|
3644 | inline int O32_EnumObjects(HDC a, int b, GOBJENUMPROC_O32 c, LPARAM d)
|
---|
3645 | {
|
---|
3646 | int yyrc;
|
---|
3647 | USHORT sel = GetFS();
|
---|
3648 |
|
---|
3649 | yyrc = _O32_EnumObjects(a, b, c, d);
|
---|
3650 | SetFS(sel);
|
---|
3651 |
|
---|
3652 | return yyrc;
|
---|
3653 | }
|
---|
3654 |
|
---|
3655 | inline BOOL O32_EnumPrinters(DWORD a, LPTSTR b, DWORD c, LPBYTE d, DWORD e, LPDWORD f, LPDWORD g)
|
---|
3656 | {
|
---|
3657 | BOOL yyrc;
|
---|
3658 | USHORT sel = GetFS();
|
---|
3659 |
|
---|
3660 | yyrc = _O32_EnumPrinters(a, b, c, d, e, f, g);
|
---|
3661 | SetFS(sel);
|
---|
3662 |
|
---|
3663 | return yyrc;
|
---|
3664 | }
|
---|
3665 |
|
---|
3666 | inline int O32_EnumProps(HWND a, PROPENUMPROC_O32 b)
|
---|
3667 | {
|
---|
3668 | int yyrc;
|
---|
3669 | USHORT sel = GetFS();
|
---|
3670 |
|
---|
3671 | yyrc = _O32_EnumProps(a, b);
|
---|
3672 | SetFS(sel);
|
---|
3673 |
|
---|
3674 | return yyrc;
|
---|
3675 | }
|
---|
3676 |
|
---|
3677 | inline int O32_EnumPropsEx(HWND a, PROPENUMPROCEX_O32 b, LPARAM c)
|
---|
3678 | {
|
---|
3679 | int yyrc;
|
---|
3680 | USHORT sel = GetFS();
|
---|
3681 |
|
---|
3682 | yyrc = _O32_EnumPropsEx(a, b, c);
|
---|
3683 | SetFS(sel);
|
---|
3684 |
|
---|
3685 | return yyrc;
|
---|
3686 | }
|
---|
3687 |
|
---|
3688 | inline BOOL O32_EnumThreadWindows(DWORD a, WNDENUMPROC_O32 b, LPARAM c)
|
---|
3689 | {
|
---|
3690 | BOOL yyrc;
|
---|
3691 | USHORT sel = GetFS();
|
---|
3692 |
|
---|
3693 | yyrc = _O32_EnumThreadWindows(a, b, c);
|
---|
3694 | SetFS(sel);
|
---|
3695 |
|
---|
3696 | return yyrc;
|
---|
3697 | }
|
---|
3698 |
|
---|
3699 | inline BOOL O32_EnumWindows(WNDENUMPROC_O32 a, LPARAM b)
|
---|
3700 | {
|
---|
3701 | BOOL yyrc;
|
---|
3702 | USHORT sel = GetFS();
|
---|
3703 |
|
---|
3704 | yyrc = _O32_EnumWindows(a, b);
|
---|
3705 | SetFS(sel);
|
---|
3706 |
|
---|
3707 | return yyrc;
|
---|
3708 | }
|
---|
3709 |
|
---|
3710 | inline BOOL O32_EqualRect(CONST RECT *a, CONST RECT *b)
|
---|
3711 | {
|
---|
3712 | BOOL yyrc;
|
---|
3713 | USHORT sel = GetFS();
|
---|
3714 |
|
---|
3715 | yyrc = _O32_EqualRect(a, b);
|
---|
3716 | SetFS(sel);
|
---|
3717 |
|
---|
3718 | return yyrc;
|
---|
3719 | }
|
---|
3720 |
|
---|
3721 | inline BOOL O32_EqualRgn(HRGN a, HRGN b)
|
---|
3722 | {
|
---|
3723 | BOOL yyrc;
|
---|
3724 | USHORT sel = GetFS();
|
---|
3725 |
|
---|
3726 | yyrc = _O32_EqualRgn(a, b);
|
---|
3727 | SetFS(sel);
|
---|
3728 |
|
---|
3729 | return yyrc;
|
---|
3730 | }
|
---|
3731 |
|
---|
3732 | inline int O32_Escape(HDC a, int b, int c, LPCSTR d, PVOID e)
|
---|
3733 | {
|
---|
3734 | int yyrc;
|
---|
3735 | USHORT sel = GetFS();
|
---|
3736 |
|
---|
3737 | yyrc = _O32_Escape(a, b, c, d, e);
|
---|
3738 | SetFS(sel);
|
---|
3739 |
|
---|
3740 | return yyrc;
|
---|
3741 | }
|
---|
3742 |
|
---|
3743 | inline int O32_ExcludeClipRect(HDC a, int b, int c, int d, int e)
|
---|
3744 | {
|
---|
3745 | int yyrc;
|
---|
3746 | USHORT sel = GetFS();
|
---|
3747 |
|
---|
3748 | yyrc = _O32_ExcludeClipRect(a, b, c, d, e);
|
---|
3749 | SetFS(sel);
|
---|
3750 |
|
---|
3751 | return yyrc;
|
---|
3752 | }
|
---|
3753 |
|
---|
3754 | inline BOOL O32_ExcludeUpdateRgn(HDC a, HWND b)
|
---|
3755 | {
|
---|
3756 | BOOL yyrc;
|
---|
3757 | USHORT sel = GetFS();
|
---|
3758 |
|
---|
3759 | yyrc = _O32_ExcludeUpdateRgn(a, b);
|
---|
3760 | SetFS(sel);
|
---|
3761 |
|
---|
3762 | return yyrc;
|
---|
3763 | }
|
---|
3764 |
|
---|
3765 | inline VOID O32_ExitProcess(UINT a)
|
---|
3766 | {
|
---|
3767 | USHORT sel = GetFS();
|
---|
3768 |
|
---|
3769 | _O32_ExitProcess(a);
|
---|
3770 | SetFS(sel);
|
---|
3771 | }
|
---|
3772 |
|
---|
3773 | inline VOID O32_ExitThread(DWORD a)
|
---|
3774 | {
|
---|
3775 | USHORT sel = GetFS();
|
---|
3776 |
|
---|
3777 | _O32_ExitThread(a);
|
---|
3778 | SetFS(sel);
|
---|
3779 | }
|
---|
3780 |
|
---|
3781 | inline BOOL O32_ExitWindows(DWORD a, UINT b)
|
---|
3782 | {
|
---|
3783 | BOOL yyrc;
|
---|
3784 | USHORT sel = GetFS();
|
---|
3785 |
|
---|
3786 | yyrc = _O32_ExitWindows(a, b);
|
---|
3787 | SetFS(sel);
|
---|
3788 |
|
---|
3789 | return yyrc;
|
---|
3790 | }
|
---|
3791 |
|
---|
3792 | inline BOOL O32_ExitWindowsEx(UINT a, DWORD b)
|
---|
3793 | {
|
---|
3794 | BOOL yyrc;
|
---|
3795 | USHORT sel = GetFS();
|
---|
3796 |
|
---|
3797 | yyrc = _O32_ExitWindowsEx(a, b);
|
---|
3798 | SetFS(sel);
|
---|
3799 |
|
---|
3800 | return yyrc;
|
---|
3801 | }
|
---|
3802 |
|
---|
3803 | inline HPEN O32_ExtCreatePen(DWORD a, DWORD b, CONST LOGBRUSH *c, DWORD d, CONST DWORD *e)
|
---|
3804 | {
|
---|
3805 | HPEN yyrc;
|
---|
3806 | USHORT sel = GetFS();
|
---|
3807 |
|
---|
3808 | yyrc = _O32_ExtCreatePen(a, b, c, d, e);
|
---|
3809 | SetFS(sel);
|
---|
3810 |
|
---|
3811 | return yyrc;
|
---|
3812 | }
|
---|
3813 |
|
---|
3814 | inline HRGN O32_ExtCreateRegion(CONST XFORM *a, DWORD b, CONST RGNDATA *c)
|
---|
3815 | {
|
---|
3816 | HRGN yyrc;
|
---|
3817 | USHORT sel = GetFS();
|
---|
3818 |
|
---|
3819 | yyrc = _O32_ExtCreateRegion(a, b, c);
|
---|
3820 | SetFS(sel);
|
---|
3821 |
|
---|
3822 | return yyrc;
|
---|
3823 | }
|
---|
3824 |
|
---|
3825 | inline BOOL O32_ExtFloodFill(HDC a, int b, int c, COLORREF d, UINT e)
|
---|
3826 | {
|
---|
3827 | BOOL yyrc;
|
---|
3828 | USHORT sel = GetFS();
|
---|
3829 |
|
---|
3830 | yyrc = _O32_ExtFloodFill(a, b, c, d, e);
|
---|
3831 | SetFS(sel);
|
---|
3832 |
|
---|
3833 | return yyrc;
|
---|
3834 | }
|
---|
3835 |
|
---|
3836 | inline int O32_ExtSelectClipRgn(HDC a, HRGN b, int c)
|
---|
3837 | {
|
---|
3838 | int yyrc;
|
---|
3839 | USHORT sel = GetFS();
|
---|
3840 |
|
---|
3841 | yyrc = _O32_ExtSelectClipRgn(a, b, c);
|
---|
3842 | SetFS(sel);
|
---|
3843 |
|
---|
3844 | return yyrc;
|
---|
3845 | }
|
---|
3846 |
|
---|
3847 | inline BOOL O32_ExtTextOut(HDC a, int b, int c, UINT d, CONST RECT *e, LPCSTR f, UINT g, CONST int *h)
|
---|
3848 | {
|
---|
3849 | BOOL yyrc;
|
---|
3850 | USHORT sel = GetFS();
|
---|
3851 |
|
---|
3852 | yyrc = _O32_ExtTextOut(a, b, c, d, e, f, g, h);
|
---|
3853 | SetFS(sel);
|
---|
3854 |
|
---|
3855 | return yyrc;
|
---|
3856 | }
|
---|
3857 |
|
---|
3858 | inline VOID O32_FatalAppExit(UINT a, LPCSTR b)
|
---|
3859 | {
|
---|
3860 | USHORT sel = GetFS();
|
---|
3861 |
|
---|
3862 | _O32_FatalAppExit(a, b);
|
---|
3863 | SetFS(sel);
|
---|
3864 | }
|
---|
3865 |
|
---|
3866 | inline VOID O32_FatalExit(UINT a)
|
---|
3867 | {
|
---|
3868 | USHORT sel = GetFS();
|
---|
3869 |
|
---|
3870 | _O32_FatalExit(a);
|
---|
3871 | SetFS(sel);
|
---|
3872 | }
|
---|
3873 |
|
---|
3874 | inline BOOL O32_FileTimeToDosDateTime(CONST FILETIME *a, LPWORD b, LPWORD c)
|
---|
3875 | {
|
---|
3876 | BOOL yyrc;
|
---|
3877 | USHORT sel = GetFS();
|
---|
3878 |
|
---|
3879 | yyrc = _O32_FileTimeToDosDateTime(a, b, c);
|
---|
3880 | SetFS(sel);
|
---|
3881 |
|
---|
3882 | return yyrc;
|
---|
3883 | }
|
---|
3884 |
|
---|
3885 | inline BOOL O32_FileTimeToLocalFileTime(CONST FILETIME *a, FILETIME *b)
|
---|
3886 | {
|
---|
3887 | BOOL yyrc;
|
---|
3888 | USHORT sel = GetFS();
|
---|
3889 |
|
---|
3890 | yyrc = _O32_FileTimeToLocalFileTime(a, b);
|
---|
3891 | SetFS(sel);
|
---|
3892 |
|
---|
3893 | return yyrc;
|
---|
3894 | }
|
---|
3895 |
|
---|
3896 | inline BOOL O32_FileTimeToSystemTime(CONST FILETIME *a, LPSYSTEMTIME b)
|
---|
3897 | {
|
---|
3898 | BOOL yyrc;
|
---|
3899 | USHORT sel = GetFS();
|
---|
3900 |
|
---|
3901 | yyrc = _O32_FileTimeToSystemTime(a, b);
|
---|
3902 | SetFS(sel);
|
---|
3903 |
|
---|
3904 | return yyrc;
|
---|
3905 | }
|
---|
3906 |
|
---|
3907 | inline BOOL O32_FillPath(HDC a)
|
---|
3908 | {
|
---|
3909 | BOOL yyrc;
|
---|
3910 | USHORT sel = GetFS();
|
---|
3911 |
|
---|
3912 | yyrc = _O32_FillPath(a);
|
---|
3913 | SetFS(sel);
|
---|
3914 |
|
---|
3915 | return yyrc;
|
---|
3916 | }
|
---|
3917 |
|
---|
3918 | inline int O32_FillRect(HDC a, CONST RECT *b, HBRUSH c)
|
---|
3919 | {
|
---|
3920 | int yyrc;
|
---|
3921 | USHORT sel = GetFS();
|
---|
3922 |
|
---|
3923 | yyrc = _O32_FillRect(a, b, c);
|
---|
3924 | SetFS(sel);
|
---|
3925 |
|
---|
3926 | return yyrc;
|
---|
3927 | }
|
---|
3928 |
|
---|
3929 | inline BOOL O32_FillRgn(HDC a, HRGN b, HBRUSH c)
|
---|
3930 | {
|
---|
3931 | BOOL yyrc;
|
---|
3932 | USHORT sel = GetFS();
|
---|
3933 |
|
---|
3934 | yyrc = _O32_FillRgn(a, b, c);
|
---|
3935 | SetFS(sel);
|
---|
3936 |
|
---|
3937 | return yyrc;
|
---|
3938 | }
|
---|
3939 |
|
---|
3940 | inline ATOM O32_FindAtom(LPCSTR a)
|
---|
3941 | {
|
---|
3942 | ATOM yyrc;
|
---|
3943 | USHORT sel = GetFS();
|
---|
3944 |
|
---|
3945 | yyrc = _O32_FindAtom(a);
|
---|
3946 | SetFS(sel);
|
---|
3947 |
|
---|
3948 | return yyrc;
|
---|
3949 | }
|
---|
3950 |
|
---|
3951 | inline BOOL O32_FindClose(HANDLE a)
|
---|
3952 | {
|
---|
3953 | BOOL yyrc;
|
---|
3954 | USHORT sel = GetFS();
|
---|
3955 |
|
---|
3956 | yyrc = _O32_FindClose(a);
|
---|
3957 | SetFS(sel);
|
---|
3958 |
|
---|
3959 | return yyrc;
|
---|
3960 | }
|
---|
3961 |
|
---|
3962 | inline HANDLE O32_FindFirstFile(LPCSTR a, LPWIN32_FIND_DATAA b)
|
---|
3963 | {
|
---|
3964 | HANDLE yyrc;
|
---|
3965 | USHORT sel = GetFS();
|
---|
3966 |
|
---|
3967 | yyrc = _O32_FindFirstFile(a, b);
|
---|
3968 | SetFS(sel);
|
---|
3969 |
|
---|
3970 | return yyrc;
|
---|
3971 | }
|
---|
3972 |
|
---|
3973 | inline BOOL O32_FindNextFile(HANDLE a, LPWIN32_FIND_DATAA b)
|
---|
3974 | {
|
---|
3975 | BOOL yyrc;
|
---|
3976 | USHORT sel = GetFS();
|
---|
3977 |
|
---|
3978 | yyrc = _O32_FindNextFile(a, b);
|
---|
3979 | SetFS(sel);
|
---|
3980 |
|
---|
3981 | return yyrc;
|
---|
3982 | }
|
---|
3983 |
|
---|
3984 | inline HRSRC O32_FindResource(HINSTANCE a, LPCSTR b, LPCSTR c)
|
---|
3985 | {
|
---|
3986 | HRSRC yyrc;
|
---|
3987 | USHORT sel = GetFS();
|
---|
3988 |
|
---|
3989 | yyrc = _O32_FindResource(a, b, c);
|
---|
3990 | SetFS(sel);
|
---|
3991 |
|
---|
3992 | return yyrc;
|
---|
3993 | }
|
---|
3994 |
|
---|
3995 | inline HWND O32_FindText(LPFINDREPLACEA a)
|
---|
3996 | {
|
---|
3997 | HWND yyrc;
|
---|
3998 | USHORT sel = GetFS();
|
---|
3999 |
|
---|
4000 | yyrc = _O32_FindText(a);
|
---|
4001 | SetFS(sel);
|
---|
4002 |
|
---|
4003 | return yyrc;
|
---|
4004 | }
|
---|
4005 |
|
---|
4006 | inline HWND O32_FindWindow(LPCSTR a, LPCSTR b)
|
---|
4007 | {
|
---|
4008 | HWND yyrc;
|
---|
4009 | USHORT sel = GetFS();
|
---|
4010 |
|
---|
4011 | yyrc = _O32_FindWindow(a, b);
|
---|
4012 | SetFS(sel);
|
---|
4013 |
|
---|
4014 | return yyrc;
|
---|
4015 | }
|
---|
4016 |
|
---|
4017 | inline BOOL O32_FlashWindow(HWND a, BOOL b)
|
---|
4018 | {
|
---|
4019 | BOOL yyrc;
|
---|
4020 | USHORT sel = GetFS();
|
---|
4021 |
|
---|
4022 | yyrc = _O32_FlashWindow(a, b);
|
---|
4023 | SetFS(sel);
|
---|
4024 |
|
---|
4025 | return yyrc;
|
---|
4026 | }
|
---|
4027 |
|
---|
4028 | inline BOOL O32_FlattenPath(HDC a)
|
---|
4029 | {
|
---|
4030 | BOOL yyrc;
|
---|
4031 | USHORT sel = GetFS();
|
---|
4032 |
|
---|
4033 | yyrc = _O32_FlattenPath(a);
|
---|
4034 | SetFS(sel);
|
---|
4035 |
|
---|
4036 | return yyrc;
|
---|
4037 | }
|
---|
4038 |
|
---|
4039 | inline BOOL O32_FlushFileBuffers(HANDLE a)
|
---|
4040 | {
|
---|
4041 | BOOL yyrc;
|
---|
4042 | USHORT sel = GetFS();
|
---|
4043 |
|
---|
4044 | yyrc = _O32_FlushFileBuffers(a);
|
---|
4045 | SetFS(sel);
|
---|
4046 |
|
---|
4047 | return yyrc;
|
---|
4048 | }
|
---|
4049 |
|
---|
4050 | inline int O32_FrameRect(HDC a, CONST RECT *b, HBRUSH c)
|
---|
4051 | {
|
---|
4052 | int yyrc;
|
---|
4053 | USHORT sel = GetFS();
|
---|
4054 |
|
---|
4055 | yyrc = _O32_FrameRect(a, b, c);
|
---|
4056 | SetFS(sel);
|
---|
4057 |
|
---|
4058 | return yyrc;
|
---|
4059 | }
|
---|
4060 |
|
---|
4061 | inline BOOL O32_FrameRgn(HDC a, HRGN b, HBRUSH c, int d, int e)
|
---|
4062 | {
|
---|
4063 | BOOL yyrc;
|
---|
4064 | USHORT sel = GetFS();
|
---|
4065 |
|
---|
4066 | yyrc = _O32_FrameRgn(a, b, c, d, e);
|
---|
4067 | SetFS(sel);
|
---|
4068 |
|
---|
4069 | return yyrc;
|
---|
4070 | }
|
---|
4071 |
|
---|
4072 | inline BOOL O32_FreeDDElParam(UINT a, LONG b)
|
---|
4073 | {
|
---|
4074 | BOOL yyrc;
|
---|
4075 | USHORT sel = GetFS();
|
---|
4076 |
|
---|
4077 | yyrc = _O32_FreeDDElParam(a, b);
|
---|
4078 | SetFS(sel);
|
---|
4079 |
|
---|
4080 | return yyrc;
|
---|
4081 | }
|
---|
4082 |
|
---|
4083 | inline BOOL O32_FreeLibrary(HINSTANCE a)
|
---|
4084 | {
|
---|
4085 | BOOL yyrc;
|
---|
4086 | USHORT sel = GetFS();
|
---|
4087 |
|
---|
4088 | yyrc = _O32_FreeLibrary(a);
|
---|
4089 | SetFS(sel);
|
---|
4090 |
|
---|
4091 | return yyrc;
|
---|
4092 | }
|
---|
4093 |
|
---|
4094 | inline UINT O32_GetACP()
|
---|
4095 | {
|
---|
4096 | UINT yyrc;
|
---|
4097 | USHORT sel = GetFS();
|
---|
4098 |
|
---|
4099 | yyrc = _O32_GetACP();
|
---|
4100 | SetFS(sel);
|
---|
4101 |
|
---|
4102 | return yyrc;
|
---|
4103 | }
|
---|
4104 |
|
---|
4105 | inline HWND O32_GetActiveWindow()
|
---|
4106 | {
|
---|
4107 | HWND yyrc;
|
---|
4108 | USHORT sel = GetFS();
|
---|
4109 |
|
---|
4110 | yyrc = _O32_GetActiveWindow();
|
---|
4111 | SetFS(sel);
|
---|
4112 |
|
---|
4113 | return yyrc;
|
---|
4114 | }
|
---|
4115 |
|
---|
4116 | inline int O32_GetArcDirection(HDC a)
|
---|
4117 | {
|
---|
4118 | int yyrc;
|
---|
4119 | USHORT sel = GetFS();
|
---|
4120 |
|
---|
4121 | yyrc = _O32_GetArcDirection(a);
|
---|
4122 | SetFS(sel);
|
---|
4123 |
|
---|
4124 | return yyrc;
|
---|
4125 | }
|
---|
4126 |
|
---|
4127 | inline BOOL O32_GetAspectRatioFilterEx(HDC a, PSIZE b)
|
---|
4128 | {
|
---|
4129 | BOOL yyrc;
|
---|
4130 | USHORT sel = GetFS();
|
---|
4131 |
|
---|
4132 | yyrc = _O32_GetAspectRatioFilterEx(a, b);
|
---|
4133 | SetFS(sel);
|
---|
4134 |
|
---|
4135 | return yyrc;
|
---|
4136 | }
|
---|
4137 |
|
---|
4138 | inline UINT O32_GetAtomName(ATOM a, LPSTR b, int c)
|
---|
4139 | {
|
---|
4140 | UINT yyrc;
|
---|
4141 | USHORT sel = GetFS();
|
---|
4142 |
|
---|
4143 | yyrc = _O32_GetAtomName(a, b, c);
|
---|
4144 | SetFS(sel);
|
---|
4145 |
|
---|
4146 | return yyrc;
|
---|
4147 | }
|
---|
4148 |
|
---|
4149 | inline LONG O32_GetBitmapBits(HBITMAP a, LONG b, PVOID c)
|
---|
4150 | {
|
---|
4151 | LONG yyrc;
|
---|
4152 | USHORT sel = GetFS();
|
---|
4153 |
|
---|
4154 | yyrc = _O32_GetBitmapBits(a, b, c);
|
---|
4155 | SetFS(sel);
|
---|
4156 |
|
---|
4157 | return yyrc;
|
---|
4158 | }
|
---|
4159 |
|
---|
4160 | inline BOOL O32_GetBitmapDimensionEx(HBITMAP a, PSIZE b)
|
---|
4161 | {
|
---|
4162 | BOOL yyrc;
|
---|
4163 | USHORT sel = GetFS();
|
---|
4164 |
|
---|
4165 | yyrc = _O32_GetBitmapDimensionEx(a, b);
|
---|
4166 | SetFS(sel);
|
---|
4167 |
|
---|
4168 | return yyrc;
|
---|
4169 | }
|
---|
4170 |
|
---|
4171 | inline COLORREF O32_GetBkColor(HDC a)
|
---|
4172 | {
|
---|
4173 | COLORREF yyrc;
|
---|
4174 | USHORT sel = GetFS();
|
---|
4175 |
|
---|
4176 | yyrc = _O32_GetBkColor(a);
|
---|
4177 | SetFS(sel);
|
---|
4178 |
|
---|
4179 | return yyrc;
|
---|
4180 | }
|
---|
4181 |
|
---|
4182 | inline int O32_GetBkMode(HDC a)
|
---|
4183 | {
|
---|
4184 | int yyrc;
|
---|
4185 | USHORT sel = GetFS();
|
---|
4186 |
|
---|
4187 | yyrc = _O32_GetBkMode(a);
|
---|
4188 | SetFS(sel);
|
---|
4189 |
|
---|
4190 | return yyrc;
|
---|
4191 | }
|
---|
4192 |
|
---|
4193 | inline UINT O32_GetBoundsRect(HDC a, PRECT b, UINT c)
|
---|
4194 | {
|
---|
4195 | UINT yyrc;
|
---|
4196 | USHORT sel = GetFS();
|
---|
4197 |
|
---|
4198 | yyrc = _O32_GetBoundsRect(a, b, c);
|
---|
4199 | SetFS(sel);
|
---|
4200 |
|
---|
4201 | return yyrc;
|
---|
4202 | }
|
---|
4203 |
|
---|
4204 | inline BOOL O32_GetBrushOrgEx(HDC a, PPOINT b)
|
---|
4205 | {
|
---|
4206 | BOOL yyrc;
|
---|
4207 | USHORT sel = GetFS();
|
---|
4208 |
|
---|
4209 | yyrc = _O32_GetBrushOrgEx(a, b);
|
---|
4210 | SetFS(sel);
|
---|
4211 |
|
---|
4212 | return yyrc;
|
---|
4213 | }
|
---|
4214 |
|
---|
4215 | inline HWND O32_GetCapture()
|
---|
4216 | {
|
---|
4217 | HWND yyrc;
|
---|
4218 | USHORT sel = GetFS();
|
---|
4219 |
|
---|
4220 | yyrc = _O32_GetCapture();
|
---|
4221 | SetFS(sel);
|
---|
4222 |
|
---|
4223 | return yyrc;
|
---|
4224 | }
|
---|
4225 |
|
---|
4226 | inline UINT O32_GetCaretBlinkTime()
|
---|
4227 | {
|
---|
4228 | UINT yyrc;
|
---|
4229 | USHORT sel = GetFS();
|
---|
4230 |
|
---|
4231 | yyrc = _O32_GetCaretBlinkTime();
|
---|
4232 | SetFS(sel);
|
---|
4233 |
|
---|
4234 | return yyrc;
|
---|
4235 | }
|
---|
4236 |
|
---|
4237 | inline BOOL O32_GetCaretPos(PPOINT a)
|
---|
4238 | {
|
---|
4239 | BOOL yyrc;
|
---|
4240 | USHORT sel = GetFS();
|
---|
4241 |
|
---|
4242 | yyrc = _O32_GetCaretPos(a);
|
---|
4243 | SetFS(sel);
|
---|
4244 |
|
---|
4245 | return yyrc;
|
---|
4246 | }
|
---|
4247 |
|
---|
4248 | inline BOOL O32_GetCharABCWidths(HDC a, UINT b, UINT c, LPABC d)
|
---|
4249 | {
|
---|
4250 | BOOL yyrc;
|
---|
4251 | USHORT sel = GetFS();
|
---|
4252 |
|
---|
4253 | yyrc = _O32_GetCharABCWidths(a, b, c, d);
|
---|
4254 | SetFS(sel);
|
---|
4255 |
|
---|
4256 | return yyrc;
|
---|
4257 | }
|
---|
4258 |
|
---|
4259 | inline BOOL O32_GetCharWidth(HDC a, UINT b, UINT c, PINT d)
|
---|
4260 | {
|
---|
4261 | BOOL yyrc;
|
---|
4262 | USHORT sel = GetFS();
|
---|
4263 |
|
---|
4264 | yyrc = _O32_GetCharWidth(a, b, c, d);
|
---|
4265 | SetFS(sel);
|
---|
4266 |
|
---|
4267 | return yyrc;
|
---|
4268 | }
|
---|
4269 |
|
---|
4270 | inline BOOL O32_GetClassInfo(HINSTANCE a, LPCSTR b, WNDCLASSA *c)
|
---|
4271 | {
|
---|
4272 | BOOL yyrc;
|
---|
4273 | USHORT sel = GetFS();
|
---|
4274 |
|
---|
4275 | yyrc = _O32_GetClassInfo(a, b, c);
|
---|
4276 | SetFS(sel);
|
---|
4277 |
|
---|
4278 | return yyrc;
|
---|
4279 | }
|
---|
4280 |
|
---|
4281 | inline DWORD O32_GetClassLong(HWND a, int b)
|
---|
4282 | {
|
---|
4283 | DWORD yyrc;
|
---|
4284 | USHORT sel = GetFS();
|
---|
4285 |
|
---|
4286 | yyrc = _O32_GetClassLong(a, b);
|
---|
4287 | SetFS(sel);
|
---|
4288 |
|
---|
4289 | return yyrc;
|
---|
4290 | }
|
---|
4291 |
|
---|
4292 | inline int O32_GetClassName(HWND a, LPSTR b, int c)
|
---|
4293 | {
|
---|
4294 | int yyrc;
|
---|
4295 | USHORT sel = GetFS();
|
---|
4296 |
|
---|
4297 | yyrc = _O32_GetClassName(a, b, c);
|
---|
4298 | SetFS(sel);
|
---|
4299 |
|
---|
4300 | return yyrc;
|
---|
4301 | }
|
---|
4302 |
|
---|
4303 | inline WORD O32_GetClassWord(HWND a, int b)
|
---|
4304 | {
|
---|
4305 | WORD yyrc;
|
---|
4306 | USHORT sel = GetFS();
|
---|
4307 |
|
---|
4308 | yyrc = _O32_GetClassWord(a, b);
|
---|
4309 | SetFS(sel);
|
---|
4310 |
|
---|
4311 | return yyrc;
|
---|
4312 | }
|
---|
4313 |
|
---|
4314 | inline BOOL O32_GetClientRect(HWND a, PRECT b)
|
---|
4315 | {
|
---|
4316 | BOOL yyrc;
|
---|
4317 | USHORT sel = GetFS();
|
---|
4318 |
|
---|
4319 | yyrc = _O32_GetClientRect(a, b);
|
---|
4320 | SetFS(sel);
|
---|
4321 |
|
---|
4322 | return yyrc;
|
---|
4323 | }
|
---|
4324 |
|
---|
4325 | inline HANDLE O32_GetClipboardData(UINT a)
|
---|
4326 | {
|
---|
4327 | HANDLE yyrc;
|
---|
4328 | USHORT sel = GetFS();
|
---|
4329 |
|
---|
4330 | yyrc = _O32_GetClipboardData(a);
|
---|
4331 | SetFS(sel);
|
---|
4332 |
|
---|
4333 | return yyrc;
|
---|
4334 | }
|
---|
4335 |
|
---|
4336 | inline int O32_GetClipboardFormatName(UINT a, LPSTR b, int c)
|
---|
4337 | {
|
---|
4338 | int yyrc;
|
---|
4339 | USHORT sel = GetFS();
|
---|
4340 |
|
---|
4341 | yyrc = _O32_GetClipboardFormatName(a, b, c);
|
---|
4342 | SetFS(sel);
|
---|
4343 |
|
---|
4344 | return yyrc;
|
---|
4345 | }
|
---|
4346 |
|
---|
4347 | inline HWND O32_GetClipboardOwner()
|
---|
4348 | {
|
---|
4349 | HWND yyrc;
|
---|
4350 | USHORT sel = GetFS();
|
---|
4351 |
|
---|
4352 | yyrc = _O32_GetClipboardOwner();
|
---|
4353 | SetFS(sel);
|
---|
4354 |
|
---|
4355 | return yyrc;
|
---|
4356 | }
|
---|
4357 |
|
---|
4358 | inline HWND O32_GetClipboardViewer()
|
---|
4359 | {
|
---|
4360 | HWND yyrc;
|
---|
4361 | USHORT sel = GetFS();
|
---|
4362 |
|
---|
4363 | yyrc = _O32_GetClipboardViewer();
|
---|
4364 | SetFS(sel);
|
---|
4365 |
|
---|
4366 | return yyrc;
|
---|
4367 | }
|
---|
4368 |
|
---|
4369 | inline int O32_GetClipBox(HDC a, PRECT b)
|
---|
4370 | {
|
---|
4371 | int yyrc;
|
---|
4372 | USHORT sel = GetFS();
|
---|
4373 |
|
---|
4374 | yyrc = _O32_GetClipBox(a, b);
|
---|
4375 | SetFS(sel);
|
---|
4376 |
|
---|
4377 | return yyrc;
|
---|
4378 | }
|
---|
4379 |
|
---|
4380 | inline BOOL O32_GetClipCursor(PRECT a)
|
---|
4381 | {
|
---|
4382 | BOOL yyrc;
|
---|
4383 | USHORT sel = GetFS();
|
---|
4384 |
|
---|
4385 | yyrc = _O32_GetClipCursor(a);
|
---|
4386 | SetFS(sel);
|
---|
4387 |
|
---|
4388 | return yyrc;
|
---|
4389 | }
|
---|
4390 |
|
---|
4391 | inline int O32_GetClipRgn(HDC a, HRGN b)
|
---|
4392 | {
|
---|
4393 | int yyrc;
|
---|
4394 | USHORT sel = GetFS();
|
---|
4395 |
|
---|
4396 | yyrc = _O32_GetClipRgn(a, b);
|
---|
4397 | SetFS(sel);
|
---|
4398 |
|
---|
4399 | return yyrc;
|
---|
4400 | }
|
---|
4401 |
|
---|
4402 | inline LPSTR O32_GetCommandLine()
|
---|
4403 | {
|
---|
4404 | LPSTR yyrc;
|
---|
4405 | USHORT sel = GetFS();
|
---|
4406 |
|
---|
4407 | yyrc = _O32_GetCommandLine();
|
---|
4408 | SetFS(sel);
|
---|
4409 |
|
---|
4410 | return yyrc;
|
---|
4411 | }
|
---|
4412 |
|
---|
4413 | inline int O32_GetCurrentDirectory(DWORD a, LPSTR b)
|
---|
4414 | {
|
---|
4415 | int yyrc;
|
---|
4416 | USHORT sel = GetFS();
|
---|
4417 |
|
---|
4418 | yyrc = _O32_GetCurrentDirectory(a, b);
|
---|
4419 | SetFS(sel);
|
---|
4420 |
|
---|
4421 | return yyrc;
|
---|
4422 | }
|
---|
4423 |
|
---|
4424 | inline HGDIOBJ O32_GetCurrentObject(HDC a, DWORD b)
|
---|
4425 | {
|
---|
4426 | HGDIOBJ yyrc;
|
---|
4427 | USHORT sel = GetFS();
|
---|
4428 |
|
---|
4429 | yyrc = _O32_GetCurrentObject(a, b);
|
---|
4430 | SetFS(sel);
|
---|
4431 |
|
---|
4432 | return yyrc;
|
---|
4433 | }
|
---|
4434 |
|
---|
4435 | inline BOOL O32_GetCurrentPositionEx(HDC a, PPOINT b)
|
---|
4436 | {
|
---|
4437 | BOOL yyrc;
|
---|
4438 | USHORT sel = GetFS();
|
---|
4439 |
|
---|
4440 | yyrc = _O32_GetCurrentPositionEx(a, b);
|
---|
4441 | SetFS(sel);
|
---|
4442 |
|
---|
4443 | return yyrc;
|
---|
4444 | }
|
---|
4445 |
|
---|
4446 | inline HANDLE O32_GetCurrentProcess()
|
---|
4447 | {
|
---|
4448 | HANDLE yyrc;
|
---|
4449 | USHORT sel = GetFS();
|
---|
4450 |
|
---|
4451 | yyrc = _O32_GetCurrentProcess();
|
---|
4452 | SetFS(sel);
|
---|
4453 |
|
---|
4454 | return yyrc;
|
---|
4455 | }
|
---|
4456 |
|
---|
4457 | inline DWORD O32_GetCurrentProcessId()
|
---|
4458 | {
|
---|
4459 | DWORD yyrc;
|
---|
4460 | USHORT sel = GetFS();
|
---|
4461 |
|
---|
4462 | yyrc = _O32_GetCurrentProcessId();
|
---|
4463 | SetFS(sel);
|
---|
4464 |
|
---|
4465 | return yyrc;
|
---|
4466 | }
|
---|
4467 |
|
---|
4468 | inline HANDLE O32_GetCurrentThread()
|
---|
4469 | {
|
---|
4470 | HANDLE yyrc;
|
---|
4471 | USHORT sel = GetFS();
|
---|
4472 |
|
---|
4473 | yyrc = _O32_GetCurrentThread();
|
---|
4474 | SetFS(sel);
|
---|
4475 |
|
---|
4476 | return yyrc;
|
---|
4477 | }
|
---|
4478 |
|
---|
4479 | inline DWORD O32_GetCurrentThreadId()
|
---|
4480 | {
|
---|
4481 | DWORD yyrc;
|
---|
4482 | USHORT sel = GetFS();
|
---|
4483 |
|
---|
4484 | yyrc = _O32_GetCurrentThreadId();
|
---|
4485 | SetFS(sel);
|
---|
4486 |
|
---|
4487 | return yyrc;
|
---|
4488 | }
|
---|
4489 |
|
---|
4490 | inline DWORD O32_GetCurrentTime()
|
---|
4491 | {
|
---|
4492 | DWORD yyrc;
|
---|
4493 | USHORT sel = GetFS();
|
---|
4494 |
|
---|
4495 | yyrc = _O32_GetCurrentTime();
|
---|
4496 | SetFS(sel);
|
---|
4497 |
|
---|
4498 | return yyrc;
|
---|
4499 | }
|
---|
4500 |
|
---|
4501 | inline HCURSOR O32_GetCursor()
|
---|
4502 | {
|
---|
4503 | HCURSOR yyrc;
|
---|
4504 | USHORT sel = GetFS();
|
---|
4505 |
|
---|
4506 | yyrc = _O32_GetCursor();
|
---|
4507 | SetFS(sel);
|
---|
4508 |
|
---|
4509 | return yyrc;
|
---|
4510 | }
|
---|
4511 |
|
---|
4512 | inline BOOL O32_GetCursorPos(PPOINT a)
|
---|
4513 | {
|
---|
4514 | BOOL yyrc;
|
---|
4515 | USHORT sel = GetFS();
|
---|
4516 |
|
---|
4517 | yyrc = _O32_GetCursorPos(a);
|
---|
4518 | SetFS(sel);
|
---|
4519 |
|
---|
4520 | return yyrc;
|
---|
4521 | }
|
---|
4522 |
|
---|
4523 | inline HDC O32_GetDC(HWND a)
|
---|
4524 | {
|
---|
4525 | HDC yyrc;
|
---|
4526 | USHORT sel = GetFS();
|
---|
4527 |
|
---|
4528 | yyrc = _O32_GetDC(a);
|
---|
4529 | SetFS(sel);
|
---|
4530 |
|
---|
4531 | return yyrc;
|
---|
4532 | }
|
---|
4533 |
|
---|
4534 | inline HDC O32_GetDCEx(HWND a, HRGN b, DWORD c)
|
---|
4535 | {
|
---|
4536 | HDC yyrc;
|
---|
4537 | USHORT sel = GetFS();
|
---|
4538 |
|
---|
4539 | yyrc = _O32_GetDCEx(a, b, c);
|
---|
4540 | SetFS(sel);
|
---|
4541 |
|
---|
4542 | return yyrc;
|
---|
4543 | }
|
---|
4544 |
|
---|
4545 | inline BOOL O32_GetDCOrgEx(HDC a, PPOINT b)
|
---|
4546 | {
|
---|
4547 | BOOL yyrc;
|
---|
4548 | USHORT sel = GetFS();
|
---|
4549 |
|
---|
4550 | yyrc = _O32_GetDCOrgEx(a, b);
|
---|
4551 | SetFS(sel);
|
---|
4552 |
|
---|
4553 | return yyrc;
|
---|
4554 | }
|
---|
4555 |
|
---|
4556 | inline int O32_GetDIBits(HDC a, HBITMAP b, UINT c, UINT d, void *e, PBITMAPINFO f, UINT g)
|
---|
4557 | {
|
---|
4558 | int yyrc;
|
---|
4559 | USHORT sel = GetFS();
|
---|
4560 |
|
---|
4561 | yyrc = _O32_GetDIBits(a, b, c, d, e, f, g);
|
---|
4562 | SetFS(sel);
|
---|
4563 |
|
---|
4564 | return yyrc;
|
---|
4565 | }
|
---|
4566 |
|
---|
4567 | inline int O32_GetDeviceCaps(HDC a, int b)
|
---|
4568 | {
|
---|
4569 | int yyrc;
|
---|
4570 | USHORT sel = GetFS();
|
---|
4571 |
|
---|
4572 | yyrc = _O32_GetDeviceCaps(a, b);
|
---|
4573 | SetFS(sel);
|
---|
4574 |
|
---|
4575 | return yyrc;
|
---|
4576 | }
|
---|
4577 |
|
---|
4578 | inline LONG O32_GetDialogBaseUnits()
|
---|
4579 | {
|
---|
4580 | LONG yyrc;
|
---|
4581 | USHORT sel = GetFS();
|
---|
4582 |
|
---|
4583 | yyrc = _O32_GetDialogBaseUnits();
|
---|
4584 | SetFS(sel);
|
---|
4585 |
|
---|
4586 | return yyrc;
|
---|
4587 | }
|
---|
4588 |
|
---|
4589 | inline BOOL O32_GetDiskFreeSpace(LPCSTR a, PDWORD b, PDWORD c, PDWORD d, PDWORD e)
|
---|
4590 | {
|
---|
4591 | BOOL yyrc;
|
---|
4592 | USHORT sel = GetFS();
|
---|
4593 |
|
---|
4594 | yyrc = _O32_GetDiskFreeSpace(a, b, c, d, e);
|
---|
4595 | SetFS(sel);
|
---|
4596 |
|
---|
4597 | return yyrc;
|
---|
4598 | }
|
---|
4599 |
|
---|
4600 | inline int O32_GetDlgCtrlID(HWND a)
|
---|
4601 | {
|
---|
4602 | int yyrc;
|
---|
4603 | USHORT sel = GetFS();
|
---|
4604 |
|
---|
4605 | yyrc = _O32_GetDlgCtrlID(a);
|
---|
4606 | SetFS(sel);
|
---|
4607 |
|
---|
4608 | return yyrc;
|
---|
4609 | }
|
---|
4610 |
|
---|
4611 | inline HWND O32_GetDlgItem(HWND a, int b)
|
---|
4612 | {
|
---|
4613 | HWND yyrc;
|
---|
4614 | USHORT sel = GetFS();
|
---|
4615 |
|
---|
4616 | yyrc = _O32_GetDlgItem(a, b);
|
---|
4617 | SetFS(sel);
|
---|
4618 |
|
---|
4619 | return yyrc;
|
---|
4620 | }
|
---|
4621 |
|
---|
4622 | inline UINT O32_GetDlgItemInt(HWND a, int b, PBOOL c, BOOL d)
|
---|
4623 | {
|
---|
4624 | UINT yyrc;
|
---|
4625 | USHORT sel = GetFS();
|
---|
4626 |
|
---|
4627 | yyrc = _O32_GetDlgItemInt(a, b, c, d);
|
---|
4628 | SetFS(sel);
|
---|
4629 |
|
---|
4630 | return yyrc;
|
---|
4631 | }
|
---|
4632 |
|
---|
4633 | inline UINT O32_GetDlgItemText(HWND a, int b, LPSTR c, int d)
|
---|
4634 | {
|
---|
4635 | UINT yyrc;
|
---|
4636 | USHORT sel = GetFS();
|
---|
4637 |
|
---|
4638 | yyrc = _O32_GetDlgItemText(a, b, c, d);
|
---|
4639 | SetFS(sel);
|
---|
4640 |
|
---|
4641 | return yyrc;
|
---|
4642 | }
|
---|
4643 |
|
---|
4644 | inline UINT O32_GetDoubleClickTime()
|
---|
4645 | {
|
---|
4646 | UINT yyrc;
|
---|
4647 | USHORT sel = GetFS();
|
---|
4648 |
|
---|
4649 | yyrc = _O32_GetDoubleClickTime();
|
---|
4650 | SetFS(sel);
|
---|
4651 |
|
---|
4652 | return yyrc;
|
---|
4653 | }
|
---|
4654 |
|
---|
4655 | inline UINT O32_GetDriveType(LPCSTR a)
|
---|
4656 | {
|
---|
4657 | UINT yyrc;
|
---|
4658 | USHORT sel = GetFS();
|
---|
4659 |
|
---|
4660 | yyrc = _O32_GetDriveType(a);
|
---|
4661 | SetFS(sel);
|
---|
4662 |
|
---|
4663 | return yyrc;
|
---|
4664 | }
|
---|
4665 |
|
---|
4666 | inline HENHMETAFILE O32_GetEnhMetaFile(LPCSTR a)
|
---|
4667 | {
|
---|
4668 | HENHMETAFILE yyrc;
|
---|
4669 | USHORT sel = GetFS();
|
---|
4670 |
|
---|
4671 | yyrc = _O32_GetEnhMetaFile(a);
|
---|
4672 | SetFS(sel);
|
---|
4673 |
|
---|
4674 | return yyrc;
|
---|
4675 | }
|
---|
4676 |
|
---|
4677 | inline UINT O32_GetEnhMetaFileBits(HENHMETAFILE a, UINT b, PBYTE c)
|
---|
4678 | {
|
---|
4679 | UINT yyrc;
|
---|
4680 | USHORT sel = GetFS();
|
---|
4681 |
|
---|
4682 | yyrc = _O32_GetEnhMetaFileBits(a, b, c);
|
---|
4683 | SetFS(sel);
|
---|
4684 |
|
---|
4685 | return yyrc;
|
---|
4686 | }
|
---|
4687 |
|
---|
4688 | inline UINT O32_GetEnhMetaFileHeader(HENHMETAFILE a, UINT b, LPENHMETAHEADER c)
|
---|
4689 | {
|
---|
4690 | UINT yyrc;
|
---|
4691 | USHORT sel = GetFS();
|
---|
4692 |
|
---|
4693 | yyrc = _O32_GetEnhMetaFileHeader(a, b, c);
|
---|
4694 | SetFS(sel);
|
---|
4695 |
|
---|
4696 | return yyrc;
|
---|
4697 | }
|
---|
4698 |
|
---|
4699 | inline UINT O32_GetEnhMetaFilePaletteEntries(HENHMETAFILE a, UINT b, LPPALETTEENTRY c)
|
---|
4700 | {
|
---|
4701 | UINT yyrc;
|
---|
4702 | USHORT sel = GetFS();
|
---|
4703 |
|
---|
4704 | yyrc = _O32_GetEnhMetaFilePaletteEntries(a, b, c);
|
---|
4705 | SetFS(sel);
|
---|
4706 |
|
---|
4707 | return yyrc;
|
---|
4708 | }
|
---|
4709 |
|
---|
4710 | inline PVOID O32_GetEnvironmentStrings()
|
---|
4711 | {
|
---|
4712 | PVOID yyrc;
|
---|
4713 | USHORT sel = GetFS();
|
---|
4714 |
|
---|
4715 | yyrc = _O32_GetEnvironmentStrings();
|
---|
4716 | SetFS(sel);
|
---|
4717 |
|
---|
4718 | return yyrc;
|
---|
4719 | }
|
---|
4720 |
|
---|
4721 | inline DWORD O32_GetEnvironmentVariable(LPCSTR a, LPSTR b, DWORD c)
|
---|
4722 | {
|
---|
4723 | DWORD yyrc;
|
---|
4724 | USHORT sel = GetFS();
|
---|
4725 |
|
---|
4726 | yyrc = _O32_GetEnvironmentVariable(a, b, c);
|
---|
4727 | SetFS(sel);
|
---|
4728 |
|
---|
4729 | return yyrc;
|
---|
4730 | }
|
---|
4731 |
|
---|
4732 | inline BOOL O32_GetExitCodeProcess(HANDLE a, LPDWORD b)
|
---|
4733 | {
|
---|
4734 | BOOL yyrc;
|
---|
4735 | USHORT sel = GetFS();
|
---|
4736 |
|
---|
4737 | yyrc = _O32_GetExitCodeProcess(a, b);
|
---|
4738 | SetFS(sel);
|
---|
4739 |
|
---|
4740 | return yyrc;
|
---|
4741 | }
|
---|
4742 |
|
---|
4743 | inline BOOL O32_GetExitCodeThread(HANDLE a, LPDWORD b)
|
---|
4744 | {
|
---|
4745 | BOOL yyrc;
|
---|
4746 | USHORT sel = GetFS();
|
---|
4747 |
|
---|
4748 | yyrc = _O32_GetExitCodeThread(a, b);
|
---|
4749 | SetFS(sel);
|
---|
4750 |
|
---|
4751 | return yyrc;
|
---|
4752 | }
|
---|
4753 |
|
---|
4754 | inline DWORD O32_GetFileAttributes(LPSTR a)
|
---|
4755 | {
|
---|
4756 | DWORD yyrc;
|
---|
4757 | USHORT sel = GetFS();
|
---|
4758 |
|
---|
4759 | yyrc = _O32_GetFileAttributes(a);
|
---|
4760 | SetFS(sel);
|
---|
4761 |
|
---|
4762 | return yyrc;
|
---|
4763 | }
|
---|
4764 |
|
---|
4765 | inline DWORD O32_GetFileInformationByHandle(HANDLE a, BY_HANDLE_FILE_INFORMATION *b)
|
---|
4766 | {
|
---|
4767 | DWORD yyrc;
|
---|
4768 | USHORT sel = GetFS();
|
---|
4769 |
|
---|
4770 | yyrc = _O32_GetFileInformationByHandle(a, b);
|
---|
4771 | SetFS(sel);
|
---|
4772 |
|
---|
4773 | return yyrc;
|
---|
4774 | }
|
---|
4775 |
|
---|
4776 | inline DWORD O32_GetFileSize(HANDLE a, PDWORD b)
|
---|
4777 | {
|
---|
4778 | DWORD yyrc;
|
---|
4779 | USHORT sel = GetFS();
|
---|
4780 |
|
---|
4781 | yyrc = _O32_GetFileSize(a, b);
|
---|
4782 | SetFS(sel);
|
---|
4783 |
|
---|
4784 | return yyrc;
|
---|
4785 | }
|
---|
4786 |
|
---|
4787 | inline BOOL O32_GetFileTime(HANDLE a, FILETIME *b, FILETIME *c, FILETIME *d)
|
---|
4788 | {
|
---|
4789 | BOOL yyrc;
|
---|
4790 | USHORT sel = GetFS();
|
---|
4791 |
|
---|
4792 | yyrc = _O32_GetFileTime(a, b, c, d);
|
---|
4793 | SetFS(sel);
|
---|
4794 |
|
---|
4795 | return yyrc;
|
---|
4796 | }
|
---|
4797 |
|
---|
4798 | inline short O32_GetFileTitle(LPCSTR a, LPSTR b, WORD c)
|
---|
4799 | {
|
---|
4800 | short yyrc;
|
---|
4801 | USHORT sel = GetFS();
|
---|
4802 |
|
---|
4803 | yyrc = _O32_GetFileTitle(a, b, c);
|
---|
4804 | SetFS(sel);
|
---|
4805 |
|
---|
4806 | return yyrc;
|
---|
4807 | }
|
---|
4808 |
|
---|
4809 | inline DWORD O32_GetFileType(HANDLE a)
|
---|
4810 | {
|
---|
4811 | DWORD yyrc;
|
---|
4812 | USHORT sel = GetFS();
|
---|
4813 |
|
---|
4814 | yyrc = _O32_GetFileType(a);
|
---|
4815 | SetFS(sel);
|
---|
4816 |
|
---|
4817 | return yyrc;
|
---|
4818 | }
|
---|
4819 |
|
---|
4820 | inline HWND O32_GetFocus()
|
---|
4821 | {
|
---|
4822 | HWND yyrc;
|
---|
4823 | USHORT sel = GetFS();
|
---|
4824 |
|
---|
4825 | yyrc = _O32_GetFocus();
|
---|
4826 | SetFS(sel);
|
---|
4827 |
|
---|
4828 | return yyrc;
|
---|
4829 | }
|
---|
4830 |
|
---|
4831 | inline HWND O32_GetForegroundWindow()
|
---|
4832 | {
|
---|
4833 | HWND yyrc;
|
---|
4834 | USHORT sel = GetFS();
|
---|
4835 |
|
---|
4836 | yyrc = _O32_GetForegroundWindow();
|
---|
4837 | SetFS(sel);
|
---|
4838 |
|
---|
4839 | return yyrc;
|
---|
4840 | }
|
---|
4841 |
|
---|
4842 | inline DWORD O32_GetFullPathName(LPCSTR a, DWORD b, LPSTR c, LPSTR *d)
|
---|
4843 | {
|
---|
4844 | DWORD yyrc;
|
---|
4845 | USHORT sel = GetFS();
|
---|
4846 |
|
---|
4847 | yyrc = _O32_GetFullPathName(a, b, c, d);
|
---|
4848 | SetFS(sel);
|
---|
4849 |
|
---|
4850 | return yyrc;
|
---|
4851 | }
|
---|
4852 |
|
---|
4853 | inline int O32_GetGraphicsMode(HDC a)
|
---|
4854 | {
|
---|
4855 | int yyrc;
|
---|
4856 | USHORT sel = GetFS();
|
---|
4857 |
|
---|
4858 | yyrc = _O32_GetGraphicsMode(a);
|
---|
4859 | SetFS(sel);
|
---|
4860 |
|
---|
4861 | return yyrc;
|
---|
4862 | }
|
---|
4863 |
|
---|
4864 | inline BOOL O32_GetIconInfo(HICON a, LPICONINFO b)
|
---|
4865 | {
|
---|
4866 | BOOL yyrc;
|
---|
4867 | USHORT sel = GetFS();
|
---|
4868 |
|
---|
4869 | yyrc = _O32_GetIconInfo(a, b);
|
---|
4870 | SetFS(sel);
|
---|
4871 |
|
---|
4872 | return yyrc;
|
---|
4873 | }
|
---|
4874 |
|
---|
4875 | inline DWORD O32_GetKerningPairs(HDC a, DWORD b, LPKERNINGPAIR c)
|
---|
4876 | {
|
---|
4877 | DWORD yyrc;
|
---|
4878 | USHORT sel = GetFS();
|
---|
4879 |
|
---|
4880 | yyrc = _O32_GetKerningPairs(a, b, c);
|
---|
4881 | SetFS(sel);
|
---|
4882 |
|
---|
4883 | return yyrc;
|
---|
4884 | }
|
---|
4885 |
|
---|
4886 | inline int O32_GetKeyboardType(int a)
|
---|
4887 | {
|
---|
4888 | int yyrc;
|
---|
4889 | USHORT sel = GetFS();
|
---|
4890 |
|
---|
4891 | yyrc = _O32_GetKeyboardType(a);
|
---|
4892 | SetFS(sel);
|
---|
4893 |
|
---|
4894 | return yyrc;
|
---|
4895 | }
|
---|
4896 |
|
---|
4897 | inline int O32_GetKeyNameText(LPARAM a, LPSTR b, int c)
|
---|
4898 | {
|
---|
4899 | int yyrc;
|
---|
4900 | USHORT sel = GetFS();
|
---|
4901 |
|
---|
4902 | yyrc = _O32_GetKeyNameText(a, b, c);
|
---|
4903 | SetFS(sel);
|
---|
4904 |
|
---|
4905 | return yyrc;
|
---|
4906 | }
|
---|
4907 |
|
---|
4908 | inline SHORT O32_GetKeyState(int a)
|
---|
4909 | {
|
---|
4910 | SHORT yyrc;
|
---|
4911 | USHORT sel = GetFS();
|
---|
4912 |
|
---|
4913 | yyrc = _O32_GetKeyState(a);
|
---|
4914 | SetFS(sel);
|
---|
4915 |
|
---|
4916 | return yyrc;
|
---|
4917 | }
|
---|
4918 |
|
---|
4919 | inline HWND O32_GetLastActivePopup(HWND a)
|
---|
4920 | {
|
---|
4921 | HWND yyrc;
|
---|
4922 | USHORT sel = GetFS();
|
---|
4923 |
|
---|
4924 | yyrc = _O32_GetLastActivePopup(a);
|
---|
4925 | SetFS(sel);
|
---|
4926 |
|
---|
4927 | return yyrc;
|
---|
4928 | }
|
---|
4929 |
|
---|
4930 | inline DWORD O32_GetLastError()
|
---|
4931 | {
|
---|
4932 | DWORD yyrc;
|
---|
4933 | USHORT sel = GetFS();
|
---|
4934 |
|
---|
4935 | yyrc = _O32_GetLastError();
|
---|
4936 | SetFS(sel);
|
---|
4937 |
|
---|
4938 | return yyrc;
|
---|
4939 | }
|
---|
4940 |
|
---|
4941 | inline VOID O32_GetLocalTime(LPSYSTEMTIME a)
|
---|
4942 | {
|
---|
4943 | USHORT sel = GetFS();
|
---|
4944 |
|
---|
4945 | _O32_GetLocalTime(a);
|
---|
4946 | SetFS(sel);
|
---|
4947 | }
|
---|
4948 |
|
---|
4949 | inline DWORD O32_GetLogicalDriveStrings(DWORD a, LPSTR b)
|
---|
4950 | {
|
---|
4951 | DWORD yyrc;
|
---|
4952 | USHORT sel = GetFS();
|
---|
4953 |
|
---|
4954 | yyrc = _O32_GetLogicalDriveStrings(a, b);
|
---|
4955 | SetFS(sel);
|
---|
4956 |
|
---|
4957 | return yyrc;
|
---|
4958 | }
|
---|
4959 |
|
---|
4960 | inline DWORD O32_GetLogicalDrives()
|
---|
4961 | {
|
---|
4962 | DWORD yyrc;
|
---|
4963 | USHORT sel = GetFS();
|
---|
4964 |
|
---|
4965 | yyrc = _O32_GetLogicalDrives();
|
---|
4966 | SetFS(sel);
|
---|
4967 |
|
---|
4968 | return yyrc;
|
---|
4969 | }
|
---|
4970 |
|
---|
4971 | inline int O32_GetMapMode(HDC a)
|
---|
4972 | {
|
---|
4973 | int yyrc;
|
---|
4974 | USHORT sel = GetFS();
|
---|
4975 |
|
---|
4976 | yyrc = _O32_GetMapMode(a);
|
---|
4977 | SetFS(sel);
|
---|
4978 |
|
---|
4979 | return yyrc;
|
---|
4980 | }
|
---|
4981 |
|
---|
4982 | inline HMENU O32_GetMenu(HWND a)
|
---|
4983 | {
|
---|
4984 | HMENU yyrc;
|
---|
4985 | USHORT sel = GetFS();
|
---|
4986 |
|
---|
4987 | yyrc = _O32_GetMenu(a);
|
---|
4988 | SetFS(sel);
|
---|
4989 |
|
---|
4990 | return yyrc;
|
---|
4991 | }
|
---|
4992 |
|
---|
4993 | inline LONG O32_GetMenuCheckMarkDimensions()
|
---|
4994 | {
|
---|
4995 | LONG yyrc;
|
---|
4996 | USHORT sel = GetFS();
|
---|
4997 |
|
---|
4998 | yyrc = _O32_GetMenuCheckMarkDimensions();
|
---|
4999 | SetFS(sel);
|
---|
5000 |
|
---|
5001 | return yyrc;
|
---|
5002 | }
|
---|
5003 |
|
---|
5004 | inline int O32_GetMenuItemCount(HMENU a)
|
---|
5005 | {
|
---|
5006 | int yyrc;
|
---|
5007 | USHORT sel = GetFS();
|
---|
5008 |
|
---|
5009 | yyrc = _O32_GetMenuItemCount(a);
|
---|
5010 | SetFS(sel);
|
---|
5011 |
|
---|
5012 | return yyrc;
|
---|
5013 | }
|
---|
5014 |
|
---|
5015 | inline UINT O32_GetMenuItemID(HMENU a, int b)
|
---|
5016 | {
|
---|
5017 | UINT yyrc;
|
---|
5018 | USHORT sel = GetFS();
|
---|
5019 |
|
---|
5020 | yyrc = _O32_GetMenuItemID(a, b);
|
---|
5021 | SetFS(sel);
|
---|
5022 |
|
---|
5023 | return yyrc;
|
---|
5024 | }
|
---|
5025 |
|
---|
5026 | inline UINT O32_GetMenuState(HMENU a, UINT b, UINT c)
|
---|
5027 | {
|
---|
5028 | UINT yyrc;
|
---|
5029 | USHORT sel = GetFS();
|
---|
5030 |
|
---|
5031 | yyrc = _O32_GetMenuState(a, b, c);
|
---|
5032 | SetFS(sel);
|
---|
5033 |
|
---|
5034 | return yyrc;
|
---|
5035 | }
|
---|
5036 |
|
---|
5037 | inline int O32_GetMenuString(HMENU a, UINT b, LPSTR c, int d, UINT e)
|
---|
5038 | {
|
---|
5039 | int yyrc;
|
---|
5040 | USHORT sel = GetFS();
|
---|
5041 |
|
---|
5042 | yyrc = _O32_GetMenuString(a, b, c, d, e);
|
---|
5043 | SetFS(sel);
|
---|
5044 |
|
---|
5045 | return yyrc;
|
---|
5046 | }
|
---|
5047 |
|
---|
5048 | inline BOOL O32_GetMessage(LPMSG a, HWND b, UINT c, UINT d)
|
---|
5049 | {
|
---|
5050 | BOOL yyrc;
|
---|
5051 | USHORT sel = GetFS();
|
---|
5052 |
|
---|
5053 | yyrc = _O32_GetMessage(a, b, c, d);
|
---|
5054 | SetFS(sel);
|
---|
5055 |
|
---|
5056 | return yyrc;
|
---|
5057 | }
|
---|
5058 |
|
---|
5059 | inline LONG O32_GetMessageExtraInfo()
|
---|
5060 | {
|
---|
5061 | LONG yyrc;
|
---|
5062 | USHORT sel = GetFS();
|
---|
5063 |
|
---|
5064 | yyrc = _O32_GetMessageExtraInfo();
|
---|
5065 | SetFS(sel);
|
---|
5066 |
|
---|
5067 | return yyrc;
|
---|
5068 | }
|
---|
5069 |
|
---|
5070 | inline DWORD O32_GetMessagePos()
|
---|
5071 | {
|
---|
5072 | DWORD yyrc;
|
---|
5073 | USHORT sel = GetFS();
|
---|
5074 |
|
---|
5075 | yyrc = _O32_GetMessagePos();
|
---|
5076 | SetFS(sel);
|
---|
5077 |
|
---|
5078 | return yyrc;
|
---|
5079 | }
|
---|
5080 |
|
---|
5081 | inline LONG O32_GetMessageTime()
|
---|
5082 | {
|
---|
5083 | LONG yyrc;
|
---|
5084 | USHORT sel = GetFS();
|
---|
5085 |
|
---|
5086 | yyrc = _O32_GetMessageTime();
|
---|
5087 | SetFS(sel);
|
---|
5088 |
|
---|
5089 | return yyrc;
|
---|
5090 | }
|
---|
5091 |
|
---|
5092 | inline HMETAFILE O32_GetMetaFile(LPCSTR a)
|
---|
5093 | {
|
---|
5094 | HMETAFILE yyrc;
|
---|
5095 | USHORT sel = GetFS();
|
---|
5096 |
|
---|
5097 | yyrc = _O32_GetMetaFile(a);
|
---|
5098 | SetFS(sel);
|
---|
5099 |
|
---|
5100 | return yyrc;
|
---|
5101 | }
|
---|
5102 |
|
---|
5103 | inline UINT O32_GetMetaFileBitsEx(HMETAFILE a, UINT b, LPVOID c)
|
---|
5104 | {
|
---|
5105 | UINT yyrc;
|
---|
5106 | USHORT sel = GetFS();
|
---|
5107 |
|
---|
5108 | yyrc = _O32_GetMetaFileBitsEx(a, b, c);
|
---|
5109 | SetFS(sel);
|
---|
5110 |
|
---|
5111 | return yyrc;
|
---|
5112 | }
|
---|
5113 |
|
---|
5114 | inline BOOL O32_GetMiterLimit(HDC a, float *b)
|
---|
5115 | {
|
---|
5116 | BOOL yyrc;
|
---|
5117 | USHORT sel = GetFS();
|
---|
5118 |
|
---|
5119 | yyrc = _O32_GetMiterLimit(a, b);
|
---|
5120 | SetFS(sel);
|
---|
5121 |
|
---|
5122 | return yyrc;
|
---|
5123 | }
|
---|
5124 |
|
---|
5125 | inline DWORD O32_GetModuleFileName(HINSTANCE a, LPSTR b, DWORD c)
|
---|
5126 | {
|
---|
5127 | DWORD yyrc;
|
---|
5128 | USHORT sel = GetFS();
|
---|
5129 |
|
---|
5130 | yyrc = _O32_GetModuleFileName(a, b, c);
|
---|
5131 | SetFS(sel);
|
---|
5132 |
|
---|
5133 | return yyrc;
|
---|
5134 | }
|
---|
5135 |
|
---|
5136 | inline HMODULE O32_GetModuleHandle(LPCSTR a)
|
---|
5137 | {
|
---|
5138 | HMODULE yyrc;
|
---|
5139 | USHORT sel = GetFS();
|
---|
5140 |
|
---|
5141 | yyrc = _O32_GetModuleHandle(a);
|
---|
5142 | SetFS(sel);
|
---|
5143 |
|
---|
5144 | return yyrc;
|
---|
5145 | }
|
---|
5146 |
|
---|
5147 | inline COLORREF O32_GetNearestColor(HDC a, COLORREF b)
|
---|
5148 | {
|
---|
5149 | COLORREF yyrc;
|
---|
5150 | USHORT sel = GetFS();
|
---|
5151 |
|
---|
5152 | yyrc = _O32_GetNearestColor(a, b);
|
---|
5153 | SetFS(sel);
|
---|
5154 |
|
---|
5155 | return yyrc;
|
---|
5156 | }
|
---|
5157 |
|
---|
5158 | inline UINT O32_GetNearestPaletteIndex(HPALETTE a, COLORREF b)
|
---|
5159 | {
|
---|
5160 | UINT yyrc;
|
---|
5161 | USHORT sel = GetFS();
|
---|
5162 |
|
---|
5163 | yyrc = _O32_GetNearestPaletteIndex(a, b);
|
---|
5164 | SetFS(sel);
|
---|
5165 |
|
---|
5166 | return yyrc;
|
---|
5167 | }
|
---|
5168 |
|
---|
5169 | inline HWND O32_GetNextDlgGroupItem(HWND a, HWND b, BOOL c)
|
---|
5170 | {
|
---|
5171 | HWND yyrc;
|
---|
5172 | USHORT sel = GetFS();
|
---|
5173 |
|
---|
5174 | yyrc = _O32_GetNextDlgGroupItem(a, b, c);
|
---|
5175 | SetFS(sel);
|
---|
5176 |
|
---|
5177 | return yyrc;
|
---|
5178 | }
|
---|
5179 |
|
---|
5180 | inline HWND O32_GetNextDlgTabItem(HWND a, HWND b, BOOL c)
|
---|
5181 | {
|
---|
5182 | HWND yyrc;
|
---|
5183 | USHORT sel = GetFS();
|
---|
5184 |
|
---|
5185 | yyrc = _O32_GetNextDlgTabItem(a, b, c);
|
---|
5186 | SetFS(sel);
|
---|
5187 |
|
---|
5188 | return yyrc;
|
---|
5189 | }
|
---|
5190 |
|
---|
5191 | inline HWND O32_GetNextWindow(HWND a, UINT b)
|
---|
5192 | {
|
---|
5193 | HWND yyrc;
|
---|
5194 | USHORT sel = GetFS();
|
---|
5195 |
|
---|
5196 | yyrc = _O32_GetNextWindow(a, b);
|
---|
5197 | SetFS(sel);
|
---|
5198 |
|
---|
5199 | return yyrc;
|
---|
5200 | }
|
---|
5201 |
|
---|
5202 | inline int O32_GetOEMCP()
|
---|
5203 | {
|
---|
5204 | int yyrc;
|
---|
5205 | USHORT sel = GetFS();
|
---|
5206 |
|
---|
5207 | yyrc = _O32_GetOEMCP();
|
---|
5208 | SetFS(sel);
|
---|
5209 |
|
---|
5210 | return yyrc;
|
---|
5211 | }
|
---|
5212 |
|
---|
5213 | inline int O32_GetObject(HGDIOBJ a, int b, void *c)
|
---|
5214 | {
|
---|
5215 | int yyrc;
|
---|
5216 | USHORT sel = GetFS();
|
---|
5217 |
|
---|
5218 | yyrc = _O32_GetObject(a, b, c);
|
---|
5219 | SetFS(sel);
|
---|
5220 |
|
---|
5221 | return yyrc;
|
---|
5222 | }
|
---|
5223 |
|
---|
5224 | inline DWORD O32_GetObjectType(HGDIOBJ a)
|
---|
5225 | {
|
---|
5226 | DWORD yyrc;
|
---|
5227 | USHORT sel = GetFS();
|
---|
5228 |
|
---|
5229 | yyrc = _O32_GetObjectType(a);
|
---|
5230 | SetFS(sel);
|
---|
5231 |
|
---|
5232 | return yyrc;
|
---|
5233 | }
|
---|
5234 |
|
---|
5235 | inline HWND O32_GetOpenClipboardWindow()
|
---|
5236 | {
|
---|
5237 | HWND yyrc;
|
---|
5238 | USHORT sel = GetFS();
|
---|
5239 |
|
---|
5240 | yyrc = _O32_GetOpenClipboardWindow();
|
---|
5241 | SetFS(sel);
|
---|
5242 |
|
---|
5243 | return yyrc;
|
---|
5244 | }
|
---|
5245 |
|
---|
5246 | inline BOOL O32_GetOpenFileName(LPOPENFILENAMEA a)
|
---|
5247 | {
|
---|
5248 | BOOL yyrc;
|
---|
5249 | USHORT sel = GetFS();
|
---|
5250 |
|
---|
5251 | yyrc = _O32_GetOpenFileName(a);
|
---|
5252 | SetFS(sel);
|
---|
5253 |
|
---|
5254 | return yyrc;
|
---|
5255 | }
|
---|
5256 |
|
---|
5257 | inline UINT O32_GetOutlineTextMetrics(HDC a, UINT b, LPOUTLINETEXTMETRICA c)
|
---|
5258 | {
|
---|
5259 | UINT yyrc;
|
---|
5260 | USHORT sel = GetFS();
|
---|
5261 |
|
---|
5262 | yyrc = _O32_GetOutlineTextMetrics(a, b, c);
|
---|
5263 | SetFS(sel);
|
---|
5264 |
|
---|
5265 | return yyrc;
|
---|
5266 | }
|
---|
5267 |
|
---|
5268 | inline BOOL O32_GetOverlappedResult(HANDLE a, LPOVERLAPPED b, LPDWORD c, BOOL d)
|
---|
5269 | {
|
---|
5270 | BOOL yyrc;
|
---|
5271 | USHORT sel = GetFS();
|
---|
5272 |
|
---|
5273 | yyrc = _O32_GetOverlappedResult(a, b, c, d);
|
---|
5274 | SetFS(sel);
|
---|
5275 |
|
---|
5276 | return yyrc;
|
---|
5277 | }
|
---|
5278 |
|
---|
5279 | inline UINT O32_GetPaletteEntries(HPALETTE a, UINT b, UINT c, PPALETTEENTRY d)
|
---|
5280 | {
|
---|
5281 | UINT yyrc;
|
---|
5282 | USHORT sel = GetFS();
|
---|
5283 |
|
---|
5284 | yyrc = _O32_GetPaletteEntries(a, b, c, d);
|
---|
5285 | SetFS(sel);
|
---|
5286 |
|
---|
5287 | return yyrc;
|
---|
5288 | }
|
---|
5289 |
|
---|
5290 | inline HWND O32_GetParent(HWND a)
|
---|
5291 | {
|
---|
5292 | HWND yyrc;
|
---|
5293 | USHORT sel = GetFS();
|
---|
5294 |
|
---|
5295 | yyrc = _O32_GetParent(a);
|
---|
5296 | SetFS(sel);
|
---|
5297 |
|
---|
5298 | return yyrc;
|
---|
5299 | }
|
---|
5300 |
|
---|
5301 | inline UINT O32_GetPath(HDC a, PPOINT b, PBYTE c, int d)
|
---|
5302 | {
|
---|
5303 | UINT yyrc;
|
---|
5304 | USHORT sel = GetFS();
|
---|
5305 |
|
---|
5306 | yyrc = _O32_GetPath(a, b, c, d);
|
---|
5307 | SetFS(sel);
|
---|
5308 |
|
---|
5309 | return yyrc;
|
---|
5310 | }
|
---|
5311 |
|
---|
5312 | inline COLORREF O32_GetPixel(HDC a, int b, int c)
|
---|
5313 | {
|
---|
5314 | COLORREF yyrc;
|
---|
5315 | USHORT sel = GetFS();
|
---|
5316 |
|
---|
5317 | yyrc = _O32_GetPixel(a, b, c);
|
---|
5318 | SetFS(sel);
|
---|
5319 |
|
---|
5320 | return yyrc;
|
---|
5321 | }
|
---|
5322 |
|
---|
5323 | inline int O32_GetPolyFillMode(HDC a)
|
---|
5324 | {
|
---|
5325 | int yyrc;
|
---|
5326 | USHORT sel = GetFS();
|
---|
5327 |
|
---|
5328 | yyrc = _O32_GetPolyFillMode(a);
|
---|
5329 | SetFS(sel);
|
---|
5330 |
|
---|
5331 | return yyrc;
|
---|
5332 | }
|
---|
5333 |
|
---|
5334 | inline DWORD O32_GetPriorityClass(HANDLE a)
|
---|
5335 | {
|
---|
5336 | DWORD yyrc;
|
---|
5337 | USHORT sel = GetFS();
|
---|
5338 |
|
---|
5339 | yyrc = _O32_GetPriorityClass(a);
|
---|
5340 | SetFS(sel);
|
---|
5341 |
|
---|
5342 | return yyrc;
|
---|
5343 | }
|
---|
5344 |
|
---|
5345 | inline int O32_GetPriorityClipboardFormat(PUINT a, int b)
|
---|
5346 | {
|
---|
5347 | int yyrc;
|
---|
5348 | USHORT sel = GetFS();
|
---|
5349 |
|
---|
5350 | yyrc = _O32_GetPriorityClipboardFormat(a, b);
|
---|
5351 | SetFS(sel);
|
---|
5352 |
|
---|
5353 | return yyrc;
|
---|
5354 | }
|
---|
5355 |
|
---|
5356 | inline UINT O32_GetPrivateProfileInt(LPCSTR a, LPCSTR b, INT c, LPCSTR d)
|
---|
5357 | {
|
---|
5358 | UINT yyrc;
|
---|
5359 | USHORT sel = GetFS();
|
---|
5360 |
|
---|
5361 | yyrc = _O32_GetPrivateProfileInt(a, b, c, d);
|
---|
5362 | SetFS(sel);
|
---|
5363 |
|
---|
5364 | return yyrc;
|
---|
5365 | }
|
---|
5366 |
|
---|
5367 | inline DWORD O32_GetPrivateProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPSTR d, DWORD e, LPCSTR f)
|
---|
5368 | {
|
---|
5369 | DWORD yyrc;
|
---|
5370 | USHORT sel = GetFS();
|
---|
5371 |
|
---|
5372 | yyrc = _O32_GetPrivateProfileString(a, b, c, d, e, f);
|
---|
5373 | SetFS(sel);
|
---|
5374 |
|
---|
5375 | return yyrc;
|
---|
5376 | }
|
---|
5377 |
|
---|
5378 | inline FARPROC O32_GetProcAddress(HMODULE a, LPCSTR b)
|
---|
5379 | {
|
---|
5380 | FARPROC yyrc;
|
---|
5381 | USHORT sel = GetFS();
|
---|
5382 |
|
---|
5383 | yyrc = _O32_GetProcAddress(a, b);
|
---|
5384 | SetFS(sel);
|
---|
5385 |
|
---|
5386 | return yyrc;
|
---|
5387 | }
|
---|
5388 |
|
---|
5389 | inline UINT O32_GetProfileInt(LPCSTR a, LPCSTR b, INT c)
|
---|
5390 | {
|
---|
5391 | UINT yyrc;
|
---|
5392 | USHORT sel = GetFS();
|
---|
5393 |
|
---|
5394 | yyrc = _O32_GetProfileInt(a, b, c);
|
---|
5395 | SetFS(sel);
|
---|
5396 |
|
---|
5397 | return yyrc;
|
---|
5398 | }
|
---|
5399 |
|
---|
5400 | inline DWORD O32_GetProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPSTR d, DWORD e)
|
---|
5401 | {
|
---|
5402 | DWORD yyrc;
|
---|
5403 | USHORT sel = GetFS();
|
---|
5404 |
|
---|
5405 | yyrc = _O32_GetProfileString(a, b, c, d, e);
|
---|
5406 | SetFS(sel);
|
---|
5407 |
|
---|
5408 | return yyrc;
|
---|
5409 | }
|
---|
5410 |
|
---|
5411 | inline HANDLE O32_GetProp(HWND a, LPCSTR b)
|
---|
5412 | {
|
---|
5413 | HANDLE yyrc;
|
---|
5414 | USHORT sel = GetFS();
|
---|
5415 |
|
---|
5416 | yyrc = _O32_GetProp(a, b);
|
---|
5417 | SetFS(sel);
|
---|
5418 |
|
---|
5419 | return yyrc;
|
---|
5420 | }
|
---|
5421 |
|
---|
5422 | inline DWORD O32_GetQueueStatus(UINT a)
|
---|
5423 | {
|
---|
5424 | DWORD yyrc;
|
---|
5425 | USHORT sel = GetFS();
|
---|
5426 |
|
---|
5427 | yyrc = _O32_GetQueueStatus(a);
|
---|
5428 | SetFS(sel);
|
---|
5429 |
|
---|
5430 | return yyrc;
|
---|
5431 | }
|
---|
5432 |
|
---|
5433 | inline int O32_GetROP2(HDC a)
|
---|
5434 | {
|
---|
5435 | int yyrc;
|
---|
5436 | USHORT sel = GetFS();
|
---|
5437 |
|
---|
5438 | yyrc = _O32_GetROP2(a);
|
---|
5439 | SetFS(sel);
|
---|
5440 |
|
---|
5441 | return yyrc;
|
---|
5442 | }
|
---|
5443 |
|
---|
5444 | inline BOOL O32_GetRasterizerCaps(LPRASTERIZER_STATUS a, UINT b)
|
---|
5445 | {
|
---|
5446 | BOOL yyrc;
|
---|
5447 | USHORT sel = GetFS();
|
---|
5448 |
|
---|
5449 | yyrc = _O32_GetRasterizerCaps(a, b);
|
---|
5450 | SetFS(sel);
|
---|
5451 |
|
---|
5452 | return yyrc;
|
---|
5453 | }
|
---|
5454 |
|
---|
5455 | inline int O32_GetRgnBox(HRGN a, PRECT b)
|
---|
5456 | {
|
---|
5457 | int yyrc;
|
---|
5458 | USHORT sel = GetFS();
|
---|
5459 |
|
---|
5460 | yyrc = _O32_GetRgnBox(a, b);
|
---|
5461 | SetFS(sel);
|
---|
5462 |
|
---|
5463 | return yyrc;
|
---|
5464 | }
|
---|
5465 |
|
---|
5466 | inline DWORD O32_GetRegionData(HRGN a, DWORD b, PRGNDATA c)
|
---|
5467 | {
|
---|
5468 | DWORD yyrc;
|
---|
5469 | USHORT sel = GetFS();
|
---|
5470 |
|
---|
5471 | yyrc = _O32_GetRegionData(a, b, c);
|
---|
5472 | SetFS(sel);
|
---|
5473 |
|
---|
5474 | return yyrc;
|
---|
5475 | }
|
---|
5476 |
|
---|
5477 | inline BOOL O32_GetSaveFileName(LPOPENFILENAMEA a)
|
---|
5478 | {
|
---|
5479 | BOOL yyrc;
|
---|
5480 | USHORT sel = GetFS();
|
---|
5481 |
|
---|
5482 | yyrc = _O32_GetSaveFileName(a);
|
---|
5483 | SetFS(sel);
|
---|
5484 |
|
---|
5485 | return yyrc;
|
---|
5486 | }
|
---|
5487 |
|
---|
5488 | inline int O32_GetScrollPos(HWND a, int b)
|
---|
5489 | {
|
---|
5490 | int yyrc;
|
---|
5491 | USHORT sel = GetFS();
|
---|
5492 |
|
---|
5493 | yyrc = _O32_GetScrollPos(a, b);
|
---|
5494 | SetFS(sel);
|
---|
5495 |
|
---|
5496 | return yyrc;
|
---|
5497 | }
|
---|
5498 |
|
---|
5499 | inline BOOL O32_GetScrollRange(HWND a, int b, int *c, int *d)
|
---|
5500 | {
|
---|
5501 | BOOL yyrc;
|
---|
5502 | USHORT sel = GetFS();
|
---|
5503 |
|
---|
5504 | yyrc = _O32_GetScrollRange(a, b, c, d);
|
---|
5505 | SetFS(sel);
|
---|
5506 |
|
---|
5507 | return yyrc;
|
---|
5508 | }
|
---|
5509 |
|
---|
5510 | inline HANDLE O32_GetStdHandle(DWORD a)
|
---|
5511 | {
|
---|
5512 | HANDLE yyrc;
|
---|
5513 | USHORT sel = GetFS();
|
---|
5514 |
|
---|
5515 | yyrc = _O32_GetStdHandle(a);
|
---|
5516 | SetFS(sel);
|
---|
5517 |
|
---|
5518 | return yyrc;
|
---|
5519 | }
|
---|
5520 |
|
---|
5521 | inline HGDIOBJ O32_GetStockObject(int a)
|
---|
5522 | {
|
---|
5523 | HGDIOBJ yyrc;
|
---|
5524 | USHORT sel = GetFS();
|
---|
5525 |
|
---|
5526 | yyrc = _O32_GetStockObject(a);
|
---|
5527 | SetFS(sel);
|
---|
5528 |
|
---|
5529 | return yyrc;
|
---|
5530 | }
|
---|
5531 |
|
---|
5532 | inline int O32_GetStretchBltMode(HDC a)
|
---|
5533 | {
|
---|
5534 | int yyrc;
|
---|
5535 | USHORT sel = GetFS();
|
---|
5536 |
|
---|
5537 | yyrc = _O32_GetStretchBltMode(a);
|
---|
5538 | SetFS(sel);
|
---|
5539 |
|
---|
5540 | return yyrc;
|
---|
5541 | }
|
---|
5542 |
|
---|
5543 | inline HMENU O32_GetSubMenu(HWND a, int b)
|
---|
5544 | {
|
---|
5545 | HMENU yyrc;
|
---|
5546 | USHORT sel = GetFS();
|
---|
5547 |
|
---|
5548 | yyrc = _O32_GetSubMenu(a, b);
|
---|
5549 | SetFS(sel);
|
---|
5550 |
|
---|
5551 | return yyrc;
|
---|
5552 | }
|
---|
5553 |
|
---|
5554 | inline DWORD O32_GetSysColor(int a)
|
---|
5555 | {
|
---|
5556 | DWORD yyrc;
|
---|
5557 | USHORT sel = GetFS();
|
---|
5558 |
|
---|
5559 | yyrc = _O32_GetSysColor(a);
|
---|
5560 | SetFS(sel);
|
---|
5561 |
|
---|
5562 | return yyrc;
|
---|
5563 | }
|
---|
5564 |
|
---|
5565 | inline UINT O32_GetSystemDirectory(LPSTR a, UINT b)
|
---|
5566 | {
|
---|
5567 | UINT yyrc;
|
---|
5568 | USHORT sel = GetFS();
|
---|
5569 |
|
---|
5570 | yyrc = _O32_GetSystemDirectory(a, b);
|
---|
5571 | SetFS(sel);
|
---|
5572 |
|
---|
5573 | return yyrc;
|
---|
5574 | }
|
---|
5575 |
|
---|
5576 | inline HMENU O32_GetSystemMenu(HWND a, BOOL b)
|
---|
5577 | {
|
---|
5578 | HMENU yyrc;
|
---|
5579 | USHORT sel = GetFS();
|
---|
5580 |
|
---|
5581 | yyrc = _O32_GetSystemMenu(a, b);
|
---|
5582 | SetFS(sel);
|
---|
5583 |
|
---|
5584 | return yyrc;
|
---|
5585 | }
|
---|
5586 |
|
---|
5587 | inline int O32_GetSystemMetrics(int a)
|
---|
5588 | {
|
---|
5589 | int yyrc;
|
---|
5590 | USHORT sel = GetFS();
|
---|
5591 |
|
---|
5592 | yyrc = _O32_GetSystemMetrics(a);
|
---|
5593 | SetFS(sel);
|
---|
5594 |
|
---|
5595 | return yyrc;
|
---|
5596 | }
|
---|
5597 |
|
---|
5598 | inline UINT O32_GetSystemPaletteEntries(HDC a, UINT b, UINT c, PPALETTEENTRY d)
|
---|
5599 | {
|
---|
5600 | UINT yyrc;
|
---|
5601 | USHORT sel = GetFS();
|
---|
5602 |
|
---|
5603 | yyrc = _O32_GetSystemPaletteEntries(a, b, c, d);
|
---|
5604 | SetFS(sel);
|
---|
5605 |
|
---|
5606 | return yyrc;
|
---|
5607 | }
|
---|
5608 |
|
---|
5609 | inline void O32_GetSystemTime(LPSYSTEMTIME a)
|
---|
5610 | {
|
---|
5611 | USHORT sel = GetFS();
|
---|
5612 |
|
---|
5613 | _O32_GetSystemTime(a);
|
---|
5614 | SetFS(sel);
|
---|
5615 | }
|
---|
5616 |
|
---|
5617 | inline DWORD O32_GetTabbedTextExtent(HDC a, LPCSTR b, int c, int d, int *e)
|
---|
5618 | {
|
---|
5619 | DWORD yyrc;
|
---|
5620 | USHORT sel = GetFS();
|
---|
5621 |
|
---|
5622 | yyrc = _O32_GetTabbedTextExtent(a, b, c, d, e);
|
---|
5623 | SetFS(sel);
|
---|
5624 |
|
---|
5625 | return yyrc;
|
---|
5626 | }
|
---|
5627 |
|
---|
5628 | inline UINT O32_GetTempFileName(LPCSTR a, LPCSTR b, UINT c, LPSTR d)
|
---|
5629 | {
|
---|
5630 | UINT yyrc;
|
---|
5631 | USHORT sel = GetFS();
|
---|
5632 |
|
---|
5633 | yyrc = _O32_GetTempFileName(a, b, c, d);
|
---|
5634 | SetFS(sel);
|
---|
5635 |
|
---|
5636 | return yyrc;
|
---|
5637 | }
|
---|
5638 |
|
---|
5639 | inline DWORD O32_GetTempPath(DWORD a, LPSTR b)
|
---|
5640 | {
|
---|
5641 | DWORD yyrc;
|
---|
5642 | USHORT sel = GetFS();
|
---|
5643 |
|
---|
5644 | yyrc = _O32_GetTempPath(a, b);
|
---|
5645 | SetFS(sel);
|
---|
5646 |
|
---|
5647 | return yyrc;
|
---|
5648 | }
|
---|
5649 |
|
---|
5650 | inline UINT O32_GetTextAlign(HDC a)
|
---|
5651 | {
|
---|
5652 | UINT yyrc;
|
---|
5653 | USHORT sel = GetFS();
|
---|
5654 |
|
---|
5655 | yyrc = _O32_GetTextAlign(a);
|
---|
5656 | SetFS(sel);
|
---|
5657 |
|
---|
5658 | return yyrc;
|
---|
5659 | }
|
---|
5660 |
|
---|
5661 | inline int O32_GetTextCharacterExtra(HDC a)
|
---|
5662 | {
|
---|
5663 | int yyrc;
|
---|
5664 | USHORT sel = GetFS();
|
---|
5665 |
|
---|
5666 | yyrc = _O32_GetTextCharacterExtra(a);
|
---|
5667 | SetFS(sel);
|
---|
5668 |
|
---|
5669 | return yyrc;
|
---|
5670 | }
|
---|
5671 |
|
---|
5672 | inline COLORREF O32_GetTextColor(HDC a)
|
---|
5673 | {
|
---|
5674 | COLORREF yyrc;
|
---|
5675 | USHORT sel = GetFS();
|
---|
5676 |
|
---|
5677 | yyrc = _O32_GetTextColor(a);
|
---|
5678 | SetFS(sel);
|
---|
5679 |
|
---|
5680 | return yyrc;
|
---|
5681 | }
|
---|
5682 |
|
---|
5683 | inline BOOL O32_GetTextExtentPoint(HDC a, LPCSTR b, int c, PSIZE d)
|
---|
5684 | {
|
---|
5685 | BOOL yyrc;
|
---|
5686 | USHORT sel = GetFS();
|
---|
5687 |
|
---|
5688 | yyrc = _O32_GetTextExtentPoint(a, b, c, d);
|
---|
5689 | SetFS(sel);
|
---|
5690 |
|
---|
5691 | return yyrc;
|
---|
5692 | }
|
---|
5693 |
|
---|
5694 | inline BOOL O32_GetTextExtentPoint32(HDC a, LPCSTR b, int c, PSIZE d)
|
---|
5695 | {
|
---|
5696 | BOOL yyrc;
|
---|
5697 | USHORT sel = GetFS();
|
---|
5698 |
|
---|
5699 | yyrc = _O32_GetTextExtentPoint32(a, b, c, d);
|
---|
5700 | SetFS(sel);
|
---|
5701 |
|
---|
5702 | return yyrc;
|
---|
5703 | }
|
---|
5704 |
|
---|
5705 | inline int O32_GetTextFace(HDC a, int b, LPSTR c)
|
---|
5706 | {
|
---|
5707 | int yyrc;
|
---|
5708 | USHORT sel = GetFS();
|
---|
5709 |
|
---|
5710 | yyrc = _O32_GetTextFace(a, b, c);
|
---|
5711 | SetFS(sel);
|
---|
5712 |
|
---|
5713 | return yyrc;
|
---|
5714 | }
|
---|
5715 |
|
---|
5716 | inline BOOL O32_GetTextMetrics(HDC a, LPTEXTMETRICA b)
|
---|
5717 | {
|
---|
5718 | BOOL yyrc;
|
---|
5719 | USHORT sel = GetFS();
|
---|
5720 |
|
---|
5721 | yyrc = _O32_GetTextMetrics(a, b);
|
---|
5722 | SetFS(sel);
|
---|
5723 |
|
---|
5724 | return yyrc;
|
---|
5725 | }
|
---|
5726 |
|
---|
5727 | inline DWORD O32_GetThreadPriority(HANDLE a)
|
---|
5728 | {
|
---|
5729 | DWORD yyrc;
|
---|
5730 | USHORT sel = GetFS();
|
---|
5731 |
|
---|
5732 | yyrc = _O32_GetThreadPriority(a);
|
---|
5733 | SetFS(sel);
|
---|
5734 |
|
---|
5735 | return yyrc;
|
---|
5736 | }
|
---|
5737 |
|
---|
5738 | inline DWORD O32_GetTickCount()
|
---|
5739 | {
|
---|
5740 | DWORD yyrc;
|
---|
5741 | USHORT sel = GetFS();
|
---|
5742 |
|
---|
5743 | yyrc = _O32_GetTickCount();
|
---|
5744 | SetFS(sel);
|
---|
5745 |
|
---|
5746 | return yyrc;
|
---|
5747 | }
|
---|
5748 |
|
---|
5749 | inline DWORD O32_GetTimeZoneInformation(LPTIME_ZONE_INFORMATION a)
|
---|
5750 | {
|
---|
5751 | DWORD yyrc;
|
---|
5752 | USHORT sel = GetFS();
|
---|
5753 |
|
---|
5754 | yyrc = _O32_GetTimeZoneInformation(a);
|
---|
5755 | SetFS(sel);
|
---|
5756 |
|
---|
5757 | return yyrc;
|
---|
5758 | }
|
---|
5759 |
|
---|
5760 | inline HWND O32_GetTopWindow(HWND a)
|
---|
5761 | {
|
---|
5762 | HWND yyrc;
|
---|
5763 | USHORT sel = GetFS();
|
---|
5764 |
|
---|
5765 | yyrc = _O32_GetTopWindow(a);
|
---|
5766 | SetFS(sel);
|
---|
5767 |
|
---|
5768 | return yyrc;
|
---|
5769 | }
|
---|
5770 |
|
---|
5771 | inline BOOL O32_GetUpdateRect(HWND a, PRECT b, BOOL c)
|
---|
5772 | {
|
---|
5773 | BOOL yyrc;
|
---|
5774 | USHORT sel = GetFS();
|
---|
5775 |
|
---|
5776 | yyrc = _O32_GetUpdateRect(a, b, c);
|
---|
5777 | SetFS(sel);
|
---|
5778 |
|
---|
5779 | return yyrc;
|
---|
5780 | }
|
---|
5781 |
|
---|
5782 | inline int O32_GetUpdateRgn(HWND a, HRGN b, BOOL c)
|
---|
5783 | {
|
---|
5784 | int yyrc;
|
---|
5785 | USHORT sel = GetFS();
|
---|
5786 |
|
---|
5787 | yyrc = _O32_GetUpdateRgn(a, b, c);
|
---|
5788 | SetFS(sel);
|
---|
5789 |
|
---|
5790 | return yyrc;
|
---|
5791 | }
|
---|
5792 |
|
---|
5793 | inline BOOL O32_GetViewportExtEx(HDC a, PSIZE b)
|
---|
5794 | {
|
---|
5795 | BOOL yyrc;
|
---|
5796 | USHORT sel = GetFS();
|
---|
5797 |
|
---|
5798 | yyrc = _O32_GetViewportExtEx(a, b);
|
---|
5799 | SetFS(sel);
|
---|
5800 |
|
---|
5801 | return yyrc;
|
---|
5802 | }
|
---|
5803 |
|
---|
5804 | inline BOOL O32_GetViewportOrgEx(HDC a, PPOINT b)
|
---|
5805 | {
|
---|
5806 | BOOL yyrc;
|
---|
5807 | USHORT sel = GetFS();
|
---|
5808 |
|
---|
5809 | yyrc = _O32_GetViewportOrgEx(a, b);
|
---|
5810 | SetFS(sel);
|
---|
5811 |
|
---|
5812 | return yyrc;
|
---|
5813 | }
|
---|
5814 |
|
---|
5815 | inline DWORD O32_GetVolumeInformation(LPCSTR a, LPSTR b, DWORD c, PDWORD d, PDWORD e, PDWORD f, LPSTR g, DWORD h)
|
---|
5816 | {
|
---|
5817 | DWORD yyrc;
|
---|
5818 | USHORT sel = GetFS();
|
---|
5819 |
|
---|
5820 | yyrc = _O32_GetVolumeInformation(a, b, c, d, e, f, g, h);
|
---|
5821 | SetFS(sel);
|
---|
5822 |
|
---|
5823 | return yyrc;
|
---|
5824 | }
|
---|
5825 |
|
---|
5826 | inline UINT O32_GetWinMetaFileBits(HENHMETAFILE a, UINT b, PBYTE c, int d, HDC e)
|
---|
5827 | {
|
---|
5828 | UINT yyrc;
|
---|
5829 | USHORT sel = GetFS();
|
---|
5830 |
|
---|
5831 | yyrc = _O32_GetWinMetaFileBits(a, b, c, d, e);
|
---|
5832 | SetFS(sel);
|
---|
5833 |
|
---|
5834 | return yyrc;
|
---|
5835 | }
|
---|
5836 |
|
---|
5837 | inline HWND O32_GetWindow(HWND a, UINT b)
|
---|
5838 | {
|
---|
5839 | HWND yyrc;
|
---|
5840 | USHORT sel = GetFS();
|
---|
5841 |
|
---|
5842 | yyrc = _O32_GetWindow(a, b);
|
---|
5843 | SetFS(sel);
|
---|
5844 |
|
---|
5845 | return yyrc;
|
---|
5846 | }
|
---|
5847 |
|
---|
5848 | inline HDC O32_GetWindowDC(HWND a)
|
---|
5849 | {
|
---|
5850 | HDC yyrc;
|
---|
5851 | USHORT sel = GetFS();
|
---|
5852 |
|
---|
5853 | yyrc = _O32_GetWindowDC(a);
|
---|
5854 | SetFS(sel);
|
---|
5855 |
|
---|
5856 | return yyrc;
|
---|
5857 | }
|
---|
5858 |
|
---|
5859 | inline BOOL O32_GetWindowExtEx(HDC a, PSIZE b)
|
---|
5860 | {
|
---|
5861 | BOOL yyrc;
|
---|
5862 | USHORT sel = GetFS();
|
---|
5863 |
|
---|
5864 | yyrc = _O32_GetWindowExtEx(a, b);
|
---|
5865 | SetFS(sel);
|
---|
5866 |
|
---|
5867 | return yyrc;
|
---|
5868 | }
|
---|
5869 |
|
---|
5870 | inline LONG O32_GetWindowLong(HWND a, int b)
|
---|
5871 | {
|
---|
5872 | LONG yyrc;
|
---|
5873 | USHORT sel = GetFS();
|
---|
5874 |
|
---|
5875 | yyrc = _O32_GetWindowLong(a, b);
|
---|
5876 | SetFS(sel);
|
---|
5877 |
|
---|
5878 | return yyrc;
|
---|
5879 | }
|
---|
5880 |
|
---|
5881 | inline BOOL O32_GetWindowOrgEx(HDC a, PPOINT b)
|
---|
5882 | {
|
---|
5883 | BOOL yyrc;
|
---|
5884 | USHORT sel = GetFS();
|
---|
5885 |
|
---|
5886 | yyrc = _O32_GetWindowOrgEx(a, b);
|
---|
5887 | SetFS(sel);
|
---|
5888 |
|
---|
5889 | return yyrc;
|
---|
5890 | }
|
---|
5891 |
|
---|
5892 | inline BOOL O32_GetWindowPlacement(HWND a, LPWINDOWPLACEMENT b)
|
---|
5893 | {
|
---|
5894 | BOOL yyrc;
|
---|
5895 | USHORT sel = GetFS();
|
---|
5896 |
|
---|
5897 | yyrc = _O32_GetWindowPlacement(a, b);
|
---|
5898 | SetFS(sel);
|
---|
5899 |
|
---|
5900 | return yyrc;
|
---|
5901 | }
|
---|
5902 |
|
---|
5903 | inline BOOL O32_GetWindowRect(HWND a, PRECT b)
|
---|
5904 | {
|
---|
5905 | BOOL yyrc;
|
---|
5906 | USHORT sel = GetFS();
|
---|
5907 |
|
---|
5908 | yyrc = _O32_GetWindowRect(a, b);
|
---|
5909 | SetFS(sel);
|
---|
5910 |
|
---|
5911 | return yyrc;
|
---|
5912 | }
|
---|
5913 |
|
---|
5914 | inline UINT O32_GetWindowsDirectory(LPSTR a, UINT b)
|
---|
5915 | {
|
---|
5916 | UINT yyrc;
|
---|
5917 | USHORT sel = GetFS();
|
---|
5918 |
|
---|
5919 | yyrc = _O32_GetWindowsDirectory(a, b);
|
---|
5920 | SetFS(sel);
|
---|
5921 |
|
---|
5922 | return yyrc;
|
---|
5923 | }
|
---|
5924 |
|
---|
5925 | inline int O32_GetWindowText(HWND a, LPSTR b, int c)
|
---|
5926 | {
|
---|
5927 | int yyrc;
|
---|
5928 | USHORT sel = GetFS();
|
---|
5929 |
|
---|
5930 | yyrc = _O32_GetWindowText(a, b, c);
|
---|
5931 | SetFS(sel);
|
---|
5932 |
|
---|
5933 | return yyrc;
|
---|
5934 | }
|
---|
5935 |
|
---|
5936 | inline int O32_GetWindowTextLength(HWND a)
|
---|
5937 | {
|
---|
5938 | int yyrc;
|
---|
5939 | USHORT sel = GetFS();
|
---|
5940 |
|
---|
5941 | yyrc = _O32_GetWindowTextLength(a);
|
---|
5942 | SetFS(sel);
|
---|
5943 |
|
---|
5944 | return yyrc;
|
---|
5945 | }
|
---|
5946 |
|
---|
5947 | inline DWORD O32_GetWindowThreadProcessId(HWND a, PDWORD b)
|
---|
5948 | {
|
---|
5949 | DWORD yyrc;
|
---|
5950 | USHORT sel = GetFS();
|
---|
5951 |
|
---|
5952 | yyrc = _O32_GetWindowThreadProcessId(a, b);
|
---|
5953 | SetFS(sel);
|
---|
5954 |
|
---|
5955 | return yyrc;
|
---|
5956 | }
|
---|
5957 |
|
---|
5958 | inline WORD O32_GetWindowWord(HWND a, int b)
|
---|
5959 | {
|
---|
5960 | WORD yyrc;
|
---|
5961 | USHORT sel = GetFS();
|
---|
5962 |
|
---|
5963 | yyrc = _O32_GetWindowWord(a, b);
|
---|
5964 | SetFS(sel);
|
---|
5965 |
|
---|
5966 | return yyrc;
|
---|
5967 | }
|
---|
5968 |
|
---|
5969 | inline BOOL O32_GetWorldTransform(HDC a, LPXFORM b)
|
---|
5970 | {
|
---|
5971 | BOOL yyrc;
|
---|
5972 | USHORT sel = GetFS();
|
---|
5973 |
|
---|
5974 | yyrc = _O32_GetWorldTransform(a, b);
|
---|
5975 | SetFS(sel);
|
---|
5976 |
|
---|
5977 | return yyrc;
|
---|
5978 | }
|
---|
5979 |
|
---|
5980 | inline ATOM O32_GlobalAddAtom(LPCSTR a)
|
---|
5981 | {
|
---|
5982 | ATOM yyrc;
|
---|
5983 | USHORT sel = GetFS();
|
---|
5984 |
|
---|
5985 | yyrc = _O32_GlobalAddAtom(a);
|
---|
5986 | SetFS(sel);
|
---|
5987 |
|
---|
5988 | return yyrc;
|
---|
5989 | }
|
---|
5990 |
|
---|
5991 | inline HGLOBAL O32_GlobalAlloc(UINT a, DWORD b)
|
---|
5992 | {
|
---|
5993 | HGLOBAL yyrc;
|
---|
5994 | USHORT sel = GetFS();
|
---|
5995 |
|
---|
5996 | yyrc = _O32_GlobalAlloc(a, b);
|
---|
5997 | SetFS(sel);
|
---|
5998 |
|
---|
5999 | return yyrc;
|
---|
6000 | }
|
---|
6001 |
|
---|
6002 | inline ATOM O32_GlobalDeleteAtom(ATOM a)
|
---|
6003 | {
|
---|
6004 | ATOM yyrc;
|
---|
6005 | USHORT sel = GetFS();
|
---|
6006 |
|
---|
6007 | yyrc = _O32_GlobalDeleteAtom(a);
|
---|
6008 | SetFS(sel);
|
---|
6009 |
|
---|
6010 | return yyrc;
|
---|
6011 | }
|
---|
6012 |
|
---|
6013 | inline HGLOBAL O32_GlobalDiscard(HGLOBAL a)
|
---|
6014 | {
|
---|
6015 | HGLOBAL yyrc;
|
---|
6016 | USHORT sel = GetFS();
|
---|
6017 |
|
---|
6018 | yyrc = _O32_GlobalDiscard(a);
|
---|
6019 | SetFS(sel);
|
---|
6020 |
|
---|
6021 | return yyrc;
|
---|
6022 | }
|
---|
6023 |
|
---|
6024 | inline ATOM O32_GlobalFindAtom(LPCSTR a)
|
---|
6025 | {
|
---|
6026 | ATOM yyrc;
|
---|
6027 | USHORT sel = GetFS();
|
---|
6028 |
|
---|
6029 | yyrc = _O32_GlobalFindAtom(a);
|
---|
6030 | SetFS(sel);
|
---|
6031 |
|
---|
6032 | return yyrc;
|
---|
6033 | }
|
---|
6034 |
|
---|
6035 | inline UINT O32_GlobalFlags(HGLOBAL a)
|
---|
6036 | {
|
---|
6037 | UINT yyrc;
|
---|
6038 | USHORT sel = GetFS();
|
---|
6039 |
|
---|
6040 | yyrc = _O32_GlobalFlags(a);
|
---|
6041 | SetFS(sel);
|
---|
6042 |
|
---|
6043 | return yyrc;
|
---|
6044 | }
|
---|
6045 |
|
---|
6046 | inline HGLOBAL O32_GlobalFree(HGLOBAL a)
|
---|
6047 | {
|
---|
6048 | HGLOBAL yyrc;
|
---|
6049 | USHORT sel = GetFS();
|
---|
6050 |
|
---|
6051 | yyrc = _O32_GlobalFree(a);
|
---|
6052 | SetFS(sel);
|
---|
6053 |
|
---|
6054 | return yyrc;
|
---|
6055 | }
|
---|
6056 |
|
---|
6057 | inline UINT O32_GlobalGetAtomName(ATOM a, LPSTR b, int c)
|
---|
6058 | {
|
---|
6059 | UINT yyrc;
|
---|
6060 | USHORT sel = GetFS();
|
---|
6061 |
|
---|
6062 | yyrc = _O32_GlobalGetAtomName(a, b, c);
|
---|
6063 | SetFS(sel);
|
---|
6064 |
|
---|
6065 | return yyrc;
|
---|
6066 | }
|
---|
6067 |
|
---|
6068 | inline HGLOBAL O32_GlobalHandle(PVOID a)
|
---|
6069 | {
|
---|
6070 | HGLOBAL yyrc;
|
---|
6071 | USHORT sel = GetFS();
|
---|
6072 |
|
---|
6073 | yyrc = _O32_GlobalHandle(a);
|
---|
6074 | SetFS(sel);
|
---|
6075 |
|
---|
6076 | return yyrc;
|
---|
6077 | }
|
---|
6078 |
|
---|
6079 | inline PVOID O32_GlobalLock(HGLOBAL a)
|
---|
6080 | {
|
---|
6081 | PVOID yyrc;
|
---|
6082 | USHORT sel = GetFS();
|
---|
6083 |
|
---|
6084 | yyrc = _O32_GlobalLock(a);
|
---|
6085 | SetFS(sel);
|
---|
6086 |
|
---|
6087 | return yyrc;
|
---|
6088 | }
|
---|
6089 |
|
---|
6090 | inline VOID O32_GlobalMemoryStatus(LPMEMORYSTATUS a)
|
---|
6091 | {
|
---|
6092 | USHORT sel = GetFS();
|
---|
6093 |
|
---|
6094 | _O32_GlobalMemoryStatus(a);
|
---|
6095 | SetFS(sel);
|
---|
6096 | }
|
---|
6097 |
|
---|
6098 | inline HGLOBAL O32_GlobalReAlloc(HGLOBAL a, DWORD b, UINT c)
|
---|
6099 | {
|
---|
6100 | HGLOBAL yyrc;
|
---|
6101 | USHORT sel = GetFS();
|
---|
6102 |
|
---|
6103 | yyrc = _O32_GlobalReAlloc(a, b, c);
|
---|
6104 | SetFS(sel);
|
---|
6105 |
|
---|
6106 | return yyrc;
|
---|
6107 | }
|
---|
6108 |
|
---|
6109 | inline DWORD O32_GlobalSize(HGLOBAL a)
|
---|
6110 | {
|
---|
6111 | DWORD yyrc;
|
---|
6112 | USHORT sel = GetFS();
|
---|
6113 |
|
---|
6114 | yyrc = _O32_GlobalSize(a);
|
---|
6115 | SetFS(sel);
|
---|
6116 |
|
---|
6117 | return yyrc;
|
---|
6118 | }
|
---|
6119 |
|
---|
6120 | inline BOOL O32_GlobalUnlock(HGLOBAL a)
|
---|
6121 | {
|
---|
6122 | BOOL yyrc;
|
---|
6123 | USHORT sel = GetFS();
|
---|
6124 |
|
---|
6125 | yyrc = _O32_GlobalUnlock(a);
|
---|
6126 | SetFS(sel);
|
---|
6127 |
|
---|
6128 | return yyrc;
|
---|
6129 | }
|
---|
6130 |
|
---|
6131 | inline PVOID O32_HeapAlloc(HANDLE a, DWORD b, DWORD c)
|
---|
6132 | {
|
---|
6133 | PVOID yyrc;
|
---|
6134 | USHORT sel = GetFS();
|
---|
6135 |
|
---|
6136 | yyrc = _O32_HeapAlloc(a, b, c);
|
---|
6137 | SetFS(sel);
|
---|
6138 |
|
---|
6139 | return yyrc;
|
---|
6140 | }
|
---|
6141 |
|
---|
6142 | inline HANDLE O32_HeapCreate(DWORD a, DWORD b, DWORD c)
|
---|
6143 | {
|
---|
6144 | HANDLE yyrc;
|
---|
6145 | USHORT sel = GetFS();
|
---|
6146 |
|
---|
6147 | yyrc = _O32_HeapCreate(a, b, c);
|
---|
6148 | SetFS(sel);
|
---|
6149 |
|
---|
6150 | return yyrc;
|
---|
6151 | }
|
---|
6152 |
|
---|
6153 | inline BOOL O32_HeapDestroy(HANDLE a)
|
---|
6154 | {
|
---|
6155 | BOOL yyrc;
|
---|
6156 | USHORT sel = GetFS();
|
---|
6157 |
|
---|
6158 | yyrc = _O32_HeapDestroy(a);
|
---|
6159 | SetFS(sel);
|
---|
6160 |
|
---|
6161 | return yyrc;
|
---|
6162 | }
|
---|
6163 |
|
---|
6164 | inline BOOL O32_HeapFree(HANDLE a, DWORD b, PVOID c)
|
---|
6165 | {
|
---|
6166 | BOOL yyrc;
|
---|
6167 | USHORT sel = GetFS();
|
---|
6168 |
|
---|
6169 | yyrc = _O32_HeapFree(a, b, c);
|
---|
6170 | SetFS(sel);
|
---|
6171 |
|
---|
6172 | return yyrc;
|
---|
6173 | }
|
---|
6174 |
|
---|
6175 | inline PVOID O32_HeapReAlloc(HANDLE a, DWORD b, PVOID c, DWORD d)
|
---|
6176 | {
|
---|
6177 | PVOID yyrc;
|
---|
6178 | USHORT sel = GetFS();
|
---|
6179 |
|
---|
6180 | yyrc = _O32_HeapReAlloc(a, b, c, d);
|
---|
6181 | SetFS(sel);
|
---|
6182 |
|
---|
6183 | return yyrc;
|
---|
6184 | }
|
---|
6185 |
|
---|
6186 | inline DWORD O32_HeapSize(HANDLE a, DWORD b, PVOID c)
|
---|
6187 | {
|
---|
6188 | DWORD yyrc;
|
---|
6189 | USHORT sel = GetFS();
|
---|
6190 |
|
---|
6191 | yyrc = _O32_HeapSize(a, b, c);
|
---|
6192 | SetFS(sel);
|
---|
6193 |
|
---|
6194 | return yyrc;
|
---|
6195 | }
|
---|
6196 |
|
---|
6197 | inline BOOL O32_HideCaret(HWND a)
|
---|
6198 | {
|
---|
6199 | BOOL yyrc;
|
---|
6200 | USHORT sel = GetFS();
|
---|
6201 |
|
---|
6202 | yyrc = _O32_HideCaret(a);
|
---|
6203 | SetFS(sel);
|
---|
6204 |
|
---|
6205 | return yyrc;
|
---|
6206 | }
|
---|
6207 |
|
---|
6208 | inline BOOL O32_HiliteMenuItem(HWND a, HMENU b, UINT c, UINT d)
|
---|
6209 | {
|
---|
6210 | BOOL yyrc;
|
---|
6211 | USHORT sel = GetFS();
|
---|
6212 |
|
---|
6213 | yyrc = _O32_HiliteMenuItem(a, b, c, d);
|
---|
6214 | SetFS(sel);
|
---|
6215 |
|
---|
6216 | return yyrc;
|
---|
6217 | }
|
---|
6218 |
|
---|
6219 | inline BOOL O32_InflateRect(PRECT a, int b, int c)
|
---|
6220 | {
|
---|
6221 | BOOL yyrc;
|
---|
6222 | USHORT sel = GetFS();
|
---|
6223 |
|
---|
6224 | yyrc = _O32_InflateRect(a, b, c);
|
---|
6225 | SetFS(sel);
|
---|
6226 |
|
---|
6227 | return yyrc;
|
---|
6228 | }
|
---|
6229 |
|
---|
6230 | inline BOOL O32_InSendMessage()
|
---|
6231 | {
|
---|
6232 | BOOL yyrc;
|
---|
6233 | USHORT sel = GetFS();
|
---|
6234 |
|
---|
6235 | yyrc = _O32_InSendMessage();
|
---|
6236 | SetFS(sel);
|
---|
6237 |
|
---|
6238 | return yyrc;
|
---|
6239 | }
|
---|
6240 |
|
---|
6241 | inline BOOL O32_InitAtomTable(DWORD a)
|
---|
6242 | {
|
---|
6243 | BOOL yyrc;
|
---|
6244 | USHORT sel = GetFS();
|
---|
6245 |
|
---|
6246 | yyrc = _O32_InitAtomTable(a);
|
---|
6247 | SetFS(sel);
|
---|
6248 |
|
---|
6249 | return yyrc;
|
---|
6250 | }
|
---|
6251 |
|
---|
6252 | inline VOID O32_InitializeCriticalSection(CRITICAL_SECTION *a)
|
---|
6253 | {
|
---|
6254 | USHORT sel = GetFS();
|
---|
6255 |
|
---|
6256 | _O32_InitializeCriticalSection(a);
|
---|
6257 | SetFS(sel);
|
---|
6258 | }
|
---|
6259 |
|
---|
6260 | inline BOOL O32_InsertMenu(HMENU a, UINT b, UINT c, UINT d, LPCSTR e)
|
---|
6261 | {
|
---|
6262 | BOOL yyrc;
|
---|
6263 | USHORT sel = GetFS();
|
---|
6264 |
|
---|
6265 | yyrc = _O32_InsertMenu(a, b, c, d, e);
|
---|
6266 | SetFS(sel);
|
---|
6267 |
|
---|
6268 | return yyrc;
|
---|
6269 | }
|
---|
6270 |
|
---|
6271 | inline LONG O32_InterlockedDecrement(PLONG a)
|
---|
6272 | {
|
---|
6273 | LONG yyrc;
|
---|
6274 | USHORT sel = GetFS();
|
---|
6275 |
|
---|
6276 | yyrc = _O32_InterlockedDecrement(a);
|
---|
6277 | SetFS(sel);
|
---|
6278 |
|
---|
6279 | return yyrc;
|
---|
6280 | }
|
---|
6281 |
|
---|
6282 | inline LONG O32_InterlockedExchange(PLONG a, LONG b)
|
---|
6283 | {
|
---|
6284 | LONG yyrc;
|
---|
6285 | USHORT sel = GetFS();
|
---|
6286 |
|
---|
6287 | yyrc = _O32_InterlockedExchange(a, b);
|
---|
6288 | SetFS(sel);
|
---|
6289 |
|
---|
6290 | return yyrc;
|
---|
6291 | }
|
---|
6292 |
|
---|
6293 | inline LONG O32_InterlockedIncrement(PLONG a)
|
---|
6294 | {
|
---|
6295 | LONG yyrc;
|
---|
6296 | USHORT sel = GetFS();
|
---|
6297 |
|
---|
6298 | yyrc = _O32_InterlockedIncrement(a);
|
---|
6299 | SetFS(sel);
|
---|
6300 |
|
---|
6301 | return yyrc;
|
---|
6302 | }
|
---|
6303 |
|
---|
6304 | inline int O32_IntersectClipRect(HDC a, int b, int c, int d, int e)
|
---|
6305 | {
|
---|
6306 | int yyrc;
|
---|
6307 | USHORT sel = GetFS();
|
---|
6308 |
|
---|
6309 | yyrc = _O32_IntersectClipRect(a, b, c, d, e);
|
---|
6310 | SetFS(sel);
|
---|
6311 |
|
---|
6312 | return yyrc;
|
---|
6313 | }
|
---|
6314 |
|
---|
6315 | inline BOOL O32_IntersectRect(PRECT a, CONST RECT *b, CONST RECT *c)
|
---|
6316 | {
|
---|
6317 | BOOL yyrc;
|
---|
6318 | USHORT sel = GetFS();
|
---|
6319 |
|
---|
6320 | yyrc = _O32_IntersectRect(a, b, c);
|
---|
6321 | SetFS(sel);
|
---|
6322 |
|
---|
6323 | return yyrc;
|
---|
6324 | }
|
---|
6325 |
|
---|
6326 | inline BOOL O32_InvalidateRect(HWND a, CONST RECT *b, BOOL c)
|
---|
6327 | {
|
---|
6328 | BOOL yyrc;
|
---|
6329 | USHORT sel = GetFS();
|
---|
6330 |
|
---|
6331 | yyrc = _O32_InvalidateRect(a, b, c);
|
---|
6332 | SetFS(sel);
|
---|
6333 |
|
---|
6334 | return yyrc;
|
---|
6335 | }
|
---|
6336 |
|
---|
6337 | inline BOOL O32_InvalidateRgn(HWND a, HRGN b, BOOL c)
|
---|
6338 | {
|
---|
6339 | BOOL yyrc;
|
---|
6340 | USHORT sel = GetFS();
|
---|
6341 |
|
---|
6342 | yyrc = _O32_InvalidateRgn(a, b, c);
|
---|
6343 | SetFS(sel);
|
---|
6344 |
|
---|
6345 | return yyrc;
|
---|
6346 | }
|
---|
6347 |
|
---|
6348 | inline BOOL O32_InvertRect(HDC a, CONST RECT *b)
|
---|
6349 | {
|
---|
6350 | BOOL yyrc;
|
---|
6351 | USHORT sel = GetFS();
|
---|
6352 |
|
---|
6353 | yyrc = _O32_InvertRect(a, b);
|
---|
6354 | SetFS(sel);
|
---|
6355 |
|
---|
6356 | return yyrc;
|
---|
6357 | }
|
---|
6358 |
|
---|
6359 | inline BOOL O32_InvertRgn(HDC a, HRGN b)
|
---|
6360 | {
|
---|
6361 | BOOL yyrc;
|
---|
6362 | USHORT sel = GetFS();
|
---|
6363 |
|
---|
6364 | yyrc = _O32_InvertRgn(a, b);
|
---|
6365 | SetFS(sel);
|
---|
6366 |
|
---|
6367 | return yyrc;
|
---|
6368 | }
|
---|
6369 |
|
---|
6370 | inline BOOL O32_IsBadCodePtr(FARPROC a)
|
---|
6371 | {
|
---|
6372 | BOOL yyrc;
|
---|
6373 | USHORT sel = GetFS();
|
---|
6374 |
|
---|
6375 | yyrc = _O32_IsBadCodePtr(a);
|
---|
6376 | SetFS(sel);
|
---|
6377 |
|
---|
6378 | return yyrc;
|
---|
6379 | }
|
---|
6380 |
|
---|
6381 | inline BOOL O32_IsBadReadPtr(CONST VOID *a, UINT b)
|
---|
6382 | {
|
---|
6383 | BOOL yyrc;
|
---|
6384 | USHORT sel = GetFS();
|
---|
6385 |
|
---|
6386 | yyrc = _O32_IsBadReadPtr(a, b);
|
---|
6387 | SetFS(sel);
|
---|
6388 |
|
---|
6389 | return yyrc;
|
---|
6390 | }
|
---|
6391 |
|
---|
6392 | inline BOOL O32_IsBadStringPtr(LPCSTR a, UINT b)
|
---|
6393 | {
|
---|
6394 | BOOL yyrc;
|
---|
6395 | USHORT sel = GetFS();
|
---|
6396 |
|
---|
6397 | yyrc = _O32_IsBadStringPtr(a, b);
|
---|
6398 | SetFS(sel);
|
---|
6399 |
|
---|
6400 | return yyrc;
|
---|
6401 | }
|
---|
6402 |
|
---|
6403 | inline BOOL O32_IsBadWritePtr(PVOID a, UINT b)
|
---|
6404 | {
|
---|
6405 | BOOL yyrc;
|
---|
6406 | USHORT sel = GetFS();
|
---|
6407 |
|
---|
6408 | yyrc = _O32_IsBadWritePtr(a, b);
|
---|
6409 | SetFS(sel);
|
---|
6410 |
|
---|
6411 | return yyrc;
|
---|
6412 | }
|
---|
6413 |
|
---|
6414 | inline BOOL O32_IsChild(HWND a, HWND b)
|
---|
6415 | {
|
---|
6416 | BOOL yyrc;
|
---|
6417 | USHORT sel = GetFS();
|
---|
6418 |
|
---|
6419 | yyrc = _O32_IsChild(a, b);
|
---|
6420 | SetFS(sel);
|
---|
6421 |
|
---|
6422 | return yyrc;
|
---|
6423 | }
|
---|
6424 |
|
---|
6425 | inline BOOL O32_IsClipboardFormatAvailable(UINT a)
|
---|
6426 | {
|
---|
6427 | BOOL yyrc;
|
---|
6428 | USHORT sel = GetFS();
|
---|
6429 |
|
---|
6430 | yyrc = _O32_IsClipboardFormatAvailable(a);
|
---|
6431 | SetFS(sel);
|
---|
6432 |
|
---|
6433 | return yyrc;
|
---|
6434 | }
|
---|
6435 |
|
---|
6436 | inline BOOL O32_IsDBCSLeadByte(BYTE a)
|
---|
6437 | {
|
---|
6438 | BOOL yyrc;
|
---|
6439 | USHORT sel = GetFS();
|
---|
6440 |
|
---|
6441 | yyrc = _O32_IsDBCSLeadByte(a);
|
---|
6442 | SetFS(sel);
|
---|
6443 |
|
---|
6444 | return yyrc;
|
---|
6445 | }
|
---|
6446 |
|
---|
6447 | inline BOOL O32_IsDialogMessage(HWND a, LPMSG b)
|
---|
6448 | {
|
---|
6449 | BOOL yyrc;
|
---|
6450 | USHORT sel = GetFS();
|
---|
6451 |
|
---|
6452 | yyrc = _O32_IsDialogMessage(a, b);
|
---|
6453 | SetFS(sel);
|
---|
6454 |
|
---|
6455 | return yyrc;
|
---|
6456 | }
|
---|
6457 |
|
---|
6458 | inline BOOL O32_IsDlgButtonChecked(HWND a, int b)
|
---|
6459 | {
|
---|
6460 | BOOL yyrc;
|
---|
6461 | USHORT sel = GetFS();
|
---|
6462 |
|
---|
6463 | yyrc = _O32_IsDlgButtonChecked(a, b);
|
---|
6464 | SetFS(sel);
|
---|
6465 |
|
---|
6466 | return yyrc;
|
---|
6467 | }
|
---|
6468 |
|
---|
6469 | inline BOOL O32_IsIconic(HWND a)
|
---|
6470 | {
|
---|
6471 | BOOL yyrc;
|
---|
6472 | USHORT sel = GetFS();
|
---|
6473 |
|
---|
6474 | yyrc = _O32_IsIconic(a);
|
---|
6475 | SetFS(sel);
|
---|
6476 |
|
---|
6477 | return yyrc;
|
---|
6478 | }
|
---|
6479 |
|
---|
6480 | inline BOOL O32_IsMenu(HMENU a)
|
---|
6481 | {
|
---|
6482 | BOOL yyrc;
|
---|
6483 | USHORT sel = GetFS();
|
---|
6484 |
|
---|
6485 | yyrc = _O32_IsMenu(a);
|
---|
6486 | SetFS(sel);
|
---|
6487 |
|
---|
6488 | return yyrc;
|
---|
6489 | }
|
---|
6490 |
|
---|
6491 | inline BOOL O32_IsRectEmpty(CONST RECT *a)
|
---|
6492 | {
|
---|
6493 | BOOL yyrc;
|
---|
6494 | USHORT sel = GetFS();
|
---|
6495 |
|
---|
6496 | yyrc = _O32_IsRectEmpty(a);
|
---|
6497 | SetFS(sel);
|
---|
6498 |
|
---|
6499 | return yyrc;
|
---|
6500 | }
|
---|
6501 |
|
---|
6502 | inline BOOL O32_IsWindow(HWND a)
|
---|
6503 | {
|
---|
6504 | BOOL yyrc;
|
---|
6505 | USHORT sel = GetFS();
|
---|
6506 |
|
---|
6507 | yyrc = _O32_IsWindow(a);
|
---|
6508 | SetFS(sel);
|
---|
6509 |
|
---|
6510 | return yyrc;
|
---|
6511 | }
|
---|
6512 |
|
---|
6513 | inline BOOL O32_IsWindowEnabled(HWND a)
|
---|
6514 | {
|
---|
6515 | BOOL yyrc;
|
---|
6516 | USHORT sel = GetFS();
|
---|
6517 |
|
---|
6518 | yyrc = _O32_IsWindowEnabled(a);
|
---|
6519 | SetFS(sel);
|
---|
6520 |
|
---|
6521 | return yyrc;
|
---|
6522 | }
|
---|
6523 |
|
---|
6524 | inline BOOL O32_IsWindowVisible(HWND a)
|
---|
6525 | {
|
---|
6526 | BOOL yyrc;
|
---|
6527 | USHORT sel = GetFS();
|
---|
6528 |
|
---|
6529 | yyrc = _O32_IsWindowVisible(a);
|
---|
6530 | SetFS(sel);
|
---|
6531 |
|
---|
6532 | return yyrc;
|
---|
6533 | }
|
---|
6534 |
|
---|
6535 | inline BOOL O32_IsZoomed(HWND a)
|
---|
6536 | {
|
---|
6537 | BOOL yyrc;
|
---|
6538 | USHORT sel = GetFS();
|
---|
6539 |
|
---|
6540 | yyrc = _O32_IsZoomed(a);
|
---|
6541 | SetFS(sel);
|
---|
6542 |
|
---|
6543 | return yyrc;
|
---|
6544 | }
|
---|
6545 |
|
---|
6546 | inline BOOL O32_KillTimer(HWND a, UINT b)
|
---|
6547 | {
|
---|
6548 | BOOL yyrc;
|
---|
6549 | USHORT sel = GetFS();
|
---|
6550 |
|
---|
6551 | yyrc = _O32_KillTimer(a, b);
|
---|
6552 | SetFS(sel);
|
---|
6553 |
|
---|
6554 | return yyrc;
|
---|
6555 | }
|
---|
6556 |
|
---|
6557 | inline BOOL O32_LPtoDP(HDC a, PPOINT b, int c)
|
---|
6558 | {
|
---|
6559 | BOOL yyrc;
|
---|
6560 | USHORT sel = GetFS();
|
---|
6561 |
|
---|
6562 | yyrc = _O32_LPtoDP(a, b, c);
|
---|
6563 | SetFS(sel);
|
---|
6564 |
|
---|
6565 | return yyrc;
|
---|
6566 | }
|
---|
6567 |
|
---|
6568 | inline VOID O32_LeaveCriticalSection(CRITICAL_SECTION *a)
|
---|
6569 | {
|
---|
6570 | USHORT sel = GetFS();
|
---|
6571 |
|
---|
6572 | _O32_LeaveCriticalSection(a);
|
---|
6573 | SetFS(sel);
|
---|
6574 | }
|
---|
6575 |
|
---|
6576 | inline BOOL O32_LineDDA(int a, int b, int c, int d, LINEDDAPROC_O32 e, LPARAM f)
|
---|
6577 | {
|
---|
6578 | BOOL yyrc;
|
---|
6579 | USHORT sel = GetFS();
|
---|
6580 |
|
---|
6581 | yyrc = _O32_LineDDA(a, b, c, d, e, f);
|
---|
6582 | SetFS(sel);
|
---|
6583 |
|
---|
6584 | return yyrc;
|
---|
6585 | }
|
---|
6586 |
|
---|
6587 | inline BOOL O32_LineTo(HDC a, int b, int c)
|
---|
6588 | {
|
---|
6589 | BOOL yyrc;
|
---|
6590 | USHORT sel = GetFS();
|
---|
6591 |
|
---|
6592 | yyrc = _O32_LineTo(a, b, c);
|
---|
6593 | SetFS(sel);
|
---|
6594 |
|
---|
6595 | return yyrc;
|
---|
6596 | }
|
---|
6597 |
|
---|
6598 | inline HACCEL O32_LoadAccelerators(HINSTANCE a, LPCSTR b)
|
---|
6599 | {
|
---|
6600 | HACCEL yyrc;
|
---|
6601 | USHORT sel = GetFS();
|
---|
6602 |
|
---|
6603 | yyrc = _O32_LoadAccelerators(a, b);
|
---|
6604 | SetFS(sel);
|
---|
6605 |
|
---|
6606 | return yyrc;
|
---|
6607 | }
|
---|
6608 |
|
---|
6609 | inline HBITMAP O32_LoadBitmap(HINSTANCE a, LPCSTR b)
|
---|
6610 | {
|
---|
6611 | HBITMAP yyrc;
|
---|
6612 | USHORT sel = GetFS();
|
---|
6613 |
|
---|
6614 | yyrc = _O32_LoadBitmap(a, b);
|
---|
6615 | SetFS(sel);
|
---|
6616 |
|
---|
6617 | return yyrc;
|
---|
6618 | }
|
---|
6619 |
|
---|
6620 | inline HCURSOR O32_LoadCursor(HINSTANCE a, LPCSTR b)
|
---|
6621 | {
|
---|
6622 | HCURSOR yyrc;
|
---|
6623 | USHORT sel = GetFS();
|
---|
6624 |
|
---|
6625 | yyrc = _O32_LoadCursor(a, b);
|
---|
6626 | SetFS(sel);
|
---|
6627 |
|
---|
6628 | return yyrc;
|
---|
6629 | }
|
---|
6630 |
|
---|
6631 | inline HICON O32_LoadIcon(HINSTANCE a, LPCSTR b)
|
---|
6632 | {
|
---|
6633 | HICON yyrc;
|
---|
6634 | USHORT sel = GetFS();
|
---|
6635 |
|
---|
6636 | yyrc = _O32_LoadIcon(a, b);
|
---|
6637 | SetFS(sel);
|
---|
6638 |
|
---|
6639 | return yyrc;
|
---|
6640 | }
|
---|
6641 |
|
---|
6642 | inline HINSTANCE O32_LoadLibrary(LPCSTR a)
|
---|
6643 | {
|
---|
6644 | HINSTANCE yyrc;
|
---|
6645 | USHORT sel = GetFS();
|
---|
6646 |
|
---|
6647 | yyrc = _O32_LoadLibrary(a);
|
---|
6648 | SetFS(sel);
|
---|
6649 |
|
---|
6650 | return yyrc;
|
---|
6651 | }
|
---|
6652 |
|
---|
6653 | inline HMENU O32_LoadMenu(HINSTANCE a, LPCSTR b)
|
---|
6654 | {
|
---|
6655 | HMENU yyrc;
|
---|
6656 | USHORT sel = GetFS();
|
---|
6657 |
|
---|
6658 | yyrc = _O32_LoadMenu(a, b);
|
---|
6659 | SetFS(sel);
|
---|
6660 |
|
---|
6661 | return yyrc;
|
---|
6662 | }
|
---|
6663 |
|
---|
6664 | inline HMENU O32_LoadMenuIndirect(CONST MENUITEMTEMPLATEHEADER *a)
|
---|
6665 | {
|
---|
6666 | HMENU yyrc;
|
---|
6667 | USHORT sel = GetFS();
|
---|
6668 |
|
---|
6669 | yyrc = _O32_LoadMenuIndirect(a);
|
---|
6670 | SetFS(sel);
|
---|
6671 |
|
---|
6672 | return yyrc;
|
---|
6673 | }
|
---|
6674 |
|
---|
6675 | inline DWORD O32_LoadModule(LPCSTR a, PVOID b)
|
---|
6676 | {
|
---|
6677 | DWORD yyrc;
|
---|
6678 | USHORT sel = GetFS();
|
---|
6679 |
|
---|
6680 | yyrc = _O32_LoadModule(a, b);
|
---|
6681 | SetFS(sel);
|
---|
6682 |
|
---|
6683 | return yyrc;
|
---|
6684 | }
|
---|
6685 |
|
---|
6686 | inline HGLOBAL O32_LoadResource(HINSTANCE a, HRSRC b)
|
---|
6687 | {
|
---|
6688 | HGLOBAL yyrc;
|
---|
6689 | USHORT sel = GetFS();
|
---|
6690 |
|
---|
6691 | yyrc = _O32_LoadResource(a, b);
|
---|
6692 | SetFS(sel);
|
---|
6693 |
|
---|
6694 | return yyrc;
|
---|
6695 | }
|
---|
6696 |
|
---|
6697 | inline PVOID O32_LockResource(HGLOBAL a)
|
---|
6698 | {
|
---|
6699 | PVOID yyrc;
|
---|
6700 | USHORT sel = GetFS();
|
---|
6701 |
|
---|
6702 | yyrc = _O32_LockResource(a);
|
---|
6703 | SetFS(sel);
|
---|
6704 |
|
---|
6705 | return yyrc;
|
---|
6706 | }
|
---|
6707 |
|
---|
6708 | inline int O32_LoadString(HINSTANCE a, UINT b, LPSTR c, int d)
|
---|
6709 | {
|
---|
6710 | int yyrc;
|
---|
6711 | USHORT sel = GetFS();
|
---|
6712 |
|
---|
6713 | yyrc = _O32_LoadString(a, b, c, d);
|
---|
6714 | SetFS(sel);
|
---|
6715 |
|
---|
6716 | return yyrc;
|
---|
6717 | }
|
---|
6718 |
|
---|
6719 | inline HLOCAL O32_LocalAlloc(UINT a, UINT b)
|
---|
6720 | {
|
---|
6721 | HLOCAL yyrc;
|
---|
6722 | USHORT sel = GetFS();
|
---|
6723 |
|
---|
6724 | yyrc = _O32_LocalAlloc(a, b);
|
---|
6725 | SetFS(sel);
|
---|
6726 |
|
---|
6727 | return yyrc;
|
---|
6728 | }
|
---|
6729 |
|
---|
6730 | inline HLOCAL O32_LocalDiscard(HLOCAL a)
|
---|
6731 | {
|
---|
6732 | HLOCAL yyrc;
|
---|
6733 | USHORT sel = GetFS();
|
---|
6734 |
|
---|
6735 | yyrc = _O32_LocalDiscard(a);
|
---|
6736 | SetFS(sel);
|
---|
6737 |
|
---|
6738 | return yyrc;
|
---|
6739 | }
|
---|
6740 |
|
---|
6741 | inline UINT O32_LocalFlags(HLOCAL a)
|
---|
6742 | {
|
---|
6743 | UINT yyrc;
|
---|
6744 | USHORT sel = GetFS();
|
---|
6745 |
|
---|
6746 | yyrc = _O32_LocalFlags(a);
|
---|
6747 | SetFS(sel);
|
---|
6748 |
|
---|
6749 | return yyrc;
|
---|
6750 | }
|
---|
6751 |
|
---|
6752 | inline BOOL O32_LocalFileTimeToFileTime(CONST FILETIME *a, FILETIME *b)
|
---|
6753 | {
|
---|
6754 | BOOL yyrc;
|
---|
6755 | USHORT sel = GetFS();
|
---|
6756 |
|
---|
6757 | yyrc = _O32_LocalFileTimeToFileTime(a, b);
|
---|
6758 | SetFS(sel);
|
---|
6759 |
|
---|
6760 | return yyrc;
|
---|
6761 | }
|
---|
6762 |
|
---|
6763 | inline HLOCAL O32_LocalFree(HLOCAL a)
|
---|
6764 | {
|
---|
6765 | HLOCAL yyrc;
|
---|
6766 | USHORT sel = GetFS();
|
---|
6767 |
|
---|
6768 | yyrc = _O32_LocalFree(a);
|
---|
6769 | SetFS(sel);
|
---|
6770 |
|
---|
6771 | return yyrc;
|
---|
6772 | }
|
---|
6773 |
|
---|
6774 | inline HLOCAL O32_LocalHandle(PVOID a)
|
---|
6775 | {
|
---|
6776 | HLOCAL yyrc;
|
---|
6777 | USHORT sel = GetFS();
|
---|
6778 |
|
---|
6779 | yyrc = _O32_LocalHandle(a);
|
---|
6780 | SetFS(sel);
|
---|
6781 |
|
---|
6782 | return yyrc;
|
---|
6783 | }
|
---|
6784 |
|
---|
6785 | inline BOOL O32_LocalUnlock(HLOCAL a)
|
---|
6786 | {
|
---|
6787 | BOOL yyrc;
|
---|
6788 | USHORT sel = GetFS();
|
---|
6789 |
|
---|
6790 | yyrc = _O32_LocalUnlock(a);
|
---|
6791 | SetFS(sel);
|
---|
6792 |
|
---|
6793 | return yyrc;
|
---|
6794 | }
|
---|
6795 |
|
---|
6796 | inline HLOCAL O32_LocalReAlloc(HLOCAL a, UINT b, UINT c)
|
---|
6797 | {
|
---|
6798 | HLOCAL yyrc;
|
---|
6799 | USHORT sel = GetFS();
|
---|
6800 |
|
---|
6801 | yyrc = _O32_LocalReAlloc(a, b, c);
|
---|
6802 | SetFS(sel);
|
---|
6803 |
|
---|
6804 | return yyrc;
|
---|
6805 | }
|
---|
6806 |
|
---|
6807 | inline UINT O32_LocalSize(HLOCAL a)
|
---|
6808 | {
|
---|
6809 | UINT yyrc;
|
---|
6810 | USHORT sel = GetFS();
|
---|
6811 |
|
---|
6812 | yyrc = _O32_LocalSize(a);
|
---|
6813 | SetFS(sel);
|
---|
6814 |
|
---|
6815 | return yyrc;
|
---|
6816 | }
|
---|
6817 |
|
---|
6818 | inline PVOID O32_LocalLock(HLOCAL a)
|
---|
6819 | {
|
---|
6820 | PVOID yyrc;
|
---|
6821 | USHORT sel = GetFS();
|
---|
6822 |
|
---|
6823 | yyrc = _O32_LocalLock(a);
|
---|
6824 | SetFS(sel);
|
---|
6825 |
|
---|
6826 | return yyrc;
|
---|
6827 | }
|
---|
6828 |
|
---|
6829 | inline BOOL O32_LockFile(HANDLE a, DWORD b, DWORD c, DWORD d, DWORD e)
|
---|
6830 | {
|
---|
6831 | BOOL yyrc;
|
---|
6832 | USHORT sel = GetFS();
|
---|
6833 |
|
---|
6834 | yyrc = _O32_LockFile(a, b, c, d, e);
|
---|
6835 | SetFS(sel);
|
---|
6836 |
|
---|
6837 | return yyrc;
|
---|
6838 | }
|
---|
6839 |
|
---|
6840 | inline BOOL O32_LockWindowUpdate(HWND a)
|
---|
6841 | {
|
---|
6842 | BOOL yyrc;
|
---|
6843 | USHORT sel = GetFS();
|
---|
6844 |
|
---|
6845 | yyrc = _O32_LockWindowUpdate(a);
|
---|
6846 | SetFS(sel);
|
---|
6847 |
|
---|
6848 | return yyrc;
|
---|
6849 | }
|
---|
6850 |
|
---|
6851 | inline BOOL O32_MapDialogRect(HWND a, PRECT b)
|
---|
6852 | {
|
---|
6853 | BOOL yyrc;
|
---|
6854 | USHORT sel = GetFS();
|
---|
6855 |
|
---|
6856 | yyrc = _O32_MapDialogRect(a, b);
|
---|
6857 | SetFS(sel);
|
---|
6858 |
|
---|
6859 | return yyrc;
|
---|
6860 | }
|
---|
6861 |
|
---|
6862 | inline UINT O32_MapVirtualKey(UINT a, UINT b)
|
---|
6863 | {
|
---|
6864 | UINT yyrc;
|
---|
6865 | USHORT sel = GetFS();
|
---|
6866 |
|
---|
6867 | yyrc = _O32_MapVirtualKey(a, b);
|
---|
6868 | SetFS(sel);
|
---|
6869 |
|
---|
6870 | return yyrc;
|
---|
6871 | }
|
---|
6872 |
|
---|
6873 | inline int O32_MapWindowPoints(HWND a, HWND b, PPOINT c, int d)
|
---|
6874 | {
|
---|
6875 | int yyrc;
|
---|
6876 | USHORT sel = GetFS();
|
---|
6877 |
|
---|
6878 | yyrc = _O32_MapWindowPoints(a, b, c, d);
|
---|
6879 | SetFS(sel);
|
---|
6880 |
|
---|
6881 | return yyrc;
|
---|
6882 | }
|
---|
6883 |
|
---|
6884 | 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)
|
---|
6885 | {
|
---|
6886 | BOOL yyrc;
|
---|
6887 | USHORT sel = GetFS();
|
---|
6888 |
|
---|
6889 | yyrc = _O32_MaskBlt(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
6890 | SetFS(sel);
|
---|
6891 |
|
---|
6892 | return yyrc;
|
---|
6893 | }
|
---|
6894 |
|
---|
6895 | inline int O32_MessageBox(HWND a, LPCSTR b, LPCSTR c, UINT d)
|
---|
6896 | {
|
---|
6897 | int yyrc;
|
---|
6898 | USHORT sel = GetFS();
|
---|
6899 |
|
---|
6900 | yyrc = _O32_MessageBox(a, b, c, d);
|
---|
6901 | SetFS(sel);
|
---|
6902 |
|
---|
6903 | return yyrc;
|
---|
6904 | }
|
---|
6905 |
|
---|
6906 | inline BOOL O32_MessageBeep(UINT a)
|
---|
6907 | {
|
---|
6908 | BOOL yyrc;
|
---|
6909 | USHORT sel = GetFS();
|
---|
6910 |
|
---|
6911 | yyrc = _O32_MessageBeep(a);
|
---|
6912 | SetFS(sel);
|
---|
6913 |
|
---|
6914 | return yyrc;
|
---|
6915 | }
|
---|
6916 |
|
---|
6917 | inline DWORD O32_MsgWaitForMultipleObjects(DWORD a, LPHANDLE b, BOOL c, DWORD d, DWORD e)
|
---|
6918 | {
|
---|
6919 | DWORD yyrc;
|
---|
6920 | USHORT sel = GetFS();
|
---|
6921 |
|
---|
6922 | yyrc = _O32_MsgWaitForMultipleObjects(a, b, c, d, e);
|
---|
6923 | SetFS(sel);
|
---|
6924 |
|
---|
6925 | return yyrc;
|
---|
6926 | }
|
---|
6927 |
|
---|
6928 | inline BOOL O32_ModifyMenu(HMENU a, UINT b, UINT c, UINT d, LPCSTR e)
|
---|
6929 | {
|
---|
6930 | BOOL yyrc;
|
---|
6931 | USHORT sel = GetFS();
|
---|
6932 |
|
---|
6933 | yyrc = _O32_ModifyMenu(a, b, c, d, e);
|
---|
6934 | SetFS(sel);
|
---|
6935 |
|
---|
6936 | return yyrc;
|
---|
6937 | }
|
---|
6938 |
|
---|
6939 | inline BOOL O32_ModifyWorldTransform(HDC a, LPXFORM b, DWORD c)
|
---|
6940 | {
|
---|
6941 | BOOL yyrc;
|
---|
6942 | USHORT sel = GetFS();
|
---|
6943 |
|
---|
6944 | yyrc = _O32_ModifyWorldTransform(a, b, c);
|
---|
6945 | SetFS(sel);
|
---|
6946 |
|
---|
6947 | return yyrc;
|
---|
6948 | }
|
---|
6949 |
|
---|
6950 | inline BOOL O32_MoveFile(LPCSTR a, LPCSTR b)
|
---|
6951 | {
|
---|
6952 | BOOL yyrc;
|
---|
6953 | USHORT sel = GetFS();
|
---|
6954 |
|
---|
6955 | yyrc = _O32_MoveFile(a, b);
|
---|
6956 | SetFS(sel);
|
---|
6957 |
|
---|
6958 | return yyrc;
|
---|
6959 | }
|
---|
6960 |
|
---|
6961 | inline BOOL O32_MoveToEx(HDC a, int b, int c, PPOINT d)
|
---|
6962 | {
|
---|
6963 | BOOL yyrc;
|
---|
6964 | USHORT sel = GetFS();
|
---|
6965 |
|
---|
6966 | yyrc = _O32_MoveToEx(a, b, c, d);
|
---|
6967 | SetFS(sel);
|
---|
6968 |
|
---|
6969 | return yyrc;
|
---|
6970 | }
|
---|
6971 |
|
---|
6972 | inline BOOL O32_MoveWindow(HWND a, int b, int c, int d, int e, BOOL f)
|
---|
6973 | {
|
---|
6974 | BOOL yyrc;
|
---|
6975 | USHORT sel = GetFS();
|
---|
6976 |
|
---|
6977 | yyrc = _O32_MoveWindow(a, b, c, d, e, f);
|
---|
6978 | SetFS(sel);
|
---|
6979 |
|
---|
6980 | return yyrc;
|
---|
6981 | }
|
---|
6982 |
|
---|
6983 | inline int O32_MulDiv(int a, int b, int c)
|
---|
6984 | {
|
---|
6985 | int yyrc;
|
---|
6986 | USHORT sel = GetFS();
|
---|
6987 |
|
---|
6988 | yyrc = _O32_MulDiv(a, b, c);
|
---|
6989 | SetFS(sel);
|
---|
6990 |
|
---|
6991 | return yyrc;
|
---|
6992 | }
|
---|
6993 |
|
---|
6994 | inline int O32_OffsetClipRgn(HDC a, int b, int c)
|
---|
6995 | {
|
---|
6996 | int yyrc;
|
---|
6997 | USHORT sel = GetFS();
|
---|
6998 |
|
---|
6999 | yyrc = _O32_OffsetClipRgn(a, b, c);
|
---|
7000 | SetFS(sel);
|
---|
7001 |
|
---|
7002 | return yyrc;
|
---|
7003 | }
|
---|
7004 |
|
---|
7005 | inline BOOL O32_OffsetRect(PRECT a, int b, int c)
|
---|
7006 | {
|
---|
7007 | BOOL yyrc;
|
---|
7008 | USHORT sel = GetFS();
|
---|
7009 |
|
---|
7010 | yyrc = _O32_OffsetRect(a, b, c);
|
---|
7011 | SetFS(sel);
|
---|
7012 |
|
---|
7013 | return yyrc;
|
---|
7014 | }
|
---|
7015 |
|
---|
7016 | inline int O32_OffsetRgn(HRGN a, int b, int c)
|
---|
7017 | {
|
---|
7018 | int yyrc;
|
---|
7019 | USHORT sel = GetFS();
|
---|
7020 |
|
---|
7021 | yyrc = _O32_OffsetRgn(a, b, c);
|
---|
7022 | SetFS(sel);
|
---|
7023 |
|
---|
7024 | return yyrc;
|
---|
7025 | }
|
---|
7026 |
|
---|
7027 | inline BOOL O32_OffsetViewportOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
7028 | {
|
---|
7029 | BOOL yyrc;
|
---|
7030 | USHORT sel = GetFS();
|
---|
7031 |
|
---|
7032 | yyrc = _O32_OffsetViewportOrgEx(a, b, c, d);
|
---|
7033 | SetFS(sel);
|
---|
7034 |
|
---|
7035 | return yyrc;
|
---|
7036 | }
|
---|
7037 |
|
---|
7038 | inline BOOL O32_OffsetWindowOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
7039 | {
|
---|
7040 | BOOL yyrc;
|
---|
7041 | USHORT sel = GetFS();
|
---|
7042 |
|
---|
7043 | yyrc = _O32_OffsetWindowOrgEx(a, b, c, d);
|
---|
7044 | SetFS(sel);
|
---|
7045 |
|
---|
7046 | return yyrc;
|
---|
7047 | }
|
---|
7048 |
|
---|
7049 | inline BOOL O32_OpenClipboard(HWND a)
|
---|
7050 | {
|
---|
7051 | BOOL yyrc;
|
---|
7052 | USHORT sel = GetFS();
|
---|
7053 |
|
---|
7054 | yyrc = _O32_OpenClipboard(a);
|
---|
7055 | SetFS(sel);
|
---|
7056 |
|
---|
7057 | return yyrc;
|
---|
7058 | }
|
---|
7059 |
|
---|
7060 | inline HANDLE O32_OpenEvent(DWORD a, BOOL b, LPCSTR c)
|
---|
7061 | {
|
---|
7062 | HANDLE yyrc;
|
---|
7063 | USHORT sel = GetFS();
|
---|
7064 |
|
---|
7065 | yyrc = _O32_OpenEvent(a, b, c);
|
---|
7066 | SetFS(sel);
|
---|
7067 |
|
---|
7068 | return yyrc;
|
---|
7069 | }
|
---|
7070 |
|
---|
7071 | inline HFILE O32_OpenFile(LPCSTR a, LPOFSTRUCT b, UINT c)
|
---|
7072 | {
|
---|
7073 | HFILE yyrc;
|
---|
7074 | USHORT sel = GetFS();
|
---|
7075 |
|
---|
7076 | yyrc = _O32_OpenFile(a, b, c);
|
---|
7077 | SetFS(sel);
|
---|
7078 |
|
---|
7079 | return yyrc;
|
---|
7080 | }
|
---|
7081 |
|
---|
7082 | inline HANDLE O32_OpenMutex(DWORD a, BOOL b, LPCSTR c)
|
---|
7083 | {
|
---|
7084 | HANDLE yyrc;
|
---|
7085 | USHORT sel = GetFS();
|
---|
7086 |
|
---|
7087 | yyrc = _O32_OpenMutex(a, b, c);
|
---|
7088 | SetFS(sel);
|
---|
7089 |
|
---|
7090 | return yyrc;
|
---|
7091 | }
|
---|
7092 |
|
---|
7093 | inline HANDLE O32_OpenProcess(DWORD a, BOOL b, DWORD c)
|
---|
7094 | {
|
---|
7095 | HANDLE yyrc;
|
---|
7096 | USHORT sel = GetFS();
|
---|
7097 |
|
---|
7098 | yyrc = _O32_OpenProcess(a, b, c);
|
---|
7099 | SetFS(sel);
|
---|
7100 |
|
---|
7101 | return yyrc;
|
---|
7102 | }
|
---|
7103 |
|
---|
7104 | inline HANDLE O32_OpenSemaphore(DWORD a, BOOL b, LPCSTR c)
|
---|
7105 | {
|
---|
7106 | HANDLE yyrc;
|
---|
7107 | USHORT sel = GetFS();
|
---|
7108 |
|
---|
7109 | yyrc = _O32_OpenSemaphore(a, b, c);
|
---|
7110 | SetFS(sel);
|
---|
7111 |
|
---|
7112 | return yyrc;
|
---|
7113 | }
|
---|
7114 |
|
---|
7115 | inline VOID O32_OutputDebugString(LPCSTR a)
|
---|
7116 | {
|
---|
7117 | USHORT sel = GetFS();
|
---|
7118 |
|
---|
7119 | _O32_OutputDebugString(a);
|
---|
7120 | SetFS(sel);
|
---|
7121 | }
|
---|
7122 |
|
---|
7123 | inline LONG O32_PackDDElParam(UINT a, UINT b, UINT c)
|
---|
7124 | {
|
---|
7125 | LONG yyrc;
|
---|
7126 | USHORT sel = GetFS();
|
---|
7127 |
|
---|
7128 | yyrc = _O32_PackDDElParam(a, b, c);
|
---|
7129 | SetFS(sel);
|
---|
7130 |
|
---|
7131 | return yyrc;
|
---|
7132 | }
|
---|
7133 |
|
---|
7134 | inline BOOL O32_PaintRgn(HDC a, HRGN b)
|
---|
7135 | {
|
---|
7136 | BOOL yyrc;
|
---|
7137 | USHORT sel = GetFS();
|
---|
7138 |
|
---|
7139 | yyrc = _O32_PaintRgn(a, b);
|
---|
7140 | SetFS(sel);
|
---|
7141 |
|
---|
7142 | return yyrc;
|
---|
7143 | }
|
---|
7144 |
|
---|
7145 | inline BOOL O32_PatBlt(HDC a, int b, int c, int d, int e, DWORD f)
|
---|
7146 | {
|
---|
7147 | BOOL yyrc;
|
---|
7148 | USHORT sel = GetFS();
|
---|
7149 |
|
---|
7150 | yyrc = _O32_PatBlt(a, b, c, d, e, f);
|
---|
7151 | SetFS(sel);
|
---|
7152 |
|
---|
7153 | return yyrc;
|
---|
7154 | }
|
---|
7155 |
|
---|
7156 | inline HRGN O32_PathToRegion(HDC a)
|
---|
7157 | {
|
---|
7158 | HRGN yyrc;
|
---|
7159 | USHORT sel = GetFS();
|
---|
7160 |
|
---|
7161 | yyrc = _O32_PathToRegion(a);
|
---|
7162 | SetFS(sel);
|
---|
7163 |
|
---|
7164 | return yyrc;
|
---|
7165 | }
|
---|
7166 |
|
---|
7167 | inline BOOL O32_PeekMessage(LPMSG a, HWND b, UINT c, UINT d, UINT e)
|
---|
7168 | {
|
---|
7169 | BOOL yyrc;
|
---|
7170 | USHORT sel = GetFS();
|
---|
7171 |
|
---|
7172 | yyrc = _O32_PeekMessage(a, b, c, d, e);
|
---|
7173 | SetFS(sel);
|
---|
7174 |
|
---|
7175 | return yyrc;
|
---|
7176 | }
|
---|
7177 |
|
---|
7178 | inline BOOL O32_Pie(HDC a, int b, int c, int d, int e, int f, int g, int h, int i)
|
---|
7179 | {
|
---|
7180 | BOOL yyrc;
|
---|
7181 | USHORT sel = GetFS();
|
---|
7182 |
|
---|
7183 | yyrc = _O32_Pie(a, b, c, d, e, f, g, h, i);
|
---|
7184 | SetFS(sel);
|
---|
7185 |
|
---|
7186 | return yyrc;
|
---|
7187 | }
|
---|
7188 |
|
---|
7189 | inline BOOL O32_PlayEnhMetaFile(HDC a, HENHMETAFILE b, CONST RECT *c)
|
---|
7190 | {
|
---|
7191 | BOOL yyrc;
|
---|
7192 | USHORT sel = GetFS();
|
---|
7193 |
|
---|
7194 | yyrc = _O32_PlayEnhMetaFile(a, b, c);
|
---|
7195 | SetFS(sel);
|
---|
7196 |
|
---|
7197 | return yyrc;
|
---|
7198 | }
|
---|
7199 |
|
---|
7200 | inline BOOL O32_PlayMetaFile(HDC a, HMETAFILE b)
|
---|
7201 | {
|
---|
7202 | BOOL yyrc;
|
---|
7203 | USHORT sel = GetFS();
|
---|
7204 |
|
---|
7205 | yyrc = _O32_PlayMetaFile(a, b);
|
---|
7206 | SetFS(sel);
|
---|
7207 |
|
---|
7208 | return yyrc;
|
---|
7209 | }
|
---|
7210 |
|
---|
7211 | inline BOOL O32_PlayMetaFileRecord(HDC a, LPHANDLETABLE b, PMETARECORD c, int d)
|
---|
7212 | {
|
---|
7213 | BOOL yyrc;
|
---|
7214 | USHORT sel = GetFS();
|
---|
7215 |
|
---|
7216 | yyrc = _O32_PlayMetaFileRecord(a, b, c, d);
|
---|
7217 | SetFS(sel);
|
---|
7218 |
|
---|
7219 | return yyrc;
|
---|
7220 | }
|
---|
7221 |
|
---|
7222 | inline BOOL O32_PolyBezier(HDC a, CONST POINT *b, int c)
|
---|
7223 | {
|
---|
7224 | BOOL yyrc;
|
---|
7225 | USHORT sel = GetFS();
|
---|
7226 |
|
---|
7227 | yyrc = _O32_PolyBezier(a, b, c);
|
---|
7228 | SetFS(sel);
|
---|
7229 |
|
---|
7230 | return yyrc;
|
---|
7231 | }
|
---|
7232 |
|
---|
7233 | inline BOOL O32_PolyBezierTo(HDC a, CONST POINT *b, DWORD c)
|
---|
7234 | {
|
---|
7235 | BOOL yyrc;
|
---|
7236 | USHORT sel = GetFS();
|
---|
7237 |
|
---|
7238 | yyrc = _O32_PolyBezierTo(a, b, c);
|
---|
7239 | SetFS(sel);
|
---|
7240 |
|
---|
7241 | return yyrc;
|
---|
7242 | }
|
---|
7243 |
|
---|
7244 | inline BOOL O32_PolyDraw(HDC a, CONST POINT *b, CONST BYTE *c, int d)
|
---|
7245 | {
|
---|
7246 | BOOL yyrc;
|
---|
7247 | USHORT sel = GetFS();
|
---|
7248 |
|
---|
7249 | yyrc = _O32_PolyDraw(a, b, c, d);
|
---|
7250 | SetFS(sel);
|
---|
7251 |
|
---|
7252 | return yyrc;
|
---|
7253 | }
|
---|
7254 |
|
---|
7255 | inline BOOL O32_Polygon(HDC a, CONST POINT *b, int c)
|
---|
7256 | {
|
---|
7257 | BOOL yyrc;
|
---|
7258 | USHORT sel = GetFS();
|
---|
7259 |
|
---|
7260 | yyrc = _O32_Polygon(a, b, c);
|
---|
7261 | SetFS(sel);
|
---|
7262 |
|
---|
7263 | return yyrc;
|
---|
7264 | }
|
---|
7265 |
|
---|
7266 | inline BOOL O32_Polyline(HDC a, CONST POINT *b, int c)
|
---|
7267 | {
|
---|
7268 | BOOL yyrc;
|
---|
7269 | USHORT sel = GetFS();
|
---|
7270 |
|
---|
7271 | yyrc = _O32_Polyline(a, b, c);
|
---|
7272 | SetFS(sel);
|
---|
7273 |
|
---|
7274 | return yyrc;
|
---|
7275 | }
|
---|
7276 |
|
---|
7277 | inline BOOL O32_PolylineTo(HDC a, CONST POINT *b, DWORD c)
|
---|
7278 | {
|
---|
7279 | BOOL yyrc;
|
---|
7280 | USHORT sel = GetFS();
|
---|
7281 |
|
---|
7282 | yyrc = _O32_PolylineTo(a, b, c);
|
---|
7283 | SetFS(sel);
|
---|
7284 |
|
---|
7285 | return yyrc;
|
---|
7286 | }
|
---|
7287 |
|
---|
7288 | inline BOOL O32_PolyPolygon(HDC a, CONST POINT *b, CONST int *c, int d)
|
---|
7289 | {
|
---|
7290 | BOOL yyrc;
|
---|
7291 | USHORT sel = GetFS();
|
---|
7292 |
|
---|
7293 | yyrc = _O32_PolyPolygon(a, b, c, d);
|
---|
7294 | SetFS(sel);
|
---|
7295 |
|
---|
7296 | return yyrc;
|
---|
7297 | }
|
---|
7298 |
|
---|
7299 | inline BOOL O32_PolyPolyline(HDC a, CONST POINT *b, CONST DWORD *c, DWORD d)
|
---|
7300 | {
|
---|
7301 | BOOL yyrc;
|
---|
7302 | USHORT sel = GetFS();
|
---|
7303 |
|
---|
7304 | yyrc = _O32_PolyPolyline(a, b, c, d);
|
---|
7305 | SetFS(sel);
|
---|
7306 |
|
---|
7307 | return yyrc;
|
---|
7308 | }
|
---|
7309 |
|
---|
7310 | inline VOID O32_PostQuitMessage(int a)
|
---|
7311 | {
|
---|
7312 | USHORT sel = GetFS();
|
---|
7313 |
|
---|
7314 | _O32_PostQuitMessage(a);
|
---|
7315 | SetFS(sel);
|
---|
7316 | }
|
---|
7317 |
|
---|
7318 | inline BOOL O32_PostMessage(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
7319 | {
|
---|
7320 | BOOL yyrc;
|
---|
7321 | USHORT sel = GetFS();
|
---|
7322 |
|
---|
7323 | yyrc = _O32_PostMessage(a, b, c, d);
|
---|
7324 | SetFS(sel);
|
---|
7325 |
|
---|
7326 | return yyrc;
|
---|
7327 | }
|
---|
7328 |
|
---|
7329 | inline BOOL O32_PostThreadMessage(DWORD a, UINT b, WPARAM c, LPARAM d)
|
---|
7330 | {
|
---|
7331 | BOOL yyrc;
|
---|
7332 | USHORT sel = GetFS();
|
---|
7333 |
|
---|
7334 | yyrc = _O32_PostThreadMessage(a, b, c, d);
|
---|
7335 | SetFS(sel);
|
---|
7336 |
|
---|
7337 | return yyrc;
|
---|
7338 | }
|
---|
7339 |
|
---|
7340 | inline BOOL O32_PtInRect(CONST RECT *a, POINT b)
|
---|
7341 | {
|
---|
7342 | BOOL yyrc;
|
---|
7343 | USHORT sel = GetFS();
|
---|
7344 |
|
---|
7345 | yyrc = _O32_PtInRect(a, b);
|
---|
7346 | SetFS(sel);
|
---|
7347 |
|
---|
7348 | return yyrc;
|
---|
7349 | }
|
---|
7350 |
|
---|
7351 | inline BOOL O32_PtInRegion(HRGN a, int b, int c)
|
---|
7352 | {
|
---|
7353 | BOOL yyrc;
|
---|
7354 | USHORT sel = GetFS();
|
---|
7355 |
|
---|
7356 | yyrc = _O32_PtInRegion(a, b, c);
|
---|
7357 | SetFS(sel);
|
---|
7358 |
|
---|
7359 | return yyrc;
|
---|
7360 | }
|
---|
7361 |
|
---|
7362 | inline BOOL O32_PtVisible(HDC a, int b, int c)
|
---|
7363 | {
|
---|
7364 | BOOL yyrc;
|
---|
7365 | USHORT sel = GetFS();
|
---|
7366 |
|
---|
7367 | yyrc = _O32_PtVisible(a, b, c);
|
---|
7368 | SetFS(sel);
|
---|
7369 |
|
---|
7370 | return yyrc;
|
---|
7371 | }
|
---|
7372 |
|
---|
7373 | inline BOOL O32_PrintDlg(LPPRINTDLGA a)
|
---|
7374 | {
|
---|
7375 | BOOL yyrc;
|
---|
7376 | USHORT sel = GetFS();
|
---|
7377 |
|
---|
7378 | yyrc = _O32_PrintDlg(a);
|
---|
7379 | SetFS(sel);
|
---|
7380 |
|
---|
7381 | return yyrc;
|
---|
7382 | }
|
---|
7383 |
|
---|
7384 | inline BOOL O32_PulseEvent(HANDLE a)
|
---|
7385 | {
|
---|
7386 | BOOL yyrc;
|
---|
7387 | USHORT sel = GetFS();
|
---|
7388 |
|
---|
7389 | yyrc = _O32_PulseEvent(a);
|
---|
7390 | SetFS(sel);
|
---|
7391 |
|
---|
7392 | return yyrc;
|
---|
7393 | }
|
---|
7394 |
|
---|
7395 | inline BOOL O32_ReadFile(HANDLE a, PVOID b, DWORD c, PDWORD d, LPOVERLAPPED e)
|
---|
7396 | {
|
---|
7397 | BOOL yyrc;
|
---|
7398 | USHORT sel = GetFS();
|
---|
7399 |
|
---|
7400 | yyrc = _O32_ReadFile(a, b, c, d, e);
|
---|
7401 | SetFS(sel);
|
---|
7402 |
|
---|
7403 | return yyrc;
|
---|
7404 | }
|
---|
7405 |
|
---|
7406 | inline UINT O32_RealizePalette(HDC a)
|
---|
7407 | {
|
---|
7408 | UINT yyrc;
|
---|
7409 | USHORT sel = GetFS();
|
---|
7410 |
|
---|
7411 | yyrc = _O32_RealizePalette(a);
|
---|
7412 | SetFS(sel);
|
---|
7413 |
|
---|
7414 | return yyrc;
|
---|
7415 | }
|
---|
7416 |
|
---|
7417 | inline BOOL O32_RectInRegion(HRGN a, CONST RECT *b)
|
---|
7418 | {
|
---|
7419 | BOOL yyrc;
|
---|
7420 | USHORT sel = GetFS();
|
---|
7421 |
|
---|
7422 | yyrc = _O32_RectInRegion(a, b);
|
---|
7423 | SetFS(sel);
|
---|
7424 |
|
---|
7425 | return yyrc;
|
---|
7426 | }
|
---|
7427 |
|
---|
7428 | inline BOOL O32_RectVisible(HDC a, CONST RECT *b)
|
---|
7429 | {
|
---|
7430 | BOOL yyrc;
|
---|
7431 | USHORT sel = GetFS();
|
---|
7432 |
|
---|
7433 | yyrc = _O32_RectVisible(a, b);
|
---|
7434 | SetFS(sel);
|
---|
7435 |
|
---|
7436 | return yyrc;
|
---|
7437 | }
|
---|
7438 |
|
---|
7439 | inline BOOL O32_Rectangle(HDC a, int b, int c, int d, int e)
|
---|
7440 | {
|
---|
7441 | BOOL yyrc;
|
---|
7442 | USHORT sel = GetFS();
|
---|
7443 |
|
---|
7444 | yyrc = _O32_Rectangle(a, b, c, d, e);
|
---|
7445 | SetFS(sel);
|
---|
7446 |
|
---|
7447 | return yyrc;
|
---|
7448 | }
|
---|
7449 |
|
---|
7450 | inline BOOL O32_RedrawWindow(HWND a, CONST RECT *b, HRGN c, DWORD d)
|
---|
7451 | {
|
---|
7452 | BOOL yyrc;
|
---|
7453 | USHORT sel = GetFS();
|
---|
7454 |
|
---|
7455 | yyrc = _O32_RedrawWindow(a, b, c, d);
|
---|
7456 | SetFS(sel);
|
---|
7457 |
|
---|
7458 | return yyrc;
|
---|
7459 | }
|
---|
7460 |
|
---|
7461 | inline LONG O32_RegCloseKey(HKEY a)
|
---|
7462 | {
|
---|
7463 | LONG yyrc;
|
---|
7464 | USHORT sel = GetFS();
|
---|
7465 |
|
---|
7466 | yyrc = _O32_RegCloseKey(a);
|
---|
7467 | SetFS(sel);
|
---|
7468 |
|
---|
7469 | return yyrc;
|
---|
7470 | }
|
---|
7471 |
|
---|
7472 | inline LONG O32_RegCreateKey(HKEY a, LPCSTR b, PHKEY c)
|
---|
7473 | {
|
---|
7474 | LONG yyrc;
|
---|
7475 | USHORT sel = GetFS();
|
---|
7476 |
|
---|
7477 | yyrc = _O32_RegCreateKey(a, b, c);
|
---|
7478 | SetFS(sel);
|
---|
7479 |
|
---|
7480 | return yyrc;
|
---|
7481 | }
|
---|
7482 |
|
---|
7483 | inline LONG O32_RegCreateKeyEx(HKEY a, LPCSTR b, DWORD c, LPSTR d, DWORD e, REGSAM f, LPSECURITY_ATTRIBUTES g, PHKEY h, PDWORD i)
|
---|
7484 | {
|
---|
7485 | LONG yyrc;
|
---|
7486 | USHORT sel = GetFS();
|
---|
7487 |
|
---|
7488 | yyrc = _O32_RegCreateKeyEx(a, b, c, d, e, f, g, h, i);
|
---|
7489 | SetFS(sel);
|
---|
7490 |
|
---|
7491 | return yyrc;
|
---|
7492 | }
|
---|
7493 |
|
---|
7494 | inline LONG O32_RegDeleteKey(HKEY a, LPCSTR b)
|
---|
7495 | {
|
---|
7496 | LONG yyrc;
|
---|
7497 | USHORT sel = GetFS();
|
---|
7498 |
|
---|
7499 | yyrc = _O32_RegDeleteKey(a, b);
|
---|
7500 | SetFS(sel);
|
---|
7501 |
|
---|
7502 | return yyrc;
|
---|
7503 | }
|
---|
7504 |
|
---|
7505 | inline LONG O32_RegDeleteValue(HKEY a, LPSTR b)
|
---|
7506 | {
|
---|
7507 | LONG yyrc;
|
---|
7508 | USHORT sel = GetFS();
|
---|
7509 |
|
---|
7510 | yyrc = _O32_RegDeleteValue(a, b);
|
---|
7511 | SetFS(sel);
|
---|
7512 |
|
---|
7513 | return yyrc;
|
---|
7514 | }
|
---|
7515 |
|
---|
7516 | inline LONG O32_RegEnumKey(HKEY a, DWORD b, LPSTR c, DWORD d)
|
---|
7517 | {
|
---|
7518 | LONG yyrc;
|
---|
7519 | USHORT sel = GetFS();
|
---|
7520 |
|
---|
7521 | yyrc = _O32_RegEnumKey(a, b, c, d);
|
---|
7522 | SetFS(sel);
|
---|
7523 |
|
---|
7524 | return yyrc;
|
---|
7525 | }
|
---|
7526 |
|
---|
7527 | inline LONG O32_RegEnumKeyEx(HKEY a, DWORD b, LPSTR c, PDWORD d, PDWORD e, LPSTR f, PDWORD g, FILETIME *h)
|
---|
7528 | {
|
---|
7529 | LONG yyrc;
|
---|
7530 | USHORT sel = GetFS();
|
---|
7531 |
|
---|
7532 | yyrc = _O32_RegEnumKeyEx(a, b, c, d, e, f, g, h);
|
---|
7533 | SetFS(sel);
|
---|
7534 |
|
---|
7535 | return yyrc;
|
---|
7536 | }
|
---|
7537 |
|
---|
7538 | inline LONG O32_RegEnumValue(HKEY a, DWORD b, LPSTR c, PDWORD d, PDWORD e, PDWORD f, LPBYTE g, PDWORD h)
|
---|
7539 | {
|
---|
7540 | LONG yyrc;
|
---|
7541 | USHORT sel = GetFS();
|
---|
7542 |
|
---|
7543 | yyrc = _O32_RegEnumValue(a, b, c, d, e, f, g, h);
|
---|
7544 | SetFS(sel);
|
---|
7545 |
|
---|
7546 | return yyrc;
|
---|
7547 | }
|
---|
7548 |
|
---|
7549 | inline LONG O32_RegOpenKey(HKEY a, LPCSTR b, PHKEY c)
|
---|
7550 | {
|
---|
7551 | LONG yyrc;
|
---|
7552 | USHORT sel = GetFS();
|
---|
7553 |
|
---|
7554 | yyrc = _O32_RegOpenKey(a, b, c);
|
---|
7555 | SetFS(sel);
|
---|
7556 |
|
---|
7557 | return yyrc;
|
---|
7558 | }
|
---|
7559 |
|
---|
7560 | inline LONG O32_RegOpenKeyEx(HKEY a, LPCSTR b, DWORD c, REGSAM d, PHKEY e)
|
---|
7561 | {
|
---|
7562 | LONG yyrc;
|
---|
7563 | USHORT sel = GetFS();
|
---|
7564 |
|
---|
7565 | yyrc = _O32_RegOpenKeyEx(a, b, c, d, e);
|
---|
7566 | SetFS(sel);
|
---|
7567 |
|
---|
7568 | return yyrc;
|
---|
7569 | }
|
---|
7570 |
|
---|
7571 | 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)
|
---|
7572 | {
|
---|
7573 | LONG yyrc;
|
---|
7574 | USHORT sel = GetFS();
|
---|
7575 |
|
---|
7576 | yyrc = _O32_RegQueryInfoKey(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
7577 | SetFS(sel);
|
---|
7578 |
|
---|
7579 | return yyrc;
|
---|
7580 | }
|
---|
7581 |
|
---|
7582 | inline LONG O32_RegQueryValue(HKEY a, LPCSTR b, LPSTR c, PLONG d)
|
---|
7583 | {
|
---|
7584 | LONG yyrc;
|
---|
7585 | USHORT sel = GetFS();
|
---|
7586 |
|
---|
7587 | yyrc = _O32_RegQueryValue(a, b, c, d);
|
---|
7588 | SetFS(sel);
|
---|
7589 |
|
---|
7590 | return yyrc;
|
---|
7591 | }
|
---|
7592 |
|
---|
7593 | inline LONG O32_RegQueryValueEx(HKEY a, LPCSTR b, PDWORD c, PDWORD d, LPBYTE e, PDWORD f)
|
---|
7594 | {
|
---|
7595 | LONG yyrc;
|
---|
7596 | USHORT sel = GetFS();
|
---|
7597 |
|
---|
7598 | yyrc = _O32_RegQueryValueEx(a, b, c, d, e, f);
|
---|
7599 | SetFS(sel);
|
---|
7600 |
|
---|
7601 | return yyrc;
|
---|
7602 | }
|
---|
7603 |
|
---|
7604 | inline LONG O32_RegSetValue(HKEY a, LPCSTR b, DWORD c, LPCSTR d, DWORD e)
|
---|
7605 | {
|
---|
7606 | LONG yyrc;
|
---|
7607 | USHORT sel = GetFS();
|
---|
7608 |
|
---|
7609 | yyrc = _O32_RegSetValue(a, b, c, d, e);
|
---|
7610 | SetFS(sel);
|
---|
7611 |
|
---|
7612 | return yyrc;
|
---|
7613 | }
|
---|
7614 |
|
---|
7615 | inline LONG O32_RegSetValueEx(HKEY a, LPCSTR b, DWORD c, DWORD d, CONST BYTE *e, DWORD f)
|
---|
7616 | {
|
---|
7617 | LONG yyrc;
|
---|
7618 | USHORT sel = GetFS();
|
---|
7619 |
|
---|
7620 | yyrc = _O32_RegSetValueEx(a, b, c, d, e, f);
|
---|
7621 | SetFS(sel);
|
---|
7622 |
|
---|
7623 | return yyrc;
|
---|
7624 | }
|
---|
7625 |
|
---|
7626 | inline WORD O32_RegisterClass(CONST WNDCLASSA *a)
|
---|
7627 | {
|
---|
7628 | WORD yyrc;
|
---|
7629 | USHORT sel = GetFS();
|
---|
7630 |
|
---|
7631 | yyrc = _O32_RegisterClass(a);
|
---|
7632 | SetFS(sel);
|
---|
7633 |
|
---|
7634 | return yyrc;
|
---|
7635 | }
|
---|
7636 |
|
---|
7637 | inline UINT O32_RegisterClipboardFormat(LPCSTR a)
|
---|
7638 | {
|
---|
7639 | UINT yyrc;
|
---|
7640 | USHORT sel = GetFS();
|
---|
7641 |
|
---|
7642 | yyrc = _O32_RegisterClipboardFormat(a);
|
---|
7643 | SetFS(sel);
|
---|
7644 |
|
---|
7645 | return yyrc;
|
---|
7646 | }
|
---|
7647 |
|
---|
7648 | inline UINT O32_RegisterWindowMessage(LPCSTR a)
|
---|
7649 | {
|
---|
7650 | UINT yyrc;
|
---|
7651 | USHORT sel = GetFS();
|
---|
7652 |
|
---|
7653 | yyrc = _O32_RegisterWindowMessage(a);
|
---|
7654 | SetFS(sel);
|
---|
7655 |
|
---|
7656 | return yyrc;
|
---|
7657 | }
|
---|
7658 |
|
---|
7659 | inline BOOL O32_ReleaseCapture()
|
---|
7660 | {
|
---|
7661 | BOOL yyrc;
|
---|
7662 | USHORT sel = GetFS();
|
---|
7663 |
|
---|
7664 | yyrc = _O32_ReleaseCapture();
|
---|
7665 | SetFS(sel);
|
---|
7666 |
|
---|
7667 | return yyrc;
|
---|
7668 | }
|
---|
7669 |
|
---|
7670 | inline int O32_ReleaseDC(HWND a, HDC b)
|
---|
7671 | {
|
---|
7672 | int yyrc;
|
---|
7673 | USHORT sel = GetFS();
|
---|
7674 |
|
---|
7675 | yyrc = _O32_ReleaseDC(a, b);
|
---|
7676 | SetFS(sel);
|
---|
7677 |
|
---|
7678 | return yyrc;
|
---|
7679 | }
|
---|
7680 |
|
---|
7681 | inline BOOL O32_ReleaseMutex(HANDLE a)
|
---|
7682 | {
|
---|
7683 | BOOL yyrc;
|
---|
7684 | USHORT sel = GetFS();
|
---|
7685 |
|
---|
7686 | yyrc = _O32_ReleaseMutex(a);
|
---|
7687 | SetFS(sel);
|
---|
7688 |
|
---|
7689 | return yyrc;
|
---|
7690 | }
|
---|
7691 |
|
---|
7692 | inline BOOL O32_ReleaseSemaphore(HANDLE a, LONG b, PLONG c)
|
---|
7693 | {
|
---|
7694 | BOOL yyrc;
|
---|
7695 | USHORT sel = GetFS();
|
---|
7696 |
|
---|
7697 | yyrc = _O32_ReleaseSemaphore(a, b, c);
|
---|
7698 | SetFS(sel);
|
---|
7699 |
|
---|
7700 | return yyrc;
|
---|
7701 | }
|
---|
7702 |
|
---|
7703 | inline BOOL O32_RemoveDirectory(LPCSTR a)
|
---|
7704 | {
|
---|
7705 | BOOL yyrc;
|
---|
7706 | USHORT sel = GetFS();
|
---|
7707 |
|
---|
7708 | yyrc = _O32_RemoveDirectory(a);
|
---|
7709 | SetFS(sel);
|
---|
7710 |
|
---|
7711 | return yyrc;
|
---|
7712 | }
|
---|
7713 |
|
---|
7714 | inline BOOL O32_RemoveFontResource(LPCSTR a)
|
---|
7715 | {
|
---|
7716 | BOOL yyrc;
|
---|
7717 | USHORT sel = GetFS();
|
---|
7718 |
|
---|
7719 | yyrc = _O32_RemoveFontResource(a);
|
---|
7720 | SetFS(sel);
|
---|
7721 |
|
---|
7722 | return yyrc;
|
---|
7723 | }
|
---|
7724 |
|
---|
7725 | inline BOOL O32_RemoveMenu(HMENU a, UINT b, UINT c)
|
---|
7726 | {
|
---|
7727 | BOOL yyrc;
|
---|
7728 | USHORT sel = GetFS();
|
---|
7729 |
|
---|
7730 | yyrc = _O32_RemoveMenu(a, b, c);
|
---|
7731 | SetFS(sel);
|
---|
7732 |
|
---|
7733 | return yyrc;
|
---|
7734 | }
|
---|
7735 |
|
---|
7736 | inline HANDLE O32_RemoveProp(HWND a, LPCSTR b)
|
---|
7737 | {
|
---|
7738 | HANDLE yyrc;
|
---|
7739 | USHORT sel = GetFS();
|
---|
7740 |
|
---|
7741 | yyrc = _O32_RemoveProp(a, b);
|
---|
7742 | SetFS(sel);
|
---|
7743 |
|
---|
7744 | return yyrc;
|
---|
7745 | }
|
---|
7746 |
|
---|
7747 | inline HWND O32_ReplaceText(LPFINDREPLACEA a)
|
---|
7748 | {
|
---|
7749 | HWND yyrc;
|
---|
7750 | USHORT sel = GetFS();
|
---|
7751 |
|
---|
7752 | yyrc = _O32_ReplaceText(a);
|
---|
7753 | SetFS(sel);
|
---|
7754 |
|
---|
7755 | return yyrc;
|
---|
7756 | }
|
---|
7757 |
|
---|
7758 | inline BOOL O32_ReplyMessage(LRESULT a)
|
---|
7759 | {
|
---|
7760 | BOOL yyrc;
|
---|
7761 | USHORT sel = GetFS();
|
---|
7762 |
|
---|
7763 | yyrc = _O32_ReplyMessage(a);
|
---|
7764 | SetFS(sel);
|
---|
7765 |
|
---|
7766 | return yyrc;
|
---|
7767 | }
|
---|
7768 |
|
---|
7769 | inline BOOL O32_ResetDC(HDC a, CONST DEVMODEA *b)
|
---|
7770 | {
|
---|
7771 | BOOL yyrc;
|
---|
7772 | USHORT sel = GetFS();
|
---|
7773 |
|
---|
7774 | yyrc = _O32_ResetDC(a, b);
|
---|
7775 | SetFS(sel);
|
---|
7776 |
|
---|
7777 | return yyrc;
|
---|
7778 | }
|
---|
7779 |
|
---|
7780 | inline BOOL O32_ResetEvent(HANDLE a)
|
---|
7781 | {
|
---|
7782 | BOOL yyrc;
|
---|
7783 | USHORT sel = GetFS();
|
---|
7784 |
|
---|
7785 | yyrc = _O32_ResetEvent(a);
|
---|
7786 | SetFS(sel);
|
---|
7787 |
|
---|
7788 | return yyrc;
|
---|
7789 | }
|
---|
7790 |
|
---|
7791 | inline BOOL O32_ResizePalette(HPALETTE a, UINT b)
|
---|
7792 | {
|
---|
7793 | BOOL yyrc;
|
---|
7794 | USHORT sel = GetFS();
|
---|
7795 |
|
---|
7796 | yyrc = _O32_ResizePalette(a, b);
|
---|
7797 | SetFS(sel);
|
---|
7798 |
|
---|
7799 | return yyrc;
|
---|
7800 | }
|
---|
7801 |
|
---|
7802 | inline BOOL O32_RestoreDC(HDC a, int b)
|
---|
7803 | {
|
---|
7804 | BOOL yyrc;
|
---|
7805 | USHORT sel = GetFS();
|
---|
7806 |
|
---|
7807 | yyrc = _O32_RestoreDC(a, b);
|
---|
7808 | SetFS(sel);
|
---|
7809 |
|
---|
7810 | return yyrc;
|
---|
7811 | }
|
---|
7812 |
|
---|
7813 | inline DWORD O32_ResumeThread(HANDLE a)
|
---|
7814 | {
|
---|
7815 | DWORD yyrc;
|
---|
7816 | USHORT sel = GetFS();
|
---|
7817 |
|
---|
7818 | yyrc = _O32_ResumeThread(a);
|
---|
7819 | SetFS(sel);
|
---|
7820 |
|
---|
7821 | return yyrc;
|
---|
7822 | }
|
---|
7823 |
|
---|
7824 | inline LONG O32_ReuseDDElParam(LONG a, UINT b, UINT c, UINT d, UINT e)
|
---|
7825 | {
|
---|
7826 | LONG yyrc;
|
---|
7827 | USHORT sel = GetFS();
|
---|
7828 |
|
---|
7829 | yyrc = _O32_ReuseDDElParam(a, b, c, d, e);
|
---|
7830 | SetFS(sel);
|
---|
7831 |
|
---|
7832 | return yyrc;
|
---|
7833 | }
|
---|
7834 |
|
---|
7835 | inline BOOL O32_RoundRect(HDC a, int b, int c, int d, int e, int f, int g)
|
---|
7836 | {
|
---|
7837 | BOOL yyrc;
|
---|
7838 | USHORT sel = GetFS();
|
---|
7839 |
|
---|
7840 | yyrc = _O32_RoundRect(a, b, c, d, e, f, g);
|
---|
7841 | SetFS(sel);
|
---|
7842 |
|
---|
7843 | return yyrc;
|
---|
7844 | }
|
---|
7845 |
|
---|
7846 | inline int O32_SaveDC(HDC a)
|
---|
7847 | {
|
---|
7848 | int yyrc;
|
---|
7849 | USHORT sel = GetFS();
|
---|
7850 |
|
---|
7851 | yyrc = _O32_SaveDC(a);
|
---|
7852 | SetFS(sel);
|
---|
7853 |
|
---|
7854 | return yyrc;
|
---|
7855 | }
|
---|
7856 |
|
---|
7857 | inline BOOL O32_ScaleViewportExtEx(HDC a, int b, int c, int d, int e, PSIZE f)
|
---|
7858 | {
|
---|
7859 | BOOL yyrc;
|
---|
7860 | USHORT sel = GetFS();
|
---|
7861 |
|
---|
7862 | yyrc = _O32_ScaleViewportExtEx(a, b, c, d, e, f);
|
---|
7863 | SetFS(sel);
|
---|
7864 |
|
---|
7865 | return yyrc;
|
---|
7866 | }
|
---|
7867 |
|
---|
7868 | inline BOOL O32_ScaleWindowExtEx(HDC a, int b, int c, int d, int e, PSIZE f)
|
---|
7869 | {
|
---|
7870 | BOOL yyrc;
|
---|
7871 | USHORT sel = GetFS();
|
---|
7872 |
|
---|
7873 | yyrc = _O32_ScaleWindowExtEx(a, b, c, d, e, f);
|
---|
7874 | SetFS(sel);
|
---|
7875 |
|
---|
7876 | return yyrc;
|
---|
7877 | }
|
---|
7878 |
|
---|
7879 | inline BOOL O32_ScreenToClient(HWND a, PPOINT b)
|
---|
7880 | {
|
---|
7881 | BOOL yyrc;
|
---|
7882 | USHORT sel = GetFS();
|
---|
7883 |
|
---|
7884 | yyrc = _O32_ScreenToClient(a, b);
|
---|
7885 | SetFS(sel);
|
---|
7886 |
|
---|
7887 | return yyrc;
|
---|
7888 | }
|
---|
7889 |
|
---|
7890 | inline BOOL O32_ScrollDC(HDC a, int b, int c, CONST RECT *d, CONST RECT *e, HRGN f, PRECT g)
|
---|
7891 | {
|
---|
7892 | BOOL yyrc;
|
---|
7893 | USHORT sel = GetFS();
|
---|
7894 |
|
---|
7895 | yyrc = _O32_ScrollDC(a, b, c, d, e, f, g);
|
---|
7896 | SetFS(sel);
|
---|
7897 |
|
---|
7898 | return yyrc;
|
---|
7899 | }
|
---|
7900 |
|
---|
7901 | inline BOOL O32_ScrollWindow(HWND a, int b, int c, CONST RECT *d, CONST RECT *e)
|
---|
7902 | {
|
---|
7903 | BOOL yyrc;
|
---|
7904 | USHORT sel = GetFS();
|
---|
7905 |
|
---|
7906 | yyrc = _O32_ScrollWindow(a, b, c, d, e);
|
---|
7907 | SetFS(sel);
|
---|
7908 |
|
---|
7909 | return yyrc;
|
---|
7910 | }
|
---|
7911 |
|
---|
7912 | inline BOOL O32_ScrollWindowEx(HWND a, int b, int c, CONST RECT *d, CONST RECT *e, HRGN f, PRECT g, UINT h)
|
---|
7913 | {
|
---|
7914 | BOOL yyrc;
|
---|
7915 | USHORT sel = GetFS();
|
---|
7916 |
|
---|
7917 | yyrc = _O32_ScrollWindowEx(a, b, c, d, e, f, g, h);
|
---|
7918 | SetFS(sel);
|
---|
7919 |
|
---|
7920 | return yyrc;
|
---|
7921 | }
|
---|
7922 |
|
---|
7923 | inline DWORD O32_SearchPath(LPCSTR a, LPCSTR b, LPCSTR c, DWORD d, LPSTR e, LPSTR *f)
|
---|
7924 | {
|
---|
7925 | DWORD yyrc;
|
---|
7926 | USHORT sel = GetFS();
|
---|
7927 |
|
---|
7928 | yyrc = _O32_SearchPath(a, b, c, d, e, f);
|
---|
7929 | SetFS(sel);
|
---|
7930 |
|
---|
7931 | return yyrc;
|
---|
7932 | }
|
---|
7933 |
|
---|
7934 | inline int O32_SelectClipRgn(HDC a, HRGN b)
|
---|
7935 | {
|
---|
7936 | int yyrc;
|
---|
7937 | USHORT sel = GetFS();
|
---|
7938 |
|
---|
7939 | yyrc = _O32_SelectClipRgn(a, b);
|
---|
7940 | SetFS(sel);
|
---|
7941 |
|
---|
7942 | return yyrc;
|
---|
7943 | }
|
---|
7944 |
|
---|
7945 | inline HGDIOBJ O32_SelectObject(HDC a, HGDIOBJ b)
|
---|
7946 | {
|
---|
7947 | HGDIOBJ yyrc;
|
---|
7948 | USHORT sel = GetFS();
|
---|
7949 |
|
---|
7950 | yyrc = _O32_SelectObject(a, b);
|
---|
7951 | SetFS(sel);
|
---|
7952 |
|
---|
7953 | return yyrc;
|
---|
7954 | }
|
---|
7955 |
|
---|
7956 | inline HPALETTE O32_SelectPalette(HDC a, HPALETTE b, BOOL c)
|
---|
7957 | {
|
---|
7958 | HPALETTE yyrc;
|
---|
7959 | USHORT sel = GetFS();
|
---|
7960 |
|
---|
7961 | yyrc = _O32_SelectPalette(a, b, c);
|
---|
7962 | SetFS(sel);
|
---|
7963 |
|
---|
7964 | return yyrc;
|
---|
7965 | }
|
---|
7966 |
|
---|
7967 | inline LONG O32_SendDlgItemMessage(HWND a, int b, UINT c, WPARAM d, LPARAM e)
|
---|
7968 | {
|
---|
7969 | LONG yyrc;
|
---|
7970 | USHORT sel = GetFS();
|
---|
7971 |
|
---|
7972 | yyrc = _O32_SendDlgItemMessage(a, b, c, d, e);
|
---|
7973 | SetFS(sel);
|
---|
7974 |
|
---|
7975 | return yyrc;
|
---|
7976 | }
|
---|
7977 |
|
---|
7978 | inline LRESULT O32_SendMessage(HWND a, UINT b, WPARAM c, LPARAM d)
|
---|
7979 | {
|
---|
7980 | LRESULT yyrc;
|
---|
7981 | USHORT sel = GetFS();
|
---|
7982 |
|
---|
7983 | yyrc = _O32_SendMessage(a, b, c, d);
|
---|
7984 | SetFS(sel);
|
---|
7985 |
|
---|
7986 | return yyrc;
|
---|
7987 | }
|
---|
7988 |
|
---|
7989 | inline HWND O32_SetActiveWindow(HWND a)
|
---|
7990 | {
|
---|
7991 | HWND yyrc;
|
---|
7992 | USHORT sel = GetFS();
|
---|
7993 |
|
---|
7994 | yyrc = _O32_SetActiveWindow(a);
|
---|
7995 | SetFS(sel);
|
---|
7996 |
|
---|
7997 | return yyrc;
|
---|
7998 | }
|
---|
7999 |
|
---|
8000 | inline int O32_SetArcDirection(HDC a, int b)
|
---|
8001 | {
|
---|
8002 | int yyrc;
|
---|
8003 | USHORT sel = GetFS();
|
---|
8004 |
|
---|
8005 | yyrc = _O32_SetArcDirection(a, b);
|
---|
8006 | SetFS(sel);
|
---|
8007 |
|
---|
8008 | return yyrc;
|
---|
8009 | }
|
---|
8010 |
|
---|
8011 | inline LONG O32_SetBitmapBits(HBITMAP a, DWORD b, CONST VOID *c)
|
---|
8012 | {
|
---|
8013 | LONG yyrc;
|
---|
8014 | USHORT sel = GetFS();
|
---|
8015 |
|
---|
8016 | yyrc = _O32_SetBitmapBits(a, b, c);
|
---|
8017 | SetFS(sel);
|
---|
8018 |
|
---|
8019 | return yyrc;
|
---|
8020 | }
|
---|
8021 |
|
---|
8022 | inline BOOL O32_SetBitmapDimensionEx(HBITMAP a, int b, int c, PSIZE d)
|
---|
8023 | {
|
---|
8024 | BOOL yyrc;
|
---|
8025 | USHORT sel = GetFS();
|
---|
8026 |
|
---|
8027 | yyrc = _O32_SetBitmapDimensionEx(a, b, c, d);
|
---|
8028 | SetFS(sel);
|
---|
8029 |
|
---|
8030 | return yyrc;
|
---|
8031 | }
|
---|
8032 |
|
---|
8033 | inline COLORREF O32_SetBkColor(HDC a, COLORREF b)
|
---|
8034 | {
|
---|
8035 | COLORREF yyrc;
|
---|
8036 | USHORT sel = GetFS();
|
---|
8037 |
|
---|
8038 | yyrc = _O32_SetBkColor(a, b);
|
---|
8039 | SetFS(sel);
|
---|
8040 |
|
---|
8041 | return yyrc;
|
---|
8042 | }
|
---|
8043 |
|
---|
8044 | inline int O32_SetBkMode(HDC a, int b)
|
---|
8045 | {
|
---|
8046 | int yyrc;
|
---|
8047 | USHORT sel = GetFS();
|
---|
8048 |
|
---|
8049 | yyrc = _O32_SetBkMode(a, b);
|
---|
8050 | SetFS(sel);
|
---|
8051 |
|
---|
8052 | return yyrc;
|
---|
8053 | }
|
---|
8054 |
|
---|
8055 | inline LONG O32_SetBoundsRect(HDC a, CONST RECT *b, UINT c)
|
---|
8056 | {
|
---|
8057 | LONG yyrc;
|
---|
8058 | USHORT sel = GetFS();
|
---|
8059 |
|
---|
8060 | yyrc = _O32_SetBoundsRect(a, b, c);
|
---|
8061 | SetFS(sel);
|
---|
8062 |
|
---|
8063 | return yyrc;
|
---|
8064 | }
|
---|
8065 |
|
---|
8066 | inline BOOL O32_SetBrushOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
8067 | {
|
---|
8068 | BOOL yyrc;
|
---|
8069 | USHORT sel = GetFS();
|
---|
8070 |
|
---|
8071 | yyrc = _O32_SetBrushOrgEx(a, b, c, d);
|
---|
8072 | SetFS(sel);
|
---|
8073 |
|
---|
8074 | return yyrc;
|
---|
8075 | }
|
---|
8076 |
|
---|
8077 | inline HWND O32_SetCapture(HWND a)
|
---|
8078 | {
|
---|
8079 | HWND yyrc;
|
---|
8080 | USHORT sel = GetFS();
|
---|
8081 |
|
---|
8082 | yyrc = _O32_SetCapture(a);
|
---|
8083 | SetFS(sel);
|
---|
8084 |
|
---|
8085 | return yyrc;
|
---|
8086 | }
|
---|
8087 |
|
---|
8088 | inline BOOL O32_SetCaretBlinkTime(UINT a)
|
---|
8089 | {
|
---|
8090 | BOOL yyrc;
|
---|
8091 | USHORT sel = GetFS();
|
---|
8092 |
|
---|
8093 | yyrc = _O32_SetCaretBlinkTime(a);
|
---|
8094 | SetFS(sel);
|
---|
8095 |
|
---|
8096 | return yyrc;
|
---|
8097 | }
|
---|
8098 |
|
---|
8099 | inline BOOL O32_SetCaretPos(int a, int b)
|
---|
8100 | {
|
---|
8101 | BOOL yyrc;
|
---|
8102 | USHORT sel = GetFS();
|
---|
8103 |
|
---|
8104 | yyrc = _O32_SetCaretPos(a, b);
|
---|
8105 | SetFS(sel);
|
---|
8106 |
|
---|
8107 | return yyrc;
|
---|
8108 | }
|
---|
8109 |
|
---|
8110 | inline DWORD O32_SetClassLong(HWND a, int b, LONG c)
|
---|
8111 | {
|
---|
8112 | DWORD yyrc;
|
---|
8113 | USHORT sel = GetFS();
|
---|
8114 |
|
---|
8115 | yyrc = _O32_SetClassLong(a, b, c);
|
---|
8116 | SetFS(sel);
|
---|
8117 |
|
---|
8118 | return yyrc;
|
---|
8119 | }
|
---|
8120 |
|
---|
8121 | inline WORD O32_SetClassWord(HWND a, int b, WORD c)
|
---|
8122 | {
|
---|
8123 | WORD yyrc;
|
---|
8124 | USHORT sel = GetFS();
|
---|
8125 |
|
---|
8126 | yyrc = _O32_SetClassWord(a, b, c);
|
---|
8127 | SetFS(sel);
|
---|
8128 |
|
---|
8129 | return yyrc;
|
---|
8130 | }
|
---|
8131 |
|
---|
8132 | inline HANDLE O32_SetClipboardData(UINT a, HANDLE b)
|
---|
8133 | {
|
---|
8134 | HANDLE yyrc;
|
---|
8135 | USHORT sel = GetFS();
|
---|
8136 |
|
---|
8137 | yyrc = _O32_SetClipboardData(a, b);
|
---|
8138 | SetFS(sel);
|
---|
8139 |
|
---|
8140 | return yyrc;
|
---|
8141 | }
|
---|
8142 |
|
---|
8143 | inline HWND O32_SetClipboardViewer(HWND a)
|
---|
8144 | {
|
---|
8145 | HWND yyrc;
|
---|
8146 | USHORT sel = GetFS();
|
---|
8147 |
|
---|
8148 | yyrc = _O32_SetClipboardViewer(a);
|
---|
8149 | SetFS(sel);
|
---|
8150 |
|
---|
8151 | return yyrc;
|
---|
8152 | }
|
---|
8153 |
|
---|
8154 | inline BOOL O32_SetCurrentDirectory(LPSTR a)
|
---|
8155 | {
|
---|
8156 | BOOL yyrc;
|
---|
8157 | USHORT sel = GetFS();
|
---|
8158 |
|
---|
8159 | yyrc = _O32_SetCurrentDirectory(a);
|
---|
8160 | SetFS(sel);
|
---|
8161 |
|
---|
8162 | return yyrc;
|
---|
8163 | }
|
---|
8164 |
|
---|
8165 | inline HCURSOR O32_SetCursor(HCURSOR a)
|
---|
8166 | {
|
---|
8167 | HCURSOR yyrc;
|
---|
8168 | USHORT sel = GetFS();
|
---|
8169 |
|
---|
8170 | yyrc = _O32_SetCursor(a);
|
---|
8171 | SetFS(sel);
|
---|
8172 |
|
---|
8173 | return yyrc;
|
---|
8174 | }
|
---|
8175 |
|
---|
8176 | inline BOOL O32_SetCursorPos(int a, int b)
|
---|
8177 | {
|
---|
8178 | BOOL yyrc;
|
---|
8179 | USHORT sel = GetFS();
|
---|
8180 |
|
---|
8181 | yyrc = _O32_SetCursorPos(a, b);
|
---|
8182 | SetFS(sel);
|
---|
8183 |
|
---|
8184 | return yyrc;
|
---|
8185 | }
|
---|
8186 |
|
---|
8187 | inline int O32_SetDIBits(HDC a, HBITMAP b, UINT c, UINT d, CONST VOID *e, CONST BITMAPINFO *f, UINT g)
|
---|
8188 | {
|
---|
8189 | int yyrc;
|
---|
8190 | USHORT sel = GetFS();
|
---|
8191 |
|
---|
8192 | yyrc = _O32_SetDIBits(a, b, c, d, e, f, g);
|
---|
8193 | SetFS(sel);
|
---|
8194 |
|
---|
8195 | return yyrc;
|
---|
8196 | }
|
---|
8197 |
|
---|
8198 | 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)
|
---|
8199 | {
|
---|
8200 | int yyrc;
|
---|
8201 | USHORT sel = GetFS();
|
---|
8202 |
|
---|
8203 | yyrc = _O32_SetDIBitsToDevice(a, b, c, d, e, f, g, h, i, j, k, l);
|
---|
8204 | SetFS(sel);
|
---|
8205 |
|
---|
8206 | return yyrc;
|
---|
8207 | }
|
---|
8208 |
|
---|
8209 | inline BOOL O32_SetDlgItemInt(HWND a, int b, UINT c, BOOL d)
|
---|
8210 | {
|
---|
8211 | BOOL yyrc;
|
---|
8212 | USHORT sel = GetFS();
|
---|
8213 |
|
---|
8214 | yyrc = _O32_SetDlgItemInt(a, b, c, d);
|
---|
8215 | SetFS(sel);
|
---|
8216 |
|
---|
8217 | return yyrc;
|
---|
8218 | }
|
---|
8219 |
|
---|
8220 | inline BOOL O32_SetDlgItemText(HWND a, int b, LPCSTR c)
|
---|
8221 | {
|
---|
8222 | BOOL yyrc;
|
---|
8223 | USHORT sel = GetFS();
|
---|
8224 |
|
---|
8225 | yyrc = _O32_SetDlgItemText(a, b, c);
|
---|
8226 | SetFS(sel);
|
---|
8227 |
|
---|
8228 | return yyrc;
|
---|
8229 | }
|
---|
8230 |
|
---|
8231 | inline BOOL O32_SetDoubleClickTime(UINT a)
|
---|
8232 | {
|
---|
8233 | BOOL yyrc;
|
---|
8234 | USHORT sel = GetFS();
|
---|
8235 |
|
---|
8236 | yyrc = _O32_SetDoubleClickTime(a);
|
---|
8237 | SetFS(sel);
|
---|
8238 |
|
---|
8239 | return yyrc;
|
---|
8240 | }
|
---|
8241 |
|
---|
8242 | inline BOOL O32_SetEndOfFile(HANDLE a)
|
---|
8243 | {
|
---|
8244 | BOOL yyrc;
|
---|
8245 | USHORT sel = GetFS();
|
---|
8246 |
|
---|
8247 | yyrc = _O32_SetEndOfFile(a);
|
---|
8248 | SetFS(sel);
|
---|
8249 |
|
---|
8250 | return yyrc;
|
---|
8251 | }
|
---|
8252 |
|
---|
8253 | inline HENHMETAFILE O32_SetEnhMetaFileBits(UINT a, CONST BYTE *b)
|
---|
8254 | {
|
---|
8255 | HENHMETAFILE yyrc;
|
---|
8256 | USHORT sel = GetFS();
|
---|
8257 |
|
---|
8258 | yyrc = _O32_SetEnhMetaFileBits(a, b);
|
---|
8259 | SetFS(sel);
|
---|
8260 |
|
---|
8261 | return yyrc;
|
---|
8262 | }
|
---|
8263 |
|
---|
8264 | inline BOOL O32_SetEnvironmentVariable(LPCSTR a, LPCSTR b)
|
---|
8265 | {
|
---|
8266 | BOOL yyrc;
|
---|
8267 | USHORT sel = GetFS();
|
---|
8268 |
|
---|
8269 | yyrc = _O32_SetEnvironmentVariable(a, b);
|
---|
8270 | SetFS(sel);
|
---|
8271 |
|
---|
8272 | return yyrc;
|
---|
8273 | }
|
---|
8274 |
|
---|
8275 | inline BOOL O32_SetEvent(HANDLE a)
|
---|
8276 | {
|
---|
8277 | BOOL yyrc;
|
---|
8278 | USHORT sel = GetFS();
|
---|
8279 |
|
---|
8280 | yyrc = _O32_SetEvent(a);
|
---|
8281 | SetFS(sel);
|
---|
8282 |
|
---|
8283 | return yyrc;
|
---|
8284 | }
|
---|
8285 |
|
---|
8286 | inline BOOL O32_SetFileAttributes(LPCSTR a, DWORD b)
|
---|
8287 | {
|
---|
8288 | BOOL yyrc;
|
---|
8289 | USHORT sel = GetFS();
|
---|
8290 |
|
---|
8291 | yyrc = _O32_SetFileAttributes(a, b);
|
---|
8292 | SetFS(sel);
|
---|
8293 |
|
---|
8294 | return yyrc;
|
---|
8295 | }
|
---|
8296 |
|
---|
8297 | inline DWORD O32_SetFilePointer(HANDLE a, LONG b, PLONG c, DWORD d)
|
---|
8298 | {
|
---|
8299 | DWORD yyrc;
|
---|
8300 | USHORT sel = GetFS();
|
---|
8301 |
|
---|
8302 | yyrc = _O32_SetFilePointer(a, b, c, d);
|
---|
8303 | SetFS(sel);
|
---|
8304 |
|
---|
8305 | return yyrc;
|
---|
8306 | }
|
---|
8307 |
|
---|
8308 | inline BOOL O32_SetFileTime(HANDLE a, CONST FILETIME *b, CONST FILETIME *c, CONST FILETIME *d)
|
---|
8309 | {
|
---|
8310 | BOOL yyrc;
|
---|
8311 | USHORT sel = GetFS();
|
---|
8312 |
|
---|
8313 | yyrc = _O32_SetFileTime(a, b, c, d);
|
---|
8314 | SetFS(sel);
|
---|
8315 |
|
---|
8316 | return yyrc;
|
---|
8317 | }
|
---|
8318 |
|
---|
8319 | inline HWND O32_SetFocus(HWND a)
|
---|
8320 | {
|
---|
8321 | HWND yyrc;
|
---|
8322 | USHORT sel = GetFS();
|
---|
8323 |
|
---|
8324 | yyrc = _O32_SetFocus(a);
|
---|
8325 | SetFS(sel);
|
---|
8326 |
|
---|
8327 | return yyrc;
|
---|
8328 | }
|
---|
8329 |
|
---|
8330 | inline BOOL O32_SetForegroundWindow(HWND a)
|
---|
8331 | {
|
---|
8332 | BOOL yyrc;
|
---|
8333 | USHORT sel = GetFS();
|
---|
8334 |
|
---|
8335 | yyrc = _O32_SetForegroundWindow(a);
|
---|
8336 | SetFS(sel);
|
---|
8337 |
|
---|
8338 | return yyrc;
|
---|
8339 | }
|
---|
8340 |
|
---|
8341 | inline int O32_SetGraphicsMode(HDC a, int b)
|
---|
8342 | {
|
---|
8343 | int yyrc;
|
---|
8344 | USHORT sel = GetFS();
|
---|
8345 |
|
---|
8346 | yyrc = _O32_SetGraphicsMode(a, b);
|
---|
8347 | SetFS(sel);
|
---|
8348 |
|
---|
8349 | return yyrc;
|
---|
8350 | }
|
---|
8351 |
|
---|
8352 | inline UINT O32_SetHandleCount(UINT a)
|
---|
8353 | {
|
---|
8354 | UINT yyrc;
|
---|
8355 | USHORT sel = GetFS();
|
---|
8356 |
|
---|
8357 | yyrc = _O32_SetHandleCount(a);
|
---|
8358 | SetFS(sel);
|
---|
8359 |
|
---|
8360 | return yyrc;
|
---|
8361 | }
|
---|
8362 |
|
---|
8363 | inline VOID O32_SetLastError(DWORD a)
|
---|
8364 | {
|
---|
8365 | USHORT sel = GetFS();
|
---|
8366 |
|
---|
8367 | _O32_SetLastError(a);
|
---|
8368 | SetFS(sel);
|
---|
8369 | }
|
---|
8370 |
|
---|
8371 | inline BOOL O32_SetLocalTime(CONST SYSTEMTIME *a)
|
---|
8372 | {
|
---|
8373 | BOOL yyrc;
|
---|
8374 | USHORT sel = GetFS();
|
---|
8375 |
|
---|
8376 | yyrc = _O32_SetLocalTime(a);
|
---|
8377 | SetFS(sel);
|
---|
8378 |
|
---|
8379 | return yyrc;
|
---|
8380 | }
|
---|
8381 |
|
---|
8382 | inline int O32_SetMapMode(HDC a, int b)
|
---|
8383 | {
|
---|
8384 | int yyrc;
|
---|
8385 | USHORT sel = GetFS();
|
---|
8386 |
|
---|
8387 | yyrc = _O32_SetMapMode(a, b);
|
---|
8388 | SetFS(sel);
|
---|
8389 |
|
---|
8390 | return yyrc;
|
---|
8391 | }
|
---|
8392 |
|
---|
8393 | inline DWORD O32_SetMapperFlags(HDC a, DWORD b)
|
---|
8394 | {
|
---|
8395 | DWORD yyrc;
|
---|
8396 | USHORT sel = GetFS();
|
---|
8397 |
|
---|
8398 | yyrc = _O32_SetMapperFlags(a, b);
|
---|
8399 | SetFS(sel);
|
---|
8400 |
|
---|
8401 | return yyrc;
|
---|
8402 | }
|
---|
8403 |
|
---|
8404 | inline BOOL O32_SetMenu(HWND a, HMENU b)
|
---|
8405 | {
|
---|
8406 | BOOL yyrc;
|
---|
8407 | USHORT sel = GetFS();
|
---|
8408 |
|
---|
8409 | yyrc = _O32_SetMenu(a, b);
|
---|
8410 | SetFS(sel);
|
---|
8411 |
|
---|
8412 | return yyrc;
|
---|
8413 | }
|
---|
8414 |
|
---|
8415 | inline BOOL O32_SetMenuItemBitmaps(HMENU a, UINT b, UINT c, HBITMAP d, HBITMAP e)
|
---|
8416 | {
|
---|
8417 | BOOL yyrc;
|
---|
8418 | USHORT sel = GetFS();
|
---|
8419 |
|
---|
8420 | yyrc = _O32_SetMenuItemBitmaps(a, b, c, d, e);
|
---|
8421 | SetFS(sel);
|
---|
8422 |
|
---|
8423 | return yyrc;
|
---|
8424 | }
|
---|
8425 |
|
---|
8426 | inline HMETAFILE O32_SetMetaFileBitsEx(UINT a, PBYTE b)
|
---|
8427 | {
|
---|
8428 | HMETAFILE yyrc;
|
---|
8429 | USHORT sel = GetFS();
|
---|
8430 |
|
---|
8431 | yyrc = _O32_SetMetaFileBitsEx(a, b);
|
---|
8432 | SetFS(sel);
|
---|
8433 |
|
---|
8434 | return yyrc;
|
---|
8435 | }
|
---|
8436 |
|
---|
8437 | inline BOOL O32_SetMiterLimit(HDC a, float b, float *c)
|
---|
8438 | {
|
---|
8439 | BOOL yyrc;
|
---|
8440 | USHORT sel = GetFS();
|
---|
8441 |
|
---|
8442 | yyrc = _O32_SetMiterLimit(a, b, c);
|
---|
8443 | SetFS(sel);
|
---|
8444 |
|
---|
8445 | return yyrc;
|
---|
8446 | }
|
---|
8447 |
|
---|
8448 | inline UINT O32_SetPaletteEntries(HPALETTE a, UINT b, UINT c, CONST PALETTEENTRY *d)
|
---|
8449 | {
|
---|
8450 | UINT yyrc;
|
---|
8451 | USHORT sel = GetFS();
|
---|
8452 |
|
---|
8453 | yyrc = _O32_SetPaletteEntries(a, b, c, d);
|
---|
8454 | SetFS(sel);
|
---|
8455 |
|
---|
8456 | return yyrc;
|
---|
8457 | }
|
---|
8458 |
|
---|
8459 | inline HWND O32_SetParent(HWND a, HWND b)
|
---|
8460 | {
|
---|
8461 | HWND yyrc;
|
---|
8462 | USHORT sel = GetFS();
|
---|
8463 |
|
---|
8464 | yyrc = _O32_SetParent(a, b);
|
---|
8465 | SetFS(sel);
|
---|
8466 |
|
---|
8467 | return yyrc;
|
---|
8468 | }
|
---|
8469 |
|
---|
8470 | inline COLORREF O32_SetPixel(HDC a, int b, int c, COLORREF d)
|
---|
8471 | {
|
---|
8472 | COLORREF yyrc;
|
---|
8473 | USHORT sel = GetFS();
|
---|
8474 |
|
---|
8475 | yyrc = _O32_SetPixel(a, b, c, d);
|
---|
8476 | SetFS(sel);
|
---|
8477 |
|
---|
8478 | return yyrc;
|
---|
8479 | }
|
---|
8480 |
|
---|
8481 | inline int O32_SetPolyFillMode(HDC a, int b)
|
---|
8482 | {
|
---|
8483 | int yyrc;
|
---|
8484 | USHORT sel = GetFS();
|
---|
8485 |
|
---|
8486 | yyrc = _O32_SetPolyFillMode(a, b);
|
---|
8487 | SetFS(sel);
|
---|
8488 |
|
---|
8489 | return yyrc;
|
---|
8490 | }
|
---|
8491 |
|
---|
8492 | inline BOOL O32_SetPriorityClass(HANDLE a, DWORD b)
|
---|
8493 | {
|
---|
8494 | BOOL yyrc;
|
---|
8495 | USHORT sel = GetFS();
|
---|
8496 |
|
---|
8497 | yyrc = _O32_SetPriorityClass(a, b);
|
---|
8498 | SetFS(sel);
|
---|
8499 |
|
---|
8500 | return yyrc;
|
---|
8501 | }
|
---|
8502 |
|
---|
8503 | inline BOOL O32_SetProp(HWND a, LPCSTR b, HANDLE c)
|
---|
8504 | {
|
---|
8505 | BOOL yyrc;
|
---|
8506 | USHORT sel = GetFS();
|
---|
8507 |
|
---|
8508 | yyrc = _O32_SetProp(a, b, c);
|
---|
8509 | SetFS(sel);
|
---|
8510 |
|
---|
8511 | return yyrc;
|
---|
8512 | }
|
---|
8513 |
|
---|
8514 | inline BOOL O32_SetRect(PRECT a, int b, int c, int d, int e)
|
---|
8515 | {
|
---|
8516 | BOOL yyrc;
|
---|
8517 | USHORT sel = GetFS();
|
---|
8518 |
|
---|
8519 | yyrc = _O32_SetRect(a, b, c, d, e);
|
---|
8520 | SetFS(sel);
|
---|
8521 |
|
---|
8522 | return yyrc;
|
---|
8523 | }
|
---|
8524 |
|
---|
8525 | inline BOOL O32_SetRectEmpty(PRECT a)
|
---|
8526 | {
|
---|
8527 | BOOL yyrc;
|
---|
8528 | USHORT sel = GetFS();
|
---|
8529 |
|
---|
8530 | yyrc = _O32_SetRectEmpty(a);
|
---|
8531 | SetFS(sel);
|
---|
8532 |
|
---|
8533 | return yyrc;
|
---|
8534 | }
|
---|
8535 |
|
---|
8536 | inline BOOL O32_SetRectRgn(HRGN a, int b, int c, int d, int e)
|
---|
8537 | {
|
---|
8538 | BOOL yyrc;
|
---|
8539 | USHORT sel = GetFS();
|
---|
8540 |
|
---|
8541 | yyrc = _O32_SetRectRgn(a, b, c, d, e);
|
---|
8542 | SetFS(sel);
|
---|
8543 |
|
---|
8544 | return yyrc;
|
---|
8545 | }
|
---|
8546 |
|
---|
8547 | inline int O32_SetROP2(HDC a, int b)
|
---|
8548 | {
|
---|
8549 | int yyrc;
|
---|
8550 | USHORT sel = GetFS();
|
---|
8551 |
|
---|
8552 | yyrc = _O32_SetROP2(a, b);
|
---|
8553 | SetFS(sel);
|
---|
8554 |
|
---|
8555 | return yyrc;
|
---|
8556 | }
|
---|
8557 |
|
---|
8558 | inline int O32_SetScrollPos(HWND a, int b, int c, BOOL d)
|
---|
8559 | {
|
---|
8560 | int yyrc;
|
---|
8561 | USHORT sel = GetFS();
|
---|
8562 |
|
---|
8563 | yyrc = _O32_SetScrollPos(a, b, c, d);
|
---|
8564 | SetFS(sel);
|
---|
8565 |
|
---|
8566 | return yyrc;
|
---|
8567 | }
|
---|
8568 |
|
---|
8569 | inline BOOL O32_SetScrollRange(HWND a, int b, int c, int d, BOOL e)
|
---|
8570 | {
|
---|
8571 | BOOL yyrc;
|
---|
8572 | USHORT sel = GetFS();
|
---|
8573 |
|
---|
8574 | yyrc = _O32_SetScrollRange(a, b, c, d, e);
|
---|
8575 | SetFS(sel);
|
---|
8576 |
|
---|
8577 | return yyrc;
|
---|
8578 | }
|
---|
8579 |
|
---|
8580 | inline BOOL O32_SetStdHandle(DWORD a, HANDLE b)
|
---|
8581 | {
|
---|
8582 | BOOL yyrc;
|
---|
8583 | USHORT sel = GetFS();
|
---|
8584 |
|
---|
8585 | yyrc = _O32_SetStdHandle(a, b);
|
---|
8586 | SetFS(sel);
|
---|
8587 |
|
---|
8588 | return yyrc;
|
---|
8589 | }
|
---|
8590 |
|
---|
8591 | inline int O32_SetStretchBltMode(HDC a, int b)
|
---|
8592 | {
|
---|
8593 | int yyrc;
|
---|
8594 | USHORT sel = GetFS();
|
---|
8595 |
|
---|
8596 | yyrc = _O32_SetStretchBltMode(a, b);
|
---|
8597 | SetFS(sel);
|
---|
8598 |
|
---|
8599 | return yyrc;
|
---|
8600 | }
|
---|
8601 |
|
---|
8602 | inline UINT O32_SetSysColors(int a, CONST int *b, CONST COLORREF *c)
|
---|
8603 | {
|
---|
8604 | UINT yyrc;
|
---|
8605 | USHORT sel = GetFS();
|
---|
8606 |
|
---|
8607 | yyrc = _O32_SetSysColors(a, b, c);
|
---|
8608 | SetFS(sel);
|
---|
8609 |
|
---|
8610 | return yyrc;
|
---|
8611 | }
|
---|
8612 |
|
---|
8613 | inline BOOL O32_SetSystemTime(CONST SYSTEMTIME *a)
|
---|
8614 | {
|
---|
8615 | BOOL yyrc;
|
---|
8616 | USHORT sel = GetFS();
|
---|
8617 |
|
---|
8618 | yyrc = _O32_SetSystemTime(a);
|
---|
8619 | SetFS(sel);
|
---|
8620 |
|
---|
8621 | return yyrc;
|
---|
8622 | }
|
---|
8623 |
|
---|
8624 | inline BOOL O32_SetTimeZoneInformation(CONST TIME_ZONE_INFORMATION *a)
|
---|
8625 | {
|
---|
8626 | BOOL yyrc;
|
---|
8627 | USHORT sel = GetFS();
|
---|
8628 |
|
---|
8629 | yyrc = _O32_SetTimeZoneInformation(a);
|
---|
8630 | SetFS(sel);
|
---|
8631 |
|
---|
8632 | return yyrc;
|
---|
8633 | }
|
---|
8634 |
|
---|
8635 | inline UINT O32_SetTextAlign(HDC a, UINT b)
|
---|
8636 | {
|
---|
8637 | UINT yyrc;
|
---|
8638 | USHORT sel = GetFS();
|
---|
8639 |
|
---|
8640 | yyrc = _O32_SetTextAlign(a, b);
|
---|
8641 | SetFS(sel);
|
---|
8642 |
|
---|
8643 | return yyrc;
|
---|
8644 | }
|
---|
8645 |
|
---|
8646 | inline int O32_SetTextCharacterExtra(HDC a, int b)
|
---|
8647 | {
|
---|
8648 | int yyrc;
|
---|
8649 | USHORT sel = GetFS();
|
---|
8650 |
|
---|
8651 | yyrc = _O32_SetTextCharacterExtra(a, b);
|
---|
8652 | SetFS(sel);
|
---|
8653 |
|
---|
8654 | return yyrc;
|
---|
8655 | }
|
---|
8656 |
|
---|
8657 | inline COLORREF O32_SetTextColor(HDC a, COLORREF b)
|
---|
8658 | {
|
---|
8659 | COLORREF yyrc;
|
---|
8660 | USHORT sel = GetFS();
|
---|
8661 |
|
---|
8662 | yyrc = _O32_SetTextColor(a, b);
|
---|
8663 | SetFS(sel);
|
---|
8664 |
|
---|
8665 | return yyrc;
|
---|
8666 | }
|
---|
8667 |
|
---|
8668 | inline BOOL O32_SetTextJustification(HDC a, int b, int c)
|
---|
8669 | {
|
---|
8670 | BOOL yyrc;
|
---|
8671 | USHORT sel = GetFS();
|
---|
8672 |
|
---|
8673 | yyrc = _O32_SetTextJustification(a, b, c);
|
---|
8674 | SetFS(sel);
|
---|
8675 |
|
---|
8676 | return yyrc;
|
---|
8677 | }
|
---|
8678 |
|
---|
8679 | inline BOOL O32_SetThreadPriority(HANDLE a, int b)
|
---|
8680 | {
|
---|
8681 | BOOL yyrc;
|
---|
8682 | USHORT sel = GetFS();
|
---|
8683 |
|
---|
8684 | yyrc = _O32_SetThreadPriority(a, b);
|
---|
8685 | SetFS(sel);
|
---|
8686 |
|
---|
8687 | return yyrc;
|
---|
8688 | }
|
---|
8689 |
|
---|
8690 | inline UINT O32_SetTimer(HWND a, UINT b, UINT c, TIMERPROC_O32 d)
|
---|
8691 | {
|
---|
8692 | UINT yyrc;
|
---|
8693 | USHORT sel = GetFS();
|
---|
8694 |
|
---|
8695 | yyrc = _O32_SetTimer(a, b, c, d);
|
---|
8696 | SetFS(sel);
|
---|
8697 |
|
---|
8698 | return yyrc;
|
---|
8699 | }
|
---|
8700 |
|
---|
8701 | inline BOOL O32_SetViewportExtEx(HDC a, int b, int c, PSIZE d)
|
---|
8702 | {
|
---|
8703 | BOOL yyrc;
|
---|
8704 | USHORT sel = GetFS();
|
---|
8705 |
|
---|
8706 | yyrc = _O32_SetViewportExtEx(a, b, c, d);
|
---|
8707 | SetFS(sel);
|
---|
8708 |
|
---|
8709 | return yyrc;
|
---|
8710 | }
|
---|
8711 |
|
---|
8712 | inline BOOL O32_SetViewportOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
8713 | {
|
---|
8714 | BOOL yyrc;
|
---|
8715 | USHORT sel = GetFS();
|
---|
8716 |
|
---|
8717 | yyrc = _O32_SetViewportOrgEx(a, b, c, d);
|
---|
8718 | SetFS(sel);
|
---|
8719 |
|
---|
8720 | return yyrc;
|
---|
8721 | }
|
---|
8722 |
|
---|
8723 | inline BOOL O32_SetVolumeLabel(LPCSTR a, LPCSTR b)
|
---|
8724 | {
|
---|
8725 | BOOL yyrc;
|
---|
8726 | USHORT sel = GetFS();
|
---|
8727 |
|
---|
8728 | yyrc = _O32_SetVolumeLabel(a, b);
|
---|
8729 | SetFS(sel);
|
---|
8730 |
|
---|
8731 | return yyrc;
|
---|
8732 | }
|
---|
8733 |
|
---|
8734 | inline BOOL O32_SetWindowExtEx(HDC a, int b, int c, PSIZE d)
|
---|
8735 | {
|
---|
8736 | BOOL yyrc;
|
---|
8737 | USHORT sel = GetFS();
|
---|
8738 |
|
---|
8739 | yyrc = _O32_SetWindowExtEx(a, b, c, d);
|
---|
8740 | SetFS(sel);
|
---|
8741 |
|
---|
8742 | return yyrc;
|
---|
8743 | }
|
---|
8744 |
|
---|
8745 | inline LONG O32_SetWindowLong(HWND a, int b, LONG c)
|
---|
8746 | {
|
---|
8747 | LONG yyrc;
|
---|
8748 | USHORT sel = GetFS();
|
---|
8749 |
|
---|
8750 | yyrc = _O32_SetWindowLong(a, b, c);
|
---|
8751 | SetFS(sel);
|
---|
8752 |
|
---|
8753 | return yyrc;
|
---|
8754 | }
|
---|
8755 |
|
---|
8756 | inline BOOL O32_SetWindowOrgEx(HDC a, int b, int c, PPOINT d)
|
---|
8757 | {
|
---|
8758 | BOOL yyrc;
|
---|
8759 | USHORT sel = GetFS();
|
---|
8760 |
|
---|
8761 | yyrc = _O32_SetWindowOrgEx(a, b, c, d);
|
---|
8762 | SetFS(sel);
|
---|
8763 |
|
---|
8764 | return yyrc;
|
---|
8765 | }
|
---|
8766 |
|
---|
8767 | inline BOOL O32_SetWindowPlacement(HWND a, CONST WINDOWPLACEMENT *b)
|
---|
8768 | {
|
---|
8769 | BOOL yyrc;
|
---|
8770 | USHORT sel = GetFS();
|
---|
8771 |
|
---|
8772 | yyrc = _O32_SetWindowPlacement(a, b);
|
---|
8773 | SetFS(sel);
|
---|
8774 |
|
---|
8775 | return yyrc;
|
---|
8776 | }
|
---|
8777 |
|
---|
8778 | inline BOOL O32_SetWindowPos(HWND a, HWND b, int c, int d, int e, int f, UINT g)
|
---|
8779 | {
|
---|
8780 | BOOL yyrc;
|
---|
8781 | USHORT sel = GetFS();
|
---|
8782 |
|
---|
8783 | yyrc = _O32_SetWindowPos(a, b, c, d, e, f, g);
|
---|
8784 | SetFS(sel);
|
---|
8785 |
|
---|
8786 | return yyrc;
|
---|
8787 | }
|
---|
8788 |
|
---|
8789 | inline HHOOK O32_SetWindowsHookEx(int a, HOOKPROC_O32 b, HINSTANCE c, DWORD d)
|
---|
8790 | {
|
---|
8791 | HHOOK yyrc;
|
---|
8792 | USHORT sel = GetFS();
|
---|
8793 |
|
---|
8794 | yyrc = _O32_SetWindowsHookEx(a, b, c, d);
|
---|
8795 | SetFS(sel);
|
---|
8796 |
|
---|
8797 | return yyrc;
|
---|
8798 | }
|
---|
8799 |
|
---|
8800 | inline BOOL O32_SetWindowText(HWND a, LPCSTR b)
|
---|
8801 | {
|
---|
8802 | BOOL yyrc;
|
---|
8803 | USHORT sel = GetFS();
|
---|
8804 |
|
---|
8805 | yyrc = _O32_SetWindowText(a, b);
|
---|
8806 | SetFS(sel);
|
---|
8807 |
|
---|
8808 | return yyrc;
|
---|
8809 | }
|
---|
8810 |
|
---|
8811 | inline WORD O32_SetWindowWord(HWND a, int b, WORD c)
|
---|
8812 | {
|
---|
8813 | WORD yyrc;
|
---|
8814 | USHORT sel = GetFS();
|
---|
8815 |
|
---|
8816 | yyrc = _O32_SetWindowWord(a, b, c);
|
---|
8817 | SetFS(sel);
|
---|
8818 |
|
---|
8819 | return yyrc;
|
---|
8820 | }
|
---|
8821 |
|
---|
8822 | inline HENHMETAFILE O32_SetWinMetaFileBits(UINT a, CONST BYTE *b, HDC c, CONST METAFILEPICT *d)
|
---|
8823 | {
|
---|
8824 | HENHMETAFILE yyrc;
|
---|
8825 | USHORT sel = GetFS();
|
---|
8826 |
|
---|
8827 | yyrc = _O32_SetWinMetaFileBits(a, b, c, d);
|
---|
8828 | SetFS(sel);
|
---|
8829 |
|
---|
8830 | return yyrc;
|
---|
8831 | }
|
---|
8832 |
|
---|
8833 | inline BOOL O32_SetWorldTransform(HDC a, LPXFORM b)
|
---|
8834 | {
|
---|
8835 | BOOL yyrc;
|
---|
8836 | USHORT sel = GetFS();
|
---|
8837 |
|
---|
8838 | yyrc = _O32_SetWorldTransform(a, b);
|
---|
8839 | SetFS(sel);
|
---|
8840 |
|
---|
8841 | return yyrc;
|
---|
8842 | }
|
---|
8843 |
|
---|
8844 | inline BOOL O32_ShowCaret(HWND a)
|
---|
8845 | {
|
---|
8846 | BOOL yyrc;
|
---|
8847 | USHORT sel = GetFS();
|
---|
8848 |
|
---|
8849 | yyrc = _O32_ShowCaret(a);
|
---|
8850 | SetFS(sel);
|
---|
8851 |
|
---|
8852 | return yyrc;
|
---|
8853 | }
|
---|
8854 |
|
---|
8855 | inline int O32_ShowCursor(BOOL a)
|
---|
8856 | {
|
---|
8857 | int yyrc;
|
---|
8858 | USHORT sel = GetFS();
|
---|
8859 |
|
---|
8860 | yyrc = _O32_ShowCursor(a);
|
---|
8861 | SetFS(sel);
|
---|
8862 |
|
---|
8863 | return yyrc;
|
---|
8864 | }
|
---|
8865 |
|
---|
8866 | inline BOOL O32_ShowOwnedPopups(HWND a, BOOL b)
|
---|
8867 | {
|
---|
8868 | BOOL yyrc;
|
---|
8869 | USHORT sel = GetFS();
|
---|
8870 |
|
---|
8871 | yyrc = _O32_ShowOwnedPopups(a, b);
|
---|
8872 | SetFS(sel);
|
---|
8873 |
|
---|
8874 | return yyrc;
|
---|
8875 | }
|
---|
8876 |
|
---|
8877 | inline BOOL O32_ShowScrollBar(HWND a, int b, BOOL c)
|
---|
8878 | {
|
---|
8879 | BOOL yyrc;
|
---|
8880 | USHORT sel = GetFS();
|
---|
8881 |
|
---|
8882 | yyrc = _O32_ShowScrollBar(a, b, c);
|
---|
8883 | SetFS(sel);
|
---|
8884 |
|
---|
8885 | return yyrc;
|
---|
8886 | }
|
---|
8887 |
|
---|
8888 | inline BOOL O32_ShowWindow(HWND a, int b)
|
---|
8889 | {
|
---|
8890 | BOOL yyrc;
|
---|
8891 | USHORT sel = GetFS();
|
---|
8892 |
|
---|
8893 | yyrc = _O32_ShowWindow(a, b);
|
---|
8894 | SetFS(sel);
|
---|
8895 |
|
---|
8896 | return yyrc;
|
---|
8897 | }
|
---|
8898 |
|
---|
8899 | inline DWORD O32_SizeofResource(HINSTANCE a, HRSRC b)
|
---|
8900 | {
|
---|
8901 | DWORD yyrc;
|
---|
8902 | USHORT sel = GetFS();
|
---|
8903 |
|
---|
8904 | yyrc = _O32_SizeofResource(a, b);
|
---|
8905 | SetFS(sel);
|
---|
8906 |
|
---|
8907 | return yyrc;
|
---|
8908 | }
|
---|
8909 |
|
---|
8910 | inline VOID O32_Sleep(DWORD a)
|
---|
8911 | {
|
---|
8912 | USHORT sel = GetFS();
|
---|
8913 |
|
---|
8914 | _O32_Sleep(a);
|
---|
8915 | SetFS(sel);
|
---|
8916 | }
|
---|
8917 |
|
---|
8918 | inline int O32_StartDoc(HDC a, LPDOCINFOA b)
|
---|
8919 | {
|
---|
8920 | int yyrc;
|
---|
8921 | USHORT sel = GetFS();
|
---|
8922 |
|
---|
8923 | yyrc = _O32_StartDoc(a, b);
|
---|
8924 | SetFS(sel);
|
---|
8925 |
|
---|
8926 | return yyrc;
|
---|
8927 | }
|
---|
8928 |
|
---|
8929 | inline int O32_StartPage(HDC a)
|
---|
8930 | {
|
---|
8931 | int yyrc;
|
---|
8932 | USHORT sel = GetFS();
|
---|
8933 |
|
---|
8934 | yyrc = _O32_StartPage(a);
|
---|
8935 | SetFS(sel);
|
---|
8936 |
|
---|
8937 | return yyrc;
|
---|
8938 | }
|
---|
8939 |
|
---|
8940 | 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)
|
---|
8941 | {
|
---|
8942 | int yyrc;
|
---|
8943 | USHORT sel = GetFS();
|
---|
8944 |
|
---|
8945 | yyrc = _O32_StretchDIBits(a, b, c, d, e, f, g, h, i, j, k, l, m);
|
---|
8946 | SetFS(sel);
|
---|
8947 |
|
---|
8948 | return yyrc;
|
---|
8949 | }
|
---|
8950 |
|
---|
8951 | 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)
|
---|
8952 | {
|
---|
8953 | BOOL yyrc;
|
---|
8954 | USHORT sel = GetFS();
|
---|
8955 |
|
---|
8956 | yyrc = _O32_StretchBlt(a, b, c, d, e, f, g, h, i, j, k);
|
---|
8957 | SetFS(sel);
|
---|
8958 |
|
---|
8959 | return yyrc;
|
---|
8960 | }
|
---|
8961 |
|
---|
8962 | inline BOOL O32_StrokeAndFillPath(HDC a)
|
---|
8963 | {
|
---|
8964 | BOOL yyrc;
|
---|
8965 | USHORT sel = GetFS();
|
---|
8966 |
|
---|
8967 | yyrc = _O32_StrokeAndFillPath(a);
|
---|
8968 | SetFS(sel);
|
---|
8969 |
|
---|
8970 | return yyrc;
|
---|
8971 | }
|
---|
8972 |
|
---|
8973 | inline BOOL O32_StrokePath(HDC a)
|
---|
8974 | {
|
---|
8975 | BOOL yyrc;
|
---|
8976 | USHORT sel = GetFS();
|
---|
8977 |
|
---|
8978 | yyrc = _O32_StrokePath(a);
|
---|
8979 | SetFS(sel);
|
---|
8980 |
|
---|
8981 | return yyrc;
|
---|
8982 | }
|
---|
8983 |
|
---|
8984 | inline BOOL O32_SubtractRect(PRECT a, CONST RECT *b, CONST RECT *c)
|
---|
8985 | {
|
---|
8986 | BOOL yyrc;
|
---|
8987 | USHORT sel = GetFS();
|
---|
8988 |
|
---|
8989 | yyrc = _O32_SubtractRect(a, b, c);
|
---|
8990 | SetFS(sel);
|
---|
8991 |
|
---|
8992 | return yyrc;
|
---|
8993 | }
|
---|
8994 |
|
---|
8995 | inline DWORD O32_SuspendThread(HANDLE a)
|
---|
8996 | {
|
---|
8997 | DWORD yyrc;
|
---|
8998 | USHORT sel = GetFS();
|
---|
8999 |
|
---|
9000 | yyrc = _O32_SuspendThread(a);
|
---|
9001 | SetFS(sel);
|
---|
9002 |
|
---|
9003 | return yyrc;
|
---|
9004 | }
|
---|
9005 |
|
---|
9006 | inline BOOL O32_SwapMouseButton(BOOL a)
|
---|
9007 | {
|
---|
9008 | BOOL yyrc;
|
---|
9009 | USHORT sel = GetFS();
|
---|
9010 |
|
---|
9011 | yyrc = _O32_SwapMouseButton(a);
|
---|
9012 | SetFS(sel);
|
---|
9013 |
|
---|
9014 | return yyrc;
|
---|
9015 | }
|
---|
9016 |
|
---|
9017 | inline UINT O32_SystemParametersInfo(UINT a, UINT b, PVOID c, UINT d)
|
---|
9018 | {
|
---|
9019 | UINT yyrc;
|
---|
9020 | USHORT sel = GetFS();
|
---|
9021 |
|
---|
9022 | yyrc = _O32_SystemParametersInfo(a, b, c, d);
|
---|
9023 | SetFS(sel);
|
---|
9024 |
|
---|
9025 | return yyrc;
|
---|
9026 | }
|
---|
9027 |
|
---|
9028 | inline BOOL O32_SystemTimeToFileTime(CONST SYSTEMTIME *a, FILETIME *b)
|
---|
9029 | {
|
---|
9030 | BOOL yyrc;
|
---|
9031 | USHORT sel = GetFS();
|
---|
9032 |
|
---|
9033 | yyrc = _O32_SystemTimeToFileTime(a, b);
|
---|
9034 | SetFS(sel);
|
---|
9035 |
|
---|
9036 | return yyrc;
|
---|
9037 | }
|
---|
9038 |
|
---|
9039 | inline BOOL O32_SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION a, LPSYSTEMTIME b, LPSYSTEMTIME c)
|
---|
9040 | {
|
---|
9041 | BOOL yyrc;
|
---|
9042 | USHORT sel = GetFS();
|
---|
9043 |
|
---|
9044 | yyrc = _O32_SystemTimeToTzSpecificLocalTime(a, b, c);
|
---|
9045 | SetFS(sel);
|
---|
9046 |
|
---|
9047 | return yyrc;
|
---|
9048 | }
|
---|
9049 |
|
---|
9050 | inline LONG O32_TabbedTextOut(HDC a, int b, int c, LPCSTR d, int e, int f, int *g, int h)
|
---|
9051 | {
|
---|
9052 | LONG yyrc;
|
---|
9053 | USHORT sel = GetFS();
|
---|
9054 |
|
---|
9055 | yyrc = _O32_TabbedTextOut(a, b, c, d, e, f, g, h);
|
---|
9056 | SetFS(sel);
|
---|
9057 |
|
---|
9058 | return yyrc;
|
---|
9059 | }
|
---|
9060 |
|
---|
9061 | inline BOOL O32_TerminateProcess(HANDLE a, UINT b)
|
---|
9062 | {
|
---|
9063 | BOOL yyrc;
|
---|
9064 | USHORT sel = GetFS();
|
---|
9065 |
|
---|
9066 | yyrc = _O32_TerminateProcess(a, b);
|
---|
9067 | SetFS(sel);
|
---|
9068 |
|
---|
9069 | return yyrc;
|
---|
9070 | }
|
---|
9071 |
|
---|
9072 | inline BOOL O32_TerminateThread(HANDLE a, DWORD b)
|
---|
9073 | {
|
---|
9074 | BOOL yyrc;
|
---|
9075 | USHORT sel = GetFS();
|
---|
9076 |
|
---|
9077 | yyrc = _O32_TerminateThread(a, b);
|
---|
9078 | SetFS(sel);
|
---|
9079 |
|
---|
9080 | return yyrc;
|
---|
9081 | }
|
---|
9082 |
|
---|
9083 | inline BOOL O32_TextOut(HDC a, int b, int c, LPCSTR d, int e)
|
---|
9084 | {
|
---|
9085 | BOOL yyrc;
|
---|
9086 | USHORT sel = GetFS();
|
---|
9087 |
|
---|
9088 | yyrc = _O32_TextOut(a, b, c, d, e);
|
---|
9089 | SetFS(sel);
|
---|
9090 |
|
---|
9091 | return yyrc;
|
---|
9092 | }
|
---|
9093 |
|
---|
9094 | inline DWORD O32_TlsAlloc()
|
---|
9095 | {
|
---|
9096 | DWORD yyrc;
|
---|
9097 | USHORT sel = GetFS();
|
---|
9098 |
|
---|
9099 | yyrc = _O32_TlsAlloc();
|
---|
9100 | SetFS(sel);
|
---|
9101 |
|
---|
9102 | return yyrc;
|
---|
9103 | }
|
---|
9104 |
|
---|
9105 | inline BOOL O32_TlsFree(DWORD a)
|
---|
9106 | {
|
---|
9107 | BOOL yyrc;
|
---|
9108 | USHORT sel = GetFS();
|
---|
9109 |
|
---|
9110 | yyrc = _O32_TlsFree(a);
|
---|
9111 | SetFS(sel);
|
---|
9112 |
|
---|
9113 | return yyrc;
|
---|
9114 | }
|
---|
9115 |
|
---|
9116 | inline PVOID O32_TlsGetValue(DWORD a)
|
---|
9117 | {
|
---|
9118 | PVOID yyrc;
|
---|
9119 | USHORT sel = GetFS();
|
---|
9120 |
|
---|
9121 | yyrc = _O32_TlsGetValue(a);
|
---|
9122 | SetFS(sel);
|
---|
9123 |
|
---|
9124 | return yyrc;
|
---|
9125 | }
|
---|
9126 |
|
---|
9127 | inline BOOL O32_TlsSetValue(DWORD a, PVOID b)
|
---|
9128 | {
|
---|
9129 | BOOL yyrc;
|
---|
9130 | USHORT sel = GetFS();
|
---|
9131 |
|
---|
9132 | yyrc = _O32_TlsSetValue(a, b);
|
---|
9133 | SetFS(sel);
|
---|
9134 |
|
---|
9135 | return yyrc;
|
---|
9136 | }
|
---|
9137 |
|
---|
9138 | inline BOOL O32_TrackPopupMenu(HMENU a, UINT b, int c, int d, int e, HWND f, CONST RECT *g)
|
---|
9139 | {
|
---|
9140 | BOOL yyrc;
|
---|
9141 | USHORT sel = GetFS();
|
---|
9142 |
|
---|
9143 | yyrc = _O32_TrackPopupMenu(a, b, c, d, e, f, g);
|
---|
9144 | SetFS(sel);
|
---|
9145 |
|
---|
9146 | return yyrc;
|
---|
9147 | }
|
---|
9148 |
|
---|
9149 | inline int O32_TranslateAccelerator(HWND a, HACCEL b, LPMSG c)
|
---|
9150 | {
|
---|
9151 | int yyrc;
|
---|
9152 | USHORT sel = GetFS();
|
---|
9153 |
|
---|
9154 | yyrc = _O32_TranslateAccelerator(a, b, c);
|
---|
9155 | SetFS(sel);
|
---|
9156 |
|
---|
9157 | return yyrc;
|
---|
9158 | }
|
---|
9159 |
|
---|
9160 | inline BOOL O32_TranslateMDISysAccel(HWND a, LPMSG b)
|
---|
9161 | {
|
---|
9162 | BOOL yyrc;
|
---|
9163 | USHORT sel = GetFS();
|
---|
9164 |
|
---|
9165 | yyrc = _O32_TranslateMDISysAccel(a, b);
|
---|
9166 | SetFS(sel);
|
---|
9167 |
|
---|
9168 | return yyrc;
|
---|
9169 | }
|
---|
9170 |
|
---|
9171 | inline BOOL O32_TranslateMessage(CONST MSG *a)
|
---|
9172 | {
|
---|
9173 | BOOL yyrc;
|
---|
9174 | USHORT sel = GetFS();
|
---|
9175 |
|
---|
9176 | yyrc = _O32_TranslateMessage(a);
|
---|
9177 | SetFS(sel);
|
---|
9178 |
|
---|
9179 | return yyrc;
|
---|
9180 | }
|
---|
9181 |
|
---|
9182 | inline BOOL O32_UnhookWindowsHookEx(HHOOK a)
|
---|
9183 | {
|
---|
9184 | BOOL yyrc;
|
---|
9185 | USHORT sel = GetFS();
|
---|
9186 |
|
---|
9187 | yyrc = _O32_UnhookWindowsHookEx(a);
|
---|
9188 | SetFS(sel);
|
---|
9189 |
|
---|
9190 | return yyrc;
|
---|
9191 | }
|
---|
9192 |
|
---|
9193 | inline BOOL O32_UnionRect(PRECT a, CONST RECT *b, CONST RECT *c)
|
---|
9194 | {
|
---|
9195 | BOOL yyrc;
|
---|
9196 | USHORT sel = GetFS();
|
---|
9197 |
|
---|
9198 | yyrc = _O32_UnionRect(a, b, c);
|
---|
9199 | SetFS(sel);
|
---|
9200 |
|
---|
9201 | return yyrc;
|
---|
9202 | }
|
---|
9203 |
|
---|
9204 | inline BOOL O32_UnlockFile(HANDLE a, DWORD b, DWORD c, DWORD d, DWORD e)
|
---|
9205 | {
|
---|
9206 | BOOL yyrc;
|
---|
9207 | USHORT sel = GetFS();
|
---|
9208 |
|
---|
9209 | yyrc = _O32_UnlockFile(a, b, c, d, e);
|
---|
9210 | SetFS(sel);
|
---|
9211 |
|
---|
9212 | return yyrc;
|
---|
9213 | }
|
---|
9214 |
|
---|
9215 | inline BOOL O32_UnpackDDElParam(UINT a, LONG b, PUINT c, PUINT d)
|
---|
9216 | {
|
---|
9217 | BOOL yyrc;
|
---|
9218 | USHORT sel = GetFS();
|
---|
9219 |
|
---|
9220 | yyrc = _O32_UnpackDDElParam(a, b, c, d);
|
---|
9221 | SetFS(sel);
|
---|
9222 |
|
---|
9223 | return yyrc;
|
---|
9224 | }
|
---|
9225 |
|
---|
9226 | inline BOOL O32_UnrealizeObject(HGDIOBJ a)
|
---|
9227 | {
|
---|
9228 | BOOL yyrc;
|
---|
9229 | USHORT sel = GetFS();
|
---|
9230 |
|
---|
9231 | yyrc = _O32_UnrealizeObject(a);
|
---|
9232 | SetFS(sel);
|
---|
9233 |
|
---|
9234 | return yyrc;
|
---|
9235 | }
|
---|
9236 |
|
---|
9237 | inline BOOL O32_UnregisterClass(LPCSTR a, HINSTANCE b)
|
---|
9238 | {
|
---|
9239 | BOOL yyrc;
|
---|
9240 | USHORT sel = GetFS();
|
---|
9241 |
|
---|
9242 | yyrc = _O32_UnregisterClass(a, b);
|
---|
9243 | SetFS(sel);
|
---|
9244 |
|
---|
9245 | return yyrc;
|
---|
9246 | }
|
---|
9247 |
|
---|
9248 | inline BOOL O32_UpdateWindow(HWND a)
|
---|
9249 | {
|
---|
9250 | BOOL yyrc;
|
---|
9251 | USHORT sel = GetFS();
|
---|
9252 |
|
---|
9253 | yyrc = _O32_UpdateWindow(a);
|
---|
9254 | SetFS(sel);
|
---|
9255 |
|
---|
9256 | return yyrc;
|
---|
9257 | }
|
---|
9258 |
|
---|
9259 | inline BOOL O32_ValidateRect(HWND a, CONST RECT *b)
|
---|
9260 | {
|
---|
9261 | BOOL yyrc;
|
---|
9262 | USHORT sel = GetFS();
|
---|
9263 |
|
---|
9264 | yyrc = _O32_ValidateRect(a, b);
|
---|
9265 | SetFS(sel);
|
---|
9266 |
|
---|
9267 | return yyrc;
|
---|
9268 | }
|
---|
9269 |
|
---|
9270 | inline BOOL O32_ValidateRgn(HWND a, HRGN b)
|
---|
9271 | {
|
---|
9272 | BOOL yyrc;
|
---|
9273 | USHORT sel = GetFS();
|
---|
9274 |
|
---|
9275 | yyrc = _O32_ValidateRgn(a, b);
|
---|
9276 | SetFS(sel);
|
---|
9277 |
|
---|
9278 | return yyrc;
|
---|
9279 | }
|
---|
9280 |
|
---|
9281 | inline SHORT O32_VkKeyScan(char a)
|
---|
9282 | {
|
---|
9283 | SHORT yyrc;
|
---|
9284 | USHORT sel = GetFS();
|
---|
9285 |
|
---|
9286 | yyrc = _O32_VkKeyScan(a);
|
---|
9287 | SetFS(sel);
|
---|
9288 |
|
---|
9289 | return yyrc;
|
---|
9290 | }
|
---|
9291 |
|
---|
9292 | inline DWORD O32_WaitForMultipleObjects(DWORD a, CONST HANDLE *b, BOOL c, DWORD d)
|
---|
9293 | {
|
---|
9294 | DWORD yyrc;
|
---|
9295 | USHORT sel = GetFS();
|
---|
9296 |
|
---|
9297 | yyrc = _O32_WaitForMultipleObjects(a, b, c, d);
|
---|
9298 | SetFS(sel);
|
---|
9299 |
|
---|
9300 | return yyrc;
|
---|
9301 | }
|
---|
9302 |
|
---|
9303 | inline DWORD O32_WaitForSingleObject(HANDLE a, DWORD b)
|
---|
9304 | {
|
---|
9305 | DWORD yyrc;
|
---|
9306 | USHORT sel = GetFS();
|
---|
9307 |
|
---|
9308 | yyrc = _O32_WaitForSingleObject(a, b);
|
---|
9309 | SetFS(sel);
|
---|
9310 |
|
---|
9311 | return yyrc;
|
---|
9312 | }
|
---|
9313 |
|
---|
9314 | inline BOOL O32_WaitMessage()
|
---|
9315 | {
|
---|
9316 | BOOL yyrc;
|
---|
9317 | USHORT sel = GetFS();
|
---|
9318 |
|
---|
9319 | yyrc = _O32_WaitMessage();
|
---|
9320 | SetFS(sel);
|
---|
9321 |
|
---|
9322 | return yyrc;
|
---|
9323 | }
|
---|
9324 |
|
---|
9325 | inline BOOL O32_WidenPath(HDC a)
|
---|
9326 | {
|
---|
9327 | BOOL yyrc;
|
---|
9328 | USHORT sel = GetFS();
|
---|
9329 |
|
---|
9330 | yyrc = _O32_WidenPath(a);
|
---|
9331 | SetFS(sel);
|
---|
9332 |
|
---|
9333 | return yyrc;
|
---|
9334 | }
|
---|
9335 |
|
---|
9336 | inline UINT O32_WinExec(LPCSTR a, UINT b)
|
---|
9337 | {
|
---|
9338 | UINT yyrc;
|
---|
9339 | USHORT sel = GetFS();
|
---|
9340 |
|
---|
9341 | yyrc = _O32_WinExec(a, b);
|
---|
9342 | SetFS(sel);
|
---|
9343 |
|
---|
9344 | return yyrc;
|
---|
9345 | }
|
---|
9346 |
|
---|
9347 | inline BOOL O32_WinHelp(HWND a, LPCSTR b, UINT c, DWORD d)
|
---|
9348 | {
|
---|
9349 | BOOL yyrc;
|
---|
9350 | USHORT sel = GetFS();
|
---|
9351 |
|
---|
9352 | yyrc = _O32_WinHelp(a, b, c, d);
|
---|
9353 | SetFS(sel);
|
---|
9354 |
|
---|
9355 | return yyrc;
|
---|
9356 | }
|
---|
9357 |
|
---|
9358 | inline HWND O32_WindowFromPoint(POINT a)
|
---|
9359 | {
|
---|
9360 | HWND yyrc;
|
---|
9361 | USHORT sel = GetFS();
|
---|
9362 |
|
---|
9363 | yyrc = _O32_WindowFromPoint(a);
|
---|
9364 | SetFS(sel);
|
---|
9365 |
|
---|
9366 | return yyrc;
|
---|
9367 | }
|
---|
9368 |
|
---|
9369 | inline HWND O32_WindowFromDC(HDC a)
|
---|
9370 | {
|
---|
9371 | HWND yyrc;
|
---|
9372 | USHORT sel = GetFS();
|
---|
9373 |
|
---|
9374 | yyrc = _O32_WindowFromDC(a);
|
---|
9375 | SetFS(sel);
|
---|
9376 |
|
---|
9377 | return yyrc;
|
---|
9378 | }
|
---|
9379 |
|
---|
9380 | inline BOOL O32_WriteFile(HANDLE a, CONST VOID *b, DWORD c, PDWORD d, LPOVERLAPPED e)
|
---|
9381 | {
|
---|
9382 | BOOL yyrc;
|
---|
9383 | USHORT sel = GetFS();
|
---|
9384 |
|
---|
9385 | yyrc = _O32_WriteFile(a, b, c, d, e);
|
---|
9386 | SetFS(sel);
|
---|
9387 |
|
---|
9388 | return yyrc;
|
---|
9389 | }
|
---|
9390 |
|
---|
9391 | inline BOOL O32_WritePrivateProfileString(LPCSTR a, LPCSTR b, LPCSTR c, LPCSTR d)
|
---|
9392 | {
|
---|
9393 | BOOL yyrc;
|
---|
9394 | USHORT sel = GetFS();
|
---|
9395 |
|
---|
9396 | yyrc = _O32_WritePrivateProfileString(a, b, c, d);
|
---|
9397 | SetFS(sel);
|
---|
9398 |
|
---|
9399 | return yyrc;
|
---|
9400 | }
|
---|
9401 |
|
---|
9402 | inline BOOL O32_WriteProfileString(LPCSTR a, LPCSTR b, LPCSTR c)
|
---|
9403 | {
|
---|
9404 | BOOL yyrc;
|
---|
9405 | USHORT sel = GetFS();
|
---|
9406 |
|
---|
9407 | yyrc = _O32_WriteProfileString(a, b, c);
|
---|
9408 | SetFS(sel);
|
---|
9409 |
|
---|
9410 | return yyrc;
|
---|
9411 | }
|
---|
9412 |
|
---|
9413 | inline VOID O32_ZeroMemory(PVOID a, DWORD b)
|
---|
9414 | {
|
---|
9415 | USHORT sel = GetFS();
|
---|
9416 |
|
---|
9417 | _O32_ZeroMemory(a, b);
|
---|
9418 | SetFS(sel);
|
---|
9419 | }
|
---|
9420 |
|
---|
9421 | inline HFILE O32__lclose(HFILE a)
|
---|
9422 | {
|
---|
9423 | HFILE yyrc;
|
---|
9424 | USHORT sel = GetFS();
|
---|
9425 |
|
---|
9426 | yyrc = _O32__lclose(a);
|
---|
9427 | SetFS(sel);
|
---|
9428 |
|
---|
9429 | return yyrc;
|
---|
9430 | }
|
---|
9431 |
|
---|
9432 | inline HFILE O32__lcreat(LPCSTR a, int b)
|
---|
9433 | {
|
---|
9434 | HFILE yyrc;
|
---|
9435 | USHORT sel = GetFS();
|
---|
9436 |
|
---|
9437 | yyrc = _O32__lcreat(a, b);
|
---|
9438 | SetFS(sel);
|
---|
9439 |
|
---|
9440 | return yyrc;
|
---|
9441 | }
|
---|
9442 |
|
---|
9443 | inline HFILE O32__lopen(LPCSTR a, int b)
|
---|
9444 | {
|
---|
9445 | HFILE yyrc;
|
---|
9446 | USHORT sel = GetFS();
|
---|
9447 |
|
---|
9448 | yyrc = _O32__lopen(a, b);
|
---|
9449 | SetFS(sel);
|
---|
9450 |
|
---|
9451 | return yyrc;
|
---|
9452 | }
|
---|
9453 |
|
---|
9454 | inline UINT O32__lread(HFILE a, PVOID b, UINT c)
|
---|
9455 | {
|
---|
9456 | UINT yyrc;
|
---|
9457 | USHORT sel = GetFS();
|
---|
9458 |
|
---|
9459 | yyrc = _O32__lread(a, b, c);
|
---|
9460 | SetFS(sel);
|
---|
9461 |
|
---|
9462 | return yyrc;
|
---|
9463 | }
|
---|
9464 |
|
---|
9465 | inline LONG O32__llseek(HFILE a, LONG b, int c)
|
---|
9466 | {
|
---|
9467 | LONG yyrc;
|
---|
9468 | USHORT sel = GetFS();
|
---|
9469 |
|
---|
9470 | yyrc = _O32__llseek(a, b, c);
|
---|
9471 | SetFS(sel);
|
---|
9472 |
|
---|
9473 | return yyrc;
|
---|
9474 | }
|
---|
9475 |
|
---|
9476 | inline UINT O32__lwrite(HFILE a, CONST VOID *b, UINT c)
|
---|
9477 | {
|
---|
9478 | UINT yyrc;
|
---|
9479 | USHORT sel = GetFS();
|
---|
9480 |
|
---|
9481 | yyrc = _O32__lwrite(a, b, c);
|
---|
9482 | SetFS(sel);
|
---|
9483 |
|
---|
9484 | return yyrc;
|
---|
9485 | }
|
---|
9486 |
|
---|
9487 | inline DWORD O32_timeGetSystemTime(LPMMTIME a, UINT b)
|
---|
9488 | {
|
---|
9489 | DWORD yyrc;
|
---|
9490 | USHORT sel = GetFS();
|
---|
9491 |
|
---|
9492 | yyrc = _O32_timeGetSystemTime(a, b);
|
---|
9493 | SetFS(sel);
|
---|
9494 |
|
---|
9495 | return yyrc;
|
---|
9496 | }
|
---|
9497 |
|
---|
9498 | inline DWORD O32_timeGetTime()
|
---|
9499 | {
|
---|
9500 | DWORD yyrc;
|
---|
9501 | USHORT sel = GetFS();
|
---|
9502 |
|
---|
9503 | yyrc = _O32_timeGetTime();
|
---|
9504 | SetFS(sel);
|
---|
9505 |
|
---|
9506 | return yyrc;
|
---|
9507 | }
|
---|
9508 |
|
---|
9509 | inline int O32_wvsprintf(LPSTR a, LPCSTR b, CONST VOID *c)
|
---|
9510 | {
|
---|
9511 | int yyrc;
|
---|
9512 | USHORT sel = GetFS();
|
---|
9513 |
|
---|
9514 | yyrc = _O32_wvsprintf(a, b, c);
|
---|
9515 | SetFS(sel);
|
---|
9516 |
|
---|
9517 | return yyrc;
|
---|
9518 | }
|
---|
9519 |
|
---|
9520 | inline LPSTR O32_CharNext(LPCSTR a)
|
---|
9521 | {
|
---|
9522 | LPSTR yyrc;
|
---|
9523 | USHORT sel = GetFS();
|
---|
9524 |
|
---|
9525 | yyrc = _O32_CharNext(a);
|
---|
9526 | SetFS(sel);
|
---|
9527 |
|
---|
9528 | return yyrc;
|
---|
9529 | }
|
---|
9530 |
|
---|
9531 | inline LPSTR O32_CharPrev(LPCSTR a, LPCSTR b)
|
---|
9532 | {
|
---|
9533 | LPSTR yyrc;
|
---|
9534 | USHORT sel = GetFS();
|
---|
9535 |
|
---|
9536 | yyrc = _O32_CharPrev(a, b);
|
---|
9537 | SetFS(sel);
|
---|
9538 |
|
---|
9539 | return yyrc;
|
---|
9540 | }
|
---|
9541 |
|
---|
9542 | inline HWND O32_GetDesktopWindow()
|
---|
9543 | {
|
---|
9544 | HWND yyrc;
|
---|
9545 | USHORT sel = GetFS();
|
---|
9546 |
|
---|
9547 | yyrc = _O32_GetDesktopWindow();
|
---|
9548 | SetFS(sel);
|
---|
9549 |
|
---|
9550 | return yyrc;
|
---|
9551 | }
|
---|
9552 |
|
---|
9553 | inline BOOL O32_CharToOem(LPCSTR a, LPSTR b)
|
---|
9554 | {
|
---|
9555 | BOOL yyrc;
|
---|
9556 | USHORT sel = GetFS();
|
---|
9557 |
|
---|
9558 | yyrc = _O32_CharToOem(a, b);
|
---|
9559 | SetFS(sel);
|
---|
9560 |
|
---|
9561 | return yyrc;
|
---|
9562 | }
|
---|
9563 |
|
---|
9564 | inline BOOL O32_OemToChar(LPCSTR a, LPSTR b)
|
---|
9565 | {
|
---|
9566 | BOOL yyrc;
|
---|
9567 | USHORT sel = GetFS();
|
---|
9568 |
|
---|
9569 | yyrc = _O32_OemToChar(a, b);
|
---|
9570 | SetFS(sel);
|
---|
9571 |
|
---|
9572 | return yyrc;
|
---|
9573 | }
|
---|
9574 |
|
---|
9575 | inline BOOL O32_CharToOemBuff(LPCSTR a, LPSTR b, DWORD c)
|
---|
9576 | {
|
---|
9577 | BOOL yyrc;
|
---|
9578 | USHORT sel = GetFS();
|
---|
9579 |
|
---|
9580 | yyrc = _O32_CharToOemBuff(a, b, c);
|
---|
9581 | SetFS(sel);
|
---|
9582 |
|
---|
9583 | return yyrc;
|
---|
9584 | }
|
---|
9585 |
|
---|
9586 | inline BOOL O32_OemToCharBuff(LPCSTR a, LPSTR b, DWORD c)
|
---|
9587 | {
|
---|
9588 | BOOL yyrc;
|
---|
9589 | USHORT sel = GetFS();
|
---|
9590 |
|
---|
9591 | yyrc = _O32_OemToCharBuff(a, b, c);
|
---|
9592 | SetFS(sel);
|
---|
9593 |
|
---|
9594 | return yyrc;
|
---|
9595 | }
|
---|
9596 |
|
---|
9597 | inline BOOL O32_IsBadHugeReadPtr(CONST void *a, UINT b)
|
---|
9598 | {
|
---|
9599 | BOOL yyrc;
|
---|
9600 | USHORT sel = GetFS();
|
---|
9601 |
|
---|
9602 | yyrc = _O32_IsBadHugeReadPtr(a, b);
|
---|
9603 | SetFS(sel);
|
---|
9604 |
|
---|
9605 | return yyrc;
|
---|
9606 | }
|
---|
9607 |
|
---|
9608 | inline BOOL O32_IsBadHugeWritePtr(PVOID a, UINT b)
|
---|
9609 | {
|
---|
9610 | BOOL yyrc;
|
---|
9611 | USHORT sel = GetFS();
|
---|
9612 |
|
---|
9613 | yyrc = _O32_IsBadHugeWritePtr(a, b);
|
---|
9614 | SetFS(sel);
|
---|
9615 |
|
---|
9616 | return yyrc;
|
---|
9617 | }
|
---|
9618 |
|
---|
9619 | inline BOOL O32_FloodFill(HDC a, int b, int c, COLORREF d)
|
---|
9620 | {
|
---|
9621 | BOOL yyrc;
|
---|
9622 | USHORT sel = GetFS();
|
---|
9623 |
|
---|
9624 | yyrc = _O32_FloodFill(a, b, c, d);
|
---|
9625 | SetFS(sel);
|
---|
9626 |
|
---|
9627 | return yyrc;
|
---|
9628 | }
|
---|
9629 |
|
---|
9630 | inline BOOL O32_IsCharAlpha(WCHAR a)
|
---|
9631 | {
|
---|
9632 | BOOL yyrc;
|
---|
9633 | USHORT sel = GetFS();
|
---|
9634 |
|
---|
9635 | yyrc = _O32_IsCharAlpha(a);
|
---|
9636 | SetFS(sel);
|
---|
9637 |
|
---|
9638 | return yyrc;
|
---|
9639 | }
|
---|
9640 |
|
---|
9641 | inline BOOL O32_IsCharAlphaNumeric(WCHAR a)
|
---|
9642 | {
|
---|
9643 | BOOL yyrc;
|
---|
9644 | USHORT sel = GetFS();
|
---|
9645 |
|
---|
9646 | yyrc = _O32_IsCharAlphaNumeric(a);
|
---|
9647 | SetFS(sel);
|
---|
9648 |
|
---|
9649 | return yyrc;
|
---|
9650 | }
|
---|
9651 |
|
---|
9652 | inline BOOL O32_IsCharLower(WCHAR a)
|
---|
9653 | {
|
---|
9654 | BOOL yyrc;
|
---|
9655 | USHORT sel = GetFS();
|
---|
9656 |
|
---|
9657 | yyrc = _O32_IsCharLower(a);
|
---|
9658 | SetFS(sel);
|
---|
9659 |
|
---|
9660 | return yyrc;
|
---|
9661 | }
|
---|
9662 |
|
---|
9663 | inline BOOL O32_IsCharUpper(WCHAR a)
|
---|
9664 | {
|
---|
9665 | BOOL yyrc;
|
---|
9666 | USHORT sel = GetFS();
|
---|
9667 |
|
---|
9668 | yyrc = _O32_IsCharUpper(a);
|
---|
9669 | SetFS(sel);
|
---|
9670 |
|
---|
9671 | return yyrc;
|
---|
9672 | }
|
---|
9673 |
|
---|
9674 | inline LPSTR O32_lstrcat(LPSTR a, LPCSTR b)
|
---|
9675 | {
|
---|
9676 | LPSTR yyrc;
|
---|
9677 | USHORT sel = GetFS();
|
---|
9678 |
|
---|
9679 | yyrc = _O32_lstrcat(a, b);
|
---|
9680 | SetFS(sel);
|
---|
9681 |
|
---|
9682 | return yyrc;
|
---|
9683 | }
|
---|
9684 |
|
---|
9685 | inline int O32_lstrcmp(LPCSTR a, LPCSTR b)
|
---|
9686 | {
|
---|
9687 | int yyrc;
|
---|
9688 | USHORT sel = GetFS();
|
---|
9689 |
|
---|
9690 | yyrc = _O32_lstrcmp(a, b);
|
---|
9691 | SetFS(sel);
|
---|
9692 |
|
---|
9693 | return yyrc;
|
---|
9694 | }
|
---|
9695 |
|
---|
9696 | inline int O32_lstrcmpi(LPCSTR a, LPCSTR b)
|
---|
9697 | {
|
---|
9698 | int yyrc;
|
---|
9699 | USHORT sel = GetFS();
|
---|
9700 |
|
---|
9701 | yyrc = _O32_lstrcmpi(a, b);
|
---|
9702 | SetFS(sel);
|
---|
9703 |
|
---|
9704 | return yyrc;
|
---|
9705 | }
|
---|
9706 |
|
---|
9707 | inline LPSTR O32_lstrcpy(LPSTR a, LPCSTR b)
|
---|
9708 | {
|
---|
9709 | LPSTR yyrc;
|
---|
9710 | USHORT sel = GetFS();
|
---|
9711 |
|
---|
9712 | yyrc = _O32_lstrcpy(a, b);
|
---|
9713 | SetFS(sel);
|
---|
9714 |
|
---|
9715 | return yyrc;
|
---|
9716 | }
|
---|
9717 |
|
---|
9718 | inline int O32_lstrlen(LPCSTR a)
|
---|
9719 | {
|
---|
9720 | int yyrc;
|
---|
9721 | USHORT sel = GetFS();
|
---|
9722 |
|
---|
9723 | yyrc = _O32_lstrlen(a);
|
---|
9724 | SetFS(sel);
|
---|
9725 |
|
---|
9726 | return yyrc;
|
---|
9727 | }
|
---|
9728 |
|
---|
9729 | inline int O32_WinCallWinMain(int a, char **b, FNMAIN_O32 c, int d)
|
---|
9730 | {
|
---|
9731 | int yyrc;
|
---|
9732 | USHORT sel = GetFS();
|
---|
9733 |
|
---|
9734 | yyrc = _O32_WinCallWinMain(a, b, c, d);
|
---|
9735 | SetFS(sel);
|
---|
9736 |
|
---|
9737 | return yyrc;
|
---|
9738 | }
|
---|
9739 |
|
---|
9740 | inline BOOL O32_WinTranslateDevicePoints(HDC a, HWND b, PPOINT c, INT d, XLATEDIR e)
|
---|
9741 | {
|
---|
9742 | BOOL yyrc;
|
---|
9743 | USHORT sel = GetFS();
|
---|
9744 |
|
---|
9745 | yyrc = _O32_WinTranslateDevicePoints(a, b, c, d, e);
|
---|
9746 | SetFS(sel);
|
---|
9747 |
|
---|
9748 | return yyrc;
|
---|
9749 | }
|
---|
9750 |
|
---|
9751 | inline BOOL O32_WinTranslateDeviceRects(HDC a, HWND b, PRECT c, INT d, XLATEDIR e)
|
---|
9752 | {
|
---|
9753 | BOOL yyrc;
|
---|
9754 | USHORT sel = GetFS();
|
---|
9755 |
|
---|
9756 | yyrc = _O32_WinTranslateDeviceRects(a, b, c, d, e);
|
---|
9757 | SetFS(sel);
|
---|
9758 |
|
---|
9759 | return yyrc;
|
---|
9760 | }
|
---|
9761 |
|
---|
9762 | inline ULONG O32_WinTranslateGraphicsObjectHandle(HGDIOBJ a, XLATEDIR b, ULONG c)
|
---|
9763 | {
|
---|
9764 | ULONG yyrc;
|
---|
9765 | USHORT sel = GetFS();
|
---|
9766 |
|
---|
9767 | yyrc = _O32_WinTranslateGraphicsObjectHandle(a, b, c);
|
---|
9768 | SetFS(sel);
|
---|
9769 |
|
---|
9770 | return yyrc;
|
---|
9771 | }
|
---|
9772 |
|
---|
9773 | inline ULONG O32_WinTranslateMnemonicString(LPCSTR a, LPSTR *b, ULONG c, XLATEDIR d)
|
---|
9774 | {
|
---|
9775 | ULONG yyrc;
|
---|
9776 | USHORT sel = GetFS();
|
---|
9777 |
|
---|
9778 | yyrc = _O32_WinTranslateMnemonicString(a, b, c, d);
|
---|
9779 | SetFS(sel);
|
---|
9780 |
|
---|
9781 | return yyrc;
|
---|
9782 | }
|
---|
9783 |
|
---|
9784 | inline DWORD O32_WinQueryTranslateMode()
|
---|
9785 | {
|
---|
9786 | DWORD yyrc;
|
---|
9787 | USHORT sel = GetFS();
|
---|
9788 |
|
---|
9789 | yyrc = _O32_WinQueryTranslateMode();
|
---|
9790 | SetFS(sel);
|
---|
9791 |
|
---|
9792 | return yyrc;
|
---|
9793 | }
|
---|
9794 |
|
---|
9795 | inline BOOL O32_WinSetTranslateMode(DWORD a)
|
---|
9796 | {
|
---|
9797 | BOOL yyrc;
|
---|
9798 | USHORT sel = GetFS();
|
---|
9799 |
|
---|
9800 | yyrc = _O32_WinSetTranslateMode(a);
|
---|
9801 | SetFS(sel);
|
---|
9802 |
|
---|
9803 | return yyrc;
|
---|
9804 | }
|
---|
9805 |
|
---|
9806 |
|
---|
9807 | #endif /* ifdef _OS2WIN_H */
|
---|