source: trunk/include/os2wrap.h@ 21597

Last change on this file since 21597 was 21597, checked in by dmik, 14 years ago

headers: VAC <= 3.0 doesn't understand _inline in C mode, so use _Inline instead.

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