source: trunk/include/os2wrap.h@ 21424

Last change on this file since 21424 was 21424, checked in by dmik, 15 years ago

Added wrappers for DosQueryModFromEIP and DosQuerySysState and added compiling emxomfld-friendly wrapper libraries.

File size: 140.7 KB
Line 
1/* $Id: os2wrap.h,v 1.16 2003-08-08 14:55:15 sandervl Exp $ */
2#ifndef __OS2WRAP_H__
3#define __OS2WRAP_H__
4
5#ifdef __EMX__
6#define OS2EMX_PLAIN_CHAR
7#endif
8
9#include <os2.h>
10#include <os2sel.h>
11#include <os2newapi.h>
12
13#if (__IBMC__ > 300)
14// VA3.6: inline is a C++ keyword, must be translated to _inline or _Inline or __inline in C code
15#define inline _inline
16#endif
17
18#ifdef INCL_DOSMEMMGR
19
20APIRET APIENTRY _DosAliasMem(PVOID pb, ULONG cb, PPVOID ppbAlias, ULONG fl);
21
22#undef DosAliasMem
23#define DosAliasMem _DosAliasMem
24
25ULONG APIENTRY _DosAllocMem(PPVOID a, ULONG b, ULONG c);
26
27#undef DosAllocMem
28#define DosAllocMem _DosAllocMem
29
30ULONG APIENTRY _DosAllocSharedMem(PPVOID a, PCSZ b, ULONG c, ULONG d);
31
32#undef DosAllocSharedMem
33#define DosAllocSharedMem _DosAllocSharedMem
34
35ULONG APIENTRY _DosFreeMem(PVOID a);
36
37#undef DosFreeMem
38#define DosFreeMem _DosFreeMem
39
40ULONG APIENTRY _DosGetNamedSharedMem(PPVOID a, PCSZ b, ULONG c);
41
42#undef DosGetNamedSharedMem
43#define DosGetNamedSharedMem _DosGetNamedSharedMem
44
45ULONG APIENTRY _DosGetSharedMem(PVOID a, ULONG b);
46
47#undef DosGetSharedMem
48#define DosGetSharedMem _DosGetSharedMem
49
50ULONG APIENTRY _DosGiveSharedMem(PVOID a, PID b, ULONG c);
51
52#undef DosGiveSharedMem
53#define DosGiveSharedMem _DosGiveSharedMem
54
55ULONG APIENTRY _DosQueryMem(PVOID a, PULONG b, PULONG c);
56
57#undef DosQueryMem
58#define DosQueryMem _DosQueryMem
59
60ULONG APIENTRY _DosSetMem(PVOID a, ULONG b, ULONG c);
61
62#undef DosSetMem
63#define DosSetMem _DosSetMem
64
65ULONG APIENTRY _DosSubAllocMem(PVOID a, PPVOID b, ULONG c);
66
67#undef DosSubAllocMem
68#define DosSubAllocMem _DosSubAllocMem
69
70ULONG APIENTRY _DosSubFreeMem(PVOID a, PVOID b, ULONG c);
71
72#undef DosSubFreeMem
73#define DosSubFreeMem _DosSubFreeMem
74
75ULONG APIENTRY _DosSubSetMem(PVOID a, ULONG b, ULONG c);
76
77#undef DosSubSetMem
78#define DosSubSetMem _DosSubSetMem
79
80ULONG APIENTRY _DosSubUnsetMem(PVOID a);
81
82#undef DosSubUnsetMem
83#define DosSubUnsetMem _DosSubUnsetMem
84
85#endif
86#ifdef INCL_DOSFILEMGR
87ULONG APIENTRY _DosCancelLockRequest(HFILE a, PFILELOCK b);
88
89#undef DosCancelLockRequest
90#define DosCancelLockRequest _DosCancelLockRequest
91
92ULONG APIENTRY _DosClose(HFILE a);
93
94#undef DosClose
95#define DosClose _DosClose
96
97ULONG APIENTRY _DosCopy(PCSZ a, PCSZ b, ULONG c);
98
99#undef DosCopy
100#define DosCopy _DosCopy
101
102ULONG APIENTRY _DosCreateDir(PCSZ a, PEAOP2 b);
103
104#undef DosCreateDir
105#define DosCreateDir _DosCreateDir
106
107ULONG APIENTRY _DosDelete(PCSZ a);
108
109#undef DosDelete
110#define DosDelete _DosDelete
111
112ULONG APIENTRY _DosDeleteDir(PCSZ a);
113
114#undef DosDeleteDir
115#define DosDeleteDir _DosDeleteDir
116
117ULONG APIENTRY _DosDupHandle(HFILE a, PHFILE b);
118
119#undef DosDupHandle
120#define DosDupHandle _DosDupHandle
121
122ULONG APIENTRY _DosEditName(ULONG a, PCSZ b, PCSZ c, PBYTE d, ULONG e);
123
124#undef DosEditName
125#define DosEditName _DosEditName
126
127ULONG APIENTRY _DosEnumAttribute(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g);
128
129#undef DosEnumAttribute
130#define DosEnumAttribute _DosEnumAttribute
131
132ULONG APIENTRY _DosFindClose(HDIR a);
133
134#undef DosFindClose
135#define DosFindClose _DosFindClose
136
137ULONG APIENTRY _DosFindFirst(PCSZ a, PHDIR b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g);
138
139#undef DosFindFirst
140#define DosFindFirst _DosFindFirst
141
142ULONG APIENTRY _DosFindNext(HDIR a, PVOID b, ULONG c, PULONG d);
143
144#undef DosFindNext
145#define DosFindNext _DosFindNext
146
147ULONG APIENTRY _DosForceDelete(PCSZ a);
148
149#undef DosForceDelete
150#define DosForceDelete _DosForceDelete
151
152ULONG APIENTRY _DosFSAttach(PCSZ a, PCSZ b, PVOID c, ULONG d, ULONG e);
153
154#undef DosFSAttach
155#define DosFSAttach _DosFSAttach
156
157ULONG APIENTRY _DosFSCtl(PVOID a, ULONG b, PULONG c, PVOID d, ULONG e, PULONG f, ULONG g, PCSZ h, HFILE i, ULONG j);
158
159#undef DosFSCtl
160#define DosFSCtl _DosFSCtl
161
162ULONG APIENTRY _DosMove(PCSZ a, PCSZ b);
163
164#undef DosMove
165#define DosMove _DosMove
166
167ULONG APIENTRY _DosOpen(PCSZ a, PHFILE b, PULONG c, ULONG d, ULONG e, ULONG f, ULONG g, PEAOP2 h);
168
169#undef DosOpen
170#define DosOpen _DosOpen
171
172ULONG APIENTRY _DosProtectClose(HFILE a, FHLOCK b);
173
174#undef DosProtectClose
175#define DosProtectClose _DosProtectClose
176
177ULONG APIENTRY _DosProtectEnumAttribute(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g, FHLOCK h);
178
179#undef DosProtectEnumAttribute
180#define DosProtectEnumAttribute _DosProtectEnumAttribute
181
182ULONG APIENTRY _DosProtectOpen(PCSZ a, PHFILE b, PULONG c, ULONG d, ULONG e, ULONG f, ULONG g, PEAOP2 h, PFHLOCK i);
183
184#undef DosProtectOpen
185#define DosProtectOpen _DosProtectOpen
186
187ULONG APIENTRY _DosProtectQueryFHState(HFILE a, PULONG b, FHLOCK c);
188
189#undef DosProtectQueryFHState
190#define DosProtectQueryFHState _DosProtectQueryFHState
191
192ULONG APIENTRY _DosProtectQueryFileInfo(HFILE a, ULONG b, PVOID c, ULONG d, FHLOCK e);
193
194#undef DosProtectQueryFileInfo
195#define DosProtectQueryFileInfo _DosProtectQueryFileInfo
196
197ULONG APIENTRY _DosProtectRead(HFILE a, PVOID b, ULONG c, PULONG d, FHLOCK e);
198
199#undef DosProtectRead
200#define DosProtectRead _DosProtectRead
201
202ULONG APIENTRY _DosProtectSetFHState(HFILE a, ULONG b, FHLOCK c);
203
204#undef DosProtectSetFHState
205#define DosProtectSetFHState _DosProtectSetFHState
206
207ULONG APIENTRY _DosProtectSetFileInfo(HFILE a, ULONG b, PVOID c, ULONG d, FHLOCK e);
208
209#undef DosProtectSetFileInfo
210#define DosProtectSetFileInfo _DosProtectSetFileInfo
211
212ULONG APIENTRY _DosProtectSetFileLocks(HFILE a, PFILELOCK b, PFILELOCK c, ULONG d, ULONG e, FHLOCK f);
213
214#undef DosProtectSetFileLocks
215#define DosProtectSetFileLocks _DosProtectSetFileLocks
216
217ULONG APIENTRY _DosProtectSetFilePtr(HFILE a, LONG b, ULONG c, PULONG d, FHLOCK e);
218
219#undef DosProtectSetFilePtr
220#define DosProtectSetFilePtr _DosProtectSetFilePtr
221
222ULONG APIENTRY _DosProtectSetFileSize(HFILE a, ULONG b, FHLOCK c);
223
224#undef DosProtectSetFileSize
225#define DosProtectSetFileSize _DosProtectSetFileSize
226
227ULONG APIENTRY _DosProtectWrite(HFILE a, PVOID b, ULONG c, PULONG d, FHLOCK e);
228
229#undef DosProtectWrite
230#define DosProtectWrite _DosProtectWrite
231
232ULONG APIENTRY _DosQueryCurrentDir(ULONG a, PBYTE b, PULONG c);
233
234#undef DosQueryCurrentDir
235#define DosQueryCurrentDir _DosQueryCurrentDir
236
237ULONG APIENTRY _DosQueryCurrentDisk(PULONG a, PULONG b);
238
239#undef DosQueryCurrentDisk
240#define DosQueryCurrentDisk _DosQueryCurrentDisk
241
242ULONG APIENTRY _DosQueryFHState(HFILE a, PULONG b);
243
244#undef DosQueryFHState
245#define DosQueryFHState _DosQueryFHState
246
247ULONG APIENTRY _DosQueryFileInfo(HFILE a, ULONG b, PVOID c, ULONG d);
248
249#undef DosQueryFileInfo
250#define DosQueryFileInfo _DosQueryFileInfo
251
252ULONG APIENTRY _DosQueryFSAttach(PCSZ a, ULONG b, ULONG c, PFSQBUFFER2 d, PULONG e);
253
254#undef DosQueryFSAttach
255#define DosQueryFSAttach _DosQueryFSAttach
256
257ULONG APIENTRY _DosQueryFSInfo(ULONG a, ULONG b, PVOID c, ULONG d);
258
259#undef DosQueryFSInfo
260#define DosQueryFSInfo _DosQueryFSInfo
261
262ULONG APIENTRY _DosQueryHType(HFILE a, PULONG b, PULONG c);
263
264#undef DosQueryHType
265#define DosQueryHType _DosQueryHType
266
267ULONG APIENTRY _DosQueryPathInfo(PCSZ a, ULONG b, PVOID c, ULONG d);
268
269#undef DosQueryPathInfo
270#define DosQueryPathInfo _DosQueryPathInfo
271
272ULONG APIENTRY _DosQueryVerify(PBOOL32 a);
273
274#undef DosQueryVerify
275#define DosQueryVerify _DosQueryVerify
276
277ULONG APIENTRY _DosRead(HFILE a, PVOID b, ULONG c, PULONG d);
278
279#undef DosRead
280#define DosRead _DosRead
281
282ULONG APIENTRY _DosResetBuffer(HFILE a);
283
284#undef DosResetBuffer
285#define DosResetBuffer _DosResetBuffer
286
287ULONG APIENTRY _DosSetCurrentDir(PCSZ a);
288
289#undef DosSetCurrentDir
290#define DosSetCurrentDir _DosSetCurrentDir
291
292ULONG APIENTRY _DosSetDefaultDisk(ULONG a);
293
294#undef DosSetDefaultDisk
295#define DosSetDefaultDisk _DosSetDefaultDisk
296
297ULONG APIENTRY _DosSetFHState(HFILE a, ULONG b);
298
299#undef DosSetFHState
300#define DosSetFHState _DosSetFHState
301
302ULONG APIENTRY _DosSetFileInfo(HFILE a, ULONG b, PVOID c, ULONG d);
303
304#undef DosSetFileInfo
305#define DosSetFileInfo _DosSetFileInfo
306
307ULONG APIENTRY _DosSetFileLocks(HFILE a, PFILELOCK b, PFILELOCK c, ULONG d, ULONG e);
308
309#undef DosSetFileLocks
310#define DosSetFileLocks _DosSetFileLocks
311
312ULONG APIENTRY _DosSetFilePtr(HFILE a, LONG b, ULONG c, PULONG d);
313
314#undef DosSetFilePtr
315#define DosSetFilePtr _DosSetFilePtr
316
317ULONG APIENTRY _DosSetFileSize(HFILE a, ULONG b);
318
319#undef DosSetFileSize
320#define DosSetFileSize _DosSetFileSize
321
322ULONG APIENTRY _DosSetFSInfo(ULONG a, ULONG b, PVOID c, ULONG d);
323
324#undef DosSetFSInfo
325#define DosSetFSInfo _DosSetFSInfo
326
327ULONG APIENTRY _DosSetMaxFH(ULONG a);
328
329#undef DosSetMaxFH
330#define DosSetMaxFH _DosSetMaxFH
331
332ULONG APIENTRY _DosSetPathInfo(PCSZ a, ULONG b, PVOID c, ULONG d, ULONG e);
333
334#undef DosSetPathInfo
335#define DosSetPathInfo _DosSetPathInfo
336
337ULONG APIENTRY _DosSetRelMaxFH(PLONG a, PULONG b);
338
339#undef DosSetRelMaxFH
340#define DosSetRelMaxFH _DosSetRelMaxFH
341
342ULONG APIENTRY _DosSetVerify(BOOL32 a);
343
344#undef DosSetVerify
345#define DosSetVerify _DosSetVerify
346
347ULONG APIENTRY _DosShutdown(ULONG a);
348
349#undef DosShutdown
350#define DosShutdown _DosShutdown
351
352ULONG APIENTRY _DosWrite(HFILE a, PVOID b, ULONG c, PULONG d);
353
354#undef DosWrite
355#define DosWrite _DosWrite
356
357#endif
358#ifdef INCL_DOSMISC
359ULONG APIENTRY _DosSearchPath(ULONG a, PCSZ b, PCSZ c, PBYTE d, ULONG e);
360
361#undef DosSearchPath
362#define DosSearchPath _DosSearchPath
363
364ULONG APIENTRY _DosError(ULONG error);
365
366#undef DosError
367#define DosError _DosError
368
369#endif
370#ifdef INCL_DOSDEVICES
371ULONG APIENTRY _DosDevConfig(PVOID a, ULONG b);
372
373#undef DosDevConfig
374#define DosDevConfig _DosDevConfig
375
376ULONG APIENTRY _DosDevIOCtl(HFILE a, ULONG b, ULONG c, PVOID d, ULONG e, PULONG f, PVOID g, ULONG h, PULONG i);
377
378#undef DosDevIOCtl
379#define DosDevIOCtl _DosDevIOCtl
380
381ULONG APIENTRY _DosPhysicalDisk(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e);
382
383#undef DosPhysicalDisk
384#define DosPhysicalDisk _DosPhysicalDisk
385
386#endif
387#ifdef INCL_DOSNLS
388ULONG APIENTRY _DosMapCase(ULONG a, PCOUNTRYCODE b, PCHAR c);
389
390#undef DosMapCase
391#define DosMapCase _DosMapCase
392
393ULONG APIENTRY _DosQueryCollate(ULONG a, PCOUNTRYCODE b, PCHAR c, PULONG d);
394
395#undef DosQueryCollate
396#define DosQueryCollate _DosQueryCollate
397
398ULONG APIENTRY _DosQueryCp(ULONG a, PULONG b, PULONG c);
399
400#undef DosQueryCp
401#define DosQueryCp _DosQueryCp
402
403ULONG APIENTRY _DosQueryCtryInfo(ULONG a, PCOUNTRYCODE b, PCOUNTRYINFO c, PULONG d);
404
405#undef DosQueryCtryInfo
406#define DosQueryCtryInfo _DosQueryCtryInfo
407
408ULONG APIENTRY _DosQueryDBCSEnv(ULONG a, PCOUNTRYCODE b, PCHAR c);
409
410#undef DosQueryDBCSEnv
411#define DosQueryDBCSEnv _DosQueryDBCSEnv
412
413ULONG APIENTRY _DosSetProcessCp(ULONG a);
414
415#undef DosSetProcessCp
416#define DosSetProcessCp _DosSetProcessCp
417
418#endif
419#ifdef INCL_DOSMODULEMGR
420ULONG APIENTRY _DosFreeModule(HMODULE a);
421
422#undef DosFreeModule
423#define DosFreeModule _DosFreeModule
424
425ULONG APIENTRY _DosLoadModule(PSZ a, ULONG b, PCSZ c, PHMODULE d);
426
427#undef DosLoadModule
428#define DosLoadModule _DosLoadModule
429
430ULONG APIENTRY _DosQueryModFromEIP(PHMODULE a, PULONG b, ULONG c, PCHAR d, PULONG e, ULONG f);
431
432#undef DosQueryModFromEIP
433#define DosQueryModFromEIP _DosQueryModFromEIP
434
435ULONG APIENTRY _DosQueryModuleHandle(PCSZ a, PHMODULE b);
436
437#undef DosQueryModuleHandle
438#define DosQueryModuleHandle _DosQueryModuleHandle
439
440ULONG APIENTRY _DosQueryModuleName(HMODULE a, ULONG b, PCHAR c);
441
442#undef DosQueryModuleName
443#define DosQueryModuleName _DosQueryModuleName
444
445ULONG APIENTRY _DosQueryProcAddr(HMODULE a, ULONG b, PCSZ c, PFN *d);
446
447#undef DosQueryProcAddr
448#define DosQueryProcAddr _DosQueryProcAddr
449
450ULONG APIENTRY _DosQueryProcType(HMODULE a, ULONG b, PCSZ c, PULONG d);
451
452#undef DosQueryProcType
453#define DosQueryProcType _DosQueryProcType
454
455#endif
456#ifdef INCL_DOSRESOURCES
457ULONG APIENTRY _DosFreeResource(PVOID a);
458
459#undef DosFreeResource
460#define DosFreeResource _DosFreeResource
461
462ULONG APIENTRY _DosGetResource(HMODULE a, ULONG b, ULONG c, PPVOID d);
463
464#undef DosGetResource
465#define DosGetResource _DosGetResource
466
467ULONG APIENTRY _DosQueryResourceSize(HMODULE a, ULONG b, ULONG c, PULONG d);
468
469#undef DosQueryResourceSize
470#define DosQueryResourceSize _DosQueryResourceSize
471
472#endif
473#ifdef INCL_DOSPROCESS
474ULONG APIENTRY _DosBeep(ULONG a, ULONG b);
475
476#undef DosBeep
477#define DosBeep _DosBeep
478
479VOID APIENTRY _DosExit(ULONG a, ULONG b);
480
481#undef DosExit
482#define DosExit _DosExit
483
484ULONG APIENTRY _DosAllocThreadLocalMemory(ULONG a, PULONG *b);
485
486#undef DosAllocThreadLocalMemory
487#define DosAllocThreadLocalMemory _DosAllocThreadLocalMemory
488
489ULONG APIENTRY _DosCreateThread(PTID a, PFNTHREAD b, ULONG c, ULONG d, ULONG e);
490
491#undef DosCreateThread
492#define DosCreateThread _DosCreateThread
493
494ULONG APIENTRY _DosEnterCritSec();
495
496#undef DosEnterCritSec
497#define DosEnterCritSec _DosEnterCritSec
498
499ULONG APIENTRY _DosExecPgm(PCHAR a, LONG b, ULONG c, PCSZ d, PCSZ e, PRESULTCODES f, PCSZ g);
500
501#undef DosExecPgm
502#define DosExecPgm _DosExecPgm
503
504ULONG APIENTRY _DosExitCritSec();
505
506#undef DosExitCritSec
507#define DosExitCritSec _DosExitCritSec
508
509ULONG APIENTRY _DosExitList(ULONG a, PFNEXITLIST b);
510
511#undef DosExitList
512#define DosExitList _DosExitList
513
514ULONG APIENTRY _DosFreeThreadLocalMemory(ULONG *a);
515
516#undef DosFreeThreadLocalMemory
517#define DosFreeThreadLocalMemory _DosFreeThreadLocalMemory
518
519ULONG APIENTRY _DosGetInfoBlocks(PTIB *a, PPIB *b);
520
521#undef DosGetInfoBlocks
522#define DosGetInfoBlocks _DosGetInfoBlocks
523
524ULONG APIENTRY _DosKillProcess(ULONG a, PID b);
525
526#undef DosKillProcess
527#define DosKillProcess _DosKillProcess
528
529ULONG APIENTRY _DosKillThread(TID a);
530
531#undef DosKillThread
532#define DosKillThread _DosKillThread
533
534ULONG APIENTRY _DosResumeThread(TID a);
535
536#undef DosResumeThread
537#define DosResumeThread _DosResumeThread
538
539ULONG APIENTRY _DosSetPriority(ULONG a, ULONG b, LONG c, ULONG d);
540
541#undef DosSetPriority
542#define DosSetPriority _DosSetPriority
543
544ULONG APIENTRY _DosSleep(ULONG a);
545
546#undef DosSleep
547#define DosSleep _DosSleep
548
549ULONG APIENTRY _DosSuspendThread(TID a);
550
551#undef DosSuspendThread
552#define DosSuspendThread _DosSuspendThread
553
554ULONG APIENTRY _DosWaitChild(ULONG a, ULONG b, PRESULTCODES c, PPID d, PID e);
555
556#undef DosWaitChild
557#define DosWaitChild _DosWaitChild
558
559ULONG APIENTRY _DosWaitThread(PTID a, ULONG b);
560
561#undef DosWaitThread
562#define DosWaitThread _DosWaitThread
563
564#endif
565
566#ifdef INCL_DOSSESMGR
567ULONG APIENTRY _DosQueryAppType(PCSZ a, PULONG b);
568
569#undef DosQueryAppType
570#define DosQueryAppType _DosQueryAppType
571
572ULONG APIENTRY _DosSelectSession(ULONG a);
573
574#undef DosSelectSession
575#define DosSelectSession _DosSelectSession
576
577ULONG APIENTRY _DosSetSession(ULONG a, PSTATUSDATA b);
578
579#undef DosSetSession
580#define DosSetSession _DosSetSession
581
582ULONG APIENTRY _DosStartSession(PSTARTDATA a, PULONG b, PPID c);
583
584#undef DosStartSession
585#define DosStartSession _DosStartSession
586
587ULONG APIENTRY _DosStopSession(ULONG a, ULONG b);
588
589#undef DosStopSession
590#define DosStopSession _DosStopSession
591
592#endif
593#ifdef INCL_DOSSEMAPHORES
594ULONG APIENTRY _DosCloseEventSem(HEV a);
595
596#undef DosCloseEventSem
597#define DosCloseEventSem _DosCloseEventSem
598
599ULONG APIENTRY _DosCreateEventSem(PCSZ a, PHEV b, ULONG c, BOOL32 d);
600
601#undef DosCreateEventSem
602#define DosCreateEventSem _DosCreateEventSem
603
604ULONG APIENTRY _DosOpenEventSem(PCSZ a, PHEV b);
605
606#undef DosOpenEventSem
607#define DosOpenEventSem _DosOpenEventSem
608
609ULONG APIENTRY _DosPostEventSem(HEV a);
610
611#undef DosPostEventSem
612#define DosPostEventSem _DosPostEventSem
613
614ULONG APIENTRY _DosQueryEventSem(HEV a, PULONG b);
615
616#undef DosQueryEventSem
617#define DosQueryEventSem _DosQueryEventSem
618
619ULONG APIENTRY _DosResetEventSem(HEV a, PULONG b);
620
621#undef DosResetEventSem
622#define DosResetEventSem _DosResetEventSem
623
624ULONG APIENTRY _DosWaitEventSem(HEV a, ULONG b);
625
626#undef DosWaitEventSem
627#define DosWaitEventSem _DosWaitEventSem
628
629ULONG APIENTRY _DosCloseMutexSem(HMTX a);
630
631#undef DosCloseMutexSem
632#define DosCloseMutexSem _DosCloseMutexSem
633
634ULONG APIENTRY _DosCreateMutexSem(PCSZ a, PHMTX b, ULONG c, BOOL32 d);
635
636#undef DosCreateMutexSem
637#define DosCreateMutexSem _DosCreateMutexSem
638
639ULONG APIENTRY _DosOpenMutexSem(PCSZ a, PHMTX b);
640
641#undef DosOpenMutexSem
642#define DosOpenMutexSem _DosOpenMutexSem
643
644ULONG APIENTRY _DosQueryMutexSem(HMTX a, PPID b, PTID c, PULONG d);
645
646#undef DosQueryMutexSem
647#define DosQueryMutexSem _DosQueryMutexSem
648
649ULONG APIENTRY _DosReleaseMutexSem(HMTX a);
650
651#undef DosReleaseMutexSem
652#define DosReleaseMutexSem _DosReleaseMutexSem
653
654ULONG APIENTRY _DosRequestMutexSem(HMTX a, ULONG b);
655
656#undef DosRequestMutexSem
657#define DosRequestMutexSem _DosRequestMutexSem
658
659ULONG APIENTRY _DosAddMuxWaitSem(HMUX a, PSEMRECORD b);
660
661#undef DosAddMuxWaitSem
662#define DosAddMuxWaitSem _DosAddMuxWaitSem
663
664ULONG APIENTRY _DosCloseMuxWaitSem(HMUX a);
665
666#undef DosCloseMuxWaitSem
667#define DosCloseMuxWaitSem _DosCloseMuxWaitSem
668
669ULONG APIENTRY _DosCreateMuxWaitSem(PCSZ a, PHMUX b, ULONG c, PSEMRECORD d, ULONG e);
670
671#undef DosCreateMuxWaitSem
672#define DosCreateMuxWaitSem _DosCreateMuxWaitSem
673
674ULONG APIENTRY _DosDeleteMuxWaitSem(HMUX a, HSEM b);
675
676#undef DosDeleteMuxWaitSem
677#define DosDeleteMuxWaitSem _DosDeleteMuxWaitSem
678
679ULONG APIENTRY _DosOpenMuxWaitSem(PCSZ a, PHMUX b);
680
681#undef DosOpenMuxWaitSem
682#define DosOpenMuxWaitSem _DosOpenMuxWaitSem
683
684ULONG APIENTRY _DosQueryMuxWaitSem(HMUX a, PULONG b, PSEMRECORD c, PULONG d);
685
686#undef DosQueryMuxWaitSem
687#define DosQueryMuxWaitSem _DosQueryMuxWaitSem
688
689ULONG APIENTRY _DosWaitMuxWaitSem(HMUX a, ULONG b, PULONG c);
690
691#undef DosWaitMuxWaitSem
692#define DosWaitMuxWaitSem _DosWaitMuxWaitSem
693
694#endif
695#ifdef INCL_DOSNMPIPES
696ULONG APIENTRY _DosCallNPipe(PCSZ a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g);
697
698#undef DosCallNPipe
699#define DosCallNPipe _DosCallNPipe
700
701ULONG APIENTRY _DosConnectNPipe(HPIPE a);
702
703#undef DosConnectNPipe
704#define DosConnectNPipe _DosConnectNPipe
705
706ULONG APIENTRY _DosCreateNPipe(PCSZ a, PHPIPE b, ULONG c, ULONG d, ULONG e, ULONG f, ULONG g);
707
708#undef DosCreateNPipe
709#define DosCreateNPipe _DosCreateNPipe
710
711ULONG APIENTRY _DosDisConnectNPipe(HPIPE a);
712
713#undef DosDisConnectNPipe
714#define DosDisConnectNPipe _DosDisConnectNPipe
715
716ULONG APIENTRY _DosPeekNPipe(HPIPE a, PVOID b, ULONG c, PULONG d, PAVAILDATA e, PULONG f);
717
718#undef DosPeekNPipe
719#define DosPeekNPipe _DosPeekNPipe
720
721ULONG APIENTRY _DosQueryNPHState(HPIPE a, PULONG b);
722
723#undef DosQueryNPHState
724#define DosQueryNPHState _DosQueryNPHState
725
726ULONG APIENTRY _DosQueryNPipeInfo(HPIPE a, ULONG b, PVOID c, ULONG d);
727
728#undef DosQueryNPipeInfo
729#define DosQueryNPipeInfo _DosQueryNPipeInfo
730
731ULONG APIENTRY _DosQueryNPipeSemState(HSEM a, PPIPESEMSTATE b, ULONG c);
732
733#undef DosQueryNPipeSemState
734#define DosQueryNPipeSemState _DosQueryNPipeSemState
735
736ULONG APIENTRY _DosSetNPHState(HPIPE a, ULONG b);
737
738#undef DosSetNPHState
739#define DosSetNPHState _DosSetNPHState
740
741ULONG APIENTRY _DosSetNPipeSem(HPIPE a, HSEM b, ULONG c);
742
743#undef DosSetNPipeSem
744#define DosSetNPipeSem _DosSetNPipeSem
745
746ULONG APIENTRY _DosTransactNPipe(HPIPE a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f);
747
748#undef DosTransactNPipe
749#define DosTransactNPipe _DosTransactNPipe
750
751ULONG APIENTRY _DosWaitNPipe(PCSZ a, ULONG b);
752
753#undef DosWaitNPipe
754#define DosWaitNPipe _DosWaitNPipe
755
756ULONG APIENTRY _DosCreatePipe(PHFILE a, PHFILE b, ULONG c);
757
758#undef DosCreatePipe
759#define DosCreatePipe _DosCreatePipe
760
761#endif
762#ifdef INCL_DOSQUEUES
763ULONG APIENTRY _DosCloseQueue(HQUEUE a);
764
765#undef DosCloseQueue
766#define DosCloseQueue _DosCloseQueue
767
768ULONG APIENTRY _DosCreateQueue(PHQUEUE a, ULONG b, PCSZ c);
769
770#undef DosCreateQueue
771#define DosCreateQueue _DosCreateQueue
772
773ULONG APIENTRY _DosOpenQueue(PPID a, PHQUEUE b, PCSZ c);
774
775#undef DosOpenQueue
776#define DosOpenQueue _DosOpenQueue
777
778ULONG APIENTRY _DosPeekQueue(HQUEUE a, PREQUESTDATA b, PULONG c, PPVOID d, PULONG e, BOOL32 f, PBYTE g, HEV h);
779
780#undef DosPeekQueue
781#define DosPeekQueue _DosPeekQueue
782
783ULONG APIENTRY _DosPurgeQueue(HQUEUE a);
784
785#undef DosPurgeQueue
786#define DosPurgeQueue _DosPurgeQueue
787
788ULONG APIENTRY _DosQueryQueue(HQUEUE a, PULONG b);
789
790#undef DosQueryQueue
791#define DosQueryQueue _DosQueryQueue
792
793ULONG APIENTRY _DosReadQueue(HQUEUE a, PREQUESTDATA b, PULONG c, PPVOID d, ULONG e, BOOL32 f, PBYTE g, HEV h);
794
795#undef DosReadQueue
796#define DosReadQueue _DosReadQueue
797
798ULONG APIENTRY _DosWriteQueue(HQUEUE a, ULONG b, ULONG c, PVOID d, ULONG e);
799
800#undef DosWriteQueue
801#define DosWriteQueue _DosWriteQueue
802
803#endif
804#ifdef INCL_DOSEXCEPTIONS
805ULONG APIENTRY _DosAcknowledgeSignalException(ULONG a);
806
807#undef DosAcknowledgeSignalException
808#define DosAcknowledgeSignalException _DosAcknowledgeSignalException
809
810ULONG APIENTRY _DosEnterMustComplete(PULONG a);
811
812#undef DosEnterMustComplete
813#define DosEnterMustComplete _DosEnterMustComplete
814
815ULONG APIENTRY _DosExitMustComplete(PULONG a);
816
817#undef DosExitMustComplete
818#define DosExitMustComplete _DosExitMustComplete
819
820ULONG APIENTRY _DosQueryThreadContext(TID a, ULONG b, PCONTEXTRECORD c);
821
822#undef DosQueryThreadContext
823#define DosQueryThreadContext _DosQueryThreadContext
824
825ULONG APIENTRY _DosRaiseException(PEXCEPTIONREPORTRECORD a);
826
827#undef DosRaiseException
828#define DosRaiseException _DosRaiseException
829
830ULONG APIENTRY _DosSendSignalException(PID a, ULONG b);
831
832#undef DosSendSignalException
833#define DosSendSignalException _DosSendSignalException
834
835ULONG APIENTRY _DosSetExceptionHandler(PEXCEPTIONREGISTRATIONRECORD a);
836
837#undef DosSetExceptionHandler
838#define DosSetExceptionHandler _DosSetExceptionHandler
839
840ULONG APIENTRY _DosSetSignalExceptionFocus(BOOL32 a, PULONG b);
841
842#undef DosSetSignalExceptionFocus
843#define DosSetSignalExceptionFocus _DosSetSignalExceptionFocus
844
845ULONG APIENTRY _DosUnsetExceptionHandler(PEXCEPTIONREGISTRATIONRECORD a);
846
847#undef DosUnsetExceptionHandler
848#define DosUnsetExceptionHandler _DosUnsetExceptionHandler
849
850ULONG APIENTRY _DosUnwindException(PEXCEPTIONREGISTRATIONRECORD a, PVOID b, PEXCEPTIONREPORTRECORD c);
851
852#undef DosUnwindException
853#define DosUnwindException _DosUnwindException
854
855#endif
856#ifdef INCL_DOSMISC
857ULONG APIENTRY _DosQuerySysInfo(ULONG a, ULONG b, PVOID c, ULONG d);
858
859#undef DosQuerySysInfo
860#define DosQuerySysInfo _DosQuerySysInfo
861
862ULONG APIENTRY _DosScanEnv(PCSZ a, PCSZ *b);
863
864#undef DosScanEnv
865#define DosScanEnv _DosScanEnv
866
867ULONG APIENTRY _DosQueryRASInfo(ULONG a, PPVOID b);
868
869#undef DosQueryRASInfo
870#define DosQueryRASInfo _DosQueryRASInfo
871
872#endif
873#ifdef INCL_DOSDATETIME
874ULONG APIENTRY _DosGetDateTime(PDATETIME a);
875
876#undef DosGetDateTime
877#define DosGetDateTime _DosGetDateTime
878
879ULONG APIENTRY _DosSetDateTime(PDATETIME a);
880
881#undef DosSetDateTime
882#define DosSetDateTime _DosSetDateTime
883
884ULONG APIENTRY _DosAsyncTimer(ULONG a, HSEM b, PHTIMER c);
885
886#undef DosAsyncTimer
887#define DosAsyncTimer _DosAsyncTimer
888
889ULONG APIENTRY _DosStartTimer(ULONG a, HSEM b, PHTIMER c);
890
891#undef DosStartTimer
892#define DosStartTimer _DosStartTimer
893
894ULONG APIENTRY _DosStopTimer(HTIMER a);
895
896#undef DosStopTimer
897#define DosStopTimer _DosStopTimer
898
899#endif
900#ifdef DosTmrQueryFreq
901ULONG APIENTRY _DosTmrQueryFreq(PULONG a);
902
903#undef DosTmrQueryFreq
904#define DosTmrQueryFreq _DosTmrQueryFreq
905
906ULONG APIENTRY _DosTmrQueryTime(PQWORD a);
907
908#undef DosTmrQueryTime
909#define DosTmrQueryTime _DosTmrQueryTime
910
911#endif
912#ifdef INCL_DOSMVDM
913ULONG APIENTRY _DosCloseVDD(HVDD a);
914
915#undef DosCloseVDD
916#define DosCloseVDD _DosCloseVDD
917
918ULONG APIENTRY _DosOpenVDD(PCSZ a, PHVDD b);
919
920#undef DosOpenVDD
921#define DosOpenVDD _DosOpenVDD
922
923ULONG APIENTRY _DosQueryDOSProperty(SGID a, PCSZ b, ULONG c, PSZ d);
924
925#undef DosQueryDOSProperty
926#define DosQueryDOSProperty _DosQueryDOSProperty
927
928ULONG APIENTRY _DosRequestVDD(HVDD a, SGID b, ULONG c, ULONG d, PVOID e, ULONG f, PVOID g);
929
930#undef DosRequestVDD
931#define DosRequestVDD _DosRequestVDD
932
933ULONG APIENTRY _DosSetDOSProperty(SGID a, PCSZ b, ULONG c, PCSZ d);
934
935#undef DosSetDOSProperty
936#define DosSetDOSProperty _DosSetDOSProperty
937
938#endif
939#ifdef INCL_DOSPROCESS
940ULONG APIENTRY _DosDebug(uDB_t *a);
941
942#undef DosDebug
943#define DosDebug _DosDebug
944
945#endif
946#ifdef INCL_DOSMISC
947ULONG APIENTRY _DosGetMessage(PCHAR *a, ULONG b, PCHAR c, ULONG d, ULONG e, PCSZ f, PULONG g);
948
949#undef DosGetMessage
950#define DosGetMessage _DosGetMessage
951
952ULONG APIENTRY _DosInsertMessage(PCHAR *a, ULONG b, PCSZ c, ULONG d, PCHAR e, ULONG f, PULONG g);
953
954#undef DosInsertMessage
955#define DosInsertMessage _DosInsertMessage
956
957ULONG APIENTRY _DosPutMessage(HFILE a, ULONG b, PCHAR c);
958
959#undef DosPutMessage
960#define DosPutMessage _DosPutMessage
961
962ULONG APIENTRY _DosQueryMessageCP(PCHAR a, ULONG b, PCSZ c, PULONG d);
963
964#undef DosQueryMessageCP
965#define DosQueryMessageCP _DosQueryMessageCP
966
967ULONG APIENTRY _DosVerifyPidTid(PID Pid, TID Tid);
968#undef DosVerifyPidTid
969#define DosVerifyPidTid _DosVerifyPidTid
970
971#endif
972#ifdef INCL_DOSRAS
973ULONG APIENTRY _DosDumpProcess(ULONG a, ULONG b, PID c);
974
975#undef DosDumpProcess
976#define DosDumpProcess _DosDumpProcess
977
978ULONG APIENTRY _DosForceSystemDump(ULONG a);
979
980#undef DosForceSystemDump
981#define DosForceSystemDump _DosForceSystemDump
982
983ULONG APIENTRY _DosQueryRASInfo(ULONG a, PPVOID b);
984
985#undef DosQueryRASInfo
986#define DosQueryRASInfo _DosQueryRASInfo
987
988ULONG APIENTRY _DosSuppressPopUps(ULONG a, ULONG b);
989
990#undef DosSuppressPopUps
991#define DosSuppressPopUps _DosSuppressPopUps
992
993#endif
994#ifdef INCL_DOSPROFILE
995ULONG APIENTRY _DosQuerySysState(ULONG a, ULONG b, PID c, TID d, PVOID e, ULONG f);
996
997#undef DosQuerySysState
998#define DosQuerySysState _DosQuerySysState
999
1000#endif
1001#ifdef INCL_RXSUBCOM
1002ULONG APIENTRY _RexxDeregisterSubcom(PCSZ a, PCSZ b);
1003
1004#undef RexxDeregisterSubcom
1005#define RexxDeregisterSubcom _RexxDeregisterSubcom
1006
1007ULONG APIENTRY _RexxQuerySubcom(PCSZ a, PCSZ b, PUSHORT c, PUCHAR d);
1008
1009#undef RexxQuerySubcom
1010#define RexxQuerySubcom _RexxQuerySubcom
1011
1012ULONG APIENTRY _RexxRegisterSubcomDll(PCSZ a, PCSZ b, PCSZ c, PUCHAR d, ULONG e);
1013
1014#undef RexxRegisterSubcomDll
1015#define RexxRegisterSubcomDll _RexxRegisterSubcomDll
1016
1017ULONG APIENTRY _RexxRegisterSubcomExe(PCSZ a, PFN b, PUCHAR c);
1018
1019#undef RexxRegisterSubcomExe
1020#define RexxRegisterSubcomExe _RexxRegisterSubcomExe
1021
1022#endif
1023#ifdef INCL_RXSHV
1024ULONG APIENTRY _RexxVariablePool(PSHVBLOCK a);
1025
1026#undef RexxVariablePool
1027#define RexxVariablePool _RexxVariablePool
1028
1029#endif
1030#ifdef INCL_RXFUNC
1031ULONG APIENTRY _RexxDeregisterFunction(PCSZ a);
1032
1033#undef RexxDeregisterFunction
1034#define RexxDeregisterFunction _RexxDeregisterFunction
1035
1036ULONG APIENTRY _RexxQueryFunction(PCSZ a);
1037
1038#undef RexxQueryFunction
1039#define RexxQueryFunction _RexxQueryFunction
1040
1041ULONG APIENTRY _RexxRegisterFunctionDll(PCSZ a, PCSZ b, PCSZ c);
1042
1043#undef RexxRegisterFunctionDll
1044#define RexxRegisterFunctionDll _RexxRegisterFunctionDll
1045
1046ULONG APIENTRY _RexxRegisterFunctionExe(PCSZ a, RexxFunctionHandler *b);
1047
1048#undef RexxRegisterFunctionExe
1049#define RexxRegisterFunctionExe _RexxRegisterFunctionExe
1050
1051#endif
1052#ifdef INCL_RXSYSEXIT
1053ULONG APIENTRY _RexxDeregisterExit(PCSZ a, PCSZ b);
1054
1055#undef RexxDeregisterExit
1056#define RexxDeregisterExit _RexxDeregisterExit
1057
1058ULONG APIENTRY _RexxQueryExit(PCSZ a, PCSZ b, PUSHORT c, PUCHAR d);
1059
1060#undef RexxQueryExit
1061#define RexxQueryExit _RexxQueryExit
1062
1063ULONG APIENTRY _RexxRegisterExitDll(PCSZ a, PCSZ b, PCSZ c, PUCHAR d, ULONG e);
1064
1065#undef RexxRegisterExitDll
1066#define RexxRegisterExitDll _RexxRegisterExitDll
1067
1068ULONG APIENTRY _RexxRegisterExitExe(PCSZ a, PFN b, PUCHAR c);
1069
1070#undef RexxRegisterExitExe
1071#define RexxRegisterExitExe _RexxRegisterExitExe
1072
1073#endif
1074#ifdef INCL_RXARI
1075ULONG APIENTRY _RexxResetTrace(PID a, TID b);
1076
1077#undef RexxResetTrace
1078#define RexxResetTrace _RexxResetTrace
1079
1080ULONG APIENTRY _RexxSetHalt(PID a, TID b);
1081
1082#undef RexxSetHalt
1083#define RexxSetHalt _RexxSetHalt
1084
1085ULONG APIENTRY _RexxSetTrace(PID a, TID b);
1086
1087#undef RexxSetTrace
1088#define RexxSetTrace _RexxSetTrace
1089
1090#endif
1091#ifdef INCL_RXMACRO
1092ULONG APIENTRY _RexxAddMacro(PCSZ a, PCSZ b, ULONG c);
1093
1094#undef RexxAddMacro
1095#define RexxAddMacro _RexxAddMacro
1096
1097ULONG APIENTRY _RexxClearMacroSpace();
1098
1099#undef RexxClearMacroSpace
1100#define RexxClearMacroSpace _RexxClearMacroSpace
1101
1102ULONG APIENTRY _RexxDropMacro(PCSZ a);
1103
1104#undef RexxDropMacro
1105#define RexxDropMacro _RexxDropMacro
1106
1107ULONG APIENTRY _RexxLoadMacroSpace(ULONG a, PCSZ *b, PCSZ c);
1108
1109#undef RexxLoadMacroSpace
1110#define RexxLoadMacroSpace _RexxLoadMacroSpace
1111
1112ULONG APIENTRY _RexxQueryMacro(PCSZ a, PUSHORT b);
1113
1114#undef RexxQueryMacro
1115#define RexxQueryMacro _RexxQueryMacro
1116
1117ULONG APIENTRY _RexxReorderMacro(PCSZ a, ULONG b);
1118
1119#undef RexxReorderMacro
1120#define RexxReorderMacro _RexxReorderMacro
1121
1122ULONG APIENTRY _RexxSaveMacroSpace(ULONG a, PCSZ *b, PCSZ c);
1123
1124#undef RexxSaveMacroSpace
1125#define RexxSaveMacroSpace _RexxSaveMacroSpace
1126
1127LONG APIENTRY _RexxStart(LONG a, PRXSTRING b, PCSZ c, PRXSTRING d, PCSZ e, LONG f, PRXSYSEXIT g, PSHORT h, PRXSTRING i);
1128
1129#undef RexxStart
1130#define RexxStart _RexxStart
1131
1132#endif
1133#ifdef INCL_WIN
1134#ifdef INCL_WINMESSAGEMGR
1135BOOL APIENTRY _WinCancelShutdown(HMQ a, BOOL b);
1136
1137#undef WinCancelShutdown
1138#define WinCancelShutdown _WinCancelShutdown
1139
1140HMQ APIENTRY _WinCreateMsgQueue(HAB a, LONG b);
1141
1142#undef WinCreateMsgQueue
1143#define WinCreateMsgQueue _WinCreateMsgQueue
1144
1145BOOL APIENTRY _WinDestroyMsgQueue(HMQ a);
1146
1147#undef WinDestroyMsgQueue
1148#define WinDestroyMsgQueue _WinDestroyMsgQueue
1149
1150MRESULT APIENTRY _WinDispatchMsg(HAB a, PQMSG b);
1151
1152#undef WinDispatchMsg
1153#define WinDispatchMsg _WinDispatchMsg
1154
1155BOOL APIENTRY _WinGetMsg(HAB a, PQMSG b, HWND c, ULONG d, ULONG e);
1156
1157#undef WinGetMsg
1158#define WinGetMsg _WinGetMsg
1159
1160BOOL APIENTRY _WinLockInput(HMQ a, ULONG b);
1161
1162#undef WinLockInput
1163#define WinLockInput _WinLockInput
1164
1165BOOL APIENTRY _WinPeekMsg(HAB a, PQMSG b, HWND c, ULONG d, ULONG e, ULONG f);
1166
1167#undef WinPeekMsg
1168#define WinPeekMsg _WinPeekMsg
1169
1170BOOL APIENTRY _WinPostMsg(HWND a, ULONG b, MPARAM c, MPARAM d);
1171
1172#undef WinPostMsg
1173#define WinPostMsg _WinPostMsg
1174
1175HMQ APIENTRY _WinQueueFromID(HAB a, PID b, TID c);
1176
1177#undef WinQueueFromID
1178#define WinQueueFromID _WinQueueFromID
1179
1180BOOL APIENTRY _WinQueryQueueInfo(HMQ a, PMQINFO b, ULONG c);
1181
1182#undef WinQueryQueueInfo
1183#define WinQueryQueueInfo _WinQueryQueueInfo
1184
1185HMQ APIENTRY _WinQuerySendMsg(HAB a, HMQ b, HMQ c, PQMSG d);
1186
1187#undef WinQuerySendMsg
1188#define WinQuerySendMsg _WinQuerySendMsg
1189
1190BOOL APIENTRY _WinRegisterUserDatatype(HAB a, LONG b, LONG c, PLONG d);
1191
1192#undef WinRegisterUserDatatype
1193#define WinRegisterUserDatatype _WinRegisterUserDatatype
1194
1195BOOL APIENTRY _WinRegisterUserMsg(HAB a, ULONG b, LONG c, LONG d, LONG e, LONG f, LONG g);
1196
1197#undef WinRegisterUserMsg
1198#define WinRegisterUserMsg _WinRegisterUserMsg
1199
1200BOOL APIENTRY _WinReplyMsg(HAB a, HMQ b, HMQ c, MRESULT d);
1201
1202#undef WinReplyMsg
1203#define WinReplyMsg _WinReplyMsg
1204
1205MRESULT APIENTRY _WinSendMsg(HWND a, ULONG b, MPARAM c, MPARAM d);
1206
1207#undef WinSendMsg
1208#define WinSendMsg _WinSendMsg
1209
1210BOOL APIENTRY _WinSetMsgMode(HAB a, PCSZ b, LONG c);
1211
1212#undef WinSetMsgMode
1213#define WinSetMsgMode _WinSetMsgMode
1214
1215BOOL APIENTRY _WinSetSynchroMode(HAB a, LONG b);
1216
1217#undef WinSetSynchroMode
1218#define WinSetSynchroMode _WinSetSynchroMode
1219
1220BOOL APIENTRY _WinThreadAssocQueue(HAB a, HMQ b);
1221
1222#undef WinThreadAssocQueue
1223#define WinThreadAssocQueue _WinThreadAssocQueue
1224
1225BOOL APIENTRY _WinWakeThread(HMQ a);
1226
1227#undef WinWakeThread
1228#define WinWakeThread _WinWakeThread
1229
1230#endif
1231HWND APIENTRY _WinCreateWindow(HWND a, PCSZ b, PCSZ c, ULONG d, LONG e, LONG f, LONG g, LONG h, HWND i, HWND j, ULONG k, PVOID l, PVOID m);
1232
1233#undef WinCreateWindow
1234#define WinCreateWindow _WinCreateWindow
1235
1236BOOL APIENTRY _WinDrawBitmap(HPS a, HBITMAP b, PRECTL c, PPOINTL d, LONG e, LONG f, ULONG g);
1237
1238#undef WinDrawBitmap
1239#define WinDrawBitmap _WinDrawBitmap
1240
1241BOOL APIENTRY _WinDrawBorder(HPS a, PRECTL b, LONG c, LONG d, LONG e, LONG f, ULONG g);
1242
1243#undef WinDrawBorder
1244#define WinDrawBorder _WinDrawBorder
1245
1246LONG APIENTRY _WinDrawText(HPS a, LONG b, PCH c, PRECTL d, LONG e, LONG f, ULONG g);
1247
1248#undef WinDrawText
1249#define WinDrawText _WinDrawText
1250
1251BOOL APIENTRY _WinEnableWindow(HWND a, BOOL b);
1252
1253#undef WinEnableWindow
1254#define WinEnableWindow _WinEnableWindow
1255
1256BOOL APIENTRY _WinEnableWindowUpdate(HWND a, BOOL b);
1257
1258#undef WinEnableWindowUpdate
1259#define WinEnableWindowUpdate _WinEnableWindowUpdate
1260
1261BOOL APIENTRY _WinInvalidateRect(HWND a, PRECTL b, BOOL c);
1262
1263#undef WinInvalidateRect
1264#define WinInvalidateRect _WinInvalidateRect
1265
1266BOOL APIENTRY _WinInvalidateRegion(HWND a, HRGN b, BOOL c);
1267
1268#undef WinInvalidateRegion
1269#define WinInvalidateRegion _WinInvalidateRegion
1270
1271BOOL APIENTRY _WinInvertRect(HPS a, PRECTL b);
1272
1273#undef WinInvertRect
1274#define WinInvertRect _WinInvertRect
1275
1276BOOL APIENTRY _WinIsChild(HWND a, HWND b);
1277
1278#undef WinIsChild
1279#define WinIsChild _WinIsChild
1280
1281BOOL APIENTRY _WinIsWindow(HAB a, HWND b);
1282
1283#undef WinIsWindow
1284#define WinIsWindow _WinIsWindow
1285
1286BOOL APIENTRY _WinIsWindowEnabled(HWND a);
1287
1288#undef WinIsWindowEnabled
1289#define WinIsWindowEnabled _WinIsWindowEnabled
1290
1291BOOL APIENTRY _WinIsWindowVisible(HWND a);
1292
1293#undef WinIsWindowVisible
1294#define WinIsWindowVisible _WinIsWindowVisible
1295
1296LONG APIENTRY _WinLoadMessage(HAB a, HMODULE b, ULONG c, LONG d, PSZ e);
1297
1298#undef WinLoadMessage
1299#define WinLoadMessage _WinLoadMessage
1300
1301LONG APIENTRY _WinLoadString(HAB a, HMODULE b, ULONG c, LONG d, PSZ e);
1302
1303#undef WinLoadString
1304#define WinLoadString _WinLoadString
1305
1306LONG APIENTRY _WinMultWindowFromIDs(HWND a, PHWND b, ULONG c, ULONG d);
1307
1308#undef WinMultWindowFromIDs
1309#define WinMultWindowFromIDs _WinMultWindowFromIDs
1310
1311HWND APIENTRY _WinQueryDesktopWindow(HAB a, HDC b);
1312
1313#undef WinQueryDesktopWindow
1314#define WinQueryDesktopWindow _WinQueryDesktopWindow
1315
1316HWND APIENTRY _WinQueryObjectWindow(HWND a);
1317
1318#undef WinQueryObjectWindow
1319#define WinQueryObjectWindow _WinQueryObjectWindow
1320
1321HPOINTER APIENTRY _WinQueryPointer(HWND a);
1322
1323#undef WinQueryPointer
1324#define WinQueryPointer _WinQueryPointer
1325
1326HWND APIENTRY _WinQueryWindow(HWND a, LONG b);
1327
1328#undef WinQueryWindow
1329#define WinQueryWindow _WinQueryWindow
1330
1331BOOL APIENTRY _WinQueryWindowPos(HWND a, PSWP b);
1332
1333#undef WinQueryWindowPos
1334#define WinQueryWindowPos _WinQueryWindowPos
1335
1336BOOL APIENTRY _WinQueryWindowProcess(HWND a, PPID b, PTID c);
1337
1338#undef WinQueryWindowProcess
1339#define WinQueryWindowProcess _WinQueryWindowProcess
1340
1341LONG APIENTRY _WinQueryWindowText(HWND a, LONG b, PCH c);
1342
1343#undef WinQueryWindowText
1344#define WinQueryWindowText _WinQueryWindowText
1345
1346LONG APIENTRY _WinQueryWindowTextLength(HWND a);
1347
1348#undef WinQueryWindowTextLength
1349#define WinQueryWindowTextLength _WinQueryWindowTextLength
1350
1351BOOL APIENTRY _WinSetMultWindowPos(HAB a, PSWP b, ULONG c);
1352
1353#undef WinSetMultWindowPos
1354#define WinSetMultWindowPos _WinSetMultWindowPos
1355
1356BOOL APIENTRY _WinSetOwner(HWND a, HWND b);
1357
1358#undef WinSetOwner
1359#define WinSetOwner _WinSetOwner
1360
1361BOOL APIENTRY _WinSetParent(HWND a, HWND b, BOOL c);
1362
1363#undef WinSetParent
1364#define WinSetParent _WinSetParent
1365
1366BOOL APIENTRY _WinSetWindowPos(HWND a, HWND b, LONG c, LONG d, LONG e, LONG f, ULONG g);
1367
1368#undef WinSetWindowPos
1369#define WinSetWindowPos _WinSetWindowPos
1370
1371BOOL APIENTRY _WinSetWindowText(HWND a, PCSZ b);
1372
1373#undef WinSetWindowText
1374#define WinSetWindowText _WinSetWindowText
1375
1376BOOL APIENTRY _WinUpdateWindow(HWND a);
1377
1378#undef WinUpdateWindow
1379#define WinUpdateWindow _WinUpdateWindow
1380
1381HWND APIENTRY _WinWindowFromID(HWND a, ULONG b);
1382
1383#undef WinWindowFromID
1384#define WinWindowFromID _WinWindowFromID
1385
1386#ifdef INCL_WINFRAMEMGR
1387HWND APIENTRY _WinCreateStdWindow(HWND a, ULONG b, PULONG c, PCSZ d, PCSZ e, ULONG f, HMODULE g, ULONG h, PHWND i);
1388
1389#undef WinCreateStdWindow
1390#define WinCreateStdWindow _WinCreateStdWindow
1391
1392BOOL APIENTRY _WinCalcFrameRect(HWND a, PRECTL b, BOOL c);
1393
1394#undef WinCalcFrameRect
1395#define WinCalcFrameRect _WinCalcFrameRect
1396
1397BOOL APIENTRY _WinCreateFrameControls(HWND a, PFRAMECDATA b, PCSZ c);
1398
1399#undef WinCreateFrameControls
1400#define WinCreateFrameControls _WinCreateFrameControls
1401
1402BOOL APIENTRY _WinFlashWindow(HWND a, BOOL b);
1403
1404#undef WinFlashWindow
1405#define WinFlashWindow _WinFlashWindow
1406
1407BOOL APIENTRY _WinGetMaxPosition(HWND a, PSWP b);
1408
1409#undef WinGetMaxPosition
1410#define WinGetMaxPosition _WinGetMaxPosition
1411
1412BOOL APIENTRY _WinGetMinPosition(HWND a, PSWP b, PPOINTL c);
1413
1414#undef WinGetMinPosition
1415#define WinGetMinPosition _WinGetMinPosition
1416
1417BOOL APIENTRY _WinSaveWindowPos(HSAVEWP a, PSWP b, ULONG c);
1418
1419#undef WinSaveWindowPos
1420#define WinSaveWindowPos _WinSaveWindowPos
1421
1422#endif
1423#ifdef INCL_WINWINDOWMGR
1424HPS APIENTRY _WinBeginPaint(HWND a, HPS b, PRECTL c);
1425
1426#undef WinBeginPaint
1427#define WinBeginPaint _WinBeginPaint
1428
1429MRESULT APIENTRY _WinDefWindowProc(HWND a, ULONG b, MPARAM c, MPARAM d);
1430
1431#undef WinDefWindowProc
1432#define WinDefWindowProc _WinDefWindowProc
1433
1434BOOL APIENTRY _WinDestroyWindow(HWND a);
1435
1436#undef WinDestroyWindow
1437#define WinDestroyWindow _WinDestroyWindow
1438
1439BOOL APIENTRY _WinEndPaint(HPS a);
1440
1441#undef WinEndPaint
1442#define WinEndPaint _WinEndPaint
1443
1444BOOL APIENTRY _WinFillRect(HPS a, PRECTL b, LONG c);
1445
1446#undef WinFillRect
1447#define WinFillRect _WinFillRect
1448
1449HPS APIENTRY _WinGetClipPS(HWND a, HWND b, ULONG c);
1450
1451#undef WinGetClipPS
1452#define WinGetClipPS _WinGetClipPS
1453
1454HPS APIENTRY _WinGetPS(HWND a);
1455
1456#undef WinGetPS
1457#define WinGetPS _WinGetPS
1458
1459HAB APIENTRY _WinInitialize(ULONG a);
1460
1461#undef WinInitialize
1462#define WinInitialize _WinInitialize
1463
1464BOOL APIENTRY _WinIsWindowShowing(HWND a);
1465
1466#undef WinIsWindowShowing
1467#define WinIsWindowShowing _WinIsWindowShowing
1468
1469HDC APIENTRY _WinOpenWindowDC(HWND a);
1470
1471#undef WinOpenWindowDC
1472#define WinOpenWindowDC _WinOpenWindowDC
1473
1474HAB APIENTRY _WinQueryAnchorBlock(HWND a);
1475
1476#undef WinQueryAnchorBlock
1477#define WinQueryAnchorBlock _WinQueryAnchorBlock
1478
1479ULONG APIENTRY _WinQueryVersion(HAB a);
1480
1481#undef WinQueryVersion
1482#define WinQueryVersion _WinQueryVersion
1483
1484BOOL APIENTRY _WinQueryWindowRect(HWND a, PRECTL b);
1485
1486#undef WinQueryWindowRect
1487#define WinQueryWindowRect _WinQueryWindowRect
1488
1489BOOL APIENTRY _WinRegisterClass(HAB a, PCSZ b, PFNWP c, ULONG d, ULONG e);
1490
1491#undef WinRegisterClass
1492#define WinRegisterClass _WinRegisterClass
1493
1494BOOL APIENTRY _WinReleasePS(HPS a);
1495
1496#undef WinReleasePS
1497#define WinReleasePS _WinReleasePS
1498
1499LONG APIENTRY _WinScrollWindow(HWND a, LONG b, LONG c, PRECTL d, PRECTL e, HRGN f, PRECTL g, ULONG h);
1500
1501#undef WinScrollWindow
1502#define WinScrollWindow _WinScrollWindow
1503
1504BOOL APIENTRY _WinSetActiveWindow(HWND a, HWND b);
1505
1506#undef WinSetActiveWindow
1507#define WinSetActiveWindow _WinSetActiveWindow
1508
1509BOOL APIENTRY _WinShowWindow(HWND a, BOOL b);
1510
1511#undef WinShowWindow
1512#define WinShowWindow _WinShowWindow
1513
1514BOOL APIENTRY _WinTerminate(HAB a);
1515
1516#undef WinTerminate
1517#define WinTerminate _WinTerminate
1518
1519#endif
1520#ifdef INCL_WINWINDOWMGR
1521HENUM APIENTRY _WinBeginEnumWindows(HWND a);
1522
1523#undef WinBeginEnumWindows
1524#define WinBeginEnumWindows _WinBeginEnumWindows
1525
1526BOOL APIENTRY _WinEndEnumWindows(HENUM a);
1527
1528#undef WinEndEnumWindows
1529#define WinEndEnumWindows _WinEndEnumWindows
1530
1531LONG APIENTRY _WinExcludeUpdateRegion(HPS a, HWND b);
1532
1533#undef WinExcludeUpdateRegion
1534#define WinExcludeUpdateRegion _WinExcludeUpdateRegion
1535
1536HWND APIENTRY _WinGetNextWindow(HENUM a);
1537
1538#undef WinGetNextWindow
1539#define WinGetNextWindow _WinGetNextWindow
1540
1541HPS APIENTRY _WinGetScreenPS(HWND a);
1542
1543#undef WinGetScreenPS
1544#define WinGetScreenPS _WinGetScreenPS
1545
1546BOOL APIENTRY _WinIsThreadActive(HAB a);
1547
1548#undef WinIsThreadActive
1549#define WinIsThreadActive _WinIsThreadActive
1550
1551BOOL APIENTRY _WinLockVisRegions(HWND a, BOOL b);
1552
1553#undef WinLockVisRegions
1554#define WinLockVisRegions _WinLockVisRegions
1555
1556BOOL APIENTRY _WinLockWindowUpdate(HWND a, HWND b);
1557
1558#undef WinLockWindowUpdate
1559#define WinLockWindowUpdate _WinLockWindowUpdate
1560
1561BOOL APIENTRY _WinMapWindowPoints(HWND a, HWND b, PPOINTL c, LONG d);
1562
1563#undef WinMapWindowPoints
1564#define WinMapWindowPoints _WinMapWindowPoints
1565
1566HWND APIENTRY _WinQueryActiveWindow(HWND a);
1567
1568#undef WinQueryActiveWindow
1569#define WinQueryActiveWindow _WinQueryActiveWindow
1570
1571BOOL APIENTRY _WinQueryClassInfo(HAB a, PCSZ b, PCLASSINFO c);
1572
1573#undef WinQueryClassInfo
1574#define WinQueryClassInfo _WinQueryClassInfo
1575
1576LONG APIENTRY _WinQueryClassName(HWND a, LONG b, PCH c);
1577
1578#undef WinQueryClassName
1579#define WinQueryClassName _WinQueryClassName
1580
1581BOOL APIENTRY _WinQueryUpdateRect(HWND a, PRECTL b);
1582
1583#undef WinQueryUpdateRect
1584#define WinQueryUpdateRect _WinQueryUpdateRect
1585
1586LONG APIENTRY _WinQueryUpdateRegion(HWND a, HRGN b);
1587
1588#undef WinQueryUpdateRegion
1589#define WinQueryUpdateRegion _WinQueryUpdateRegion
1590
1591HWND APIENTRY _WinQuerySysModalWindow(HWND a);
1592
1593#undef WinQuerySysModalWindow
1594#define WinQuerySysModalWindow _WinQuerySysModalWindow
1595
1596HDC APIENTRY _WinQueryWindowDC(HWND a);
1597
1598#undef WinQueryWindowDC
1599#define WinQueryWindowDC _WinQueryWindowDC
1600
1601PVOID APIENTRY _WinQueryWindowPtr(HWND a, LONG b);
1602
1603#undef WinQueryWindowPtr
1604#define WinQueryWindowPtr _WinQueryWindowPtr
1605
1606ULONG APIENTRY _WinQueryWindowULong(HWND a, LONG b);
1607
1608#undef WinQueryWindowULong
1609#define WinQueryWindowULong _WinQueryWindowULong
1610
1611USHORT APIENTRY _WinQueryWindowUShort(HWND a, LONG b);
1612
1613#undef WinQueryWindowUShort
1614#define WinQueryWindowUShort _WinQueryWindowUShort
1615
1616BOOL APIENTRY _WinSetSysModalWindow(HWND a, HWND b);
1617
1618#undef WinSetSysModalWindow
1619#define WinSetSysModalWindow _WinSetSysModalWindow
1620
1621BOOL APIENTRY _WinSetWindowBits(HWND a, LONG b, ULONG c, ULONG d);
1622
1623#undef WinSetWindowBits
1624#define WinSetWindowBits _WinSetWindowBits
1625
1626BOOL APIENTRY _WinSetWindowPtr(HWND a, LONG b, PVOID c);
1627
1628#undef WinSetWindowPtr
1629#define WinSetWindowPtr _WinSetWindowPtr
1630
1631BOOL APIENTRY _WinSetWindowULong(HWND a, LONG b, ULONG c);
1632
1633#undef WinSetWindowULong
1634#define WinSetWindowULong _WinSetWindowULong
1635
1636BOOL APIENTRY _WinSetWindowUShort(HWND a, LONG b, USHORT c);
1637
1638#undef WinSetWindowUShort
1639#define WinSetWindowUShort _WinSetWindowUShort
1640
1641PFNWP APIENTRY _WinSubclassWindow(HWND a, PFNWP b);
1642
1643#undef WinSubclassWindow
1644#define WinSubclassWindow _WinSubclassWindow
1645
1646BOOL APIENTRY _WinValidateRect(HWND a, PRECTL b, BOOL c);
1647
1648#undef WinValidateRect
1649#define WinValidateRect _WinValidateRect
1650
1651BOOL APIENTRY _WinValidateRegion(HWND a, HRGN b, BOOL c);
1652
1653#undef WinValidateRegion
1654#define WinValidateRegion _WinValidateRegion
1655
1656HWND APIENTRY _WinWindowFromDC(HDC a);
1657
1658#undef WinWindowFromDC
1659#define WinWindowFromDC _WinWindowFromDC
1660
1661HWND APIENTRY _WinWindowFromPoint(HWND a, PPOINTL b, BOOL c);
1662
1663#undef WinWindowFromPoint
1664#define WinWindowFromPoint _WinWindowFromPoint
1665
1666#endif
1667#ifdef INCL_WINACCELERATORS
1668ULONG APIENTRY _WinCopyAccelTable(HACCEL a, PACCELTABLE b, ULONG c);
1669
1670#undef WinCopyAccelTable
1671#define WinCopyAccelTable _WinCopyAccelTable
1672
1673HACCEL APIENTRY _WinCreateAccelTable(HAB a, PACCELTABLE b);
1674
1675#undef WinCreateAccelTable
1676#define WinCreateAccelTable _WinCreateAccelTable
1677
1678BOOL APIENTRY _WinDestroyAccelTable(HACCEL a);
1679
1680#undef WinDestroyAccelTable
1681#define WinDestroyAccelTable _WinDestroyAccelTable
1682
1683HACCEL APIENTRY _WinLoadAccelTable(HAB a, HMODULE b, ULONG c);
1684
1685#undef WinLoadAccelTable
1686#define WinLoadAccelTable _WinLoadAccelTable
1687
1688HACCEL APIENTRY _WinQueryAccelTable(HAB a, HWND b);
1689
1690#undef WinQueryAccelTable
1691#define WinQueryAccelTable _WinQueryAccelTable
1692
1693BOOL APIENTRY _WinSetAccelTable(HAB a, HACCEL b, HWND c);
1694
1695#undef WinSetAccelTable
1696#define WinSetAccelTable _WinSetAccelTable
1697
1698BOOL APIENTRY _WinTranslateAccel(HAB a, HWND b, HACCEL c, PQMSG d);
1699
1700#undef WinTranslateAccel
1701#define WinTranslateAccel _WinTranslateAccel
1702
1703#endif
1704#ifdef INCL_WINATOM
1705ATOM APIENTRY _WinAddAtom(HATOMTBL a, PCSZ b);
1706
1707#undef WinAddAtom
1708#define WinAddAtom _WinAddAtom
1709
1710HATOMTBL APIENTRY _WinCreateAtomTable(ULONG a, ULONG b);
1711
1712#undef WinCreateAtomTable
1713#define WinCreateAtomTable _WinCreateAtomTable
1714
1715ATOM APIENTRY _WinDeleteAtom(HATOMTBL a, ATOM b);
1716
1717#undef WinDeleteAtom
1718#define WinDeleteAtom _WinDeleteAtom
1719
1720HATOMTBL APIENTRY _WinDestroyAtomTable(HATOMTBL a);
1721
1722#undef WinDestroyAtomTable
1723#define WinDestroyAtomTable _WinDestroyAtomTable
1724
1725ATOM APIENTRY _WinFindAtom(HATOMTBL a, PCSZ b);
1726
1727#undef WinFindAtom
1728#define WinFindAtom _WinFindAtom
1729
1730ULONG APIENTRY _WinQueryAtomLength(HATOMTBL a, ATOM b);
1731
1732#undef WinQueryAtomLength
1733#define WinQueryAtomLength _WinQueryAtomLength
1734
1735ULONG APIENTRY _WinQueryAtomName(HATOMTBL a, ATOM b, PSZ c, ULONG d);
1736
1737#undef WinQueryAtomName
1738#define WinQueryAtomName _WinQueryAtomName
1739
1740ULONG APIENTRY _WinQueryAtomUsage(HATOMTBL a, ATOM b);
1741
1742#undef WinQueryAtomUsage
1743#define WinQueryAtomUsage _WinQueryAtomUsage
1744
1745HATOMTBL APIENTRY _WinQuerySystemAtomTable();
1746
1747#undef WinQuerySystemAtomTable
1748#define WinQuerySystemAtomTable _WinQuerySystemAtomTable
1749
1750#endif
1751#ifdef INCL_WINCLIPBOARD
1752BOOL APIENTRY _WinCloseClipbrd(HAB a);
1753
1754#undef WinCloseClipbrd
1755#define WinCloseClipbrd _WinCloseClipbrd
1756
1757BOOL APIENTRY _WinEmptyClipbrd(HAB a);
1758
1759#undef WinEmptyClipbrd
1760#define WinEmptyClipbrd _WinEmptyClipbrd
1761
1762ULONG APIENTRY _WinEnumClipbrdFmts(HAB a, ULONG b);
1763
1764#undef WinEnumClipbrdFmts
1765#define WinEnumClipbrdFmts _WinEnumClipbrdFmts
1766
1767BOOL APIENTRY _WinOpenClipbrd(HAB a);
1768
1769#undef WinOpenClipbrd
1770#define WinOpenClipbrd _WinOpenClipbrd
1771
1772ULONG APIENTRY _WinQueryClipbrdData(HAB a, ULONG b);
1773
1774#undef WinQueryClipbrdData
1775#define WinQueryClipbrdData _WinQueryClipbrdData
1776
1777BOOL APIENTRY _WinQueryClipbrdFmtInfo(HAB a, ULONG b, PULONG c);
1778
1779#undef WinQueryClipbrdFmtInfo
1780#define WinQueryClipbrdFmtInfo _WinQueryClipbrdFmtInfo
1781
1782HWND APIENTRY _WinQueryClipbrdOwner(HAB a);
1783
1784#undef WinQueryClipbrdOwner
1785#define WinQueryClipbrdOwner _WinQueryClipbrdOwner
1786
1787HWND APIENTRY _WinQueryClipbrdViewer(HAB a);
1788
1789#undef WinQueryClipbrdViewer
1790#define WinQueryClipbrdViewer _WinQueryClipbrdViewer
1791
1792BOOL APIENTRY _WinSetClipbrdData(HAB a, ULONG b, ULONG c, ULONG d);
1793
1794#undef WinSetClipbrdData
1795#define WinSetClipbrdData _WinSetClipbrdData
1796
1797BOOL APIENTRY _WinSetClipbrdOwner(HAB a, HWND b);
1798
1799#undef WinSetClipbrdOwner
1800#define WinSetClipbrdOwner _WinSetClipbrdOwner
1801
1802BOOL APIENTRY _WinSetClipbrdViewer(HAB a, HWND b);
1803
1804#undef WinSetClipbrdViewer
1805#define WinSetClipbrdViewer _WinSetClipbrdViewer
1806
1807
1808BOOL APIENTRY __OpenClipbrd(HAB a, HWND b);
1809
1810#undef _OpenClipbrd
1811#define _OpenClipbrd __OpenClipbrd
1812
1813BOOL APIENTRY _Win32AddClipbrdViewer(HWND a);
1814
1815#undef Win32AddClipbrdViewer
1816#define Win32AddClipbrdViewer _Win32AddClipbrdViewer
1817
1818BOOL APIENTRY _Win32RemoveClipbrdViewer(HWND a);
1819
1820#undef Win32RemoveClipbrdViewer
1821#define Win32RemoveClipbrdViewer _Win32RemoveClipbrdViewer
1822
1823HWND APIENTRY _Win32QueryClipbrdViewerChain();
1824
1825#undef Win32QueryClipbrdViewerChain
1826#define Win32QueryClipbrdViewerChain _Win32QueryClipbrdViewerChain
1827
1828HWND APIENTRY _Win32QueryOpenClipbrdWindow();
1829
1830#undef Win32QueryOpenClipbrdWindow
1831#define Win32QueryOpenClipbrdWindow _Win32QueryOpenClipbrdWindow
1832
1833#endif
1834#ifdef INCL_WINDDE
1835BOOL APIENTRY _WinDdeInitiate(HWND a, PCSZ b, PCSZ c, PCONVCONTEXT d);
1836
1837#undef WinDdeInitiate
1838#define WinDdeInitiate _WinDdeInitiate
1839
1840BOOL APIENTRY _WinDdePostMsg(HWND a, HWND b, ULONG c, PDDESTRUCT d, ULONG e);
1841
1842#undef WinDdePostMsg
1843#define WinDdePostMsg _WinDdePostMsg
1844
1845MRESULT APIENTRY _WinDdeRespond(HWND a, HWND b, PCSZ c, PCSZ d, PCONVCONTEXT e);
1846
1847#undef WinDdeRespond
1848#define WinDdeRespond _WinDdeRespond
1849
1850#endif
1851#ifdef INCL_WINCOUNTRY
1852ULONG APIENTRY _WinCompareStrings(HAB a, ULONG b, ULONG c, PCSZ d, PCSZ e, ULONG f);
1853
1854#undef WinCompareStrings
1855#define WinCompareStrings _WinCompareStrings
1856
1857UCHAR APIENTRY _WinCpTranslateChar(HAB a, ULONG b, UCHAR c, ULONG d);
1858
1859#undef WinCpTranslateChar
1860#define WinCpTranslateChar _WinCpTranslateChar
1861
1862BOOL APIENTRY _WinCpTranslateString(HAB a, ULONG b, PCSZ c, ULONG d, ULONG e, PSZ f);
1863
1864#undef WinCpTranslateString
1865#define WinCpTranslateString _WinCpTranslateString
1866
1867PCSZ APIENTRY _WinNextChar(HAB a, ULONG b, ULONG c, PCSZ d);
1868
1869#undef WinNextChar
1870#define WinNextChar _WinNextChar
1871
1872PCSZ APIENTRY _WinPrevChar(HAB a, ULONG b, ULONG c, PCSZ d, PCSZ e);
1873
1874#undef WinPrevChar
1875#define WinPrevChar _WinPrevChar
1876
1877ULONG APIENTRY _WinQueryCp(HMQ a);
1878
1879#undef WinQueryCp
1880#define WinQueryCp _WinQueryCp
1881
1882ULONG APIENTRY _WinQueryCpList(HAB a, ULONG b, PULONG c);
1883
1884#undef WinQueryCpList
1885#define WinQueryCpList _WinQueryCpList
1886
1887BOOL APIENTRY _WinSetCp(HMQ a, ULONG b);
1888
1889#undef WinSetCp
1890#define WinSetCp _WinSetCp
1891
1892ULONG APIENTRY _WinUpper(HAB a, ULONG b, ULONG c, PSZ d);
1893
1894#undef WinUpper
1895#define WinUpper _WinUpper
1896
1897ULONG APIENTRY _WinUpperChar(HAB a, ULONG b, ULONG c, ULONG d);
1898
1899#undef WinUpperChar
1900#define WinUpperChar _WinUpperChar
1901
1902#endif
1903#ifdef INCL_WINCURSORS
1904BOOL APIENTRY _WinCreateCursor(HWND a, LONG b, LONG c, LONG d, LONG e, ULONG f, PRECTL g);
1905
1906#undef WinCreateCursor
1907#define WinCreateCursor _WinCreateCursor
1908
1909BOOL APIENTRY _WinDestroyCursor(HWND a);
1910
1911#undef WinDestroyCursor
1912#define WinDestroyCursor _WinDestroyCursor
1913
1914BOOL APIENTRY _WinShowCursor(HWND a, BOOL b);
1915
1916#undef WinShowCursor
1917#define WinShowCursor _WinShowCursor
1918
1919BOOL APIENTRY _WinQueryCursorInfo(HWND a, PCURSORINFO b);
1920
1921#undef WinQueryCursorInfo
1922#define WinQueryCursorInfo _WinQueryCursorInfo
1923
1924#endif
1925#ifdef INCL_WINDESKTOP
1926BOOL APIENTRY _WinQueryDesktopBkgnd(HWND a, PDESKTOP b);
1927
1928#undef WinQueryDesktopBkgnd
1929#define WinQueryDesktopBkgnd _WinQueryDesktopBkgnd
1930
1931HBITMAP APIENTRY _WinSetDesktopBkgnd(HWND a, PDESKTOP b);
1932
1933#undef WinSetDesktopBkgnd
1934#define WinSetDesktopBkgnd _WinSetDesktopBkgnd
1935
1936#endif
1937#ifdef INCL_WINDIALOGS
1938BOOL APIENTRY _WinAlarm(HWND a, ULONG b);
1939
1940#undef WinAlarm
1941#define WinAlarm _WinAlarm
1942
1943MRESULT APIENTRY _WinDefDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d);
1944
1945#undef WinDefDlgProc
1946#define WinDefDlgProc _WinDefDlgProc
1947
1948BOOL APIENTRY _WinDismissDlg(HWND a, ULONG b);
1949
1950#undef WinDismissDlg
1951#define WinDismissDlg _WinDismissDlg
1952
1953ULONG APIENTRY _WinDlgBox(HWND a, HWND b, PFNWP c, HMODULE d, ULONG e, PVOID f);
1954
1955#undef WinDlgBox
1956#define WinDlgBox _WinDlgBox
1957
1958BOOL APIENTRY _WinGetDlgMsg(HWND a, PQMSG b);
1959
1960#undef WinGetDlgMsg
1961#define WinGetDlgMsg _WinGetDlgMsg
1962
1963HWND APIENTRY _WinLoadDlg(HWND a, HWND b, PFNWP c, HMODULE d, ULONG e, PVOID f);
1964
1965#undef WinLoadDlg
1966#define WinLoadDlg _WinLoadDlg
1967
1968ULONG APIENTRY _WinMessageBox(HWND a, HWND b, PCSZ c, PCSZ d, ULONG e, ULONG f);
1969
1970#undef WinMessageBox
1971#define WinMessageBox _WinMessageBox
1972
1973ULONG APIENTRY _WinMessageBox2(HWND a, HWND b, PSZ c, PSZ d, ULONG e, PMB2INFO f);
1974
1975#undef WinMessageBox2
1976#define WinMessageBox2 _WinMessageBox2
1977
1978BOOL APIENTRY _WinQueryDlgItemShort(HWND a, ULONG b, PSHORT c, BOOL d);
1979
1980#undef WinQueryDlgItemShort
1981#define WinQueryDlgItemShort _WinQueryDlgItemShort
1982
1983ULONG APIENTRY _WinQueryDlgItemText(HWND a, ULONG b, LONG c, PSZ d);
1984
1985#undef WinQueryDlgItemText
1986#define WinQueryDlgItemText _WinQueryDlgItemText
1987
1988LONG APIENTRY _WinQueryDlgItemTextLength(HWND a, ULONG b);
1989
1990#undef WinQueryDlgItemTextLength
1991#define WinQueryDlgItemTextLength _WinQueryDlgItemTextLength
1992
1993BOOL APIENTRY _WinSetDlgItemShort(HWND a, ULONG b, USHORT c, BOOL d);
1994
1995#undef WinSetDlgItemShort
1996#define WinSetDlgItemShort _WinSetDlgItemShort
1997
1998BOOL APIENTRY _WinSetDlgItemText(HWND a, ULONG b, PCSZ c);
1999
2000#undef WinSetDlgItemText
2001#define WinSetDlgItemText _WinSetDlgItemText
2002
2003HWND APIENTRY _WinCreateDlg(HWND a, HWND b, PFNWP c, PDLGTEMPLATE d, PVOID e);
2004
2005#undef WinCreateDlg
2006#define WinCreateDlg _WinCreateDlg
2007
2008HWND APIENTRY _WinEnumDlgItem(HWND a, HWND b, ULONG c);
2009
2010#undef WinEnumDlgItem
2011#define WinEnumDlgItem _WinEnumDlgItem
2012
2013BOOL APIENTRY _WinMapDlgPoints(HWND a, PPOINTL b, ULONG c, BOOL d);
2014
2015#undef WinMapDlgPoints
2016#define WinMapDlgPoints _WinMapDlgPoints
2017
2018ULONG APIENTRY _WinProcessDlg(HWND a);
2019
2020#undef WinProcessDlg
2021#define WinProcessDlg _WinProcessDlg
2022
2023MRESULT APIENTRY _WinSendDlgItemMsg(HWND a, ULONG b, ULONG c, MPARAM d, MPARAM e);
2024
2025#undef WinSendDlgItemMsg
2026#define WinSendDlgItemMsg _WinSendDlgItemMsg
2027
2028LONG APIENTRY _WinSubstituteStrings(HWND a, PCSZ b, LONG c, PSZ d);
2029
2030#undef WinSubstituteStrings
2031#define WinSubstituteStrings _WinSubstituteStrings
2032
2033#endif
2034#ifdef INCL_WINERRORS
2035ERRORID APIENTRY _WinGetLastError(HAB a);
2036
2037#undef WinGetLastError
2038#define WinGetLastError _WinGetLastError
2039
2040BOOL APIENTRY _WinFreeErrorInfo(PERRINFO a);
2041
2042#undef WinFreeErrorInfo
2043#define WinFreeErrorInfo _WinFreeErrorInfo
2044
2045PERRINFO APIENTRY _WinGetErrorInfo(HAB a);
2046
2047#undef WinGetErrorInfo
2048#define WinGetErrorInfo _WinGetErrorInfo
2049
2050#endif
2051#ifdef INCL_WINHOOKS
2052BOOL APIENTRY _WinCallMsgFilter(HAB a, PQMSG b, ULONG c);
2053
2054#undef WinCallMsgFilter
2055#define WinCallMsgFilter _WinCallMsgFilter
2056
2057BOOL APIENTRY _WinReleaseHook(HAB a, HMQ b, LONG c, PFN d, HMODULE e);
2058
2059#undef WinReleaseHook
2060#define WinReleaseHook _WinReleaseHook
2061
2062BOOL APIENTRY _WinSetHook(HAB a, HMQ b, LONG c, PFN d, HMODULE e);
2063
2064#undef WinSetHook
2065#define WinSetHook _WinSetHook
2066
2067#endif
2068#ifdef INCL_WININPUT
2069BOOL APIENTRY _WinFocusChange(HWND a, HWND b, ULONG c);
2070
2071#undef WinFocusChange
2072#define WinFocusChange _WinFocusChange
2073
2074BOOL APIENTRY _WinLockupSystem(HAB a);
2075
2076#undef WinLockupSystem
2077#define WinLockupSystem _WinLockupSystem
2078
2079BOOL APIENTRY _WinSetFocus(HWND a, HWND b);
2080
2081#undef WinSetFocus
2082#define WinSetFocus _WinSetFocus
2083
2084BOOL APIENTRY _WinUnlockSystem(HAB a, PSZ b);
2085
2086#undef WinUnlockSystem
2087#define WinUnlockSystem _WinUnlockSystem
2088
2089BOOL APIENTRY _WinCheckInput(HAB a);
2090
2091#undef WinCheckInput
2092#define WinCheckInput _WinCheckInput
2093
2094BOOL APIENTRY _WinEnablePhysInput(HWND a, BOOL b);
2095
2096#undef WinEnablePhysInput
2097#define WinEnablePhysInput _WinEnablePhysInput
2098
2099LONG APIENTRY _WinGetKeyState(HWND a, LONG b);
2100
2101#undef WinGetKeyState
2102#define WinGetKeyState _WinGetKeyState
2103
2104LONG APIENTRY _WinGetPhysKeyState(HWND a, LONG b);
2105
2106#undef WinGetPhysKeyState
2107#define WinGetPhysKeyState _WinGetPhysKeyState
2108
2109BOOL APIENTRY _WinIsPhysInputEnabled(HWND a);
2110
2111#undef WinIsPhysInputEnabled
2112#define WinIsPhysInputEnabled _WinIsPhysInputEnabled
2113
2114HWND APIENTRY _WinQueryCapture(HWND a);
2115
2116#undef WinQueryCapture
2117#define WinQueryCapture _WinQueryCapture
2118
2119HWND APIENTRY _WinQueryFocus(HWND a);
2120
2121#undef WinQueryFocus
2122#define WinQueryFocus _WinQueryFocus
2123
2124ULONG APIENTRY _WinQueryVisibleRegion(HWND a, HRGN b);
2125
2126#undef WinQueryVisibleRegion
2127#define WinQueryVisibleRegion _WinQueryVisibleRegion
2128
2129BOOL APIENTRY _WinSetCapture(HWND a, HWND b);
2130
2131#undef WinSetCapture
2132#define WinSetCapture _WinSetCapture
2133
2134BOOL APIENTRY _WinSetKeyboardStateTable(HWND a, PBYTE b, BOOL c);
2135
2136#undef WinSetKeyboardStateTable
2137#define WinSetKeyboardStateTable _WinSetKeyboardStateTable
2138
2139BOOL APIENTRY _WinSetVisibleRegionNotify(HWND a, BOOL b);
2140
2141#undef WinSetVisibleRegionNotify
2142#define WinSetVisibleRegionNotify _WinSetVisibleRegionNotify
2143
2144#endif
2145#ifdef INCL_WINLOAD
2146BOOL APIENTRY _WinDeleteLibrary(HAB a, HLIB b);
2147
2148#undef WinDeleteLibrary
2149#define WinDeleteLibrary _WinDeleteLibrary
2150
2151BOOL APIENTRY _WinDeleteProcedure(HAB a, PFNWP b);
2152
2153#undef WinDeleteProcedure
2154#define WinDeleteProcedure _WinDeleteProcedure
2155
2156HLIB APIENTRY _WinLoadLibrary(HAB a, PCSZ b);
2157
2158#undef WinLoadLibrary
2159#define WinLoadLibrary _WinLoadLibrary
2160
2161PFNWP APIENTRY _WinLoadProcedure(HAB a, HLIB b, PSZ c);
2162
2163#undef WinLoadProcedure
2164#define WinLoadProcedure _WinLoadProcedure
2165
2166#endif
2167#ifdef INCL_WINMENUS
2168HWND APIENTRY _WinCreateMenu(HWND a, PVOID b);
2169
2170#undef WinCreateMenu
2171#define WinCreateMenu _WinCreateMenu
2172
2173HWND APIENTRY _WinLoadMenu(HWND a, HMODULE b, ULONG c);
2174
2175#undef WinLoadMenu
2176#define WinLoadMenu _WinLoadMenu
2177
2178BOOL APIENTRY _WinPopupMenu(HWND a, HWND b, HWND c, LONG d, LONG e, LONG f, ULONG g);
2179
2180#undef WinPopupMenu
2181#define WinPopupMenu _WinPopupMenu
2182
2183#endif
2184#ifdef INCL_WINMESSAGEMGR
2185BOOL APIENTRY _WinBroadcastMsg(HWND a, ULONG b, MPARAM c, MPARAM d, ULONG e);
2186
2187#undef WinBroadcastMsg
2188#define WinBroadcastMsg _WinBroadcastMsg
2189
2190BOOL APIENTRY _WinInSendMsg(HAB a);
2191
2192#undef WinInSendMsg
2193#define WinInSendMsg _WinInSendMsg
2194
2195BOOL APIENTRY _WinPostQueueMsg(HMQ a, ULONG b, MPARAM c, MPARAM d);
2196
2197#undef WinPostQueueMsg
2198#define WinPostQueueMsg _WinPostQueueMsg
2199
2200BOOL APIENTRY _WinQueryMsgPos(HAB a, PPOINTL b);
2201
2202#undef WinQueryMsgPos
2203#define WinQueryMsgPos _WinQueryMsgPos
2204
2205ULONG APIENTRY _WinQueryMsgTime(HAB a);
2206
2207#undef WinQueryMsgTime
2208#define WinQueryMsgTime _WinQueryMsgTime
2209
2210ULONG APIENTRY _WinQueryQueueStatus(HWND a);
2211
2212#undef WinQueryQueueStatus
2213#define WinQueryQueueStatus _WinQueryQueueStatus
2214
2215ULONG APIENTRY _WinRequestMutexSem(HMTX a, ULONG b);
2216
2217#undef WinRequestMutexSem
2218#define WinRequestMutexSem _WinRequestMutexSem
2219
2220BOOL APIENTRY _WinSetClassMsgInterest(HAB a, PCSZ b, ULONG c, LONG d);
2221
2222#undef WinSetClassMsgInterest
2223#define WinSetClassMsgInterest _WinSetClassMsgInterest
2224
2225BOOL APIENTRY _WinSetMsgInterest(HWND a, ULONG b, LONG c);
2226
2227#undef WinSetMsgInterest
2228#define WinSetMsgInterest _WinSetMsgInterest
2229
2230ULONG APIENTRY _WinWaitEventSem(HEV a, ULONG b);
2231
2232#undef WinWaitEventSem
2233#define WinWaitEventSem _WinWaitEventSem
2234
2235BOOL APIENTRY _WinWaitMsg(HAB a, ULONG b, ULONG c);
2236
2237#undef WinWaitMsg
2238#define WinWaitMsg _WinWaitMsg
2239
2240ULONG APIENTRY _WinWaitMuxWaitSem(HMUX a, ULONG b, PULONG c);
2241
2242#undef WinWaitMuxWaitSem
2243#define WinWaitMuxWaitSem _WinWaitMuxWaitSem
2244
2245#endif
2246#ifdef INCL_WINPALETTE
2247LONG APIENTRY _WinRealizePalette(HWND a, HPS b, PULONG c);
2248
2249#undef WinRealizePalette
2250#define WinRealizePalette _WinRealizePalette
2251
2252#endif
2253#ifdef INCL_WINPOINTERS
2254HPOINTER APIENTRY _WinCreatePointer(HWND a, HBITMAP b, BOOL c, LONG d, LONG e);
2255
2256#undef WinCreatePointer
2257#define WinCreatePointer _WinCreatePointer
2258
2259HPOINTER APIENTRY _WinCreatePointerIndirect(HWND a, PPOINTERINFO b);
2260
2261#undef WinCreatePointerIndirect
2262#define WinCreatePointerIndirect _WinCreatePointerIndirect
2263
2264BOOL APIENTRY _WinDestroyPointer(HPOINTER a);
2265
2266#undef WinDestroyPointer
2267#define WinDestroyPointer _WinDestroyPointer
2268
2269BOOL APIENTRY _WinDrawPointer(HPS a, LONG b, LONG c, HPOINTER d, ULONG e);
2270
2271#undef WinDrawPointer
2272#define WinDrawPointer _WinDrawPointer
2273
2274HBITMAP APIENTRY _WinGetSysBitmap(HWND a, ULONG b);
2275
2276#undef WinGetSysBitmap
2277#define WinGetSysBitmap _WinGetSysBitmap
2278
2279HPOINTER APIENTRY _WinLoadPointer(HWND a, HMODULE b, ULONG c);
2280
2281#undef WinLoadPointer
2282#define WinLoadPointer _WinLoadPointer
2283
2284BOOL APIENTRY _WinLockPointerUpdate(HWND a, HPOINTER b, ULONG c);
2285
2286#undef WinLockPointerUpdate
2287#define WinLockPointerUpdate _WinLockPointerUpdate
2288
2289BOOL APIENTRY _WinQueryPointerPos(HWND a, PPOINTL b);
2290
2291#undef WinQueryPointerPos
2292#define WinQueryPointerPos _WinQueryPointerPos
2293
2294BOOL APIENTRY _WinQueryPointerInfo(HPOINTER a, PPOINTERINFO b);
2295
2296#undef WinQueryPointerInfo
2297#define WinQueryPointerInfo _WinQueryPointerInfo
2298
2299HPOINTER APIENTRY _WinQuerySysPointer(HWND a, LONG b, BOOL c);
2300
2301#undef WinQuerySysPointer
2302#define WinQuerySysPointer _WinQuerySysPointer
2303
2304BOOL APIENTRY _WinQuerySysPointerData(HWND a, ULONG b, PICONINFO c);
2305
2306#undef WinQuerySysPointerData
2307#define WinQuerySysPointerData _WinQuerySysPointerData
2308
2309BOOL APIENTRY _WinSetPointer(HWND a, HPOINTER b);
2310
2311#undef WinSetPointer
2312#define WinSetPointer _WinSetPointer
2313
2314BOOL APIENTRY _WinSetPointerOwner(HPOINTER a, PID b, BOOL c);
2315
2316#undef WinSetPointerOwner
2317#define WinSetPointerOwner _WinSetPointerOwner
2318
2319BOOL APIENTRY _WinSetPointerPos(HWND a, LONG b, LONG c);
2320
2321#undef WinSetPointerPos
2322#define WinSetPointerPos _WinSetPointerPos
2323
2324BOOL APIENTRY _WinSetSysPointerData(HWND a, ULONG b, PICONINFO c);
2325
2326#undef WinSetSysPointerData
2327#define WinSetSysPointerData _WinSetSysPointerData
2328
2329BOOL APIENTRY _WinShowPointer(HWND a, BOOL b);
2330
2331#undef WinShowPointer
2332#define WinShowPointer _WinShowPointer
2333
2334#endif
2335#ifdef INCL_WINRECTANGLES
2336BOOL APIENTRY _WinCopyRect(HAB a, PRECTL b, PRECTL c);
2337
2338#undef WinCopyRect
2339#define WinCopyRect _WinCopyRect
2340
2341BOOL APIENTRY _WinEqualRect(HAB a, PRECTL b, PRECTL c);
2342
2343#undef WinEqualRect
2344#define WinEqualRect _WinEqualRect
2345
2346BOOL APIENTRY _WinInflateRect(HAB a, PRECTL b, LONG c, LONG d);
2347
2348#undef WinInflateRect
2349#define WinInflateRect _WinInflateRect
2350
2351BOOL APIENTRY _WinIntersectRect(HAB a, PRECTL b, PRECTL c, PRECTL d);
2352
2353#undef WinIntersectRect
2354#define WinIntersectRect _WinIntersectRect
2355
2356BOOL APIENTRY _WinIsRectEmpty(HAB a, PRECTL b);
2357
2358#undef WinIsRectEmpty
2359#define WinIsRectEmpty _WinIsRectEmpty
2360
2361BOOL APIENTRY _WinMakePoints(HAB a, PPOINTL b, ULONG c);
2362
2363#undef WinMakePoints
2364#define WinMakePoints _WinMakePoints
2365
2366BOOL APIENTRY _WinMakeRect(HAB a, PRECTL b);
2367
2368#undef WinMakeRect
2369#define WinMakeRect _WinMakeRect
2370
2371BOOL APIENTRY _WinOffsetRect(HAB a, PRECTL b, LONG c, LONG d);
2372
2373#undef WinOffsetRect
2374#define WinOffsetRect _WinOffsetRect
2375
2376BOOL APIENTRY _WinPtInRect(HAB a, PRECTL b, PPOINTL c);
2377
2378#undef WinPtInRect
2379#define WinPtInRect _WinPtInRect
2380
2381BOOL APIENTRY _WinSetRect(HAB a, PRECTL b, LONG c, LONG d, LONG e, LONG f);
2382
2383#undef WinSetRect
2384#define WinSetRect _WinSetRect
2385
2386BOOL APIENTRY _WinSetRectEmpty(HAB a, PRECTL b);
2387
2388#undef WinSetRectEmpty
2389#define WinSetRectEmpty _WinSetRectEmpty
2390
2391BOOL APIENTRY _WinSubtractRect(HAB a, PRECTL b, PRECTL c, PRECTL d);
2392
2393#undef WinSubtractRect
2394#define WinSubtractRect _WinSubtractRect
2395
2396BOOL APIENTRY _WinUnionRect(HAB a, PRECTL b, PRECTL c, PRECTL d);
2397
2398#undef WinUnionRect
2399#define WinUnionRect _WinUnionRect
2400
2401#endif
2402#ifdef INCL_WINSYS
2403LONG APIENTRY _WinQueryControlColors(HWND a, LONG b, ULONG c, ULONG d, PCTLCOLOR e);
2404
2405#undef WinQueryControlColors
2406#define WinQueryControlColors _WinQueryControlColors
2407
2408ULONG APIENTRY _WinQueryPresParam(HWND a, ULONG b, ULONG c, PULONG d, ULONG e, PVOID f, ULONG g);
2409
2410#undef WinQueryPresParam
2411#define WinQueryPresParam _WinQueryPresParam
2412
2413LONG APIENTRY _WinQuerySysColor(HWND a, LONG b, LONG c);
2414
2415#undef WinQuerySysColor
2416#define WinQuerySysColor _WinQuerySysColor
2417
2418LONG APIENTRY _WinQuerySysValue(HWND a, LONG b);
2419
2420#undef WinQuerySysValue
2421#define WinQuerySysValue _WinQuerySysValue
2422
2423BOOL APIENTRY _WinRemovePresParam(HWND a, ULONG b);
2424
2425#undef WinRemovePresParam
2426#define WinRemovePresParam _WinRemovePresParam
2427
2428LONG APIENTRY _WinSetControlColors(HWND a, LONG b, ULONG c, ULONG d, PCTLCOLOR e);
2429
2430#undef WinSetControlColors
2431#define WinSetControlColors _WinSetControlColors
2432
2433BOOL APIENTRY _WinSetPresParam(HWND a, ULONG b, ULONG c, PVOID d);
2434
2435#undef WinSetPresParam
2436#define WinSetPresParam _WinSetPresParam
2437
2438BOOL APIENTRY _WinSetSysColors(HWND a, ULONG b, ULONG c, LONG d, ULONG e, PLONG f);
2439
2440#undef WinSetSysColors
2441#define WinSetSysColors _WinSetSysColors
2442
2443BOOL APIENTRY _WinSetSysValue(HWND a, LONG b, LONG c);
2444
2445#undef WinSetSysValue
2446#define WinSetSysValue _WinSetSysValue
2447
2448#endif
2449#ifdef INCL_WINTHUNKAPI
2450PFN APIENTRY _WinQueryClassThunkProc(PCSZ a);
2451
2452#undef WinQueryClassThunkProc
2453#define WinQueryClassThunkProc _WinQueryClassThunkProc
2454
2455LONG APIENTRY _WinQueryWindowModel(HWND a);
2456
2457#undef WinQueryWindowModel
2458#define WinQueryWindowModel _WinQueryWindowModel
2459
2460PFN APIENTRY _WinQueryWindowThunkProc(HWND a);
2461
2462#undef WinQueryWindowThunkProc
2463#define WinQueryWindowThunkProc _WinQueryWindowThunkProc
2464
2465BOOL APIENTRY _WinSetClassThunkProc(PCSZ a, PFN b);
2466
2467#undef WinSetClassThunkProc
2468#define WinSetClassThunkProc _WinSetClassThunkProc
2469
2470BOOL APIENTRY _WinSetWindowThunkProc(HWND a, PFN b);
2471
2472#undef WinSetWindowThunkProc
2473#define WinSetWindowThunkProc _WinSetWindowThunkProc
2474
2475#endif
2476#ifdef INCL_WINTIMER
2477ULONG APIENTRY _WinGetCurrentTime(HAB a);
2478
2479#undef WinGetCurrentTime
2480#define WinGetCurrentTime _WinGetCurrentTime
2481
2482ULONG APIENTRY _WinStartTimer(HAB a, HWND b, ULONG c, ULONG d);
2483
2484#undef WinStartTimer
2485#define WinStartTimer _WinStartTimer
2486
2487BOOL APIENTRY _WinStopTimer(HAB a, HWND b, ULONG c);
2488
2489#undef WinStopTimer
2490#define WinStopTimer _WinStopTimer
2491
2492#endif
2493#ifdef INCL_WINTRACKRECT
2494BOOL APIENTRY _WinShowTrackRect(HWND a, BOOL b);
2495
2496#undef WinShowTrackRect
2497#define WinShowTrackRect _WinShowTrackRect
2498
2499BOOL APIENTRY _WinTrackRect(HWND a, HPS b, PTRACKINFO c);
2500
2501#undef WinTrackRect
2502#define WinTrackRect _WinTrackRect
2503
2504#endif
2505#endif
2506#ifdef INCL_GPI
2507LONG APIENTRY _GpiAnimatePalette(HPAL a, ULONG b, ULONG c, ULONG d, PULONG e);
2508
2509#undef GpiAnimatePalette
2510#define GpiAnimatePalette _GpiAnimatePalette
2511
2512BOOL APIENTRY _GpiBeginArea(HPS a, ULONG b);
2513
2514#undef GpiBeginArea
2515#define GpiBeginArea _GpiBeginArea
2516
2517BOOL APIENTRY _GpiBeginElement(HPS a, LONG b, PCSZ c);
2518
2519#undef GpiBeginElement
2520#define GpiBeginElement _GpiBeginElement
2521
2522BOOL APIENTRY _GpiBeginPath(HPS a, LONG b);
2523
2524#undef GpiBeginPath
2525#define GpiBeginPath _GpiBeginPath
2526
2527LONG APIENTRY _GpiBox(HPS a, LONG b, PPOINTL c, LONG d, LONG e);
2528
2529#undef GpiBox
2530#define GpiBox _GpiBox
2531
2532LONG APIENTRY _GpiCallSegmentMatrix(HPS a, LONG b, LONG c, PMATRIXLF d, LONG e);
2533
2534#undef GpiCallSegmentMatrix
2535#define GpiCallSegmentMatrix _GpiCallSegmentMatrix
2536
2537LONG APIENTRY _GpiCharString(HPS a, LONG b, PCH c);
2538
2539#undef GpiCharString
2540#define GpiCharString _GpiCharString
2541
2542LONG APIENTRY _GpiCharStringAt(HPS a, PPOINTL b, LONG c, PCH d);
2543
2544#undef GpiCharStringAt
2545#define GpiCharStringAt _GpiCharStringAt
2546
2547LONG APIENTRY _GpiCharStringPos(HPS a, PRECTL b, ULONG c, LONG d, PCH e, PLONG f);
2548
2549#undef GpiCharStringPos
2550#define GpiCharStringPos _GpiCharStringPos
2551
2552LONG APIENTRY _GpiCharStringPosAt(HPS a, PPOINTL b, PRECTL c, ULONG d, LONG e, PCH f, PLONG g);
2553
2554#undef GpiCharStringPosAt
2555#define GpiCharStringPosAt _GpiCharStringPosAt
2556
2557BOOL APIENTRY _GpiCloseFigure(HPS a);
2558
2559#undef GpiCloseFigure
2560#define GpiCloseFigure _GpiCloseFigure
2561
2562LONG APIENTRY _GpiCombineRegion(HPS a, HRGN b, HRGN c, HRGN d, LONG e);
2563
2564#undef GpiCombineRegion
2565#define GpiCombineRegion _GpiCombineRegion
2566
2567BOOL APIENTRY _GpiComment(HPS a, LONG b, PBYTE c);
2568
2569#undef GpiComment
2570#define GpiComment _GpiComment
2571
2572BOOL APIENTRY _GpiConvert(HPS a, LONG b, LONG c, LONG d, PPOINTL e);
2573
2574#undef GpiConvert
2575#define GpiConvert _GpiConvert
2576
2577BOOL APIENTRY _GpiConvertWithMatrix(HPS a, LONG b, PPOINTL c, LONG d, PMATRIXLF e);
2578
2579#undef GpiConvertWithMatrix
2580#define GpiConvertWithMatrix _GpiConvertWithMatrix
2581
2582HMF APIENTRY _GpiCopyMetaFile(HMF a);
2583
2584#undef GpiCopyMetaFile
2585#define GpiCopyMetaFile _GpiCopyMetaFile
2586
2587BOOL APIENTRY _GpiCreateLogColorTable(HPS a, ULONG b, LONG c, LONG d, LONG e, PLONG f);
2588
2589#undef GpiCreateLogColorTable
2590#define GpiCreateLogColorTable _GpiCreateLogColorTable
2591
2592LONG APIENTRY _GpiCreateLogFont(HPS a, STR8 *b, LONG c, PFATTRS d);
2593
2594#undef GpiCreateLogFont
2595#define GpiCreateLogFont _GpiCreateLogFont
2596
2597HPAL APIENTRY _GpiCreatePalette(HAB a, ULONG b, ULONG c, ULONG d, PULONG e);
2598
2599#undef GpiCreatePalette
2600#define GpiCreatePalette _GpiCreatePalette
2601
2602HRGN APIENTRY _GpiCreateRegion(HPS a, LONG b, PRECTL c);
2603
2604#undef GpiCreateRegion
2605#define GpiCreateRegion _GpiCreateRegion
2606
2607BOOL APIENTRY _GpiDeleteElement(HPS a);
2608
2609#undef GpiDeleteElement
2610#define GpiDeleteElement _GpiDeleteElement
2611
2612BOOL APIENTRY _GpiDeleteElementRange(HPS a, LONG b, LONG c);
2613
2614#undef GpiDeleteElementRange
2615#define GpiDeleteElementRange _GpiDeleteElementRange
2616
2617BOOL APIENTRY _GpiDeleteElementsBetweenLabels(HPS a, LONG b, LONG c);
2618
2619#undef GpiDeleteElementsBetweenLabels
2620#define GpiDeleteElementsBetweenLabels _GpiDeleteElementsBetweenLabels
2621
2622BOOL APIENTRY _GpiDeleteMetaFile(HMF a);
2623
2624#undef GpiDeleteMetaFile
2625#define GpiDeleteMetaFile _GpiDeleteMetaFile
2626
2627BOOL APIENTRY _GpiDeletePalette(HPAL a);
2628
2629#undef GpiDeletePalette
2630#define GpiDeletePalette _GpiDeletePalette
2631
2632BOOL APIENTRY _GpiDeleteSetId(HPS a, LONG b);
2633
2634#undef GpiDeleteSetId
2635#define GpiDeleteSetId _GpiDeleteSetId
2636
2637BOOL APIENTRY _GpiDestroyRegion(HPS a, HRGN b);
2638
2639#undef GpiDestroyRegion
2640#define GpiDestroyRegion _GpiDestroyRegion
2641
2642LONG APIENTRY _GpiElement(HPS a, LONG b, PCSZ c, LONG d, PBYTE e);
2643
2644#undef GpiElement
2645#define GpiElement _GpiElement
2646
2647LONG APIENTRY _GpiEndArea(HPS a);
2648
2649#undef GpiEndArea
2650#define GpiEndArea _GpiEndArea
2651
2652BOOL APIENTRY _GpiEndElement(HPS a);
2653
2654#undef GpiEndElement
2655#define GpiEndElement _GpiEndElement
2656
2657BOOL APIENTRY _GpiEndPath(HPS a);
2658
2659#undef GpiEndPath
2660#define GpiEndPath _GpiEndPath
2661
2662LONG APIENTRY _GpiEqualRegion(HPS a, HRGN b, HRGN c);
2663
2664#undef GpiEqualRegion
2665#define GpiEqualRegion _GpiEqualRegion
2666
2667LONG APIENTRY _GpiExcludeClipRectangle(HPS a, PRECTL b);
2668
2669#undef GpiExcludeClipRectangle
2670#define GpiExcludeClipRectangle _GpiExcludeClipRectangle
2671
2672LONG APIENTRY _GpiFillPath(HPS a, LONG b, LONG c);
2673
2674#undef GpiFillPath
2675#define GpiFillPath _GpiFillPath
2676
2677LONG APIENTRY _GpiFrameRegion(HPS a, HRGN b, PSIZEL c);
2678
2679#undef GpiFrameRegion
2680#define GpiFrameRegion _GpiFrameRegion
2681
2682LONG APIENTRY _GpiFullArc(HPS a, LONG b, FIXED c);
2683
2684#undef GpiFullArc
2685#define GpiFullArc _GpiFullArc
2686
2687LONG APIENTRY _GpiImage(HPS a, LONG b, PSIZEL c, LONG d, PBYTE e);
2688
2689#undef GpiImage
2690#define GpiImage _GpiImage
2691
2692LONG APIENTRY _GpiIntersectClipRectangle(HPS a, PRECTL b);
2693
2694#undef GpiIntersectClipRectangle
2695#define GpiIntersectClipRectangle _GpiIntersectClipRectangle
2696
2697BOOL APIENTRY _GpiLabel(HPS a, LONG b);
2698
2699#undef GpiLabel
2700#define GpiLabel _GpiLabel
2701
2702LONG APIENTRY _GpiLine(HPS a, PPOINTL b);
2703
2704#undef GpiLine
2705#define GpiLine _GpiLine
2706
2707BOOL APIENTRY _GpiLoadFonts(HAB a, PCSZ b);
2708
2709#undef GpiLoadFonts
2710#define GpiLoadFonts _GpiLoadFonts
2711
2712HMF APIENTRY _GpiLoadMetaFile(HAB a, PCSZ b);
2713
2714#undef GpiLoadMetaFile
2715#define GpiLoadMetaFile _GpiLoadMetaFile
2716
2717BOOL APIENTRY _GpiLoadPublicFonts(HAB a, PCSZ b);
2718
2719#undef GpiLoadPublicFonts
2720#define GpiLoadPublicFonts _GpiLoadPublicFonts
2721
2722LONG APIENTRY _GpiMarker(HPS a, PPOINTL b);
2723
2724#undef GpiMarker
2725#define GpiMarker _GpiMarker
2726
2727BOOL APIENTRY _GpiModifyPath(HPS a, LONG b, LONG c);
2728
2729#undef GpiModifyPath
2730#define GpiModifyPath _GpiModifyPath
2731
2732BOOL APIENTRY _GpiMove(HPS a, PPOINTL b);
2733
2734#undef GpiMove
2735#define GpiMove _GpiMove
2736
2737LONG APIENTRY _GpiOffsetClipRegion(HPS a, PPOINTL b);
2738
2739#undef GpiOffsetClipRegion
2740#define GpiOffsetClipRegion _GpiOffsetClipRegion
2741
2742BOOL APIENTRY _GpiOffsetElementPointer(HPS a, LONG b);
2743
2744#undef GpiOffsetElementPointer
2745#define GpiOffsetElementPointer _GpiOffsetElementPointer
2746
2747BOOL APIENTRY _GpiOffsetRegion(HPS a, HRGN b, PPOINTL c);
2748
2749#undef GpiOffsetRegion
2750#define GpiOffsetRegion _GpiOffsetRegion
2751
2752LONG APIENTRY _GpiOutlinePath(HPS a, LONG b, LONG c);
2753
2754#undef GpiOutlinePath
2755#define GpiOutlinePath _GpiOutlinePath
2756
2757LONG APIENTRY _GpiPaintRegion(HPS a, HRGN b);
2758
2759#undef GpiPaintRegion
2760#define GpiPaintRegion _GpiPaintRegion
2761
2762LONG APIENTRY _GpiPartialArc(HPS a, PPOINTL b, FIXED c, FIXED d, FIXED e);
2763
2764#undef GpiPartialArc
2765#define GpiPartialArc _GpiPartialArc
2766
2767HRGN APIENTRY _GpiPathToRegion(HPS a, LONG b, LONG c);
2768
2769#undef GpiPathToRegion
2770#define GpiPathToRegion _GpiPathToRegion
2771
2772LONG APIENTRY _GpiPlayMetaFile(HPS a, HMF b, LONG c, PLONG d, PLONG e, LONG f, PSZ g);
2773
2774#undef GpiPlayMetaFile
2775#define GpiPlayMetaFile _GpiPlayMetaFile
2776
2777LONG APIENTRY _GpiPointArc(HPS a, PPOINTL b);
2778
2779#undef GpiPointArc
2780#define GpiPointArc _GpiPointArc
2781
2782LONG APIENTRY _GpiPolyFillet(HPS a, LONG b, PPOINTL c);
2783
2784#undef GpiPolyFillet
2785#define GpiPolyFillet _GpiPolyFillet
2786
2787LONG APIENTRY _GpiPolyFilletSharp(HPS a, LONG b, PPOINTL c, PFIXED d);
2788
2789#undef GpiPolyFilletSharp
2790#define GpiPolyFilletSharp _GpiPolyFilletSharp
2791
2792HRGN APIENTRY _GpiCreatePolygonRegion(HPS a, ULONG b, PPOLYGON c, ULONG d);
2793
2794#undef GpiCreatePolygonRegion
2795#define GpiCreatePolygonRegion _GpiCreatePolygonRegion
2796
2797HRGN APIENTRY _GpiCreateEllipticRegion(HPS a, PRECTL b);
2798
2799#undef GpiCreateEllipticRegion
2800#define GpiCreateEllipticRegion _GpiCreateEllipticRegion
2801
2802HRGN APIENTRY _GpiCreateRoundRectRegion(HPS a, PPOINTL b, LONG c, LONG d);
2803
2804#undef GpiCreateRoundRectRegion
2805#define GpiCreateRoundRectRegion _GpiCreateRoundRectRegion
2806
2807LONG APIENTRY _GpiPolygons(HPS a, ULONG b, PPOLYGON c, ULONG d, ULONG e);
2808
2809#undef GpiPolygons
2810#define GpiPolygons _GpiPolygons
2811
2812LONG APIENTRY _GpiPolyLine(HPS a, LONG b, PPOINTL c);
2813
2814#undef GpiPolyLine
2815#define GpiPolyLine _GpiPolyLine
2816
2817LONG APIENTRY _GpiPolyLineDisjoint(HPS a, LONG b, PPOINTL c);
2818
2819#undef GpiPolyLineDisjoint
2820#define GpiPolyLineDisjoint _GpiPolyLineDisjoint
2821
2822LONG APIENTRY _GpiPolyMarker(HPS a, LONG b, PPOINTL c);
2823
2824#undef GpiPolyMarker
2825#define GpiPolyMarker _GpiPolyMarker
2826
2827LONG APIENTRY _GpiPolySpline(HPS a, LONG b, PPOINTL c);
2828
2829#undef GpiPolySpline
2830#define GpiPolySpline _GpiPolySpline
2831
2832BOOL APIENTRY _GpiPop(HPS a, LONG b);
2833
2834#undef GpiPop
2835#define GpiPop _GpiPop
2836
2837LONG APIENTRY _GpiPtInRegion(HPS a, HRGN b, PPOINTL c);
2838
2839#undef GpiPtInRegion
2840#define GpiPtInRegion _GpiPtInRegion
2841
2842LONG APIENTRY _GpiPtVisible(HPS a, PPOINTL b);
2843
2844#undef GpiPtVisible
2845#define GpiPtVisible _GpiPtVisible
2846
2847BOOL APIENTRY _GpiQueryArcParams(HPS a, PARCPARAMS b);
2848
2849#undef GpiQueryArcParams
2850#define GpiQueryArcParams _GpiQueryArcParams
2851
2852LONG APIENTRY _GpiQueryAttrMode(HPS a);
2853
2854#undef GpiQueryAttrMode
2855#define GpiQueryAttrMode _GpiQueryAttrMode
2856
2857LONG APIENTRY _GpiQueryAttrs(HPS a, LONG b, ULONG c, PBUNDLE d);
2858
2859#undef GpiQueryAttrs
2860#define GpiQueryAttrs _GpiQueryAttrs
2861
2862LONG APIENTRY _GpiQueryBackColor(HPS a);
2863
2864#undef GpiQueryBackColor
2865#define GpiQueryBackColor _GpiQueryBackColor
2866
2867LONG APIENTRY _GpiQueryBackMix(HPS a);
2868
2869#undef GpiQueryBackMix
2870#define GpiQueryBackMix _GpiQueryBackMix
2871
2872BOOL APIENTRY _GpiQueryCharAngle(HPS a, PGRADIENTL b);
2873
2874#undef GpiQueryCharAngle
2875#define GpiQueryCharAngle _GpiQueryCharAngle
2876
2877BOOL APIENTRY _GpiQueryCharBox(HPS a, PSIZEF b);
2878
2879#undef GpiQueryCharBox
2880#define GpiQueryCharBox _GpiQueryCharBox
2881
2882BOOL APIENTRY _GpiQueryCharBreakExtra(HPS a, PFIXED b);
2883
2884#undef GpiQueryCharBreakExtra
2885#define GpiQueryCharBreakExtra _GpiQueryCharBreakExtra
2886
2887LONG APIENTRY _GpiQueryCharDirection(HPS a);
2888
2889#undef GpiQueryCharDirection
2890#define GpiQueryCharDirection _GpiQueryCharDirection
2891
2892BOOL APIENTRY _GpiQueryCharExtra(HPS a, PFIXED b);
2893
2894#undef GpiQueryCharExtra
2895#define GpiQueryCharExtra _GpiQueryCharExtra
2896
2897LONG APIENTRY _GpiQueryCharMode(HPS a);
2898
2899#undef GpiQueryCharMode
2900#define GpiQueryCharMode _GpiQueryCharMode
2901
2902LONG APIENTRY _GpiQueryCharSet(HPS a);
2903
2904#undef GpiQueryCharSet
2905#define GpiQueryCharSet _GpiQueryCharSet
2906
2907BOOL APIENTRY _GpiQueryCharShear(HPS a, PPOINTL b);
2908
2909#undef GpiQueryCharShear
2910#define GpiQueryCharShear _GpiQueryCharShear
2911
2912BOOL APIENTRY _GpiQueryCharStringPos(HPS a, ULONG b, LONG c, PCH d, PLONG e, PPOINTL f);
2913
2914#undef GpiQueryCharStringPos
2915#define GpiQueryCharStringPos _GpiQueryCharStringPos
2916
2917BOOL APIENTRY _GpiQueryCharStringPosAt(HPS a, PPOINTL b, ULONG c, LONG d, PCH e, PLONG f, PPOINTL g);
2918
2919#undef GpiQueryCharStringPosAt
2920#define GpiQueryCharStringPosAt _GpiQueryCharStringPosAt
2921
2922LONG APIENTRY _GpiQueryClipBox(HPS a, PRECTL b);
2923
2924#undef GpiQueryClipBox
2925#define GpiQueryClipBox _GpiQueryClipBox
2926
2927HRGN APIENTRY _GpiQueryClipRegion(HPS a);
2928
2929#undef GpiQueryClipRegion
2930#define GpiQueryClipRegion _GpiQueryClipRegion
2931
2932LONG APIENTRY _GpiQueryColor(HPS a);
2933
2934#undef GpiQueryColor
2935#define GpiQueryColor _GpiQueryColor
2936
2937BOOL APIENTRY _GpiQueryColorData(HPS a, LONG b, PLONG c);
2938
2939#undef GpiQueryColorData
2940#define GpiQueryColorData _GpiQueryColorData
2941
2942LONG APIENTRY _GpiQueryColorIndex(HPS a, ULONG b, LONG c);
2943
2944#undef GpiQueryColorIndex
2945#define GpiQueryColorIndex _GpiQueryColorIndex
2946
2947ULONG APIENTRY _GpiQueryCp(HPS a);
2948
2949#undef GpiQueryCp
2950#define GpiQueryCp _GpiQueryCp
2951
2952BOOL APIENTRY _GpiQueryCurrentPosition(HPS a, PPOINTL b);
2953
2954#undef GpiQueryCurrentPosition
2955#define GpiQueryCurrentPosition _GpiQueryCurrentPosition
2956
2957BOOL APIENTRY _GpiQueryDefArcParams(HPS a, PARCPARAMS b);
2958
2959#undef GpiQueryDefArcParams
2960#define GpiQueryDefArcParams _GpiQueryDefArcParams
2961
2962BOOL APIENTRY _GpiQueryDefAttrs(HPS a, LONG b, ULONG c, PBUNDLE d);
2963
2964#undef GpiQueryDefAttrs
2965#define GpiQueryDefAttrs _GpiQueryDefAttrs
2966
2967BOOL APIENTRY _GpiQueryDefCharBox(HPS a, PSIZEL b);
2968
2969#undef GpiQueryDefCharBox
2970#define GpiQueryDefCharBox _GpiQueryDefCharBox
2971
2972BOOL APIENTRY _GpiQueryDefTag(HPS a, PLONG b);
2973
2974#undef GpiQueryDefTag
2975#define GpiQueryDefTag _GpiQueryDefTag
2976
2977BOOL APIENTRY _GpiQueryDefViewingLimits(HPS a, PRECTL b);
2978
2979#undef GpiQueryDefViewingLimits
2980#define GpiQueryDefViewingLimits _GpiQueryDefViewingLimits
2981
2982BOOL APIENTRY _GpiQueryDefaultViewMatrix(HPS a, LONG b, PMATRIXLF c);
2983
2984#undef GpiQueryDefaultViewMatrix
2985#define GpiQueryDefaultViewMatrix _GpiQueryDefaultViewMatrix
2986
2987LONG APIENTRY _GpiQueryEditMode(HPS a);
2988
2989#undef GpiQueryEditMode
2990#define GpiQueryEditMode _GpiQueryEditMode
2991
2992LONG APIENTRY _GpiQueryElement(HPS a, LONG b, LONG c, PBYTE d);
2993
2994#undef GpiQueryElement
2995#define GpiQueryElement _GpiQueryElement
2996
2997LONG APIENTRY _GpiQueryElementPointer(HPS a);
2998
2999#undef GpiQueryElementPointer
3000#define GpiQueryElementPointer _GpiQueryElementPointer
3001
3002LONG APIENTRY _GpiQueryElementType(HPS a, PLONG b, LONG c, PSZ d);
3003
3004#undef GpiQueryElementType
3005#define GpiQueryElementType _GpiQueryElementType
3006
3007ULONG APIENTRY _GpiQueryFaceString(HPS a, PCSZ b, PFACENAMEDESC c, LONG d, PSZ e);
3008
3009#undef GpiQueryFaceString
3010#define GpiQueryFaceString _GpiQueryFaceString
3011
3012ULONG APIENTRY _GpiQueryFontAction(HAB a, ULONG b);
3013
3014#undef GpiQueryFontAction
3015#define GpiQueryFontAction _GpiQueryFontAction
3016
3017LONG APIENTRY _GpiQueryFontFileDescriptions(HAB a, PCSZ b, PLONG c, PFFDESCS d);
3018
3019#undef GpiQueryFontFileDescriptions
3020#define GpiQueryFontFileDescriptions _GpiQueryFontFileDescriptions
3021
3022BOOL APIENTRY _GpiQueryFontMetrics(HPS a, LONG b, PFONTMETRICS c);
3023
3024#undef GpiQueryFontMetrics
3025#define GpiQueryFontMetrics _GpiQueryFontMetrics
3026
3027LONG APIENTRY _GpiQueryFonts(HPS a, ULONG b, PCSZ c, PLONG d, LONG e, PFONTMETRICS f);
3028
3029#undef GpiQueryFonts
3030#define GpiQueryFonts _GpiQueryFonts
3031
3032LONG APIENTRY _GpiQueryFullFontFileDescs(HAB a, PCSZ b, PLONG c, PVOID d, PLONG e);
3033
3034#undef GpiQueryFullFontFileDescs
3035#define GpiQueryFullFontFileDescs _GpiQueryFullFontFileDescs
3036
3037BOOL APIENTRY _GpiQueryGraphicsField(HPS a, PRECTL b);
3038
3039#undef GpiQueryGraphicsField
3040#define GpiQueryGraphicsField _GpiQueryGraphicsField
3041
3042LONG APIENTRY _GpiQueryKerningPairs(HPS a, LONG b, PKERNINGPAIRS c);
3043
3044#undef GpiQueryKerningPairs
3045#define GpiQueryKerningPairs _GpiQueryKerningPairs
3046
3047LONG APIENTRY _GpiQueryLineEnd(HPS a);
3048
3049#undef GpiQueryLineEnd
3050#define GpiQueryLineEnd _GpiQueryLineEnd
3051
3052LONG APIENTRY _GpiQueryLineJoin(HPS a);
3053
3054#undef GpiQueryLineJoin
3055#define GpiQueryLineJoin _GpiQueryLineJoin
3056
3057LONG APIENTRY _GpiQueryLineType(HPS a);
3058
3059#undef GpiQueryLineType
3060#define GpiQueryLineType _GpiQueryLineType
3061
3062FIXED APIENTRY _GpiQueryLineWidth(HPS a);
3063
3064#undef GpiQueryLineWidth
3065#define GpiQueryLineWidth _GpiQueryLineWidth
3066
3067LONG APIENTRY _GpiQueryLineWidthGeom(HPS a);
3068
3069#undef GpiQueryLineWidthGeom
3070#define GpiQueryLineWidthGeom _GpiQueryLineWidthGeom
3071
3072LONG APIENTRY _GpiQueryLogColorTable(HPS a, ULONG b, LONG c, LONG d, PLONG e);
3073
3074#undef GpiQueryLogColorTable
3075#define GpiQueryLogColorTable _GpiQueryLogColorTable
3076
3077BOOL APIENTRY _GpiQueryLogicalFont(HPS a, LONG b, PSTR8 c, PFATTRS d, LONG e);
3078
3079#undef GpiQueryLogicalFont
3080#define GpiQueryLogicalFont _GpiQueryLogicalFont
3081
3082LONG APIENTRY _GpiQueryMarker(HPS a);
3083
3084#undef GpiQueryMarker
3085#define GpiQueryMarker _GpiQueryMarker
3086
3087BOOL APIENTRY _GpiQueryMarkerBox(HPS a, PSIZEF b);
3088
3089#undef GpiQueryMarkerBox
3090#define GpiQueryMarkerBox _GpiQueryMarkerBox
3091
3092LONG APIENTRY _GpiQueryMarkerSet(HPS a);
3093
3094#undef GpiQueryMarkerSet
3095#define GpiQueryMarkerSet _GpiQueryMarkerSet
3096
3097BOOL APIENTRY _GpiQueryMetaFileBits(HMF a, LONG b, LONG c, PBYTE d);
3098
3099#undef GpiQueryMetaFileBits
3100#define GpiQueryMetaFileBits _GpiQueryMetaFileBits
3101
3102LONG APIENTRY _GpiQueryMetaFileLength(HMF a);
3103
3104#undef GpiQueryMetaFileLength
3105#define GpiQueryMetaFileLength _GpiQueryMetaFileLength
3106
3107LONG APIENTRY _GpiQueryMix(HPS a);
3108
3109#undef GpiQueryMix
3110#define GpiQueryMix _GpiQueryMix
3111
3112BOOL APIENTRY _GpiQueryModelTransformMatrix(HPS a, LONG b, PMATRIXLF c);
3113
3114#undef GpiQueryModelTransformMatrix
3115#define GpiQueryModelTransformMatrix _GpiQueryModelTransformMatrix
3116
3117LONG APIENTRY _GpiQueryNearestColor(HPS a, ULONG b, LONG c);
3118
3119#undef GpiQueryNearestColor
3120#define GpiQueryNearestColor _GpiQueryNearestColor
3121
3122LONG APIENTRY _GpiQueryNumberSetIds(HPS a);
3123
3124#undef GpiQueryNumberSetIds
3125#define GpiQueryNumberSetIds _GpiQueryNumberSetIds
3126
3127BOOL APIENTRY _GpiQueryPageViewport(HPS a, PRECTL b);
3128
3129#undef GpiQueryPageViewport
3130#define GpiQueryPageViewport _GpiQueryPageViewport
3131
3132HPAL APIENTRY _GpiQueryPalette(HPS a);
3133
3134#undef GpiQueryPalette
3135#define GpiQueryPalette _GpiQueryPalette
3136
3137LONG APIENTRY _GpiQueryPaletteInfo(HPAL a, HPS b, ULONG c, ULONG d, ULONG e, PULONG f);
3138
3139#undef GpiQueryPaletteInfo
3140#define GpiQueryPaletteInfo _GpiQueryPaletteInfo
3141
3142LONG APIENTRY _GpiQueryPattern(HPS a);
3143
3144#undef GpiQueryPattern
3145#define GpiQueryPattern _GpiQueryPattern
3146
3147BOOL APIENTRY _GpiQueryPatternRefPoint(HPS a, PPOINTL b);
3148
3149#undef GpiQueryPatternRefPoint
3150#define GpiQueryPatternRefPoint _GpiQueryPatternRefPoint
3151
3152LONG APIENTRY _GpiQueryPatternSet(HPS a);
3153
3154#undef GpiQueryPatternSet
3155#define GpiQueryPatternSet _GpiQueryPatternSet
3156
3157LONG APIENTRY _GpiQueryRealColors(HPS a, ULONG b, LONG c, LONG d, PLONG e);
3158
3159#undef GpiQueryRealColors
3160#define GpiQueryRealColors _GpiQueryRealColors
3161
3162LONG APIENTRY _GpiQueryRegionBox(HPS a, HRGN b, PRECTL c);
3163
3164#undef GpiQueryRegionBox
3165#define GpiQueryRegionBox _GpiQueryRegionBox
3166
3167BOOL APIENTRY _GpiQueryRegionRects(HPS a, HRGN b, PRECTL c, PRGNRECT d, PRECTL e);
3168
3169#undef GpiQueryRegionRects
3170#define GpiQueryRegionRects _GpiQueryRegionRects
3171
3172LONG APIENTRY _GpiQueryRGBColor(HPS a, ULONG b, LONG c);
3173
3174#undef GpiQueryRGBColor
3175#define GpiQueryRGBColor _GpiQueryRGBColor
3176
3177BOOL APIENTRY _GpiQuerySegmentTransformMatrix(HPS a, LONG b, LONG c, PMATRIXLF d);
3178
3179#undef GpiQuerySegmentTransformMatrix
3180#define GpiQuerySegmentTransformMatrix _GpiQuerySegmentTransformMatrix
3181
3182BOOL APIENTRY _GpiQuerySetIds(HPS a, LONG b, PLONG c, PSTR8 d, PLONG e);
3183
3184#undef GpiQuerySetIds
3185#define GpiQuerySetIds _GpiQuerySetIds
3186
3187BOOL APIENTRY _GpiQueryTextAlignment(HPS a, PLONG b, PLONG c);
3188
3189#undef GpiQueryTextAlignment
3190#define GpiQueryTextAlignment _GpiQueryTextAlignment
3191
3192BOOL APIENTRY _GpiQueryTextBox(HPS a, LONG b, PCH c, LONG d, PPOINTL e);
3193
3194#undef GpiQueryTextBox
3195#define GpiQueryTextBox _GpiQueryTextBox
3196
3197BOOL APIENTRY _GpiQueryViewingLimits(HPS a, PRECTL b);
3198
3199#undef GpiQueryViewingLimits
3200#define GpiQueryViewingLimits _GpiQueryViewingLimits
3201
3202BOOL APIENTRY _GpiQueryViewingTransformMatrix(HPS a, LONG b, PMATRIXLF c);
3203
3204#undef GpiQueryViewingTransformMatrix
3205#define GpiQueryViewingTransformMatrix _GpiQueryViewingTransformMatrix
3206
3207BOOL APIENTRY _GpiQueryWidthTable(HPS a, LONG b, LONG c, PLONG d);
3208
3209#undef GpiQueryWidthTable
3210#define GpiQueryWidthTable _GpiQueryWidthTable
3211
3212LONG APIENTRY _GpiRectInRegion(HPS a, HRGN b, PRECTL c);
3213
3214#undef GpiRectInRegion
3215#define GpiRectInRegion _GpiRectInRegion
3216
3217LONG APIENTRY _GpiRectVisible(HPS a, PRECTL b);
3218
3219#undef GpiRectVisible
3220#define GpiRectVisible _GpiRectVisible
3221
3222BOOL APIENTRY _GpiRotate(HPS a, PMATRIXLF b, LONG c, FIXED d, PPOINTL e);
3223
3224#undef GpiRotate
3225#define GpiRotate _GpiRotate
3226
3227BOOL APIENTRY _GpiSaveMetaFile(HMF a, PCSZ b);
3228
3229#undef GpiSaveMetaFile
3230#define GpiSaveMetaFile _GpiSaveMetaFile
3231
3232BOOL APIENTRY _GpiScale(HPS a, PMATRIXLF b, LONG c, PFIXED d, PPOINTL e);
3233
3234#undef GpiScale
3235#define GpiScale _GpiScale
3236
3237HPAL APIENTRY _GpiSelectPalette(HPS a, HPAL b);
3238
3239#undef GpiSelectPalette
3240#define GpiSelectPalette _GpiSelectPalette
3241
3242BOOL APIENTRY _GpiSetArcParams(HPS a, PARCPARAMS b);
3243
3244#undef GpiSetArcParams
3245#define GpiSetArcParams _GpiSetArcParams
3246
3247BOOL APIENTRY _GpiSetAttrMode(HPS a, LONG b);
3248
3249#undef GpiSetAttrMode
3250#define GpiSetAttrMode _GpiSetAttrMode
3251
3252BOOL APIENTRY _GpiSetAttrs(HPS a, LONG b, ULONG c, ULONG d, PVOID e);
3253
3254#undef GpiSetAttrs
3255#define GpiSetAttrs _GpiSetAttrs
3256
3257BOOL APIENTRY _GpiSetBackColor(HPS a, LONG b);
3258
3259#undef GpiSetBackColor
3260#define GpiSetBackColor _GpiSetBackColor
3261
3262BOOL APIENTRY _GpiSetBackMix(HPS a, LONG b);
3263
3264#undef GpiSetBackMix
3265#define GpiSetBackMix _GpiSetBackMix
3266
3267BOOL APIENTRY _GpiSetCharAngle(HPS a, PGRADIENTL b);
3268
3269#undef GpiSetCharAngle
3270#define GpiSetCharAngle _GpiSetCharAngle
3271
3272BOOL APIENTRY _GpiSetCharBox(HPS a, PSIZEF b);
3273
3274#undef GpiSetCharBox
3275#define GpiSetCharBox _GpiSetCharBox
3276
3277BOOL APIENTRY _GpiSetCharBreakExtra(HPS a, FIXED b);
3278
3279#undef GpiSetCharBreakExtra
3280#define GpiSetCharBreakExtra _GpiSetCharBreakExtra
3281
3282BOOL APIENTRY _GpiSetCharDirection(HPS a, LONG b);
3283
3284#undef GpiSetCharDirection
3285#define GpiSetCharDirection _GpiSetCharDirection
3286
3287BOOL APIENTRY _GpiSetCharExtra(HPS a, FIXED b);
3288
3289#undef GpiSetCharExtra
3290#define GpiSetCharExtra _GpiSetCharExtra
3291
3292BOOL APIENTRY _GpiSetCharMode(HPS a, LONG b);
3293
3294#undef GpiSetCharMode
3295#define GpiSetCharMode _GpiSetCharMode
3296
3297BOOL APIENTRY _GpiSetCharSet(HPS a, LONG b);
3298
3299#undef GpiSetCharSet
3300#define GpiSetCharSet _GpiSetCharSet
3301
3302BOOL APIENTRY _GpiSetCharShear(HPS a, PPOINTL b);
3303
3304#undef GpiSetCharShear
3305#define GpiSetCharShear _GpiSetCharShear
3306
3307BOOL APIENTRY _GpiSetClipPath(HPS a, LONG b, LONG c);
3308
3309#undef GpiSetClipPath
3310#define GpiSetClipPath _GpiSetClipPath
3311
3312LONG APIENTRY _GpiSetClipRegion(HPS a, HRGN b, PHRGN c);
3313
3314#undef GpiSetClipRegion
3315#define GpiSetClipRegion _GpiSetClipRegion
3316
3317BOOL APIENTRY _GpiSetColor(HPS a, LONG b);
3318
3319#undef GpiSetColor
3320#define GpiSetColor _GpiSetColor
3321
3322BOOL APIENTRY _GpiSetCp(HPS a, ULONG b);
3323
3324#undef GpiSetCp
3325#define GpiSetCp _GpiSetCp
3326
3327BOOL APIENTRY _GpiSetCurrentPosition(HPS a, PPOINTL b);
3328
3329#undef GpiSetCurrentPosition
3330#define GpiSetCurrentPosition _GpiSetCurrentPosition
3331
3332BOOL APIENTRY _GpiSetDefArcParams(HPS a, PARCPARAMS b);
3333
3334#undef GpiSetDefArcParams
3335#define GpiSetDefArcParams _GpiSetDefArcParams
3336
3337BOOL APIENTRY _GpiSetDefAttrs(HPS a, LONG b, ULONG c, PVOID d);
3338
3339#undef GpiSetDefAttrs
3340#define GpiSetDefAttrs _GpiSetDefAttrs
3341
3342BOOL APIENTRY _GpiSetDefaultViewMatrix(HPS a, LONG b, PMATRIXLF c, LONG d);
3343
3344#undef GpiSetDefaultViewMatrix
3345#define GpiSetDefaultViewMatrix _GpiSetDefaultViewMatrix
3346
3347BOOL APIENTRY _GpiSetDefTag(HPS a, LONG b);
3348
3349#undef GpiSetDefTag
3350#define GpiSetDefTag _GpiSetDefTag
3351
3352BOOL APIENTRY _GpiSetDefViewingLimits(HPS a, PRECTL b);
3353
3354#undef GpiSetDefViewingLimits
3355#define GpiSetDefViewingLimits _GpiSetDefViewingLimits
3356
3357BOOL APIENTRY _GpiSetEditMode(HPS a, LONG b);
3358
3359#undef GpiSetEditMode
3360#define GpiSetEditMode _GpiSetEditMode
3361
3362BOOL APIENTRY _GpiSetElementPointer(HPS a, LONG b);
3363
3364#undef GpiSetElementPointer
3365#define GpiSetElementPointer _GpiSetElementPointer
3366
3367BOOL APIENTRY _GpiSetElementPointerAtLabel(HPS a, LONG b);
3368
3369#undef GpiSetElementPointerAtLabel
3370#define GpiSetElementPointerAtLabel _GpiSetElementPointerAtLabel
3371
3372BOOL APIENTRY _GpiSetGraphicsField(HPS a, PRECTL b);
3373
3374#undef GpiSetGraphicsField
3375#define GpiSetGraphicsField _GpiSetGraphicsField
3376
3377BOOL APIENTRY _GpiSetLineEnd(HPS a, LONG b);
3378
3379#undef GpiSetLineEnd
3380#define GpiSetLineEnd _GpiSetLineEnd
3381
3382BOOL APIENTRY _GpiSetLineJoin(HPS a, LONG b);
3383
3384#undef GpiSetLineJoin
3385#define GpiSetLineJoin _GpiSetLineJoin
3386
3387BOOL APIENTRY _GpiSetLineType(HPS a, LONG b);
3388
3389#undef GpiSetLineType
3390#define GpiSetLineType _GpiSetLineType
3391
3392BOOL APIENTRY _GpiSetLineWidth(HPS a, FIXED b);
3393
3394#undef GpiSetLineWidth
3395#define GpiSetLineWidth _GpiSetLineWidth
3396
3397BOOL APIENTRY _GpiSetLineWidthGeom(HPS a, LONG b);
3398
3399#undef GpiSetLineWidthGeom
3400#define GpiSetLineWidthGeom _GpiSetLineWidthGeom
3401
3402BOOL APIENTRY _GpiSetMarker(HPS a, LONG b);
3403
3404#undef GpiSetMarker
3405#define GpiSetMarker _GpiSetMarker
3406
3407BOOL APIENTRY _GpiSetMarkerBox(HPS a, PSIZEF b);
3408
3409#undef GpiSetMarkerBox
3410#define GpiSetMarkerBox _GpiSetMarkerBox
3411
3412BOOL APIENTRY _GpiSetMarkerSet(HPS a, LONG b);
3413
3414#undef GpiSetMarkerSet
3415#define GpiSetMarkerSet _GpiSetMarkerSet
3416
3417BOOL APIENTRY _GpiSetMetaFileBits(HMF a, LONG b, LONG c, PBYTE d);
3418
3419#undef GpiSetMetaFileBits
3420#define GpiSetMetaFileBits _GpiSetMetaFileBits
3421
3422BOOL APIENTRY _GpiSetMix(HPS a, LONG b);
3423
3424#undef GpiSetMix
3425#define GpiSetMix _GpiSetMix
3426
3427BOOL APIENTRY _GpiSetModelTransformMatrix(HPS a, LONG b, PMATRIXLF c, LONG d);
3428
3429#undef GpiSetModelTransformMatrix
3430#define GpiSetModelTransformMatrix _GpiSetModelTransformMatrix
3431
3432BOOL APIENTRY _GpiSetPageViewport(HPS a, PRECTL b);
3433
3434#undef GpiSetPageViewport
3435#define GpiSetPageViewport _GpiSetPageViewport
3436
3437BOOL APIENTRY _GpiSetPaletteEntries(HPAL a, ULONG b, ULONG c, ULONG d, ULONG *e);
3438
3439#undef GpiSetPaletteEntries
3440#define GpiSetPaletteEntries _GpiSetPaletteEntries
3441
3442BOOL APIENTRY _GpiSetPattern(HPS a, LONG b);
3443
3444#undef GpiSetPattern
3445#define GpiSetPattern _GpiSetPattern
3446
3447BOOL APIENTRY _GpiSetPatternRefPoint(HPS a, PPOINTL b);
3448
3449#undef GpiSetPatternRefPoint
3450#define GpiSetPatternRefPoint _GpiSetPatternRefPoint
3451
3452BOOL APIENTRY _GpiSetPatternSet(HPS a, LONG b);
3453
3454#undef GpiSetPatternSet
3455#define GpiSetPatternSet _GpiSetPatternSet
3456
3457BOOL APIENTRY _GpiSetRegion(HPS a, HRGN b, LONG c, PRECTL d);
3458
3459#undef GpiSetRegion
3460#define GpiSetRegion _GpiSetRegion
3461
3462BOOL APIENTRY _GpiSetSegmentTransformMatrix(HPS a, LONG b, LONG c, MATRIXLF *d, LONG e);
3463
3464#undef GpiSetSegmentTransformMatrix
3465#define GpiSetSegmentTransformMatrix _GpiSetSegmentTransformMatrix
3466
3467BOOL APIENTRY _GpiSetTextAlignment(HPS a, LONG b, LONG c);
3468
3469#undef GpiSetTextAlignment
3470#define GpiSetTextAlignment _GpiSetTextAlignment
3471
3472BOOL APIENTRY _GpiSetViewingLimits(HPS a, PRECTL b);
3473
3474#undef GpiSetViewingLimits
3475#define GpiSetViewingLimits _GpiSetViewingLimits
3476
3477BOOL APIENTRY _GpiSetViewingTransformMatrix(HPS a, LONG b, MATRIXLF *c, LONG d);
3478
3479#undef GpiSetViewingTransformMatrix
3480#define GpiSetViewingTransformMatrix _GpiSetViewingTransformMatrix
3481
3482LONG APIENTRY _GpiStrokePath(HPS a, LONG b, ULONG c);
3483
3484#undef GpiStrokePath
3485#define GpiStrokePath _GpiStrokePath
3486
3487BOOL APIENTRY _GpiTranslate(HPS a, PMATRIXLF b, LONG c, PPOINTL d);
3488
3489#undef GpiTranslate
3490#define GpiTranslate _GpiTranslate
3491
3492BOOL APIENTRY _GpiUnloadFonts(HAB a, PCSZ b);
3493
3494#undef GpiUnloadFonts
3495#define GpiUnloadFonts _GpiUnloadFonts
3496
3497BOOL APIENTRY _GpiUnloadPublicFonts(HAB a, PCSZ b);
3498
3499#undef GpiUnloadPublicFonts
3500#define GpiUnloadPublicFonts _GpiUnloadPublicFonts
3501
3502#ifdef INCL_GPIBITMAPS
3503LONG APIENTRY _GpiBitBlt(HPS a, HPS b, LONG c, PPOINTL d, LONG e, ULONG f);
3504
3505#undef GpiBitBlt
3506#define GpiBitBlt _GpiBitBlt
3507
3508BOOL APIENTRY _GpiDeleteBitmap(HBITMAP a);
3509
3510#undef GpiDeleteBitmap
3511#define GpiDeleteBitmap _GpiDeleteBitmap
3512
3513HBITMAP APIENTRY _GpiLoadBitmap(HPS a, HMODULE b, ULONG c, LONG d, LONG e);
3514
3515#undef GpiLoadBitmap
3516#define GpiLoadBitmap _GpiLoadBitmap
3517
3518HBITMAP APIENTRY _GpiSetBitmap(HPS a, HBITMAP b);
3519
3520#undef GpiSetBitmap
3521#define GpiSetBitmap _GpiSetBitmap
3522
3523LONG APIENTRY _GpiWCBitBlt(HPS a, HBITMAP b, LONG c, PPOINTL d, LONG e, ULONG f);
3524
3525#undef GpiWCBitBlt
3526#define GpiWCBitBlt _GpiWCBitBlt
3527
3528HBITMAP APIENTRY _GpiCreateBitmap(HPS a, BITMAPINFOHEADER2 *b, ULONG c, PBYTE d, BITMAPINFO2 *e);
3529
3530#undef GpiCreateBitmap
3531#define GpiCreateBitmap _GpiCreateBitmap
3532
3533LONG APIENTRY _GpiDrawBits(HPS a, PVOID b, BITMAPINFO2 *c, LONG d, PPOINTL e, LONG f, ULONG g);
3534
3535#undef GpiDrawBits
3536#define GpiDrawBits _GpiDrawBits
3537
3538LONG APIENTRY _GpiFloodFill(HPS a, LONG b, LONG c);
3539
3540#undef GpiFloodFill
3541#define GpiFloodFill _GpiFloodFill
3542
3543LONG APIENTRY _GpiQueryBitmapBits(HPS a, LONG b, LONG c, PBYTE d, PBITMAPINFO2 e);
3544
3545#undef GpiQueryBitmapBits
3546#define GpiQueryBitmapBits _GpiQueryBitmapBits
3547
3548BOOL APIENTRY _GpiQueryBitmapDimension(HBITMAP a, PSIZEL b);
3549
3550#undef GpiQueryBitmapDimension
3551#define GpiQueryBitmapDimension _GpiQueryBitmapDimension
3552
3553HBITMAP APIENTRY _GpiQueryBitmapHandle(HPS a, LONG b);
3554
3555#undef GpiQueryBitmapHandle
3556#define GpiQueryBitmapHandle _GpiQueryBitmapHandle
3557
3558BOOL APIENTRY _GpiQueryBitmapInfoHeader(HBITMAP a, PBITMAPINFOHEADER2 b);
3559
3560#undef GpiQueryBitmapInfoHeader
3561#define GpiQueryBitmapInfoHeader _GpiQueryBitmapInfoHeader
3562
3563BOOL APIENTRY _GpiQueryBitmapParameters(HBITMAP a, PBITMAPINFOHEADER b);
3564
3565#undef GpiQueryBitmapParameters
3566#define GpiQueryBitmapParameters _GpiQueryBitmapParameters
3567
3568BOOL APIENTRY _GpiQueryDeviceBitmapFormats(HPS a, LONG b, PLONG c);
3569
3570#undef GpiQueryDeviceBitmapFormats
3571#define GpiQueryDeviceBitmapFormats _GpiQueryDeviceBitmapFormats
3572
3573LONG APIENTRY _GpiSetBitmapBits(HPS a, LONG b, LONG c, PBYTE d, BITMAPINFO2 *e);
3574
3575#undef GpiSetBitmapBits
3576#define GpiSetBitmapBits _GpiSetBitmapBits
3577
3578LONG APIENTRY _GpiQueryPel(HPS a, PPOINTL b);
3579
3580#undef GpiQueryPel
3581#define GpiQueryPel _GpiQueryPel
3582
3583BOOL APIENTRY _GpiSetBitmapDimension(HBITMAP a, SIZEL *b);
3584
3585#undef GpiSetBitmapDimension
3586#define GpiSetBitmapDimension _GpiSetBitmapDimension
3587
3588BOOL APIENTRY _GpiSetBitmapId(HPS a, HBITMAP b, LONG c);
3589
3590#undef GpiSetBitmapId
3591#define GpiSetBitmapId _GpiSetBitmapId
3592
3593LONG APIENTRY _GpiSetPel(HPS a, PPOINTL b);
3594
3595#undef GpiSetPel
3596#define GpiSetPel _GpiSetPel
3597
3598#endif
3599#ifdef INCL_GPICONTROL
3600BOOL APIENTRY _GpiAssociate(HPS a, HDC b);
3601
3602#undef GpiAssociate
3603#define GpiAssociate _GpiAssociate
3604
3605HPS APIENTRY _GpiCreatePS(HAB a, HDC b, PSIZEL c, ULONG d);
3606
3607#undef GpiCreatePS
3608#define GpiCreatePS _GpiCreatePS
3609
3610BOOL APIENTRY _GpiDestroyPS(HPS a);
3611
3612#undef GpiDestroyPS
3613#define GpiDestroyPS _GpiDestroyPS
3614
3615BOOL APIENTRY _GpiErase(HPS a);
3616
3617#undef GpiErase
3618#define GpiErase _GpiErase
3619
3620HDC APIENTRY _GpiQueryDevice(HPS a);
3621
3622#undef GpiQueryDevice
3623#define GpiQueryDevice _GpiQueryDevice
3624
3625BOOL APIENTRY _GpiRestorePS(HPS a, LONG b);
3626
3627#undef GpiRestorePS
3628#define GpiRestorePS _GpiRestorePS
3629
3630LONG APIENTRY _GpiSavePS(HPS a);
3631
3632#undef GpiSavePS
3633#define GpiSavePS _GpiSavePS
3634
3635LONG APIENTRY _GpiErrorSegmentData(HPS a, PLONG b, PLONG c);
3636
3637#undef GpiErrorSegmentData
3638#define GpiErrorSegmentData _GpiErrorSegmentData
3639
3640LONG APIENTRY _GpiQueryDrawControl(HPS a, LONG b);
3641
3642#undef GpiQueryDrawControl
3643#define GpiQueryDrawControl _GpiQueryDrawControl
3644
3645LONG APIENTRY _GpiQueryDrawingMode(HPS a);
3646
3647#undef GpiQueryDrawingMode
3648#define GpiQueryDrawingMode _GpiQueryDrawingMode
3649
3650ULONG APIENTRY _GpiQueryPS(HPS a, PSIZEL b);
3651
3652#undef GpiQueryPS
3653#define GpiQueryPS _GpiQueryPS
3654
3655BOOL APIENTRY _GpiResetPS(HPS a, ULONG b);
3656
3657#undef GpiResetPS
3658#define GpiResetPS _GpiResetPS
3659
3660LONG APIENTRY _GpiQueryStopDraw(HPS a);
3661
3662#undef GpiQueryStopDraw
3663#define GpiQueryStopDraw _GpiQueryStopDraw
3664
3665BOOL APIENTRY _GpiSetDrawControl(HPS a, LONG b, LONG c);
3666
3667#undef GpiSetDrawControl
3668#define GpiSetDrawControl _GpiSetDrawControl
3669
3670BOOL APIENTRY _GpiSetDrawingMode(HPS a, LONG b);
3671
3672#undef GpiSetDrawingMode
3673#define GpiSetDrawingMode _GpiSetDrawingMode
3674
3675BOOL APIENTRY _GpiSetPS(HPS a, SIZEL *b, ULONG c);
3676
3677#undef GpiSetPS
3678#define GpiSetPS _GpiSetPS
3679
3680BOOL APIENTRY _GpiSetStopDraw(HPS a, LONG b);
3681
3682#undef GpiSetStopDraw
3683#define GpiSetStopDraw _GpiSetStopDraw
3684
3685#endif
3686#ifdef INCL_GPICORRELATION
3687LONG APIENTRY _GpiCorrelateChain(HPS a, LONG b, PPOINTL c, LONG d, LONG e, PLONG f);
3688
3689#undef GpiCorrelateChain
3690#define GpiCorrelateChain _GpiCorrelateChain
3691
3692LONG APIENTRY _GpiCorrelateFrom(HPS a, LONG b, LONG c, LONG d, PPOINTL e, LONG f, LONG g, PLONG h);
3693
3694#undef GpiCorrelateFrom
3695#define GpiCorrelateFrom _GpiCorrelateFrom
3696
3697LONG APIENTRY _GpiCorrelateSegment(HPS a, LONG b, LONG c, PPOINTL d, LONG e, LONG f, PLONG g);
3698
3699#undef GpiCorrelateSegment
3700#define GpiCorrelateSegment _GpiCorrelateSegment
3701
3702BOOL APIENTRY _GpiQueryBoundaryData(HPS a, PRECTL b);
3703
3704#undef GpiQueryBoundaryData
3705#define GpiQueryBoundaryData _GpiQueryBoundaryData
3706
3707BOOL APIENTRY _GpiQueryPickAperturePosition(HPS a, PPOINTL b);
3708
3709#undef GpiQueryPickAperturePosition
3710#define GpiQueryPickAperturePosition _GpiQueryPickAperturePosition
3711
3712BOOL APIENTRY _GpiQueryPickApertureSize(HPS a, PSIZEL b);
3713
3714#undef GpiQueryPickApertureSize
3715#define GpiQueryPickApertureSize _GpiQueryPickApertureSize
3716
3717BOOL APIENTRY _GpiQueryTag(HPS a, PLONG b);
3718
3719#undef GpiQueryTag
3720#define GpiQueryTag _GpiQueryTag
3721
3722BOOL APIENTRY _GpiResetBoundaryData(HPS a);
3723
3724#undef GpiResetBoundaryData
3725#define GpiResetBoundaryData _GpiResetBoundaryData
3726
3727BOOL APIENTRY _GpiSetPickAperturePosition(HPS a, PPOINTL b);
3728
3729#undef GpiSetPickAperturePosition
3730#define GpiSetPickAperturePosition _GpiSetPickAperturePosition
3731
3732BOOL APIENTRY _GpiSetPickApertureSize(HPS a, LONG b, SIZEL *c);
3733
3734#undef GpiSetPickApertureSize
3735#define GpiSetPickApertureSize _GpiSetPickApertureSize
3736
3737BOOL APIENTRY _GpiSetTag(HPS a, LONG b);
3738
3739#undef GpiSetTag
3740#define GpiSetTag _GpiSetTag
3741
3742#endif
3743#ifdef INCL_GPIINK
3744BOOL APIENTRY _GpiBeginInkPath(HPS a, LONG b, ULONG c);
3745
3746#undef GpiBeginInkPath
3747#define GpiBeginInkPath _GpiBeginInkPath
3748
3749BOOL APIENTRY _GpiEndInkPath(HPS a, ULONG b);
3750
3751#undef GpiEndInkPath
3752#define GpiEndInkPath _GpiEndInkPath
3753
3754LONG APIENTRY _GpiStrokeInkPath(HPS a, LONG b, LONG c, PPOINTL d, ULONG e);
3755
3756#undef GpiStrokeInkPath
3757#define GpiStrokeInkPath _GpiStrokeInkPath
3758
3759#endif
3760#ifdef INCL_GPISEGMENTS
3761BOOL APIENTRY _GpiCloseSegment(HPS a);
3762
3763#undef GpiCloseSegment
3764#define GpiCloseSegment _GpiCloseSegment
3765
3766BOOL APIENTRY _GpiDeleteSegment(HPS a, LONG b);
3767
3768#undef GpiDeleteSegment
3769#define GpiDeleteSegment _GpiDeleteSegment
3770
3771BOOL APIENTRY _GpiDeleteSegments(HPS a, LONG b, LONG c);
3772
3773#undef GpiDeleteSegments
3774#define GpiDeleteSegments _GpiDeleteSegments
3775
3776BOOL APIENTRY _GpiDrawChain(HPS a);
3777
3778#undef GpiDrawChain
3779#define GpiDrawChain _GpiDrawChain
3780
3781BOOL APIENTRY _GpiDrawDynamics(HPS a);
3782
3783#undef GpiDrawDynamics
3784#define GpiDrawDynamics _GpiDrawDynamics
3785
3786BOOL APIENTRY _GpiDrawFrom(HPS a, LONG b, LONG c);
3787
3788#undef GpiDrawFrom
3789#define GpiDrawFrom _GpiDrawFrom
3790
3791BOOL APIENTRY _GpiDrawSegment(HPS a, LONG b);
3792
3793#undef GpiDrawSegment
3794#define GpiDrawSegment _GpiDrawSegment
3795
3796LONG APIENTRY _GpiGetData(HPS a, LONG b, PLONG c, LONG d, LONG e, PBYTE f);
3797
3798#undef GpiGetData
3799#define GpiGetData _GpiGetData
3800
3801BOOL APIENTRY _GpiOpenSegment(HPS a, LONG b);
3802
3803#undef GpiOpenSegment
3804#define GpiOpenSegment _GpiOpenSegment
3805
3806LONG APIENTRY _GpiPutData(HPS a, LONG b, PLONG c, PBYTE d);
3807
3808#undef GpiPutData
3809#define GpiPutData _GpiPutData
3810
3811LONG APIENTRY _GpiQueryInitialSegmentAttrs(HPS a, LONG b);
3812
3813#undef GpiQueryInitialSegmentAttrs
3814#define GpiQueryInitialSegmentAttrs _GpiQueryInitialSegmentAttrs
3815
3816LONG APIENTRY _GpiQuerySegmentAttrs(HPS a, LONG b, LONG c);
3817
3818#undef GpiQuerySegmentAttrs
3819#define GpiQuerySegmentAttrs _GpiQuerySegmentAttrs
3820
3821LONG APIENTRY _GpiQuerySegmentNames(HPS a, LONG b, LONG c, LONG d, PLONG e);
3822
3823#undef GpiQuerySegmentNames
3824#define GpiQuerySegmentNames _GpiQuerySegmentNames
3825
3826LONG APIENTRY _GpiQuerySegmentPriority(HPS a, LONG b, LONG c);
3827
3828#undef GpiQuerySegmentPriority
3829#define GpiQuerySegmentPriority _GpiQuerySegmentPriority
3830
3831BOOL APIENTRY _GpiRemoveDynamics(HPS a, LONG b, LONG c);
3832
3833#undef GpiRemoveDynamics
3834#define GpiRemoveDynamics _GpiRemoveDynamics
3835
3836BOOL APIENTRY _GpiSetInitialSegmentAttrs(HPS a, LONG b, LONG c);
3837
3838#undef GpiSetInitialSegmentAttrs
3839#define GpiSetInitialSegmentAttrs _GpiSetInitialSegmentAttrs
3840
3841BOOL APIENTRY _GpiSetSegmentAttrs(HPS a, LONG b, LONG c, LONG d);
3842
3843#undef GpiSetSegmentAttrs
3844#define GpiSetSegmentAttrs _GpiSetSegmentAttrs
3845
3846BOOL APIENTRY _GpiSetSegmentPriority(HPS a, LONG b, LONG c, LONG d);
3847
3848#undef GpiSetSegmentPriority
3849#define GpiSetSegmentPriority _GpiSetSegmentPriority
3850
3851#endif
3852#ifdef INCL_DEV
3853LONG APIENTRY _DevEscape(HDC a, LONG b, LONG c, PBYTE d, PLONG e, PBYTE f);
3854
3855#undef DevEscape
3856#define DevEscape _DevEscape
3857
3858LONG APIENTRY _DevPostEscape(PCSZ a, PCSZ b, PCSZ c, PCSZ d, ULONG e, ULONG f, PBYTE g, ULONG h, PBYTE i);
3859
3860#undef DevPostEscape
3861#define DevPostEscape _DevPostEscape
3862
3863LONG APIENTRY _DevPostDeviceModes(HAB a, PDRIVDATA b, PCSZ c, PCSZ d, PCSZ e, ULONG f);
3864
3865#undef DevPostDeviceModes
3866#define DevPostDeviceModes _DevPostDeviceModes
3867
3868BOOL APIENTRY _DevQueryDeviceNames(HAB a, PCSZ b, PLONG c, PSTR32 d, PSTR64 e, PLONG f, PSTR16 g);
3869
3870#undef DevQueryDeviceNames
3871#define DevQueryDeviceNames _DevQueryDeviceNames
3872
3873LONG APIENTRY _DevQueryHardcopyCaps(HDC a, LONG b, LONG c, PHCINFO d);
3874
3875#undef DevQueryHardcopyCaps
3876#define DevQueryHardcopyCaps _DevQueryHardcopyCaps
3877
3878#endif
3879HMF APIENTRY _DevCloseDC(HDC a);
3880
3881#undef DevCloseDC
3882#define DevCloseDC _DevCloseDC
3883
3884HDC APIENTRY _DevOpenDC(HAB a, LONG b, PCSZ c, LONG d, PDEVOPENDATA e, HDC f);
3885
3886#undef DevOpenDC
3887#define DevOpenDC _DevOpenDC
3888
3889BOOL APIENTRY _DevQueryCaps(HDC a, LONG b, LONG c, PLONG d);
3890
3891#undef DevQueryCaps
3892#define DevQueryCaps _DevQueryCaps
3893
3894#endif
3895#ifdef INCL_WINPROGRAMLIST
3896HPROGRAM APIENTRY _PrfAddProgram(HINI a, PPROGDETAILS b, HPROGRAM c);
3897
3898#undef PrfAddProgram
3899#define PrfAddProgram _PrfAddProgram
3900
3901BOOL APIENTRY _PrfChangeProgram(HINI a, HPROGRAM b, PPROGDETAILS c);
3902
3903#undef PrfChangeProgram
3904#define PrfChangeProgram _PrfChangeProgram
3905
3906HPROGRAM APIENTRY _PrfCreateGroup(HINI a, PCSZ b, UCHAR c);
3907
3908#undef PrfCreateGroup
3909#define PrfCreateGroup _PrfCreateGroup
3910
3911BOOL APIENTRY _PrfDestroyGroup(HINI a, HPROGRAM b);
3912
3913#undef PrfDestroyGroup
3914#define PrfDestroyGroup _PrfDestroyGroup
3915
3916PROGCATEGORY APIENTRY _PrfQueryProgramCategory(HINI a, PCSZ b);
3917
3918#undef PrfQueryProgramCategory
3919#define PrfQueryProgramCategory _PrfQueryProgramCategory
3920
3921ULONG APIENTRY _PrfQueryProgramHandle(HINI a, PCSZ b, PHPROGARRAY c, ULONG d, PULONG e);
3922
3923#undef PrfQueryProgramHandle
3924#define PrfQueryProgramHandle _PrfQueryProgramHandle
3925
3926ULONG APIENTRY _PrfQueryProgramTitles(HINI a, HPROGRAM b, PPROGTITLE c, ULONG d, PULONG e);
3927
3928#undef PrfQueryProgramTitles
3929#define PrfQueryProgramTitles _PrfQueryProgramTitles
3930
3931ULONG APIENTRY _PrfQueryDefinition(HINI a, HPROGRAM b, PPROGDETAILS c, ULONG d);
3932
3933#undef PrfQueryDefinition
3934#define PrfQueryDefinition _PrfQueryDefinition
3935
3936BOOL APIENTRY _PrfRemoveProgram(HINI a, HPROGRAM b);
3937
3938#undef PrfRemoveProgram
3939#define PrfRemoveProgram _PrfRemoveProgram
3940
3941HAPP APIENTRY _WinStartApp(HWND a, PPROGDETAILS b, PCSZ c, PVOID d, ULONG e);
3942
3943#undef WinStartApp
3944#define WinStartApp _WinStartApp
3945
3946BOOL APIENTRY _WinTerminateApp(HAPP a);
3947
3948#undef WinTerminateApp
3949#define WinTerminateApp _WinTerminateApp
3950
3951#endif
3952#ifdef INCL_WINSWITCHLIST
3953HSWITCH APIENTRY _WinAddSwitchEntry(PSWCNTRL a);
3954
3955#undef WinAddSwitchEntry
3956#define WinAddSwitchEntry _WinAddSwitchEntry
3957
3958ULONG APIENTRY _WinRemoveSwitchEntry(HSWITCH a);
3959
3960#undef WinRemoveSwitchEntry
3961#define WinRemoveSwitchEntry _WinRemoveSwitchEntry
3962
3963ULONG APIENTRY _WinChangeSwitchEntry(HSWITCH a, PSWCNTRL b);
3964
3965#undef WinChangeSwitchEntry
3966#define WinChangeSwitchEntry _WinChangeSwitchEntry
3967
3968HSWITCH APIENTRY _WinCreateSwitchEntry(HAB a, PSWCNTRL b);
3969
3970#undef WinCreateSwitchEntry
3971#define WinCreateSwitchEntry _WinCreateSwitchEntry
3972
3973ULONG APIENTRY _WinQuerySessionTitle(HAB a, ULONG b, PSZ c, ULONG d);
3974
3975#undef WinQuerySessionTitle
3976#define WinQuerySessionTitle _WinQuerySessionTitle
3977
3978ULONG APIENTRY _WinQuerySwitchEntry(HSWITCH a, PSWCNTRL b);
3979
3980#undef WinQuerySwitchEntry
3981#define WinQuerySwitchEntry _WinQuerySwitchEntry
3982
3983HSWITCH APIENTRY _WinQuerySwitchHandle(HWND a, PID b);
3984
3985#undef WinQuerySwitchHandle
3986#define WinQuerySwitchHandle _WinQuerySwitchHandle
3987
3988ULONG APIENTRY _WinQuerySwitchList(HAB a, PSWBLOCK b, ULONG c);
3989
3990#undef WinQuerySwitchList
3991#define WinQuerySwitchList _WinQuerySwitchList
3992
3993ULONG APIENTRY _WinQueryTaskSizePos(HAB a, ULONG b, PSWP c);
3994
3995#undef WinQueryTaskSizePos
3996#define WinQueryTaskSizePos _WinQueryTaskSizePos
3997
3998ULONG APIENTRY _WinQueryTaskTitle(ULONG a, PSZ b, ULONG c);
3999
4000#undef WinQueryTaskTitle
4001#define WinQueryTaskTitle _WinQueryTaskTitle
4002
4003ULONG APIENTRY _WinSwitchToProgram(HSWITCH a);
4004
4005#undef WinSwitchToProgram
4006#define WinSwitchToProgram _WinSwitchToProgram
4007
4008#endif
4009#ifdef INCL_WINSHELLDATA
4010BOOL APIENTRY _PrfCloseProfile(HINI a);
4011
4012#undef PrfCloseProfile
4013#define PrfCloseProfile _PrfCloseProfile
4014
4015HINI APIENTRY _PrfOpenProfile(HAB a, PCSZ b);
4016
4017#undef PrfOpenProfile
4018#define PrfOpenProfile _PrfOpenProfile
4019
4020BOOL APIENTRY _PrfQueryProfile(HAB a, PPRFPROFILE b);
4021
4022#undef PrfQueryProfile
4023#define PrfQueryProfile _PrfQueryProfile
4024
4025BOOL APIENTRY _PrfQueryProfileData(HINI a, PCSZ b, PCSZ c, PVOID d, PULONG e);
4026
4027#undef PrfQueryProfileData
4028#define PrfQueryProfileData _PrfQueryProfileData
4029
4030LONG APIENTRY _PrfQueryProfileInt(HINI a, PCSZ b, PCSZ c, LONG d);
4031
4032#undef PrfQueryProfileInt
4033#define PrfQueryProfileInt _PrfQueryProfileInt
4034
4035BOOL APIENTRY _PrfQueryProfileSize(HINI a, PCSZ b, PCSZ c, PULONG d);
4036
4037#undef PrfQueryProfileSize
4038#define PrfQueryProfileSize _PrfQueryProfileSize
4039
4040ULONG APIENTRY _PrfQueryProfileString(HINI a, PCSZ b, PCSZ c, PCSZ d, PVOID e, ULONG f);
4041
4042#undef PrfQueryProfileString
4043#define PrfQueryProfileString _PrfQueryProfileString
4044
4045BOOL APIENTRY _PrfReset(HAB a, PPRFPROFILE b);
4046
4047#undef PrfReset
4048#define PrfReset _PrfReset
4049
4050BOOL APIENTRY _PrfWriteProfileData(HINI a, PCSZ b, PCSZ c, PVOID d, ULONG e);
4051
4052#undef PrfWriteProfileData
4053#define PrfWriteProfileData _PrfWriteProfileData
4054
4055BOOL APIENTRY _PrfWriteProfileString(HINI a, PCSZ b, PCSZ c, PCSZ d);
4056
4057#undef PrfWriteProfileString
4058#define PrfWriteProfileString _PrfWriteProfileString
4059
4060#endif
4061#ifdef INCL_WINSTDFILE
4062MRESULT APIENTRY _WinDefFileDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d);
4063
4064#undef WinDefFileDlgProc
4065#define WinDefFileDlgProc _WinDefFileDlgProc
4066
4067HWND APIENTRY _WinFileDlg(HWND a, HWND b, PFILEDLG c);
4068
4069#undef WinFileDlg
4070#define WinFileDlg _WinFileDlg
4071
4072BOOL APIENTRY _WinFreeFileDlgList(PAPSZ a);
4073
4074#undef WinFreeFileDlgList
4075#define WinFreeFileDlgList _WinFreeFileDlgList
4076
4077#endif
4078#ifdef INCL_WINSTDFONT
4079HWND APIENTRY _WinFontDlg(HWND a, HWND b, PFONTDLG c);
4080
4081#undef WinFontDlg
4082#define WinFontDlg _WinFontDlg
4083
4084MRESULT APIENTRY _WinDefFontDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d);
4085
4086#undef WinDefFontDlgProc
4087#define WinDefFontDlgProc _WinDefFontDlgProc
4088
4089#endif
4090#ifdef INCL_WINSTDDRAG
4091BOOL APIENTRY _DrgAcceptDroppedFiles(HWND a, PCSZ b, PCSZ c, ULONG d, ULONG e);
4092
4093#undef DrgAcceptDroppedFiles
4094#define DrgAcceptDroppedFiles _DrgAcceptDroppedFiles
4095
4096BOOL APIENTRY _DrgAccessDraginfo(PDRAGINFO a);
4097
4098#undef DrgAccessDraginfo
4099#define DrgAccessDraginfo _DrgAccessDraginfo
4100
4101HSTR APIENTRY _DrgAddStrHandle(PCSZ a);
4102
4103#undef DrgAddStrHandle
4104#define DrgAddStrHandle _DrgAddStrHandle
4105
4106PDRAGINFO APIENTRY _DrgAllocDraginfo(ULONG a);
4107
4108#undef DrgAllocDraginfo
4109#define DrgAllocDraginfo _DrgAllocDraginfo
4110
4111PDRAGTRANSFER APIENTRY _DrgAllocDragtransfer(ULONG a);
4112
4113#undef DrgAllocDragtransfer
4114#define DrgAllocDragtransfer _DrgAllocDragtransfer
4115
4116BOOL APIENTRY _DrgCancelLazyDrag();
4117
4118#undef DrgCancelLazyDrag
4119#define DrgCancelLazyDrag _DrgCancelLazyDrag
4120
4121BOOL APIENTRY _DrgDeleteDraginfoStrHandles(PDRAGINFO a);
4122
4123#undef DrgDeleteDraginfoStrHandles
4124#define DrgDeleteDraginfoStrHandles _DrgDeleteDraginfoStrHandles
4125
4126BOOL APIENTRY _DrgDeleteStrHandle(HSTR a);
4127
4128#undef DrgDeleteStrHandle
4129#define DrgDeleteStrHandle _DrgDeleteStrHandle
4130
4131HWND APIENTRY _DrgDrag(HWND a, PDRAGINFO b, PDRAGIMAGE c, ULONG d, LONG e, PVOID f);
4132
4133#undef DrgDrag
4134#define DrgDrag _DrgDrag
4135
4136BOOL APIENTRY _DrgDragFiles(HWND a, PCSZ *b, PCSZ *c, PCSZ *d, ULONG e, HPOINTER f, ULONG g, BOOL h, ULONG i);
4137
4138#undef DrgDragFiles
4139#define DrgDragFiles _DrgDragFiles
4140
4141BOOL APIENTRY _DrgFreeDraginfo(PDRAGINFO a);
4142
4143#undef DrgFreeDraginfo
4144#define DrgFreeDraginfo _DrgFreeDraginfo
4145
4146BOOL APIENTRY _DrgFreeDragtransfer(PDRAGTRANSFER a);
4147
4148#undef DrgFreeDragtransfer
4149#define DrgFreeDragtransfer _DrgFreeDragtransfer
4150
4151HPS APIENTRY _DrgGetPS(HWND a);
4152
4153#undef DrgGetPS
4154#define DrgGetPS _DrgGetPS
4155
4156BOOL APIENTRY _DrgLazyDrag(HWND a, PDRAGINFO b, PDRAGIMAGE c, ULONG d, PVOID e);
4157
4158#undef DrgLazyDrag
4159#define DrgLazyDrag _DrgLazyDrag
4160
4161BOOL APIENTRY _DrgLazyDrop(HWND a, ULONG b, PPOINTL c);
4162
4163#undef DrgLazyDrop
4164#define DrgLazyDrop _DrgLazyDrop
4165
4166BOOL APIENTRY _DrgPostTransferMsg(HWND a, ULONG b, PDRAGTRANSFER c, ULONG d, ULONG e, BOOL f);
4167
4168#undef DrgPostTransferMsg
4169#define DrgPostTransferMsg _DrgPostTransferMsg
4170
4171BOOL APIENTRY _DrgPushDraginfo(PDRAGINFO a, HWND b);
4172
4173#undef DrgPushDraginfo
4174#define DrgPushDraginfo _DrgPushDraginfo
4175
4176PDRAGINFO APIENTRY _DrgQueryDraginfoPtr(PDRAGINFO a);
4177
4178#undef DrgQueryDraginfoPtr
4179#define DrgQueryDraginfoPtr _DrgQueryDraginfoPtr
4180
4181PDRAGINFO APIENTRY _DrgQueryDraginfoPtrFromHwnd(HWND a);
4182
4183#undef DrgQueryDraginfoPtrFromHwnd
4184#define DrgQueryDraginfoPtrFromHwnd _DrgQueryDraginfoPtrFromHwnd
4185
4186PDRAGINFO APIENTRY _DrgQueryDraginfoPtrFromDragitem(PDRAGITEM a);
4187
4188#undef DrgQueryDraginfoPtrFromDragitem
4189#define DrgQueryDraginfoPtrFromDragitem _DrgQueryDraginfoPtrFromDragitem
4190
4191BOOL APIENTRY _DrgQueryDragitem(PDRAGINFO a, ULONG b, PDRAGITEM c, ULONG d);
4192
4193#undef DrgQueryDragitem
4194#define DrgQueryDragitem _DrgQueryDragitem
4195
4196ULONG APIENTRY _DrgQueryDragitemCount(PDRAGINFO a);
4197
4198#undef DrgQueryDragitemCount
4199#define DrgQueryDragitemCount _DrgQueryDragitemCount
4200
4201PDRAGITEM APIENTRY _DrgQueryDragitemPtr(PDRAGINFO a, ULONG b);
4202
4203#undef DrgQueryDragitemPtr
4204#define DrgQueryDragitemPtr _DrgQueryDragitemPtr
4205
4206ULONG APIENTRY _DrgQueryDragStatus();
4207
4208#undef DrgQueryDragStatus
4209#define DrgQueryDragStatus _DrgQueryDragStatus
4210
4211BOOL APIENTRY _DrgQueryNativeRMF(PDRAGITEM a, ULONG b, PCHAR c);
4212
4213#undef DrgQueryNativeRMF
4214#define DrgQueryNativeRMF _DrgQueryNativeRMF
4215
4216ULONG APIENTRY _DrgQueryNativeRMFLen(PDRAGITEM a);
4217
4218#undef DrgQueryNativeRMFLen
4219#define DrgQueryNativeRMFLen _DrgQueryNativeRMFLen
4220
4221ULONG APIENTRY _DrgQueryStrName(HSTR a, ULONG b, PSZ c);
4222
4223#undef DrgQueryStrName
4224#define DrgQueryStrName _DrgQueryStrName
4225
4226ULONG APIENTRY _DrgQueryStrNameLen(HSTR a);
4227
4228#undef DrgQueryStrNameLen
4229#define DrgQueryStrNameLen _DrgQueryStrNameLen
4230
4231BOOL APIENTRY _DrgQueryTrueType(PDRAGITEM a, ULONG b, PSZ c);
4232
4233#undef DrgQueryTrueType
4234#define DrgQueryTrueType _DrgQueryTrueType
4235
4236ULONG APIENTRY _DrgQueryTrueTypeLen(PDRAGITEM a);
4237
4238#undef DrgQueryTrueTypeLen
4239#define DrgQueryTrueTypeLen _DrgQueryTrueTypeLen
4240
4241PDRAGINFO APIENTRY _DrgReallocDraginfo(PDRAGINFO a, ULONG b);
4242
4243#undef DrgReallocDraginfo
4244#define DrgReallocDraginfo _DrgReallocDraginfo
4245
4246BOOL APIENTRY _DrgReleasePS(HPS a);
4247
4248#undef DrgReleasePS
4249#define DrgReleasePS _DrgReleasePS
4250
4251MRESULT APIENTRY _DrgSendTransferMsg(HWND a, ULONG b, MPARAM c, MPARAM d);
4252
4253#undef DrgSendTransferMsg
4254#define DrgSendTransferMsg _DrgSendTransferMsg
4255
4256BOOL APIENTRY _DrgSetDragImage(PDRAGINFO a, PDRAGIMAGE b, ULONG c, PVOID d);
4257
4258#undef DrgSetDragImage
4259#define DrgSetDragImage _DrgSetDragImage
4260
4261BOOL APIENTRY _DrgSetDragitem(PDRAGINFO a, PDRAGITEM b, ULONG c, ULONG d);
4262
4263#undef DrgSetDragitem
4264#define DrgSetDragitem _DrgSetDragitem
4265
4266BOOL APIENTRY _DrgSetDragPointer(PDRAGINFO a, HPOINTER b);
4267
4268#undef DrgSetDragPointer
4269#define DrgSetDragPointer _DrgSetDragPointer
4270
4271BOOL APIENTRY _DrgVerifyNativeRMF(PDRAGITEM a, PCSZ b);
4272
4273#undef DrgVerifyNativeRMF
4274#define DrgVerifyNativeRMF _DrgVerifyNativeRMF
4275
4276BOOL APIENTRY _DrgVerifyRMF(PDRAGITEM a, PCSZ b, PCSZ c);
4277
4278#undef DrgVerifyRMF
4279#define DrgVerifyRMF _DrgVerifyRMF
4280
4281BOOL APIENTRY _DrgVerifyTrueType(PDRAGITEM a, PCSZ b);
4282
4283#undef DrgVerifyTrueType
4284#define DrgVerifyTrueType _DrgVerifyTrueType
4285
4286BOOL APIENTRY _DrgVerifyType(PDRAGITEM a, PCSZ b);
4287
4288#undef DrgVerifyType
4289#define DrgVerifyType _DrgVerifyType
4290
4291BOOL APIENTRY _DrgVerifyTypeSet(PDRAGITEM a, PCSZ b, ULONG c, PSZ d);
4292
4293#undef DrgVerifyTypeSet
4294#define DrgVerifyTypeSet _DrgVerifyTypeSet
4295
4296#endif
4297#ifdef INCL_WPCLASS
4298HOBJECT APIENTRY _WinCopyObject(HOBJECT a, HOBJECT b, ULONG c);
4299
4300#undef WinCopyObject
4301#define WinCopyObject _WinCopyObject
4302
4303HOBJECT APIENTRY _WinCreateObject(PCSZ a, PCSZ b, PCSZ c, PCSZ d, ULONG e);
4304
4305#undef WinCreateObject
4306#define WinCreateObject _WinCreateObject
4307
4308HOBJECT APIENTRY _WinCreateShadow(HOBJECT a, HOBJECT b, ULONG c);
4309
4310#undef WinCreateShadow
4311#define WinCreateShadow _WinCreateShadow
4312
4313BOOL APIENTRY _WinDeregisterObjectClass(PCSZ a);
4314
4315#undef WinDeregisterObjectClass
4316#define WinDeregisterObjectClass _WinDeregisterObjectClass
4317
4318BOOL APIENTRY _WinDestroyObject(HOBJECT a);
4319
4320#undef WinDestroyObject
4321#define WinDestroyObject _WinDestroyObject
4322
4323BOOL APIENTRY _WinEnumObjectClasses(POBJCLASS a, PULONG b);
4324
4325#undef WinEnumObjectClasses
4326#define WinEnumObjectClasses _WinEnumObjectClasses
4327
4328BOOL APIENTRY _WinIsSOMDDReady();
4329
4330#undef WinIsSOMDDReady
4331#define WinIsSOMDDReady _WinIsSOMDDReady
4332
4333BOOL APIENTRY _WinIsWPDServerReady();
4334
4335#undef WinIsWPDServerReady
4336#define WinIsWPDServerReady _WinIsWPDServerReady
4337
4338HOBJECT APIENTRY _WinMoveObject(HOBJECT a, HOBJECT b, ULONG c);
4339
4340#undef WinMoveObject
4341#define WinMoveObject _WinMoveObject
4342
4343BOOL APIENTRY _WinOpenObject(HOBJECT a, ULONG b, BOOL c);
4344
4345#undef WinOpenObject
4346#define WinOpenObject _WinOpenObject
4347
4348BOOL APIENTRY _WinQueryActiveDesktopPathname(PSZ a, ULONG b);
4349
4350#undef WinQueryActiveDesktopPathname
4351#define WinQueryActiveDesktopPathname _WinQueryActiveDesktopPathname
4352
4353HOBJECT APIENTRY _WinQueryObject(PCSZ a);
4354
4355#undef WinQueryObject
4356#define WinQueryObject _WinQueryObject
4357
4358BOOL APIENTRY _WinQueryObjectPath(HOBJECT a, PSZ b, ULONG c);
4359
4360#undef WinQueryObjectPath
4361#define WinQueryObjectPath _WinQueryObjectPath
4362
4363BOOL APIENTRY _WinRegisterObjectClass(PCSZ a, PCSZ b);
4364
4365#undef WinRegisterObjectClass
4366#define WinRegisterObjectClass _WinRegisterObjectClass
4367
4368BOOL APIENTRY _WinReplaceObjectClass(PCSZ a, PCSZ b, BOOL c);
4369
4370#undef WinReplaceObjectClass
4371#define WinReplaceObjectClass _WinReplaceObjectClass
4372
4373ULONG APIENTRY _WinRestartSOMDD(BOOL a);
4374
4375#undef WinRestartSOMDD
4376#define WinRestartSOMDD _WinRestartSOMDD
4377
4378ULONG APIENTRY _WinRestartWPDServer(BOOL a);
4379
4380#undef WinRestartWPDServer
4381#define WinRestartWPDServer _WinRestartWPDServer
4382
4383BOOL APIENTRY _WinSaveObject(HOBJECT a, BOOL b);
4384
4385#undef WinSaveObject
4386#define WinSaveObject _WinSaveObject
4387
4388BOOL APIENTRY _WinSetObjectData(HOBJECT a, PCSZ b);
4389
4390#undef WinSetObjectData
4391#define WinSetObjectData _WinSetObjectData
4392
4393BOOL APIENTRY _WinFreeFileIcon(HPOINTER a);
4394
4395#undef WinFreeFileIcon
4396#define WinFreeFileIcon _WinFreeFileIcon
4397
4398HPOINTER APIENTRY _WinLoadFileIcon(PCSZ a, BOOL b);
4399
4400#undef WinLoadFileIcon
4401#define WinLoadFileIcon _WinLoadFileIcon
4402
4403BOOL APIENTRY _WinRestoreWindowPos(PCSZ a, PCSZ b, HWND c);
4404
4405#undef WinRestoreWindowPos
4406#define WinRestoreWindowPos _WinRestoreWindowPos
4407
4408BOOL APIENTRY _WinSetFileIcon(PCSZ a, PICONINFO b);
4409
4410#undef WinSetFileIcon
4411#define WinSetFileIcon _WinSetFileIcon
4412
4413BOOL APIENTRY _WinShutdownSystem(HAB a, HMQ b);
4414
4415#undef WinShutdownSystem
4416#define WinShutdownSystem _WinShutdownSystem
4417
4418BOOL APIENTRY _WinStoreWindowPos(PCSZ a, PCSZ b, HWND c);
4419
4420#undef WinStoreWindowPos
4421#define WinStoreWindowPos _WinStoreWindowPos
4422
4423#endif
4424#ifdef INCL_SPL
4425BOOL APIENTRY _SplStdClose(HDC a);
4426
4427#undef SplStdClose
4428#define SplStdClose _SplStdClose
4429
4430BOOL APIENTRY _SplStdDelete(HSTD a);
4431
4432#undef SplStdDelete
4433#define SplStdDelete _SplStdDelete
4434
4435BOOL APIENTRY _SplStdGetBits(HSTD a, LONG b, LONG c, PCH d);
4436
4437#undef SplStdGetBits
4438#define SplStdGetBits _SplStdGetBits
4439
4440BOOL APIENTRY _SplStdOpen(HDC a);
4441
4442#undef SplStdOpen
4443#define SplStdOpen _SplStdOpen
4444
4445LONG APIENTRY _SplStdQueryLength(HSTD a);
4446
4447#undef SplStdQueryLength
4448#define SplStdQueryLength _SplStdQueryLength
4449
4450BOOL APIENTRY _SplStdStart(HDC a);
4451
4452#undef SplStdStart
4453#define SplStdStart _SplStdStart
4454
4455HSTD APIENTRY _SplStdStop(HDC a);
4456
4457#undef SplStdStop
4458#define SplStdStop _SplStdStop
4459
4460SPLERR APIENTRY _SplControlDevice(PSZ a, PSZ b, ULONG c);
4461
4462#undef SplControlDevice
4463#define SplControlDevice _SplControlDevice
4464
4465SPLERR APIENTRY _SplCopyJob(PCSZ a, PCSZ b, ULONG c, PCSZ d, PCSZ e, PULONG f);
4466
4467#undef SplCopyJob
4468#define SplCopyJob _SplCopyJob
4469
4470SPLERR APIENTRY _SplCreateDevice(PSZ a, ULONG b, PVOID c, ULONG d);
4471
4472#undef SplCreateDevice
4473#define SplCreateDevice _SplCreateDevice
4474
4475SPLERR APIENTRY _SplCreatePort(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f);
4476
4477#undef SplCreatePort
4478#define SplCreatePort _SplCreatePort
4479
4480SPLERR APIENTRY _SplCreateQueue(PSZ a, ULONG b, PVOID c, ULONG d);
4481
4482#undef SplCreateQueue
4483#define SplCreateQueue _SplCreateQueue
4484
4485SPLERR APIENTRY _SplDeleteDevice(PSZ a, PSZ b);
4486
4487#undef SplDeleteDevice
4488#define SplDeleteDevice _SplDeleteDevice
4489
4490SPLERR APIENTRY _SplDeleteJob(PSZ a, PSZ b, ULONG c);
4491
4492#undef SplDeleteJob
4493#define SplDeleteJob _SplDeleteJob
4494
4495SPLERR APIENTRY _SplDeletePort(PCSZ a, PCSZ b);
4496
4497#undef SplDeletePort
4498#define SplDeletePort _SplDeletePort
4499
4500SPLERR APIENTRY _SplDeleteQueue(PSZ a, PSZ b);
4501
4502#undef SplDeleteQueue
4503#define SplDeleteQueue _SplDeleteQueue
4504
4505SPLERR APIENTRY _SplEnumDevice(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h);
4506
4507#undef SplEnumDevice
4508#define SplEnumDevice _SplEnumDevice
4509
4510SPLERR APIENTRY _SplEnumDriver(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h);
4511
4512#undef SplEnumDriver
4513#define SplEnumDriver _SplEnumDriver
4514
4515SPLERR APIENTRY _SplEnumJob(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f, PULONG g, PULONG h, PVOID i);
4516
4517#undef SplEnumJob
4518#define SplEnumJob _SplEnumJob
4519
4520SPLERR APIENTRY _SplEnumPort(PCSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h);
4521
4522#undef SplEnumPort
4523#define SplEnumPort _SplEnumPort
4524
4525SPLERR APIENTRY _SplEnumPrinter(PSZ a, ULONG b, ULONG c, PVOID d, ULONG e, PULONG f, PULONG g, PULONG h, PVOID i);
4526
4527#undef SplEnumPrinter
4528#define SplEnumPrinter _SplEnumPrinter
4529
4530SPLERR APIENTRY _SplEnumQueue(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h);
4531
4532#undef SplEnumQueue
4533#define SplEnumQueue _SplEnumQueue
4534
4535SPLERR APIENTRY _SplEnumQueueProcessor(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h);
4536
4537#undef SplEnumQueueProcessor
4538#define SplEnumQueueProcessor _SplEnumQueueProcessor
4539
4540SPLERR APIENTRY _SplHoldJob(PCSZ a, PCSZ b, ULONG c);
4541
4542#undef SplHoldJob
4543#define SplHoldJob _SplHoldJob
4544
4545SPLERR APIENTRY _SplHoldQueue(PSZ a, PSZ b);
4546
4547#undef SplHoldQueue
4548#define SplHoldQueue _SplHoldQueue
4549
4550SPLERR APIENTRY _SplPurgeQueue(PSZ a, PSZ b);
4551
4552#undef SplPurgeQueue
4553#define SplPurgeQueue _SplPurgeQueue
4554
4555SPLERR APIENTRY _SplQueryDevice(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f);
4556
4557#undef SplQueryDevice
4558#define SplQueryDevice _SplQueryDevice
4559
4560SPLERR APIENTRY _SplQueryDriver(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f, PULONG g);
4561
4562#undef SplQueryDriver
4563#define SplQueryDriver _SplQueryDriver
4564
4565SPLERR APIENTRY _SplQueryJob(PSZ a, PSZ b, ULONG c, ULONG d, PVOID e, ULONG f, PULONG g);
4566
4567#undef SplQueryJob
4568#define SplQueryJob _SplQueryJob
4569
4570SPLERR APIENTRY _SplQueryPort(PCSZ a, PCSZ b, ULONG c, PVOID d, ULONG e, PULONG f);
4571
4572#undef SplQueryPort
4573#define SplQueryPort _SplQueryPort
4574
4575SPLERR APIENTRY _SplQueryQueue(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f);
4576
4577#undef SplQueryQueue
4578#define SplQueryQueue _SplQueryQueue
4579
4580SPLERR APIENTRY _SplReleaseJob(PCSZ a, PCSZ b, ULONG c);
4581
4582#undef SplReleaseJob
4583#define SplReleaseJob _SplReleaseJob
4584
4585SPLERR APIENTRY _SplReleaseQueue(PSZ a, PSZ b);
4586
4587#undef SplReleaseQueue
4588#define SplReleaseQueue _SplReleaseQueue
4589
4590SPLERR APIENTRY _SplSetDevice(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, ULONG f);
4591
4592#undef SplSetDevice
4593#define SplSetDevice _SplSetDevice
4594
4595SPLERR APIENTRY _SplSetDriver(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f, ULONG g);
4596
4597#undef SplSetDriver
4598#define SplSetDriver _SplSetDriver
4599
4600SPLERR APIENTRY _SplSetJob(PSZ a, PSZ b, ULONG c, ULONG d, PVOID e, ULONG f, ULONG g);
4601
4602#undef SplSetJob
4603#define SplSetJob _SplSetJob
4604
4605SPLERR APIENTRY _SplSetPort(PCSZ a, PCSZ b, ULONG c, PVOID d, ULONG e, ULONG f);
4606
4607#undef SplSetPort
4608#define SplSetPort _SplSetPort
4609
4610SPLERR APIENTRY _SplSetQueue(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, ULONG f);
4611
4612#undef SplSetQueue
4613#define SplSetQueue _SplSetQueue
4614
4615ULONG APIENTRY _SplMessageBox(PSZ a, ULONG b, ULONG c, PSZ d, PSZ e, ULONG f, ULONG g);
4616
4617#undef SplMessageBox
4618#define SplMessageBox _SplMessageBox
4619
4620BOOL APIENTRY _SplQmAbort(HSPL a);
4621
4622#undef SplQmAbort
4623#define SplQmAbort _SplQmAbort
4624
4625BOOL APIENTRY _SplQmAbortDoc(HSPL a);
4626
4627#undef SplQmAbortDoc
4628#define SplQmAbortDoc _SplQmAbortDoc
4629
4630BOOL APIENTRY _SplQmClose(HSPL a);
4631
4632#undef SplQmClose
4633#define SplQmClose _SplQmClose
4634
4635BOOL APIENTRY _SplQmEndDoc(HSPL a);
4636
4637#undef SplQmEndDoc
4638#define SplQmEndDoc _SplQmEndDoc
4639
4640ULONG APIENTRY _SplQmGetJobID(HSPL a, ULONG b, PVOID c, ULONG d, PULONG e);
4641
4642#undef SplQmGetJobID
4643#define SplQmGetJobID _SplQmGetJobID
4644
4645BOOL APIENTRY _SplQmNewPage(HSPL a, ULONG b);
4646
4647#undef SplQmNewPage
4648#define SplQmNewPage _SplQmNewPage
4649
4650HSPL APIENTRY _SplQmOpen(PSZ a, LONG b, PQMOPENDATA c);
4651
4652#undef SplQmOpen
4653#define SplQmOpen _SplQmOpen
4654
4655BOOL APIENTRY _SplQmStartDoc(HSPL a, PSZ b);
4656
4657#undef SplQmStartDoc
4658#define SplQmStartDoc _SplQmStartDoc
4659
4660BOOL APIENTRY _SplQmWrite(HSPL a, LONG b, PVOID c);
4661
4662#undef SplQmWrite
4663#define SplQmWrite _SplQmWrite
4664
4665#endif
4666#ifdef INCL_WINHELP
4667BOOL APIENTRY _WinAssociateHelpInstance(HWND a, HWND b);
4668
4669#undef WinAssociateHelpInstance
4670#define WinAssociateHelpInstance _WinAssociateHelpInstance
4671
4672HWND APIENTRY _WinCreateHelpInstance(HAB a, PHELPINIT b);
4673
4674#undef WinCreateHelpInstance
4675#define WinCreateHelpInstance _WinCreateHelpInstance
4676
4677BOOL APIENTRY _WinCreateHelpTable(HWND a, PHELPTABLE b);
4678
4679#undef WinCreateHelpTable
4680#define WinCreateHelpTable _WinCreateHelpTable
4681
4682BOOL APIENTRY _WinDestroyHelpInstance(HWND a);
4683
4684#undef WinDestroyHelpInstance
4685#define WinDestroyHelpInstance _WinDestroyHelpInstance
4686
4687BOOL APIENTRY _WinLoadHelpTable(HWND a, ULONG b, HMODULE c);
4688
4689#undef WinLoadHelpTable
4690#define WinLoadHelpTable _WinLoadHelpTable
4691
4692HWND APIENTRY _WinQueryHelpInstance(HWND a);
4693
4694#undef WinQueryHelpInstance
4695#define WinQueryHelpInstance _WinQueryHelpInstance
4696
4697#endif
4698#ifdef INCL_DDF
4699BOOL APIENTRY _DdfBeginList(HDDF a, ULONG b, ULONG c, ULONG d);
4700
4701#undef DdfBeginList
4702#define DdfBeginList _DdfBeginList
4703
4704BOOL APIENTRY _DdfBitmap(HDDF a, HBITMAP b, ULONG c);
4705
4706#undef DdfBitmap
4707#define DdfBitmap _DdfBitmap
4708
4709BOOL APIENTRY _DdfEndList(HDDF a);
4710
4711#undef DdfEndList
4712#define DdfEndList _DdfEndList
4713
4714BOOL APIENTRY _DdfHyperText(HDDF a, PCSZ b, PCSZ c, ULONG d);
4715
4716#undef DdfHyperText
4717#define DdfHyperText _DdfHyperText
4718
4719BOOL APIENTRY _DdfInform(HDDF a, PCSZ b, ULONG c);
4720
4721#undef DdfInform
4722#define DdfInform _DdfInform
4723
4724HDDF APIENTRY _DdfInitialize(HWND a, ULONG b, ULONG c);
4725
4726#undef DdfInitialize
4727#define DdfInitialize _DdfInitialize
4728
4729BOOL APIENTRY _DdfListItem(HDDF a, PCSZ b, PCSZ c);
4730
4731#undef DdfListItem
4732#define DdfListItem _DdfListItem
4733
4734BOOL APIENTRY _DdfMetafile(HDDF a, HMF b, PRECTL c);
4735
4736#undef DdfMetafile
4737#define DdfMetafile _DdfMetafile
4738
4739BOOL APIENTRY _DdfPara(HDDF a);
4740
4741#undef DdfPara
4742#define DdfPara _DdfPara
4743
4744BOOL APIENTRY _DdfSetColor(HDDF a, COLOR b, COLOR c);
4745
4746#undef DdfSetColor
4747#define DdfSetColor _DdfSetColor
4748
4749BOOL APIENTRY _DdfSetFont(HDDF a, PCSZ b, ULONG c, ULONG d);
4750
4751#undef DdfSetFont
4752#define DdfSetFont _DdfSetFont
4753
4754BOOL APIENTRY _DdfSetFontStyle(HDDF a, ULONG b);
4755
4756#undef DdfSetFontStyle
4757#define DdfSetFontStyle _DdfSetFontStyle
4758
4759BOOL APIENTRY _DdfSetFormat(HDDF a, ULONG b);
4760
4761#undef DdfSetFormat
4762#define DdfSetFormat _DdfSetFormat
4763
4764BOOL APIENTRY _DdfSetTextAlign(HDDF a, ULONG b);
4765
4766#undef DdfSetTextAlign
4767#define DdfSetTextAlign _DdfSetTextAlign
4768
4769BOOL APIENTRY _DdfText(HDDF a, PCSZ b);
4770
4771#undef DdfText
4772#define DdfText _DdfText
4773
4774#endif
4775
4776#ifdef INCL_AVIO
4777inline USHORT _VioAssociate(HDC a, HVPS b)
4778{
4779 USHORT yyrc;
4780 USHORT sel = RestoreOS2FS();
4781
4782 yyrc = VIO16ASSOCIATE(a, b);
4783 SetFS(sel);
4784
4785 return yyrc;
4786}
4787
4788#undef VioAssociate
4789#define VioAssociate _VioAssociate
4790
4791inline USHORT _VioCreateLogFont(PFATTRS a, LONG b, PSTR8 c, HVPS d)
4792{
4793 USHORT yyrc;
4794 USHORT sel = RestoreOS2FS();
4795
4796 yyrc = VIO16CREATELOGFONT(a, b, c, d);
4797 SetFS(sel);
4798
4799 return yyrc;
4800}
4801
4802#undef VioCreateLogFont
4803#define VioCreateLogFont _VioCreateLogFont
4804
4805inline USHORT _VioCreatePS(PHVPS a, SHORT b, SHORT c, SHORT d, SHORT e, HVPS f)
4806{
4807 USHORT yyrc;
4808 USHORT sel = RestoreOS2FS();
4809
4810 yyrc = VIO16CREATEPS(a, b, c, d, e, f);
4811 SetFS(sel);
4812
4813 return yyrc;
4814}
4815
4816#undef VioCreatePS
4817#define VioCreatePS _VioCreatePS
4818
4819inline USHORT _VioDeleteSetId(LONG a, HVPS b)
4820{
4821 USHORT yyrc;
4822 USHORT sel = RestoreOS2FS();
4823
4824 yyrc = VIO16DELETESETID(a, b);
4825 SetFS(sel);
4826
4827 return yyrc;
4828}
4829
4830#undef VioDeleteSetId
4831#define VioDeleteSetId _VioDeleteSetId
4832
4833inline USHORT _VioDestroyPS(HVPS a)
4834{
4835 USHORT yyrc;
4836 USHORT sel = RestoreOS2FS();
4837
4838 yyrc = VIO16DESTROYPS(a);
4839 SetFS(sel);
4840
4841 return yyrc;
4842}
4843
4844#undef VioDestroyPS
4845#define VioDestroyPS _VioDestroyPS
4846
4847inline USHORT _VioGetDeviceCellSize(PSHORT a, PSHORT b, HVPS c)
4848{
4849 USHORT yyrc;
4850 USHORT sel = RestoreOS2FS();
4851
4852 yyrc = VIO16GETDEVICECELLSIZE(a, b, c);
4853 SetFS(sel);
4854
4855 return yyrc;
4856}
4857
4858#undef VioGetDeviceCellSize
4859#define VioGetDeviceCellSize _VioGetDeviceCellSize
4860
4861inline USHORT _VioGetOrg(PSHORT a, PSHORT b, HVPS c)
4862{
4863 USHORT yyrc;
4864 USHORT sel = RestoreOS2FS();
4865
4866 yyrc = VIO16GETORG(a, b, c);
4867 SetFS(sel);
4868
4869 return yyrc;
4870}
4871
4872#undef VioGetOrg
4873#define VioGetOrg _VioGetOrg
4874
4875inline USHORT _VioQueryFonts(PLONG a, PFONTMETRICS b, LONG c, PLONG d, PSZ e, ULONG f, HVPS g)
4876{
4877 USHORT yyrc;
4878 USHORT sel = RestoreOS2FS();
4879
4880 yyrc = VIO16QUERYFONTS(a, b, c, d, e, f, g);
4881 SetFS(sel);
4882
4883 return yyrc;
4884}
4885
4886#undef VioQueryFonts
4887#define VioQueryFonts _VioQueryFonts
4888
4889inline USHORT _VioQuerySetIds(PLONG a, PSTR8 b, PLONG c, LONG d, HVPS e)
4890{
4891 USHORT yyrc;
4892 USHORT sel = RestoreOS2FS();
4893
4894 yyrc = VIO16QUERYSETIDS(a, b, c, d, e);
4895 SetFS(sel);
4896
4897 return yyrc;
4898}
4899
4900#undef VioQuerySetIds
4901#define VioQuerySetIds _VioQuerySetIds
4902
4903inline USHORT _VioSetDeviceCellSize(SHORT a, SHORT b, HVPS c)
4904{
4905 USHORT yyrc;
4906 USHORT sel = RestoreOS2FS();
4907
4908 yyrc = VIO16SETDEVICECELLSIZE(a, b, c);
4909 SetFS(sel);
4910
4911 return yyrc;
4912}
4913
4914#undef VioSetDeviceCellSize
4915#define VioSetDeviceCellSize _VioSetDeviceCellSize
4916
4917inline USHORT _VioSetOrg(SHORT a, SHORT b, HVPS c)
4918{
4919 USHORT yyrc;
4920 USHORT sel = RestoreOS2FS();
4921
4922 yyrc = VIO16SETORG(a, b, c);
4923 SetFS(sel);
4924
4925 return yyrc;
4926}
4927
4928#undef VioSetOrg
4929#define VioSetOrg _VioSetOrg
4930
4931inline USHORT _VioShowPS(SHORT a, SHORT b, SHORT c, HVPS d)
4932{
4933 USHORT yyrc;
4934 USHORT sel = RestoreOS2FS();
4935
4936 yyrc = VIO16SHOWPS(a, b, c, d);
4937 SetFS(sel);
4938
4939 return yyrc;
4940}
4941
4942#undef VioShowPS
4943#define VioShowPS _VioShowPS
4944
4945inline MRESULT _WinDefAVioWindowProc(HWND a, USHORT b, ULONG c, ULONG d)
4946{
4947 MRESULT yyrc;
4948 USHORT sel = RestoreOS2FS();
4949
4950 yyrc = WinDefAVioWindowProc(a, b, c, d);
4951 SetFS(sel);
4952
4953 return yyrc;
4954}
4955
4956#undef WinDefAVioWindowProc
4957#define WinDefAVioWindowProc _WinDefAVioWindowProc
4958
4959#endif
4960#ifdef INCL_KBD
4961inline USHORT _KbdCharIn(PKBDKEYINFO a, USHORT b, HKBD c)
4962{
4963 USHORT yyrc;
4964 USHORT sel = RestoreOS2FS();
4965
4966 yyrc = KbdCharIn(a, b, c);
4967 SetFS(sel);
4968
4969 return yyrc;
4970}
4971
4972#undef KbdCharIn
4973#define KbdCharIn _KbdCharIn
4974
4975inline USHORT _KbdClose(HKBD a)
4976{
4977 USHORT yyrc;
4978 USHORT sel = RestoreOS2FS();
4979
4980 yyrc = KbdClose(a);
4981 SetFS(sel);
4982
4983 return yyrc;
4984}
4985
4986#undef KbdClose
4987#define KbdClose _KbdClose
4988
4989inline USHORT _KbdDeRegister()
4990{
4991 USHORT yyrc;
4992 USHORT sel = RestoreOS2FS();
4993
4994 yyrc = KbdDeRegister();
4995 SetFS(sel);
4996
4997 return yyrc;
4998}
4999
5000#undef KbdDeRegister
5001#define KbdDeRegister _KbdDeRegister
5002
5003inline USHORT _KbdFlushBuffer(HKBD a)
5004{
5005 USHORT yyrc;
5006 USHORT sel = RestoreOS2FS();
5007
5008 yyrc = KbdFlushBuffer(a);
5009 SetFS(sel);
5010
5011 return yyrc;
5012}
5013
5014#undef KbdFlushBuffer
5015#define KbdFlushBuffer _KbdFlushBuffer
5016
5017inline USHORT _KbdFreeFocus(HKBD a)
5018{
5019 USHORT yyrc;
5020 USHORT sel = RestoreOS2FS();
5021
5022 yyrc = KbdFreeFocus(a);
5023 SetFS(sel);
5024
5025 return yyrc;
5026}
5027
5028#undef KbdFreeFocus
5029#define KbdFreeFocus _KbdFreeFocus
5030
5031inline USHORT _KbdGetCp(ULONG a, PUSHORT b, HKBD c)
5032{
5033 USHORT yyrc;
5034 USHORT sel = RestoreOS2FS();
5035
5036 yyrc = KbdGetCp(a, b, c);
5037 SetFS(sel);
5038
5039 return yyrc;
5040}
5041
5042#undef KbdGetCp
5043#define KbdGetCp _KbdGetCp
5044
5045inline USHORT _KbdGetFocus(USHORT a, HKBD b)
5046{
5047 USHORT yyrc;
5048 USHORT sel = RestoreOS2FS();
5049
5050 yyrc = KbdGetFocus(a, b);
5051 SetFS(sel);
5052
5053 return yyrc;
5054}
5055
5056#undef KbdGetFocus
5057#define KbdGetFocus _KbdGetFocus
5058
5059inline USHORT _KbdGetHWID(PKBDHWID a, HKBD b)
5060{
5061 USHORT yyrc;
5062 USHORT sel = RestoreOS2FS();
5063
5064 yyrc = KbdGetHWID(a, b);
5065 SetFS(sel);
5066
5067 return yyrc;
5068}
5069
5070#undef KbdGetHWID
5071#define KbdGetHWID _KbdGetHWID
5072
5073inline USHORT _KbdGetStatus(PKBDINFO a, HKBD b)
5074{
5075 USHORT yyrc;
5076 USHORT sel = RestoreOS2FS();
5077
5078 yyrc = KbdGetStatus(a, b);
5079 SetFS(sel);
5080
5081 return yyrc;
5082}
5083
5084#undef KbdGetStatus
5085#define KbdGetStatus _KbdGetStatus
5086
5087inline USHORT _KbdOpen(PHKBD a)
5088{
5089 USHORT yyrc;
5090 USHORT sel = RestoreOS2FS();
5091
5092 yyrc = KbdOpen(a);
5093 SetFS(sel);
5094
5095 return yyrc;
5096}
5097
5098#undef KbdOpen
5099#define KbdOpen _KbdOpen
5100
5101inline USHORT _KbdPeek(PKBDKEYINFO a, HKBD b)
5102{
5103 USHORT yyrc;
5104 USHORT sel = RestoreOS2FS();
5105
5106 yyrc = KbdPeek(a, b);
5107 SetFS(sel);
5108
5109 return yyrc;
5110}
5111
5112#undef KbdPeek
5113#define KbdPeek _KbdPeek
5114
5115inline USHORT _KbdRegister(PSZ a, PSZ b, ULONG c)
5116{
5117 USHORT yyrc;
5118 USHORT sel = RestoreOS2FS();
5119
5120 yyrc = KbdRegister(a, b, c);
5121 SetFS(sel);
5122
5123 return yyrc;
5124}
5125
5126#undef KbdRegister
5127#define KbdRegister _KbdRegister
5128
5129inline USHORT _KbdSetCp(USHORT a, USHORT b, HKBD c)
5130{
5131 USHORT yyrc;
5132 USHORT sel = RestoreOS2FS();
5133
5134 yyrc = KbdSetCp(a, b, c);
5135 SetFS(sel);
5136
5137 return yyrc;
5138}
5139
5140#undef KbdSetCp
5141#define KbdSetCp _KbdSetCp
5142
5143inline USHORT _KbdSetCustXt(PUSHORT a, HKBD b)
5144{
5145 USHORT yyrc;
5146 USHORT sel = RestoreOS2FS();
5147
5148 yyrc = KbdSetCustXt(a, b);
5149 SetFS(sel);
5150
5151 return yyrc;
5152}
5153
5154#undef KbdSetCustXt
5155#define KbdSetCustXt _KbdSetCustXt
5156
5157inline USHORT _KbdSetFgnd()
5158{
5159 USHORT yyrc;
5160 USHORT sel = RestoreOS2FS();
5161
5162 yyrc = KbdSetFgnd();
5163 SetFS(sel);
5164
5165 return yyrc;
5166}
5167
5168#undef KbdSetFgnd
5169#define KbdSetFgnd _KbdSetFgnd
5170
5171inline USHORT _KbdSetHWID(PKBDHWID a, HKBD b)
5172{
5173 USHORT yyrc;
5174 USHORT sel = RestoreOS2FS();
5175
5176 yyrc = KbdSetHWID(a, b);
5177 SetFS(sel);
5178
5179 return yyrc;
5180}
5181
5182#undef KbdSetHWID
5183#define KbdSetHWID _KbdSetHWID
5184
5185inline USHORT _KbdSetStatus(PKBDINFO a, HKBD b)
5186{
5187 USHORT yyrc;
5188 USHORT sel = RestoreOS2FS();
5189
5190 yyrc = KbdSetStatus(a, b);
5191 SetFS(sel);
5192
5193 return yyrc;
5194}
5195
5196#undef KbdSetStatus
5197#define KbdSetStatus _KbdSetStatus
5198
5199inline USHORT _KbdStringIn(PCH a, PSTRINGINBUF b, USHORT c, HKBD d)
5200{
5201 USHORT yyrc;
5202 USHORT sel = RestoreOS2FS();
5203
5204 yyrc = KbdStringIn(a, b, c, d);
5205 SetFS(sel);
5206
5207 return yyrc;
5208}
5209
5210#undef KbdStringIn
5211#define KbdStringIn _KbdStringIn
5212
5213inline USHORT _KbdSynch(USHORT a)
5214{
5215 USHORT yyrc;
5216 USHORT sel = RestoreOS2FS();
5217
5218 yyrc = KbdSynch(a);
5219 SetFS(sel);
5220
5221 return yyrc;
5222}
5223
5224#undef KbdSynch
5225#define KbdSynch _KbdSynch
5226
5227inline USHORT _KbdXlate(PKBDTRANS a, HKBD b)
5228{
5229 USHORT yyrc;
5230 USHORT sel = RestoreOS2FS();
5231
5232 yyrc = KbdXlate(a, b);
5233 SetFS(sel);
5234
5235 return yyrc;
5236}
5237
5238#undef KbdXlate
5239#define KbdXlate _KbdXlate
5240
5241#endif
5242#ifdef INCL_VIO
5243inline USHORT _VioCheckCharType(PUSHORT a, USHORT b, USHORT c, HVIO d)
5244{
5245 USHORT yyrc;
5246 USHORT sel = RestoreOS2FS();
5247
5248 yyrc = VIO16CHECKCHARTYPE(a, b, c, d);
5249 SetFS(sel);
5250
5251 return yyrc;
5252}
5253
5254#undef VioCheckCharType
5255#define VioCheckCharType _VioCheckCharType
5256
5257inline USHORT _VioDeRegister()
5258{
5259 USHORT yyrc;
5260 USHORT sel = RestoreOS2FS();
5261
5262 yyrc = VIO16DEREGISTER();
5263 SetFS(sel);
5264
5265 return yyrc;
5266}
5267
5268#undef VioDeRegister
5269#define VioDeRegister _VioDeRegister
5270
5271inline USHORT _VioEndPopUp(HVIO a)
5272{
5273 USHORT yyrc;
5274 USHORT sel = RestoreOS2FS();
5275
5276 yyrc = VIO16ENDPOPUP(a);
5277 SetFS(sel);
5278
5279 return yyrc;
5280}
5281
5282#undef VioEndPopUp
5283#define VioEndPopUp _VioEndPopUp
5284
5285inline USHORT _VioGetAnsi(PUSHORT a, HVIO b)
5286{
5287 USHORT yyrc;
5288 USHORT sel = RestoreOS2FS();
5289
5290 yyrc = VIO16GETANSI(a, b);
5291 SetFS(sel);
5292
5293 return yyrc;
5294}
5295
5296#undef VioGetAnsi
5297#define VioGetAnsi _VioGetAnsi
5298
5299inline USHORT _VioGetBuf(PULONG a, PUSHORT b, HVIO c)
5300{
5301 USHORT yyrc;
5302 USHORT sel = RestoreOS2FS();
5303
5304 yyrc = VIO16GETBUF(a, b, c);
5305 SetFS(sel);
5306
5307 return yyrc;
5308}
5309
5310#undef VioGetBuf
5311#define VioGetBuf _VioGetBuf
5312
5313inline USHORT _VioGetConfig(USHORT a, PVIOCONFIGINFO b, HVIO c)
5314{
5315 USHORT yyrc;
5316 USHORT sel = RestoreOS2FS();
5317
5318 yyrc = VIO16GETCONFIG(a, b, c);
5319 SetFS(sel);
5320
5321 return yyrc;
5322}
5323
5324#undef VioGetConfig
5325#define VioGetConfig _VioGetConfig
5326
5327inline USHORT _VioGetCp(USHORT a, PUSHORT b, HVIO c)
5328{
5329 USHORT yyrc;
5330 USHORT sel = RestoreOS2FS();
5331
5332 yyrc = VIO16GETCP(a, b, c);
5333 SetFS(sel);
5334
5335 return yyrc;
5336}
5337
5338#undef VioGetCp
5339#define VioGetCp _VioGetCp
5340
5341inline USHORT _VioGetCurPos(PUSHORT a, PUSHORT b, HVIO c)
5342{
5343 USHORT yyrc;
5344 USHORT sel = RestoreOS2FS();
5345
5346 yyrc = VIO16GETCURPOS(a, b, c);
5347 SetFS(sel);
5348
5349 return yyrc;
5350}
5351
5352#undef VioGetCurPos
5353#define VioGetCurPos _VioGetCurPos
5354
5355inline USHORT _VioGetCurType(PVIOCURSORINFO a, HVIO b)
5356{
5357 USHORT yyrc;
5358 USHORT sel = RestoreOS2FS();
5359
5360 yyrc = VIO16GETCURTYPE(a, b);
5361 SetFS(sel);
5362
5363 return yyrc;
5364}
5365
5366#undef VioGetCurType
5367#define VioGetCurType _VioGetCurType
5368
5369inline USHORT _VioGetFont(PVIOFONTINFO a, HVIO b)
5370{
5371 USHORT yyrc;
5372 USHORT sel = RestoreOS2FS();
5373
5374 yyrc = VIO16GETFONT(a, b);
5375 SetFS(sel);
5376
5377 return yyrc;
5378}
5379
5380#undef VioGetFont
5381#define VioGetFont _VioGetFont
5382
5383inline USHORT _VioGetMode(PVIOMODEINFO a, HVIO b)
5384{
5385 USHORT yyrc;
5386 USHORT sel = RestoreOS2FS();
5387
5388 yyrc = VIO16GETMODE(a, b);
5389 SetFS(sel);
5390
5391 return yyrc;
5392}
5393
5394#undef VioGetMode
5395#define VioGetMode _VioGetMode
5396
5397inline USHORT _VioGetPhysBuf(PVIOPHYSBUF a, USHORT b)
5398{
5399 USHORT yyrc;
5400 USHORT sel = RestoreOS2FS();
5401
5402 yyrc = VIO16GETPHYSBUF(a, b);
5403 SetFS(sel);
5404
5405 return yyrc;
5406}
5407
5408#undef VioGetPhysBuf
5409#define VioGetPhysBuf _VioGetPhysBuf
5410
5411inline USHORT _VioGetState(PVOID a, HVIO b)
5412{
5413 USHORT yyrc;
5414 USHORT sel = RestoreOS2FS();
5415
5416 yyrc = VIO16GETSTATE(a, b);
5417 SetFS(sel);
5418
5419 return yyrc;
5420}
5421
5422#undef VioGetState
5423#define VioGetState _VioGetState
5424
5425inline USHORT _VioModeUndo(USHORT a, USHORT b, USHORT c)
5426{
5427 USHORT yyrc;
5428 USHORT sel = RestoreOS2FS();
5429
5430 yyrc = VIO16MODEUNDO(a, b, c);
5431 SetFS(sel);
5432
5433 return yyrc;
5434}
5435
5436#undef VioModeUndo
5437#define VioModeUndo _VioModeUndo
5438
5439inline USHORT _VioModeWait(USHORT a, PUSHORT b, USHORT c)
5440{
5441 USHORT yyrc;
5442 USHORT sel = RestoreOS2FS();
5443
5444 yyrc = VIO16MODEWAIT(a, b, c);
5445 SetFS(sel);
5446
5447 return yyrc;
5448}
5449
5450#undef VioModeWait
5451#define VioModeWait _VioModeWait
5452
5453inline USHORT _VioPopUp(PUSHORT a, HVIO b)
5454{
5455 USHORT yyrc;
5456 USHORT sel = RestoreOS2FS();
5457
5458 yyrc = VIO16POPUP(a, b);
5459 SetFS(sel);
5460
5461 return yyrc;
5462}
5463
5464#undef VioPopUp
5465#define VioPopUp _VioPopUp
5466
5467inline USHORT _VioPrtSc(HVIO a)
5468{
5469 USHORT yyrc;
5470 USHORT sel = RestoreOS2FS();
5471
5472 yyrc = VIO16PRTSC(a);
5473 SetFS(sel);
5474
5475 return yyrc;
5476}
5477
5478#undef VioPrtSc
5479#define VioPrtSc _VioPrtSc
5480
5481inline USHORT _VioPrtScToggle(HVIO a)
5482{
5483 USHORT yyrc;
5484 USHORT sel = RestoreOS2FS();
5485
5486 yyrc = VIO16PRTSCTOGGLE(a);
5487 SetFS(sel);
5488
5489 return yyrc;
5490}
5491
5492#undef VioPrtScToggle
5493#define VioPrtScToggle _VioPrtScToggle
5494
5495inline USHORT _VioReadCellStr(PCH a, PUSHORT b, USHORT c, USHORT d, HVIO e)
5496{
5497 USHORT yyrc;
5498 USHORT sel = RestoreOS2FS();
5499
5500 yyrc = VIO16READCELLSTR(a, b, c, d, e);
5501 SetFS(sel);
5502
5503 return yyrc;
5504}
5505
5506#undef VioReadCellStr
5507#define VioReadCellStr _VioReadCellStr
5508
5509inline USHORT _VioReadCharStr(PCH a, PUSHORT b, USHORT c, USHORT d, HVIO e)
5510{
5511 USHORT yyrc;
5512 USHORT sel = RestoreOS2FS();
5513
5514 yyrc = VIO16READCHARSTR(a, b, c, d, e);
5515 SetFS(sel);
5516
5517 return yyrc;
5518}
5519
5520#undef VioReadCharStr
5521#define VioReadCharStr _VioReadCharStr
5522
5523inline USHORT _VioRegister(PSZ a, PSZ b, ULONG c, ULONG d)
5524{
5525 USHORT yyrc;
5526 USHORT sel = RestoreOS2FS();
5527
5528 yyrc = VIO16REGISTER(a, b, c, d);
5529 SetFS(sel);
5530
5531 return yyrc;
5532}
5533
5534#undef VioRegister
5535#define VioRegister _VioRegister
5536
5537inline USHORT _VioSavRedrawUndo(USHORT a, USHORT b, USHORT c)
5538{
5539 USHORT yyrc;
5540 USHORT sel = RestoreOS2FS();
5541
5542 yyrc = VIO16SAVREDRAWUNDO(a, b, c);
5543 SetFS(sel);
5544
5545 return yyrc;
5546}
5547
5548#undef VioSavRedrawUndo
5549#define VioSavRedrawUndo _VioSavRedrawUndo
5550
5551inline USHORT _VioSavRedrawWait(USHORT a, PUSHORT b, USHORT c)
5552{
5553 USHORT yyrc;
5554 USHORT sel = RestoreOS2FS();
5555
5556 yyrc = VIO16SAVREDRAWWAIT(a, b, c);
5557 SetFS(sel);
5558
5559 return yyrc;
5560}
5561
5562#undef VioSavRedrawWait
5563#define VioSavRedrawWait _VioSavRedrawWait
5564
5565inline USHORT _VioScrLock(USHORT a, PUCHAR b, HVIO c)
5566{
5567 USHORT yyrc;
5568 USHORT sel = RestoreOS2FS();
5569
5570 yyrc = VIO16SCRLOCK(a, b, c);
5571 SetFS(sel);
5572
5573 return yyrc;
5574}
5575
5576#undef VioScrLock
5577#define VioScrLock _VioScrLock
5578
5579inline USHORT _VioScrollDn(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
5580{
5581 USHORT yyrc;
5582 USHORT sel = RestoreOS2FS();
5583
5584 yyrc = VIO16SCROLLDN(a, b, c, d, e, f, g);
5585 SetFS(sel);
5586
5587 return yyrc;
5588}
5589
5590#undef VioScrollDn
5591#define VioScrollDn _VioScrollDn
5592
5593inline USHORT _VioScrollLf(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
5594{
5595 USHORT yyrc;
5596 USHORT sel = RestoreOS2FS();
5597
5598 yyrc = VIO16SCROLLLF(a, b, c, d, e, f, g);
5599 SetFS(sel);
5600
5601 return yyrc;
5602}
5603
5604#undef VioScrollLf
5605#define VioScrollLf _VioScrollLf
5606
5607inline USHORT _VioScrollRt(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
5608{
5609 USHORT yyrc;
5610 USHORT sel = RestoreOS2FS();
5611
5612 yyrc = VIO16SCROLLRT(a, b, c, d, e, f, g);
5613 SetFS(sel);
5614
5615 return yyrc;
5616}
5617
5618#undef VioScrollRt
5619#define VioScrollRt _VioScrollRt
5620
5621inline USHORT _VioScrollUp(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
5622{
5623 USHORT yyrc;
5624 USHORT sel = RestoreOS2FS();
5625
5626 yyrc = VIO16SCROLLUP(a, b, c, d, e, f, g);
5627 SetFS(sel);
5628
5629 return yyrc;
5630}
5631
5632#undef VioScrollUp
5633#define VioScrollUp _VioScrollUp
5634
5635inline USHORT _VioScrUnLock(HVIO a)
5636{
5637 USHORT yyrc;
5638 USHORT sel = RestoreOS2FS();
5639
5640 yyrc = VIO16SCRUNLOCK(a);
5641 SetFS(sel);
5642
5643 return yyrc;
5644}
5645
5646#undef VioScrUnLock
5647#define VioScrUnLock _VioScrUnLock
5648
5649inline USHORT _VioSetAnsi(USHORT a, HVIO b)
5650{
5651 USHORT yyrc;
5652 USHORT sel = RestoreOS2FS();
5653
5654 yyrc = VIO16SETANSI(a, b);
5655 SetFS(sel);
5656
5657 return yyrc;
5658}
5659
5660#undef VioSetAnsi
5661#define VioSetAnsi _VioSetAnsi
5662
5663inline USHORT _VioSetCp(USHORT a, USHORT b, HVIO c)
5664{
5665 USHORT yyrc;
5666 USHORT sel = RestoreOS2FS();
5667
5668 yyrc = VIO16SETCP(a, b, c);
5669 SetFS(sel);
5670
5671 return yyrc;
5672}
5673
5674#undef VioSetCp
5675#define VioSetCp _VioSetCp
5676
5677inline USHORT _VioSetCurPos(USHORT a, USHORT b, HVIO c)
5678{
5679 USHORT yyrc;
5680 USHORT sel = RestoreOS2FS();
5681
5682 yyrc = VIO16SETCURPOS(a, b, c);
5683 SetFS(sel);
5684
5685 return yyrc;
5686}
5687
5688#undef VioSetCurPos
5689#define VioSetCurPos _VioSetCurPos
5690
5691inline USHORT _VioSetCurType(PVIOCURSORINFO a, HVIO b)
5692{
5693 USHORT yyrc;
5694 USHORT sel = RestoreOS2FS();
5695
5696 yyrc = VIO16SETCURTYPE(a, b);
5697 SetFS(sel);
5698
5699 return yyrc;
5700}
5701
5702#undef VioSetCurType
5703#define VioSetCurType _VioSetCurType
5704
5705inline USHORT _VioSetFont(PVIOFONTINFO a, HVIO b)
5706{
5707 USHORT yyrc;
5708 USHORT sel = RestoreOS2FS();
5709
5710 yyrc = VIO16SETFONT(a, b);
5711 SetFS(sel);
5712
5713 return yyrc;
5714}
5715
5716#undef VioSetFont
5717#define VioSetFont _VioSetFont
5718
5719inline USHORT _VioSetMode(PVIOMODEINFO a, HVIO b)
5720{
5721 USHORT yyrc;
5722 USHORT sel = RestoreOS2FS();
5723
5724 yyrc = VIO16SETMODE(a, b);
5725 SetFS(sel);
5726
5727 return yyrc;
5728}
5729
5730#undef VioSetMode
5731#define VioSetMode _VioSetMode
5732
5733inline USHORT _VioSetState(PVOID a, HVIO b)
5734{
5735 USHORT yyrc;
5736 USHORT sel = RestoreOS2FS();
5737
5738 yyrc = VIO16SETSTATE(a, b);
5739 SetFS(sel);
5740
5741 return yyrc;
5742}
5743
5744#undef VioSetState
5745#define VioSetState _VioSetState
5746
5747inline USHORT _VioShowBuf(USHORT a, USHORT b, HVIO c)
5748{
5749 USHORT yyrc;
5750 USHORT sel = RestoreOS2FS();
5751
5752 yyrc = VIO16SHOWBUF(a, b, c);
5753 SetFS(sel);
5754
5755 return yyrc;
5756}
5757
5758#undef VioShowBuf
5759#define VioShowBuf _VioShowBuf
5760
5761inline USHORT _VioWrtCellStr(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
5762{
5763 USHORT yyrc;
5764 USHORT sel = RestoreOS2FS();
5765
5766 yyrc = VIO16WRTCELLSTR(a, b, c, d, e);
5767 SetFS(sel);
5768
5769 return yyrc;
5770}
5771
5772#undef VioWrtCellStr
5773#define VioWrtCellStr _VioWrtCellStr
5774
5775inline USHORT _VioWrtCharStr(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
5776{
5777 USHORT yyrc;
5778 USHORT sel = RestoreOS2FS();
5779
5780 yyrc = VIO16WRTCHARSTR(a, b, c, d, e);
5781 SetFS(sel);
5782
5783 return yyrc;
5784}
5785
5786#undef VioWrtCharStr
5787#define VioWrtCharStr _VioWrtCharStr
5788
5789inline USHORT _VioWrtCharStrAtt(PCH a, USHORT b, USHORT c, USHORT d, PBYTE e, HVIO f)
5790{
5791 USHORT yyrc;
5792 USHORT sel = RestoreOS2FS();
5793
5794 yyrc = VIO16WRTCHARSTRATT(a, b, c, d, e, f);
5795 SetFS(sel);
5796
5797 return yyrc;
5798}
5799
5800#undef VioWrtCharStrAtt
5801#define VioWrtCharStrAtt _VioWrtCharStrAtt
5802
5803inline USHORT _VioWrtNAttr(PBYTE a, USHORT b, USHORT c, USHORT d, HVIO e)
5804{
5805 USHORT yyrc;
5806 USHORT sel = RestoreOS2FS();
5807
5808 yyrc = VIO16WRTNATTR(a, b, c, d, e);
5809 SetFS(sel);
5810
5811 return yyrc;
5812}
5813
5814#undef VioWrtNAttr
5815#define VioWrtNAttr _VioWrtNAttr
5816
5817inline USHORT _VioWrtNCell(PBYTE a, USHORT b, USHORT c, USHORT d, HVIO e)
5818{
5819 USHORT yyrc;
5820 USHORT sel = RestoreOS2FS();
5821
5822 yyrc = VIO16WRTNCELL(a, b, c, d, e);
5823 SetFS(sel);
5824
5825 return yyrc;
5826}
5827
5828#undef VioWrtNCell
5829#define VioWrtNCell _VioWrtNCell
5830
5831inline USHORT _VioWrtNChar(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
5832{
5833 USHORT yyrc;
5834 USHORT sel = RestoreOS2FS();
5835
5836 yyrc = VIO16WRTNCHAR(a, b, c, d, e);
5837 SetFS(sel);
5838
5839 return yyrc;
5840}
5841
5842#undef VioWrtNChar
5843#define VioWrtNChar _VioWrtNChar
5844
5845inline USHORT _VioWrtTTY(PCH a, USHORT b, HVIO c)
5846{
5847 USHORT yyrc;
5848 USHORT sel = RestoreOS2FS();
5849
5850 yyrc = VIO16WRTTTY(a, b, c);
5851 SetFS(sel);
5852
5853 return yyrc;
5854}
5855
5856#undef VioWrtTTY
5857#define VioWrtTTY _VioWrtTTY
5858
5859#endif
5860#ifdef INCL_MOU
5861inline USHORT _MouClose(HMOU a)
5862{
5863 USHORT yyrc;
5864 USHORT sel = RestoreOS2FS();
5865
5866 yyrc = MOU16CLOSE(a);
5867 SetFS(sel);
5868
5869 return yyrc;
5870}
5871
5872#undef MouClose
5873#define MouClose _MouClose
5874
5875inline USHORT _MouDeRegister()
5876{
5877 USHORT yyrc;
5878 USHORT sel = RestoreOS2FS();
5879
5880 yyrc = MOU16DEREGISTER();
5881 SetFS(sel);
5882
5883 return yyrc;
5884}
5885
5886#undef MouDeRegister
5887#define MouDeRegister _MouDeRegister
5888
5889inline USHORT _MouDrawPtr(HMOU a)
5890{
5891 USHORT yyrc;
5892 USHORT sel = RestoreOS2FS();
5893
5894 yyrc = MOU16DRAWPTR(a);
5895 SetFS(sel);
5896
5897 return yyrc;
5898}
5899
5900#undef MouDrawPtr
5901#define MouDrawPtr _MouDrawPtr
5902
5903inline USHORT _MouFlushQue(HMOU a)
5904{
5905 USHORT yyrc;
5906 USHORT sel = RestoreOS2FS();
5907
5908 yyrc = MOU16FLUSHQUE(a);
5909 SetFS(sel);
5910
5911 return yyrc;
5912}
5913
5914#undef MouFlushQue
5915#define MouFlushQue _MouFlushQue
5916
5917inline USHORT _MouGetDevStatus(PUSHORT a, HMOU b)
5918{
5919 USHORT yyrc;
5920 USHORT sel = RestoreOS2FS();
5921
5922 yyrc = MOU16GETDEVSTATUS(a, b);
5923 SetFS(sel);
5924
5925 return yyrc;
5926}
5927
5928#undef MouGetDevStatus
5929#define MouGetDevStatus _MouGetDevStatus
5930
5931inline USHORT _MouGetEventMask(PUSHORT a, HMOU b)
5932{
5933 USHORT yyrc;
5934 USHORT sel = RestoreOS2FS();
5935
5936 yyrc = MOU16GETEVENTMASK(a, b);
5937 SetFS(sel);
5938
5939 return yyrc;
5940}
5941
5942#undef MouGetEventMask
5943#define MouGetEventMask _MouGetEventMask
5944
5945inline USHORT _MouGetNumButtons(PUSHORT a, HMOU b)
5946{
5947 USHORT yyrc;
5948 USHORT sel = RestoreOS2FS();
5949
5950 yyrc = MOU16GETNUMBUTTONS(a, b);
5951 SetFS(sel);
5952
5953 return yyrc;
5954}
5955
5956#undef MouGetNumButtons
5957#define MouGetNumButtons _MouGetNumButtons
5958
5959inline USHORT _MouGetNumMickeys(PUSHORT a, HMOU b)
5960{
5961 USHORT yyrc;
5962 USHORT sel = RestoreOS2FS();
5963
5964 yyrc = MOU16GETNUMMICKEYS(a, b);
5965 SetFS(sel);
5966
5967 return yyrc;
5968}
5969
5970#undef MouGetNumMickeys
5971#define MouGetNumMickeys _MouGetNumMickeys
5972
5973inline USHORT _MouGetNumQueEl(PMOUQUEINFO a, HMOU b)
5974{
5975 USHORT yyrc;
5976 USHORT sel = RestoreOS2FS();
5977
5978 yyrc = MOU16GETNUMQUEEL(a, b);
5979 SetFS(sel);
5980
5981 return yyrc;
5982}
5983
5984#undef MouGetNumQueEl
5985#define MouGetNumQueEl _MouGetNumQueEl
5986
5987inline USHORT _MouGetPtrPos(PPTRLOC a, HMOU b)
5988{
5989 USHORT yyrc;
5990 USHORT sel = RestoreOS2FS();
5991
5992 yyrc = MOU16GETPTRPOS(a, b);
5993 SetFS(sel);
5994
5995 return yyrc;
5996}
5997
5998#undef MouGetPtrPos
5999#define MouGetPtrPos _MouGetPtrPos
6000
6001inline USHORT _MouGetPtrShape(PBYTE a, PPTRSHAPE b, HMOU c)
6002{
6003 USHORT yyrc;
6004 USHORT sel = RestoreOS2FS();
6005
6006 yyrc = MOU16GETPTRSHAPE(a, b, c);
6007 SetFS(sel);
6008
6009 return yyrc;
6010}
6011
6012#undef MouGetPtrShape
6013#define MouGetPtrShape _MouGetPtrShape
6014
6015inline USHORT _MouGetScaleFact(PSCALEFACT a, HMOU b)
6016{
6017 USHORT yyrc;
6018 USHORT sel = RestoreOS2FS();
6019
6020 yyrc = MOU16GETSCALEFACT(a, b);
6021 SetFS(sel);
6022
6023 return yyrc;
6024}
6025
6026#undef MouGetScaleFact
6027#define MouGetScaleFact _MouGetScaleFact
6028
6029inline USHORT _MouGetThreshold(PTHRESHOLD a, HMOU b)
6030{
6031 USHORT yyrc;
6032 USHORT sel = RestoreOS2FS();
6033
6034 yyrc = MOU16GETTHRESHOLD(a, b);
6035 SetFS(sel);
6036
6037 return yyrc;
6038}
6039
6040#undef MouGetThreshold
6041#define MouGetThreshold _MouGetThreshold
6042
6043inline USHORT _MouInitReal(PSZ a)
6044{
6045 USHORT yyrc;
6046 USHORT sel = RestoreOS2FS();
6047
6048 yyrc = MOU16INITREAL(a);
6049 SetFS(sel);
6050
6051 return yyrc;
6052}
6053
6054#undef MouInitReal
6055#define MouInitReal _MouInitReal
6056
6057inline USHORT _MouOpen(PSZ a, PHMOU b)
6058{
6059 USHORT yyrc;
6060 USHORT sel = RestoreOS2FS();
6061
6062 yyrc = MOU16OPEN(a, b);
6063 SetFS(sel);
6064
6065 return yyrc;
6066}
6067
6068#undef MouOpen
6069#define MouOpen _MouOpen
6070
6071inline USHORT _MouReadEventQue(PMOUEVENTINFO a, PUSHORT b, HMOU c)
6072{
6073 USHORT yyrc;
6074 USHORT sel = RestoreOS2FS();
6075
6076 yyrc = MOU16READEVENTQUE(a, b, c);
6077 SetFS(sel);
6078
6079 return yyrc;
6080}
6081
6082#undef MouReadEventQue
6083#define MouReadEventQue _MouReadEventQue
6084
6085inline USHORT _MouRegister(PSZ a, PSZ b, ULONG c)
6086{
6087 USHORT yyrc;
6088 USHORT sel = RestoreOS2FS();
6089
6090 yyrc = MOU16REGISTER(a, b, c);
6091 SetFS(sel);
6092
6093 return yyrc;
6094}
6095
6096#undef MouRegister
6097#define MouRegister _MouRegister
6098
6099inline USHORT _MouRemovePtr(PNOPTRRECT a, HMOU b)
6100{
6101 USHORT yyrc;
6102 USHORT sel = RestoreOS2FS();
6103
6104 yyrc = MOU16REMOVEPTR(a, b);
6105 SetFS(sel);
6106
6107 return yyrc;
6108}
6109
6110#undef MouRemovePtr
6111#define MouRemovePtr _MouRemovePtr
6112
6113inline USHORT _MouSetDevStatus(PUSHORT a, HMOU b)
6114{
6115 USHORT yyrc;
6116 USHORT sel = RestoreOS2FS();
6117
6118 yyrc = MOU16SETDEVSTATUS(a, b);
6119 SetFS(sel);
6120
6121 return yyrc;
6122}
6123
6124#undef MouSetDevStatus
6125#define MouSetDevStatus _MouSetDevStatus
6126
6127inline USHORT _MouSetEventMask(PUSHORT a, HMOU b)
6128{
6129 USHORT yyrc;
6130 USHORT sel = RestoreOS2FS();
6131
6132 yyrc = MOU16SETEVENTMASK(a, b);
6133 SetFS(sel);
6134
6135 return yyrc;
6136}
6137
6138#undef MouSetEventMask
6139#define MouSetEventMask _MouSetEventMask
6140
6141inline USHORT _MouSetPtrPos(PPTRLOC a, HMOU b)
6142{
6143 USHORT yyrc;
6144 USHORT sel = RestoreOS2FS();
6145
6146 yyrc = MOU16SETPTRPOS(a, b);
6147 SetFS(sel);
6148
6149 return yyrc;
6150}
6151
6152#undef MouSetPtrPos
6153#define MouSetPtrPos _MouSetPtrPos
6154
6155inline USHORT _MouSetPtrShape(PBYTE a, PPTRSHAPE b, HMOU c)
6156{
6157 USHORT yyrc;
6158 USHORT sel = RestoreOS2FS();
6159
6160 yyrc = MOU16SETPTRSHAPE(a, b, c);
6161 SetFS(sel);
6162
6163 return yyrc;
6164}
6165
6166#undef MouSetPtrShape
6167#define MouSetPtrShape _MouSetPtrShape
6168
6169inline USHORT _MouSetScaleFact(PSCALEFACT a, HMOU b)
6170{
6171 USHORT yyrc;
6172 USHORT sel = RestoreOS2FS();
6173
6174 yyrc = MOU16SETSCALEFACT(a, b);
6175 SetFS(sel);
6176
6177 return yyrc;
6178}
6179
6180#undef MouSetScaleFact
6181#define MouSetScaleFact _MouSetScaleFact
6182
6183inline USHORT _MouSetThreshold(PTHRESHOLD a, HMOU b)
6184{
6185 USHORT yyrc;
6186 USHORT sel = RestoreOS2FS();
6187
6188 yyrc = MOU16SETTHRESHOLD(a, b);
6189 SetFS(sel);
6190
6191 return yyrc;
6192}
6193
6194#undef MouSetThreshold
6195#define MouSetThreshold _MouSetThreshold
6196
6197inline USHORT _MouSynch(USHORT a)
6198{
6199 USHORT yyrc;
6200 USHORT sel = RestoreOS2FS();
6201
6202 yyrc = MOU16SYNCH(a);
6203 SetFS(sel);
6204
6205 return yyrc;
6206}
6207
6208#undef MouSynch
6209#define MouSynch _MouSynch
6210
6211#endif
6212
6213#endif
Note: See TracBrowser for help on using the repository browser.