Ignore:
Timestamp:
Jun 19, 1999, 12:53:36 PM (26 years ago)
Author:
sandervl
Message:

Updated OS/2 api wrapper files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/os2wrap.h

    r94 r119  
    1 /* $Id: os2wrap.h,v 1.2 1999-06-10 16:21:48 achimha Exp $ */
     1/* $Id: os2wrap.h,v 1.3 1999-06-19 10:53:12 sandervl Exp $ */
    22#ifndef __OS2WRAP_H__
    33#define __OS2WRAP_H__
    44
     5#include <os2.h>
    56#include <os2sel.h>
     7#include <os2newapi.h>
    68
    79#ifdef INCL_DOSMEMMGR
    8 inline ULONG APIENTRY DosAllocMem(PPVOID a, ULONG b, ULONG c)
     10inline ULONG  _DosAllocMem(PPVOID a, ULONG b, ULONG c)
    911{
    1012 ULONG yyrc;
     
    1719}
    1820
    19 inline ULONG APIENTRY DosAllocSharedMem(PPVOID a, PCSZ b, ULONG c, ULONG d)
     21#undef  DosAllocMem
     22#define DosAllocMem _DosAllocMem
     23
     24inline ULONG APIENTRY _DosAllocSharedMem(PPVOID a, PCSZ b, ULONG c, ULONG d)
    2025{
    2126 ULONG yyrc;
     
    2833}
    2934
    30 inline ULONG APIENTRY DosFreeMem(PVOID a)
     35#undef  DosAllocSharedMem
     36#define DosAllocSharedMem _DosAllocSharedMem
     37
     38inline ULONG APIENTRY _DosFreeMem(PVOID a)
    3139{
    3240 ULONG yyrc;
     
    3947}
    4048
    41 inline ULONG APIENTRY DosGetNamedSharedMem(PPVOID a, PCSZ b, ULONG c)
     49#undef  DosFreeMem
     50#define DosFreeMem _DosFreeMem
     51
     52inline ULONG APIENTRY _DosGetNamedSharedMem(PPVOID a, PCSZ b, ULONG c)
    4253{
    4354 ULONG yyrc;
     
    5061}
    5162
    52 inline ULONG APIENTRY DosGetSharedMem(PVOID a, ULONG b)
     63#undef  DosGetNamedSharedMem
     64#define DosGetNamedSharedMem _DosGetNamedSharedMem
     65
     66inline ULONG APIENTRY _DosGetSharedMem(PVOID a, ULONG b)
    5367{
    5468 ULONG yyrc;
     
    6175}
    6276
    63 inline ULONG APIENTRY DosGiveSharedMem(PVOID a, PID b, ULONG c)
     77#undef  DosGetSharedMem
     78#define DosGetSharedMem _DosGetSharedMem
     79
     80inline ULONG APIENTRY _DosGiveSharedMem(PVOID a, PID b, ULONG c)
    6481{
    6582 ULONG yyrc;
     
    7289}
    7390
    74 inline ULONG APIENTRY DosQueryMem(PVOID a, PULONG b, PULONG c)
     91#undef  DosGiveSharedMem
     92#define DosGiveSharedMem _DosGiveSharedMem
     93
     94inline ULONG APIENTRY _DosQueryMem(PVOID a, PULONG b, PULONG c)
    7595{
    7696 ULONG yyrc;
     
    83103}
    84104
    85 inline ULONG APIENTRY DosSetMem(PVOID a, ULONG b, ULONG c)
     105#undef  DosQueryMem
     106#define DosQueryMem _DosQueryMem
     107
     108inline ULONG APIENTRY _DosSetMem(PVOID a, ULONG b, ULONG c)
    86109{
    87110 ULONG yyrc;
     
    94117}
    95118
    96 inline ULONG APIENTRY DosSubAllocMem(PVOID a, PPVOID b, ULONG c)
     119#undef  DosSetMem
     120#define DosSetMem _DosSetMem
     121
     122inline ULONG APIENTRY _DosSubAllocMem(PVOID a, PPVOID b, ULONG c)
    97123{
    98124 ULONG yyrc;
     
    105131}
    106132
    107 inline ULONG APIENTRY DosSubFreeMem(PVOID a, PVOID b, ULONG c)
     133#undef  DosSubAllocMem
     134#define DosSubAllocMem _DosSubAllocMem
     135
     136inline ULONG APIENTRY _DosSubFreeMem(PVOID a, PVOID b, ULONG c)
    108137{
    109138 ULONG yyrc;
     
    116145}
    117146
    118 inline ULONG APIENTRY DosSubSetMem(PVOID a, ULONG b, ULONG c)
     147#undef  DosSubFreeMem
     148#define DosSubFreeMem _DosSubFreeMem
     149
     150inline ULONG APIENTRY _DosSubSetMem(PVOID a, ULONG b, ULONG c)
    119151{
    120152 ULONG yyrc;
     
    127159}
    128160
    129 inline ULONG APIENTRY DosSubUnsetMem(PVOID a)
     161#undef  DosSubSetMem
     162#define DosSubSetMem _DosSubSetMem
     163
     164inline ULONG APIENTRY _DosSubUnsetMem(PVOID a)
    130165{
    131166 ULONG yyrc;
     
    137172    return yyrc;
    138173}
     174
     175#undef  DosSubUnsetMem
     176#define DosSubUnsetMem _DosSubUnsetMem
    139177
    140178#endif
    141179#ifdef INCL_DOSFILEMGR
    142 inline ULONG APIENTRY DosCancelLockRequest(HFILE a, CONST FILELOCK *b)
     180inline ULONG APIENTRY _DosCancelLockRequest(HFILE a, PFILELOCK b)
    143181{
    144182 ULONG yyrc;
     
    151189}
    152190
    153 inline ULONG APIENTRY DosClose(HFILE a)
     191#undef  DosCancelLockRequest
     192#define DosCancelLockRequest _DosCancelLockRequest
     193
     194inline ULONG APIENTRY _DosClose(HFILE a)
    154195{
    155196 ULONG yyrc;
     
    162203}
    163204
    164 inline ULONG APIENTRY DosCopy(PCSZ a, PCSZ b, ULONG c)
     205#undef  DosClose
     206#define DosClose _DosClose
     207
     208inline ULONG APIENTRY _DosCopy(PCSZ a, PCSZ b, ULONG c)
    165209{
    166210 ULONG yyrc;
     
    173217}
    174218
    175 inline ULONG APIENTRY DosCreateDir(PCSZ a, PEAOP2 b)
     219#undef  DosCopy
     220#define DosCopy _DosCopy
     221
     222inline ULONG APIENTRY _DosCreateDir(PCSZ a, PEAOP2 b)
    176223{
    177224 ULONG yyrc;
     
    184231}
    185232
    186 inline ULONG APIENTRY DosDelete(PCSZ a)
     233#undef  DosCreateDir
     234#define DosCreateDir _DosCreateDir
     235
     236inline ULONG APIENTRY _DosDelete(PCSZ a)
    187237{
    188238 ULONG yyrc;
     
    195245}
    196246
    197 inline ULONG APIENTRY DosDeleteDir(PCSZ a)
     247#undef  DosDelete
     248#define DosDelete _DosDelete
     249
     250inline ULONG APIENTRY _DosDeleteDir(PCSZ a)
    198251{
    199252 ULONG yyrc;
     
    206259}
    207260
    208 inline ULONG APIENTRY DosDupHandle(HFILE a, PHFILE b)
     261#undef  DosDeleteDir
     262#define DosDeleteDir _DosDeleteDir
     263
     264inline ULONG APIENTRY _DosDupHandle(HFILE a, PHFILE b)
    209265{
    210266 ULONG yyrc;
     
    217273}
    218274
    219 inline ULONG APIENTRY DosEditName(ULONG a, PCSZ b, PCSZ c, PBYTE d, ULONG e)
     275#undef  DosDupHandle
     276#define DosDupHandle _DosDupHandle
     277
     278inline ULONG APIENTRY _DosEditName(ULONG a, PCSZ b, PCSZ c, PBYTE d, ULONG e)
    220279{
    221280 ULONG yyrc;
     
    228287}
    229288
    230 inline ULONG APIENTRY DosEnumAttribute(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g)
     289#undef  DosEditName
     290#define DosEditName _DosEditName
     291
     292inline ULONG APIENTRY _DosEnumAttribute(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g)
    231293{
    232294 ULONG yyrc;
     
    239301}
    240302
    241 inline ULONG APIENTRY DosFindClose(HDIR a)
     303#undef  DosEnumAttribute
     304#define DosEnumAttribute _DosEnumAttribute
     305
     306inline ULONG APIENTRY _DosFindClose(HDIR a)
    242307{
    243308 ULONG yyrc;
     
    250315}
    251316
    252 inline ULONG APIENTRY DosFindFirst(PCSZ a, PHDIR b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g)
     317#undef  DosFindClose
     318#define DosFindClose _DosFindClose
     319
     320inline ULONG APIENTRY _DosFindFirst(PCSZ a, PHDIR b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g)
    253321{
    254322 ULONG yyrc;
     
    261329}
    262330
    263 inline ULONG APIENTRY DosFindNext(HDIR a, PVOID b, ULONG c, PULONG d)
     331#undef  DosFindFirst
     332#define DosFindFirst _DosFindFirst
     333
     334inline ULONG APIENTRY _DosFindNext(HDIR a, PVOID b, ULONG c, PULONG d)
    264335{
    265336 ULONG yyrc;
     
    272343}
    273344
    274 inline ULONG APIENTRY DosForceDelete(PCSZ a)
     345#undef  DosFindNext
     346#define DosFindNext _DosFindNext
     347
     348inline ULONG APIENTRY _DosForceDelete(PCSZ a)
    275349{
    276350 ULONG yyrc;
     
    283357}
    284358
    285 inline ULONG APIENTRY DosFSAttach(PCSZ a, PCSZ b, CONST VOID *c, ULONG d, ULONG e)
     359#undef  DosForceDelete
     360#define DosForceDelete _DosForceDelete
     361
     362inline ULONG APIENTRY _DosFSAttach(PCSZ a, PCSZ b, PVOID c, ULONG d, ULONG e)
    286363{
    287364 ULONG yyrc;
     
    294371}
    295372
    296 inline ULONG APIENTRY DosFSCtl(PVOID a, ULONG b, PULONG c, PVOID d, ULONG e, PULONG f, ULONG g, PCSZ h, HFILE i, ULONG j)
     373#undef  DosFSAttach
     374#define DosFSAttach _DosFSAttach
     375
     376inline ULONG APIENTRY _DosFSCtl(PVOID a, ULONG b, PULONG c, PVOID d, ULONG e, PULONG f, ULONG g, PCSZ h, HFILE i, ULONG j)
    297377{
    298378 ULONG yyrc;
     
    305385}
    306386
    307 inline ULONG APIENTRY DosMove(PCSZ a, PCSZ b)
     387#undef  DosFSCtl
     388#define DosFSCtl _DosFSCtl
     389
     390inline ULONG APIENTRY _DosMove(PCSZ a, PCSZ b)
    308391{
    309392 ULONG yyrc;
     
    316399}
    317400
    318 inline ULONG APIENTRY DosOpen(PCSZ a, PHFILE b, PULONG c, ULONG d, ULONG e, ULONG f, ULONG g, PEAOP2 h)
     401#undef  DosMove
     402#define DosMove _DosMove
     403
     404inline ULONG APIENTRY _DosOpen(PCSZ a, PHFILE b, PULONG c, ULONG d, ULONG e, ULONG f, ULONG g, PEAOP2 h)
    319405{
    320406 ULONG yyrc;
     
    327413}
    328414
    329 inline ULONG APIENTRY DosProtectClose(HFILE a, FHLOCK b)
     415#undef  DosOpen
     416#define DosOpen _DosOpen
     417
     418inline ULONG APIENTRY _DosProtectClose(HFILE a, FHLOCK b)
    330419{
    331420 ULONG yyrc;
     
    338427}
    339428
    340 inline ULONG APIENTRY DosProtectEnumAttribute(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g, FHLOCK h)
     429#undef  DosProtectClose
     430#define DosProtectClose _DosProtectClose
     431
     432inline ULONG APIENTRY _DosProtectEnumAttribute(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g, FHLOCK h)
    341433{
    342434 ULONG yyrc;
     
    349441}
    350442
    351 inline ULONG APIENTRY DosProtectOpen(PCSZ a, PHFILE b, PULONG c, ULONG d, ULONG e, ULONG f, ULONG g, PEAOP2 h, PFHLOCK i)
     443#undef  DosProtectEnumAttribute
     444#define DosProtectEnumAttribute _DosProtectEnumAttribute
     445
     446inline ULONG APIENTRY _DosProtectOpen(PCSZ a, PHFILE b, PULONG c, ULONG d, ULONG e, ULONG f, ULONG g, PEAOP2 h, PFHLOCK i)
    352447{
    353448 ULONG yyrc;
     
    360455}
    361456
    362 inline ULONG APIENTRY DosProtectQueryFHState(HFILE a, PULONG b, FHLOCK c)
     457#undef  DosProtectOpen
     458#define DosProtectOpen _DosProtectOpen
     459
     460inline ULONG APIENTRY _DosProtectQueryFHState(HFILE a, PULONG b, FHLOCK c)
    363461{
    364462 ULONG yyrc;
     
    371469}
    372470
    373 inline ULONG APIENTRY DosProtectQueryFileInfo(HFILE a, ULONG b, PVOID c, ULONG d, FHLOCK e)
     471#undef  DosProtectQueryFHState
     472#define DosProtectQueryFHState _DosProtectQueryFHState
     473
     474inline ULONG APIENTRY _DosProtectQueryFileInfo(HFILE a, ULONG b, PVOID c, ULONG d, FHLOCK e)
    374475{
    375476 ULONG yyrc;
     
    382483}
    383484
    384 inline ULONG APIENTRY DosProtectRead(HFILE a, PVOID b, ULONG c, PULONG d, FHLOCK e)
     485#undef  DosProtectQueryFileInfo
     486#define DosProtectQueryFileInfo _DosProtectQueryFileInfo
     487
     488inline ULONG APIENTRY _DosProtectRead(HFILE a, PVOID b, ULONG c, PULONG d, FHLOCK e)
    385489{
    386490 ULONG yyrc;
     
    393497}
    394498
    395 inline ULONG APIENTRY DosProtectSetFHState(HFILE a, ULONG b, FHLOCK c)
     499#undef  DosProtectRead
     500#define DosProtectRead _DosProtectRead
     501
     502inline ULONG APIENTRY _DosProtectSetFHState(HFILE a, ULONG b, FHLOCK c)
    396503{
    397504 ULONG yyrc;
     
    404511}
    405512
    406 inline ULONG APIENTRY DosProtectSetFileInfo(HFILE a, ULONG b, PVOID c, ULONG d, FHLOCK e)
     513#undef  DosProtectSetFHState
     514#define DosProtectSetFHState _DosProtectSetFHState
     515
     516inline ULONG APIENTRY _DosProtectSetFileInfo(HFILE a, ULONG b, PVOID c, ULONG d, FHLOCK e)
    407517{
    408518 ULONG yyrc;
     
    415525}
    416526
    417 inline ULONG APIENTRY DosProtectSetFileLocks(HFILE a, CONST FILELOCK *b, CONST FILELOCK *c, ULONG d, ULONG e, FHLOCK f)
     527#undef  DosProtectSetFileInfo
     528#define DosProtectSetFileInfo _DosProtectSetFileInfo
     529
     530inline ULONG APIENTRY _DosProtectSetFileLocks(HFILE a, PFILELOCK b, PFILELOCK c, ULONG d, ULONG e, FHLOCK f)
    418531{
    419532 ULONG yyrc;
     
    426539}
    427540
    428 inline ULONG APIENTRY DosProtectSetFilePtr(HFILE a, LONG b, ULONG c, PULONG d, FHLOCK e)
     541#undef  DosProtectSetFileLocks
     542#define DosProtectSetFileLocks _DosProtectSetFileLocks
     543
     544inline ULONG APIENTRY _DosProtectSetFilePtr(HFILE a, LONG b, ULONG c, PULONG d, FHLOCK e)
    429545{
    430546 ULONG yyrc;
     
    437553}
    438554
    439 inline ULONG APIENTRY DosProtectSetFileSize(HFILE a, ULONG b, FHLOCK c)
     555#undef  DosProtectSetFilePtr
     556#define DosProtectSetFilePtr _DosProtectSetFilePtr
     557
     558inline ULONG APIENTRY _DosProtectSetFileSize(HFILE a, ULONG b, FHLOCK c)
    440559{
    441560 ULONG yyrc;
     
    448567}
    449568
    450 inline ULONG APIENTRY DosProtectWrite(HFILE a, PVOID b, ULONG c, PULONG d, FHLOCK e)
     569#undef  DosProtectSetFileSize
     570#define DosProtectSetFileSize _DosProtectSetFileSize
     571
     572inline ULONG APIENTRY _DosProtectWrite(HFILE a, PVOID b, ULONG c, PULONG d, FHLOCK e)
    451573{
    452574 ULONG yyrc;
     
    459581}
    460582
    461 inline ULONG APIENTRY DosQueryCurrentDir(ULONG a, PBYTE b, PULONG c)
     583#undef  DosProtectWrite
     584#define DosProtectWrite _DosProtectWrite
     585
     586inline ULONG APIENTRY _DosQueryCurrentDir(ULONG a, PBYTE b, PULONG c)
    462587{
    463588 ULONG yyrc;
     
    470595}
    471596
    472 inline ULONG APIENTRY DosQueryCurrentDisk(PULONG a, PULONG b)
     597#undef  DosQueryCurrentDir
     598#define DosQueryCurrentDir _DosQueryCurrentDir
     599
     600inline ULONG APIENTRY _DosQueryCurrentDisk(PULONG a, PULONG b)
    473601{
    474602 ULONG yyrc;
     
    481609}
    482610
    483 inline ULONG APIENTRY DosQueryFHState(HFILE a, PULONG b)
     611#undef  DosQueryCurrentDisk
     612#define DosQueryCurrentDisk _DosQueryCurrentDisk
     613
     614inline ULONG APIENTRY _DosQueryFHState(HFILE a, PULONG b)
    484615{
    485616 ULONG yyrc;
     
    492623}
    493624
    494 inline ULONG APIENTRY DosQueryFileInfo(HFILE a, ULONG b, PVOID c, ULONG d)
     625#undef  DosQueryFHState
     626#define DosQueryFHState _DosQueryFHState
     627
     628inline ULONG APIENTRY _DosQueryFileInfo(HFILE a, ULONG b, PVOID c, ULONG d)
    495629{
    496630 ULONG yyrc;
     
    503637}
    504638
    505 inline ULONG APIENTRY DosQueryFSAttach(PCSZ a, ULONG b, ULONG c, PFSQBUFFER2 d, PULONG e)
     639#undef  DosQueryFileInfo
     640#define DosQueryFileInfo _DosQueryFileInfo
     641
     642inline ULONG APIENTRY _DosQueryFSAttach(PCSZ a, ULONG b, ULONG c, PFSQBUFFER2 d, PULONG e)
    506643{
    507644 ULONG yyrc;
     
    514651}
    515652
    516 inline ULONG APIENTRY DosQueryFSInfo(ULONG a, ULONG b, PVOID c, ULONG d)
     653#undef  DosQueryFSAttach
     654#define DosQueryFSAttach _DosQueryFSAttach
     655
     656inline ULONG APIENTRY _DosQueryFSInfo(ULONG a, ULONG b, PVOID c, ULONG d)
    517657{
    518658 ULONG yyrc;
     
    525665}
    526666
    527 inline ULONG APIENTRY DosQueryHType(HFILE a, PULONG b, PULONG c)
     667#undef  DosQueryFSInfo
     668#define DosQueryFSInfo _DosQueryFSInfo
     669
     670inline ULONG APIENTRY _DosQueryHType(HFILE a, PULONG b, PULONG c)
    528671{
    529672 ULONG yyrc;
     
    536679}
    537680
    538 inline ULONG APIENTRY DosQueryPathInfo(PCSZ a, ULONG b, PVOID c, ULONG d)
     681#undef  DosQueryHType
     682#define DosQueryHType _DosQueryHType
     683
     684inline ULONG APIENTRY _DosQueryPathInfo(PCSZ a, ULONG b, PVOID c, ULONG d)
    539685{
    540686 ULONG yyrc;
     
    547693}
    548694
    549 inline ULONG APIENTRY DosQueryVerify(PBOOL32 a)
     695#undef  DosQueryPathInfo
     696#define DosQueryPathInfo _DosQueryPathInfo
     697
     698inline ULONG APIENTRY _DosQueryVerify(PBOOL32 a)
    550699{
    551700 ULONG yyrc;
     
    558707}
    559708
    560 inline ULONG APIENTRY DosRead(HFILE a, PVOID b, ULONG c, PULONG d)
     709#undef  DosQueryVerify
     710#define DosQueryVerify _DosQueryVerify
     711
     712inline ULONG APIENTRY _DosRead(HFILE a, PVOID b, ULONG c, PULONG d)
    561713{
    562714 ULONG yyrc;
     
    569721}
    570722
    571 inline ULONG APIENTRY DosResetBuffer(HFILE a)
     723#undef  DosRead
     724#define DosRead _DosRead
     725
     726inline ULONG APIENTRY _DosResetBuffer(HFILE a)
    572727{
    573728 ULONG yyrc;
     
    580735}
    581736
    582 inline ULONG APIENTRY DosSetCurrentDir(PCSZ a)
     737#undef  DosResetBuffer
     738#define DosResetBuffer _DosResetBuffer
     739
     740inline ULONG APIENTRY _DosSetCurrentDir(PCSZ a)
    583741{
    584742 ULONG yyrc;
     
    591749}
    592750
    593 inline ULONG APIENTRY DosSetDefaultDisk(ULONG a)
     751#undef  DosSetCurrentDir
     752#define DosSetCurrentDir _DosSetCurrentDir
     753
     754inline ULONG APIENTRY _DosSetDefaultDisk(ULONG a)
    594755{
    595756 ULONG yyrc;
     
    602763}
    603764
    604 inline ULONG APIENTRY DosSetFHState(HFILE a, ULONG b)
     765#undef  DosSetDefaultDisk
     766#define DosSetDefaultDisk _DosSetDefaultDisk
     767
     768inline ULONG APIENTRY _DosSetFHState(HFILE a, ULONG b)
    605769{
    606770 ULONG yyrc;
     
    613777}
    614778
    615 inline ULONG APIENTRY DosSetFileInfo(HFILE a, ULONG b, PVOID c, ULONG d)
     779#undef  DosSetFHState
     780#define DosSetFHState _DosSetFHState
     781
     782inline ULONG APIENTRY _DosSetFileInfo(HFILE a, ULONG b, PVOID c, ULONG d)
    616783{
    617784 ULONG yyrc;
     
    624791}
    625792
    626 inline ULONG APIENTRY DosSetFileLocks(HFILE a, CONST FILELOCK *b, CONST FILELOCK *c, ULONG d, ULONG e)
     793#undef  DosSetFileInfo
     794#define DosSetFileInfo _DosSetFileInfo
     795
     796inline ULONG APIENTRY _DosSetFileLocks(HFILE a, PFILELOCK b, PFILELOCK c, ULONG d, ULONG e)
    627797{
    628798 ULONG yyrc;
     
    635805}
    636806
    637 inline ULONG APIENTRY DosSetFilePtr(HFILE a, LONG b, ULONG c, PULONG d)
     807#undef  DosSetFileLocks
     808#define DosSetFileLocks _DosSetFileLocks
     809
     810inline ULONG APIENTRY _DosSetFilePtr(HFILE a, LONG b, ULONG c, PULONG d)
    638811{
    639812 ULONG yyrc;
     
    646819}
    647820
    648 inline ULONG APIENTRY DosSetFileSize(HFILE a, ULONG b)
     821#undef  DosSetFilePtr
     822#define DosSetFilePtr _DosSetFilePtr
     823
     824inline ULONG APIENTRY _DosSetFileSize(HFILE a, ULONG b)
    649825{
    650826 ULONG yyrc;
     
    657833}
    658834
    659 inline ULONG APIENTRY DosSetFSInfo(ULONG a, ULONG b, PVOID c, ULONG d)
     835#undef  DosSetFileSize
     836#define DosSetFileSize _DosSetFileSize
     837
     838inline ULONG APIENTRY _DosSetFSInfo(ULONG a, ULONG b, PVOID c, ULONG d)
    660839{
    661840 ULONG yyrc;
     
    668847}
    669848
    670 inline ULONG APIENTRY DosSetMaxFH(ULONG a)
     849#undef  DosSetFSInfo
     850#define DosSetFSInfo _DosSetFSInfo
     851
     852inline ULONG APIENTRY _DosSetMaxFH(ULONG a)
    671853{
    672854 ULONG yyrc;
     
    679861}
    680862
    681 inline ULONG APIENTRY DosSetPathInfo(PCSZ a, ULONG b, PVOID c, ULONG d, ULONG e)
     863#undef  DosSetMaxFH
     864#define DosSetMaxFH _DosSetMaxFH
     865
     866inline ULONG APIENTRY _DosSetPathInfo(PCSZ a, ULONG b, PVOID c, ULONG d, ULONG e)
    682867{
    683868 ULONG yyrc;
     
    690875}
    691876
    692 inline ULONG APIENTRY DosSetRelMaxFH(PLONG a, PULONG b)
     877#undef  DosSetPathInfo
     878#define DosSetPathInfo _DosSetPathInfo
     879
     880inline ULONG APIENTRY _DosSetRelMaxFH(PLONG a, PULONG b)
    693881{
    694882 ULONG yyrc;
     
    701889}
    702890
    703 inline ULONG APIENTRY DosSetVerify(BOOL32 a)
     891#undef  DosSetRelMaxFH
     892#define DosSetRelMaxFH _DosSetRelMaxFH
     893
     894inline ULONG APIENTRY _DosSetVerify(BOOL32 a)
    704895{
    705896 ULONG yyrc;
     
    712903}
    713904
    714 inline ULONG APIENTRY DosShutdown(ULONG a)
     905#undef  DosSetVerify
     906#define DosSetVerify _DosSetVerify
     907
     908inline ULONG APIENTRY _DosShutdown(ULONG a)
    715909{
    716910 ULONG yyrc;
     
    723917}
    724918
    725 inline ULONG APIENTRY DosWrite(HFILE a, PVOID b, ULONG c, PULONG d)
     919#undef  DosShutdown
     920#define DosShutdown _DosShutdown
     921
     922inline ULONG APIENTRY _DosWrite(HFILE a, PVOID b, ULONG c, PULONG d)
    726923{
    727924 ULONG yyrc;
     
    733930    return yyrc;
    734931}
     932
     933#undef  DosWrite
     934#define DosWrite _DosWrite
    735935
    736936#endif
    737937#ifdef INCL_DOSMISC
    738 inline ULONG APIENTRY DosSearchPath(ULONG a, PCSZ b, PCSZ c, PBYTE d, ULONG e)
     938inline ULONG APIENTRY _DosSearchPath(ULONG a, PCSZ b, PCSZ c, PBYTE d, ULONG e)
    739939{
    740940 ULONG yyrc;
     
    746946    return yyrc;
    747947}
     948
     949#undef  DosSearchPath
     950#define DosSearchPath _DosSearchPath
    748951
    749952#endif
    750953#ifdef INCL_DOSDEVICES
    751 inline ULONG APIENTRY DosDevConfig(PVOID a, ULONG b)
     954inline ULONG APIENTRY _DosDevConfig(PVOID a, ULONG b)
    752955{
    753956 ULONG yyrc;
     
    760963}
    761964
    762 inline ULONG APIENTRY DosDevIOCtl(HFILE a, ULONG b, ULONG c, PVOID d, ULONG e, PULONG f, PVOID g, ULONG h, PULONG i)
     965#undef  DosDevConfig
     966#define DosDevConfig _DosDevConfig
     967
     968inline ULONG APIENTRY _DosDevIOCtl(HFILE a, ULONG b, ULONG c, PVOID d, ULONG e, PULONG f, PVOID g, ULONG h, PULONG i)
    763969{
    764970 ULONG yyrc;
     
    771977}
    772978
    773 inline ULONG APIENTRY DosPhysicalDisk(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e)
     979#undef  DosDevIOCtl
     980#define DosDevIOCtl _DosDevIOCtl
     981
     982inline ULONG APIENTRY _DosPhysicalDisk(ULONG a, PVOID b, ULONG c, PVOID d, ULONG e)
    774983{
    775984 ULONG yyrc;
     
    781990    return yyrc;
    782991}
     992
     993#undef  DosPhysicalDisk
     994#define DosPhysicalDisk _DosPhysicalDisk
    783995
    784996#endif
    785997#ifdef INCL_DOSNLS
    786 inline ULONG APIENTRY DosMapCase(ULONG a, CONST COUNTRYCODE *b, PCHAR c)
     998inline ULONG APIENTRY _DosMapCase(ULONG a, PCOUNTRYCODE b, PCHAR c)
    787999{
    7881000 ULONG yyrc;
     
    7951007}
    7961008
    797 inline ULONG APIENTRY DosQueryCollate(ULONG a, CONST COUNTRYCODE *b, PCHAR c, PULONG d)
     1009#undef  DosMapCase
     1010#define DosMapCase _DosMapCase
     1011
     1012inline ULONG APIENTRY _DosQueryCollate(ULONG a, PCOUNTRYCODE b, PCHAR c, PULONG d)
    7981013{
    7991014 ULONG yyrc;
     
    8061021}
    8071022
    808 inline ULONG APIENTRY DosQueryCp(ULONG a, PULONG b, PULONG c)
     1023#undef  DosQueryCollate
     1024#define DosQueryCollate _DosQueryCollate
     1025
     1026inline ULONG APIENTRY _DosQueryCp(ULONG a, PULONG b, PULONG c)
    8091027{
    8101028 ULONG yyrc;
     
    8171035}
    8181036
    819 inline ULONG APIENTRY DosQueryCtryInfo(ULONG a, PCOUNTRYCODE b, PCOUNTRYINFO c, PULONG d)
     1037#undef  DosQueryCp
     1038#define DosQueryCp _DosQueryCp
     1039
     1040inline ULONG APIENTRY _DosQueryCtryInfo(ULONG a, PCOUNTRYCODE b, PCOUNTRYINFO c, PULONG d)
    8201041{
    8211042 ULONG yyrc;
     
    8281049}
    8291050
    830 inline ULONG APIENTRY DosQueryDBCSEnv(ULONG a, PCOUNTRYCODE b, PCHAR c)
     1051#undef  DosQueryCtryInfo
     1052#define DosQueryCtryInfo _DosQueryCtryInfo
     1053
     1054inline ULONG APIENTRY _DosQueryDBCSEnv(ULONG a, PCOUNTRYCODE b, PCHAR c)
    8311055{
    8321056 ULONG yyrc;
     
    8391063}
    8401064
    841 inline ULONG APIENTRY DosSetProcessCp(ULONG a)
     1065#undef  DosQueryDBCSEnv
     1066#define DosQueryDBCSEnv _DosQueryDBCSEnv
     1067
     1068inline ULONG APIENTRY _DosSetProcessCp(ULONG a)
    8421069{
    8431070 ULONG yyrc;
     
    8491076    return yyrc;
    8501077}
     1078
     1079#undef  DosSetProcessCp
     1080#define DosSetProcessCp _DosSetProcessCp
    8511081
    8521082#endif
    8531083#ifdef INCL_DOSMODULEMGR
    854 inline ULONG APIENTRY DosFreeModule(HMODULE a)
     1084inline ULONG APIENTRY _DosFreeModule(HMODULE a)
    8551085{
    8561086 ULONG yyrc;
     
    8631093}
    8641094
    865 inline ULONG APIENTRY DosLoadModule(PSZ a, ULONG b, PCSZ c, PHMODULE d)
     1095#undef  DosFreeModule
     1096#define DosFreeModule _DosFreeModule
     1097
     1098inline ULONG APIENTRY _DosLoadModule(PSZ a, ULONG b, PCSZ c, PHMODULE d)
    8661099{
    8671100 ULONG yyrc;
     
    8741107}
    8751108
    876 inline ULONG APIENTRY DosQueryModuleHandle(PCSZ a, PHMODULE b)
     1109#undef  DosLoadModule
     1110#define DosLoadModule _DosLoadModule
     1111
     1112inline ULONG APIENTRY _DosQueryModuleHandle(PCSZ a, PHMODULE b)
    8771113{
    8781114 ULONG yyrc;
     
    8851121}
    8861122
    887 inline ULONG APIENTRY DosQueryModuleName(HMODULE a, ULONG b, PCHAR c)
     1123#undef  DosQueryModuleHandle
     1124#define DosQueryModuleHandle _DosQueryModuleHandle
     1125
     1126inline ULONG APIENTRY _DosQueryModuleName(HMODULE a, ULONG b, PCHAR c)
    8881127{
    8891128 ULONG yyrc;
     
    8961135}
    8971136
    898 inline ULONG APIENTRY DosQueryProcAddr(HMODULE a, ULONG b, PCSZ c, PFN *d)
     1137#undef  DosQueryModuleName
     1138#define DosQueryModuleName _DosQueryModuleName
     1139
     1140inline ULONG APIENTRY _DosQueryProcAddr(HMODULE a, ULONG b, PCSZ c, PFN *d)
    8991141{
    9001142 ULONG yyrc;
     
    9071149}
    9081150
    909 inline ULONG APIENTRY DosQueryProcType(HMODULE a, ULONG b, PCSZ c, PULONG d)
     1151#undef  DosQueryProcAddr
     1152#define DosQueryProcAddr _DosQueryProcAddr
     1153
     1154inline ULONG APIENTRY _DosQueryProcType(HMODULE a, ULONG b, PCSZ c, PULONG d)
    9101155{
    9111156 ULONG yyrc;
     
    9171162    return yyrc;
    9181163}
     1164
     1165#undef  DosQueryProcType
     1166#define DosQueryProcType _DosQueryProcType
    9191167
    9201168#endif
    9211169#ifdef INCL_DOSRESOURCES
    922 inline ULONG APIENTRY DosFreeResource(PVOID a)
     1170inline ULONG APIENTRY _DosFreeResource(PVOID a)
    9231171{
    9241172 ULONG yyrc;
     
    9311179}
    9321180
    933 inline ULONG APIENTRY DosGetResource(HMODULE a, ULONG b, ULONG c, PPVOID d)
     1181#undef  DosFreeResource
     1182#define DosFreeResource _DosFreeResource
     1183
     1184inline ULONG APIENTRY _DosGetResource(HMODULE a, ULONG b, ULONG c, PPVOID d)
    9341185{
    9351186 ULONG yyrc;
     
    9421193}
    9431194
    944 inline ULONG APIENTRY DosQueryResourceSize(HMODULE a, ULONG b, ULONG c, PULONG d)
     1195#undef  DosGetResource
     1196#define DosGetResource _DosGetResource
     1197
     1198inline ULONG APIENTRY _DosQueryResourceSize(HMODULE a, ULONG b, ULONG c, PULONG d)
    9451199{
    9461200 ULONG yyrc;
     
    9521206    return yyrc;
    9531207}
     1208
     1209#undef  DosQueryResourceSize
     1210#define DosQueryResourceSize _DosQueryResourceSize
    9541211
    9551212#endif
    9561213#ifdef INCL_DOSPROCESS
    957 inline ULONG APIENTRY DosBeep(ULONG a, ULONG b)
     1214inline ULONG APIENTRY _DosBeep(ULONG a, ULONG b)
    9581215{
    9591216 ULONG yyrc;
     
    9661223}
    9671224
    968 inline VOID APIENTRY DosExit(ULONG a, ULONG b)
     1225#undef  DosBeep
     1226#define DosBeep _DosBeep
     1227
     1228inline VOID APIENTRY _DosExit(ULONG a, ULONG b)
    9691229{
    9701230 USHORT sel = GetFS();
     
    9741234}
    9751235
    976 inline ULONG APIENTRY DosAllocThreadLocalMemory(ULONG a, PULONG *b)
     1236#undef  DosExit
     1237#define DosExit _DosExit
     1238
     1239inline ULONG APIENTRY _DosAllocThreadLocalMemory(ULONG a, PULONG *b)
    9771240{
    9781241 ULONG yyrc;
     
    9851248}
    9861249
    987 inline ULONG APIENTRY DosCreateThread(PTID a, PFNTHREAD b, ULONG c, ULONG d, ULONG e)
     1250#undef  DosAllocThreadLocalMemory
     1251#define DosAllocThreadLocalMemory _DosAllocThreadLocalMemory
     1252
     1253inline ULONG APIENTRY _DosCreateThread(PTID a, PFNTHREAD b, ULONG c, ULONG d, ULONG e)
    9881254{
    9891255 ULONG yyrc;
     
    9961262}
    9971263
    998 inline ULONG APIENTRY DosEnterCritSec()
     1264#undef  DosCreateThread
     1265#define DosCreateThread _DosCreateThread
     1266
     1267inline ULONG APIENTRY _DosEnterCritSec()
    9991268{
    10001269 ULONG yyrc;
     
    10071276}
    10081277
    1009 inline ULONG APIENTRY DosExecPgm(PCHAR a, LONG b, ULONG c, PCSZ d, PCSZ e, PRESULTCODES f, PCSZ g)
     1278#undef  DosEnterCritSec
     1279#define DosEnterCritSec _DosEnterCritSec
     1280
     1281inline ULONG APIENTRY _DosExecPgm(PCHAR a, LONG b, ULONG c, PCSZ d, PCSZ e, PRESULTCODES f, PCSZ g)
    10101282{
    10111283 ULONG yyrc;
     
    10181290}
    10191291
    1020 inline ULONG APIENTRY DosExitCritSec()
     1292#undef  DosExecPgm
     1293#define DosExecPgm _DosExecPgm
     1294
     1295inline ULONG APIENTRY _DosExitCritSec()
    10211296{
    10221297 ULONG yyrc;
     
    10291304}
    10301305
    1031 inline ULONG APIENTRY DosExitList(ULONG a, PFNEXITLIST b)
     1306#undef  DosExitCritSec
     1307#define DosExitCritSec _DosExitCritSec
     1308
     1309inline ULONG APIENTRY _DosExitList(ULONG a, PFNEXITLIST b)
    10321310{
    10331311 ULONG yyrc;
     
    10401318}
    10411319
    1042 inline ULONG APIENTRY DosFreeThreadLocalMemory(ULONG *a)
     1320#undef  DosExitList
     1321#define DosExitList _DosExitList
     1322
     1323inline ULONG APIENTRY _DosFreeThreadLocalMemory(ULONG *a)
    10431324{
    10441325 ULONG yyrc;
     
    10511332}
    10521333
    1053 inline ULONG APIENTRY DosGetInfoBlocks(PTIB *a, PPIB *b)
     1334#undef  DosFreeThreadLocalMemory
     1335#define DosFreeThreadLocalMemory _DosFreeThreadLocalMemory
     1336
     1337inline ULONG APIENTRY _DosGetInfoBlocks(PTIB *a, PPIB *b)
    10541338{
    10551339 ULONG yyrc;
     
    10621346}
    10631347
    1064 inline ULONG APIENTRY DosKillProcess(ULONG a, PID b)
     1348#undef  DosGetInfoBlocks
     1349#define DosGetInfoBlocks _DosGetInfoBlocks
     1350
     1351inline ULONG APIENTRY _DosKillProcess(ULONG a, PID b)
    10651352{
    10661353 ULONG yyrc;
     
    10731360}
    10741361
    1075 inline ULONG APIENTRY DosKillThread(TID a)
     1362#undef  DosKillProcess
     1363#define DosKillProcess _DosKillProcess
     1364
     1365inline ULONG APIENTRY _DosKillThread(TID a)
    10761366{
    10771367 ULONG yyrc;
     
    10841374}
    10851375
    1086 inline ULONG APIENTRY DosResumeThread(TID a)
     1376#undef  DosKillThread
     1377#define DosKillThread _DosKillThread
     1378
     1379inline ULONG APIENTRY _DosResumeThread(TID a)
    10871380{
    10881381 ULONG yyrc;
     
    10951388}
    10961389
    1097 inline ULONG APIENTRY DosSetPriority(ULONG a, ULONG b, LONG c, ULONG d)
     1390#undef  DosResumeThread
     1391#define DosResumeThread _DosResumeThread
     1392
     1393inline ULONG APIENTRY _DosSetPriority(ULONG a, ULONG b, LONG c, ULONG d)
    10981394{
    10991395 ULONG yyrc;
     
    11061402}
    11071403
    1108 inline ULONG APIENTRY DosSleep(ULONG a)
     1404#undef  DosSetPriority
     1405#define DosSetPriority _DosSetPriority
     1406
     1407inline ULONG APIENTRY _DosSleep(ULONG a)
    11091408{
    11101409 ULONG yyrc;
     
    11171416}
    11181417
    1119 inline ULONG APIENTRY DosSuspendThread(TID a)
     1418#undef  DosSleep
     1419#define DosSleep _DosSleep
     1420
     1421inline ULONG APIENTRY _DosSuspendThread(TID a)
    11201422{
    11211423 ULONG yyrc;
     
    11281430}
    11291431
    1130 inline ULONG APIENTRY DosVerifyPidTid(PID a, TID b)
    1131 {
    1132  ULONG yyrc;
    1133  USHORT sel = GetFS();
    1134 
    1135     yyrc = DosVerifyPidTid(a, b);
    1136     SetFS(sel);
    1137 
    1138     return yyrc;
    1139 }
    1140 
    1141 inline ULONG APIENTRY DosWaitChild(ULONG a, ULONG b, PRESULTCODES c, PPID d, PID e)
     1432#undef  DosSuspendThread
     1433#define DosSuspendThread _DosSuspendThread
     1434
     1435inline ULONG APIENTRY _DosWaitChild(ULONG a, ULONG b, PRESULTCODES c, PPID d, PID e)
    11421436{
    11431437 ULONG yyrc;
     
    11501444}
    11511445
    1152 inline ULONG APIENTRY DosWaitThread(PTID a, ULONG b)
     1446#undef  DosWaitChild
     1447#define DosWaitChild _DosWaitChild
     1448
     1449inline ULONG APIENTRY _DosWaitThread(PTID a, ULONG b)
    11531450{
    11541451 ULONG yyrc;
     
    11601457    return yyrc;
    11611458}
     1459
     1460#undef  DosWaitThread
     1461#define DosWaitThread _DosWaitThread
    11621462
    11631463#endif
    11641464#ifdef INCL_DOSSESMGR
    1165 inline ULONG APIENTRY DosQueryAppType(PCSZ a, PULONG b)
     1465inline ULONG APIENTRY _DosQueryAppType(PCSZ a, PULONG b)
    11661466{
    11671467 ULONG yyrc;
     
    11741474}
    11751475
    1176 inline ULONG APIENTRY DosSelectSession(ULONG a)
     1476#undef  DosQueryAppType
     1477#define DosQueryAppType _DosQueryAppType
     1478
     1479inline ULONG APIENTRY _DosSelectSession(ULONG a)
    11771480{
    11781481 ULONG yyrc;
     
    11851488}
    11861489
    1187 inline ULONG APIENTRY DosSetSession(ULONG a, PSTATUSDATA b)
     1490#undef  DosSelectSession
     1491#define DosSelectSession _DosSelectSession
     1492
     1493inline ULONG APIENTRY _DosSetSession(ULONG a, PSTATUSDATA b)
    11881494{
    11891495 ULONG yyrc;
     
    11961502}
    11971503
    1198 inline ULONG APIENTRY DosStartSession(PSTARTDATA a, PULONG b, PPID c)
     1504#undef  DosSetSession
     1505#define DosSetSession _DosSetSession
     1506
     1507inline ULONG APIENTRY _DosStartSession(PSTARTDATA a, PULONG b, PPID c)
    11991508{
    12001509 ULONG yyrc;
     
    12071516}
    12081517
    1209 inline ULONG APIENTRY DosStopSession(ULONG a, ULONG b)
     1518#undef  DosStartSession
     1519#define DosStartSession _DosStartSession
     1520
     1521inline ULONG APIENTRY _DosStopSession(ULONG a, ULONG b)
    12101522{
    12111523 ULONG yyrc;
     
    12171529    return yyrc;
    12181530}
     1531
     1532#undef  DosStopSession
     1533#define DosStopSession _DosStopSession
    12191534
    12201535#endif
    12211536#ifdef INCL_DOSSEMAPHORES
    1222 inline ULONG APIENTRY DosCloseEventSem(HEV a)
     1537inline ULONG APIENTRY _DosCloseEventSem(HEV a)
    12231538{
    12241539 ULONG yyrc;
     
    12311546}
    12321547
    1233 inline ULONG APIENTRY DosCreateEventSem(PCSZ a, PHEV b, ULONG c, BOOL32 d)
     1548#undef  DosCloseEventSem
     1549#define DosCloseEventSem _DosCloseEventSem
     1550
     1551inline ULONG APIENTRY _DosCreateEventSem(PCSZ a, PHEV b, ULONG c, BOOL32 d)
    12341552{
    12351553 ULONG yyrc;
     
    12421560}
    12431561
    1244 inline ULONG APIENTRY DosOpenEventSem(PCSZ a, PHEV b)
     1562#undef  DosCreateEventSem
     1563#define DosCreateEventSem _DosCreateEventSem
     1564
     1565inline ULONG APIENTRY _DosOpenEventSem(PCSZ a, PHEV b)
    12451566{
    12461567 ULONG yyrc;
     
    12531574}
    12541575
    1255 inline ULONG APIENTRY DosPostEventSem(HEV a)
     1576#undef  DosOpenEventSem
     1577#define DosOpenEventSem _DosOpenEventSem
     1578
     1579inline ULONG APIENTRY _DosPostEventSem(HEV a)
    12561580{
    12571581 ULONG yyrc;
     
    12641588}
    12651589
    1266 inline ULONG APIENTRY DosQueryEventSem(HEV a, PULONG b)
     1590#undef  DosPostEventSem
     1591#define DosPostEventSem _DosPostEventSem
     1592
     1593inline ULONG APIENTRY _DosQueryEventSem(HEV a, PULONG b)
    12671594{
    12681595 ULONG yyrc;
     
    12751602}
    12761603
    1277 inline ULONG APIENTRY DosResetEventSem(HEV a, PULONG b)
     1604#undef  DosQueryEventSem
     1605#define DosQueryEventSem _DosQueryEventSem
     1606
     1607inline ULONG APIENTRY _DosResetEventSem(HEV a, PULONG b)
    12781608{
    12791609 ULONG yyrc;
     
    12861616}
    12871617
    1288 inline ULONG APIENTRY DosWaitEventSem(HEV a, ULONG b)
     1618#undef  DosResetEventSem
     1619#define DosResetEventSem _DosResetEventSem
     1620
     1621inline ULONG APIENTRY _DosWaitEventSem(HEV a, ULONG b)
    12891622{
    12901623 ULONG yyrc;
     
    12971630}
    12981631
    1299 inline ULONG APIENTRY DosCloseMutexSem(HMTX a)
     1632#undef  DosWaitEventSem
     1633#define DosWaitEventSem _DosWaitEventSem
     1634
     1635inline ULONG APIENTRY _DosCloseMutexSem(HMTX a)
    13001636{
    13011637 ULONG yyrc;
     
    13081644}
    13091645
    1310 inline ULONG APIENTRY DosCreateMutexSem(PCSZ a, PHMTX b, ULONG c, BOOL32 d)
     1646#undef  DosCloseMutexSem
     1647#define DosCloseMutexSem _DosCloseMutexSem
     1648
     1649inline ULONG APIENTRY _DosCreateMutexSem(PCSZ a, PHMTX b, ULONG c, BOOL32 d)
    13111650{
    13121651 ULONG yyrc;
     
    13191658}
    13201659
    1321 inline ULONG APIENTRY DosOpenMutexSem(PCSZ a, PHMTX b)
     1660#undef  DosCreateMutexSem
     1661#define DosCreateMutexSem _DosCreateMutexSem
     1662
     1663inline ULONG APIENTRY _DosOpenMutexSem(PCSZ a, PHMTX b)
    13221664{
    13231665 ULONG yyrc;
     
    13301672}
    13311673
    1332 inline ULONG APIENTRY DosQueryMutexSem(HMTX a, PPID b, PTID c, PULONG d)
     1674#undef  DosOpenMutexSem
     1675#define DosOpenMutexSem _DosOpenMutexSem
     1676
     1677inline ULONG APIENTRY _DosQueryMutexSem(HMTX a, PPID b, PTID c, PULONG d)
    13331678{
    13341679 ULONG yyrc;
     
    13411686}
    13421687
    1343 inline ULONG APIENTRY DosReleaseMutexSem(HMTX a)
     1688#undef  DosQueryMutexSem
     1689#define DosQueryMutexSem _DosQueryMutexSem
     1690
     1691inline ULONG APIENTRY _DosReleaseMutexSem(HMTX a)
    13441692{
    13451693 ULONG yyrc;
     
    13521700}
    13531701
    1354 inline ULONG APIENTRY DosRequestMutexSem(HMTX a, ULONG b)
     1702#undef  DosReleaseMutexSem
     1703#define DosReleaseMutexSem _DosReleaseMutexSem
     1704
     1705inline ULONG APIENTRY _DosRequestMutexSem(HMTX a, ULONG b)
    13551706{
    13561707 ULONG yyrc;
     
    13631714}
    13641715
    1365 inline ULONG APIENTRY DosAddMuxWaitSem(HMUX a, PSEMRECORD b)
     1716#undef  DosRequestMutexSem
     1717#define DosRequestMutexSem _DosRequestMutexSem
     1718
     1719inline ULONG APIENTRY _DosAddMuxWaitSem(HMUX a, PSEMRECORD b)
    13661720{
    13671721 ULONG yyrc;
     
    13741728}
    13751729
    1376 inline ULONG APIENTRY DosCloseMuxWaitSem(HMUX a)
     1730#undef  DosAddMuxWaitSem
     1731#define DosAddMuxWaitSem _DosAddMuxWaitSem
     1732
     1733inline ULONG APIENTRY _DosCloseMuxWaitSem(HMUX a)
    13771734{
    13781735 ULONG yyrc;
     
    13851742}
    13861743
    1387 inline ULONG APIENTRY DosCreateMuxWaitSem(PCSZ a, PHMUX b, ULONG c, PSEMRECORD d, ULONG e)
     1744#undef  DosCloseMuxWaitSem
     1745#define DosCloseMuxWaitSem _DosCloseMuxWaitSem
     1746
     1747inline ULONG APIENTRY _DosCreateMuxWaitSem(PCSZ a, PHMUX b, ULONG c, PSEMRECORD d, ULONG e)
    13881748{
    13891749 ULONG yyrc;
     
    13961756}
    13971757
    1398 inline ULONG APIENTRY DosDeleteMuxWaitSem(HMUX a, HSEM b)
     1758#undef  DosCreateMuxWaitSem
     1759#define DosCreateMuxWaitSem _DosCreateMuxWaitSem
     1760
     1761inline ULONG APIENTRY _DosDeleteMuxWaitSem(HMUX a, HSEM b)
    13991762{
    14001763 ULONG yyrc;
     
    14071770}
    14081771
    1409 inline ULONG APIENTRY DosOpenMuxWaitSem(PCSZ a, PHMUX b)
     1772#undef  DosDeleteMuxWaitSem
     1773#define DosDeleteMuxWaitSem _DosDeleteMuxWaitSem
     1774
     1775inline ULONG APIENTRY _DosOpenMuxWaitSem(PCSZ a, PHMUX b)
    14101776{
    14111777 ULONG yyrc;
     
    14181784}
    14191785
    1420 inline ULONG APIENTRY DosQueryMuxWaitSem(HMUX a, PULONG b, PSEMRECORD c, PULONG d)
     1786#undef  DosOpenMuxWaitSem
     1787#define DosOpenMuxWaitSem _DosOpenMuxWaitSem
     1788
     1789inline ULONG APIENTRY _DosQueryMuxWaitSem(HMUX a, PULONG b, PSEMRECORD c, PULONG d)
    14211790{
    14221791 ULONG yyrc;
     
    14291798}
    14301799
    1431 inline ULONG APIENTRY DosWaitMuxWaitSem(HMUX a, ULONG b, PULONG c)
     1800#undef  DosQueryMuxWaitSem
     1801#define DosQueryMuxWaitSem _DosQueryMuxWaitSem
     1802
     1803inline ULONG APIENTRY _DosWaitMuxWaitSem(HMUX a, ULONG b, PULONG c)
    14321804{
    14331805 ULONG yyrc;
     
    14391811    return yyrc;
    14401812}
     1813
     1814#undef  DosWaitMuxWaitSem
     1815#define DosWaitMuxWaitSem _DosWaitMuxWaitSem
    14411816
    14421817#endif
    14431818#ifdef INCL_DOSNMPIPES
    1444 inline ULONG APIENTRY DosCallNPipe(PCSZ a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g)
     1819inline ULONG APIENTRY _DosCallNPipe(PCSZ a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f, ULONG g)
    14451820{
    14461821 ULONG yyrc;
     
    14531828}
    14541829
    1455 inline ULONG APIENTRY DosConnectNPipe(HPIPE a)
     1830#undef  DosCallNPipe
     1831#define DosCallNPipe _DosCallNPipe
     1832
     1833inline ULONG APIENTRY _DosConnectNPipe(HPIPE a)
    14561834{
    14571835 ULONG yyrc;
     
    14641842}
    14651843
    1466 inline ULONG APIENTRY DosCreateNPipe(PCSZ a, PHPIPE b, ULONG c, ULONG d, ULONG e, ULONG f, ULONG g)
     1844#undef  DosConnectNPipe
     1845#define DosConnectNPipe _DosConnectNPipe
     1846
     1847inline ULONG APIENTRY _DosCreateNPipe(PCSZ a, PHPIPE b, ULONG c, ULONG d, ULONG e, ULONG f, ULONG g)
    14671848{
    14681849 ULONG yyrc;
     
    14751856}
    14761857
    1477 inline ULONG APIENTRY DosDisConnectNPipe(HPIPE a)
     1858#undef  DosCreateNPipe
     1859#define DosCreateNPipe _DosCreateNPipe
     1860
     1861inline ULONG APIENTRY _DosDisConnectNPipe(HPIPE a)
    14781862{
    14791863 ULONG yyrc;
     
    14861870}
    14871871
    1488 inline ULONG APIENTRY DosPeekNPipe(HPIPE a, PVOID b, ULONG c, PULONG d, PAVAILDATA e, PULONG f)
     1872#undef  DosDisConnectNPipe
     1873#define DosDisConnectNPipe _DosDisConnectNPipe
     1874
     1875inline ULONG APIENTRY _DosPeekNPipe(HPIPE a, PVOID b, ULONG c, PULONG d, PAVAILDATA e, PULONG f)
    14891876{
    14901877 ULONG yyrc;
     
    14971884}
    14981885
    1499 inline ULONG APIENTRY DosQueryNPHState(HPIPE a, PULONG b)
     1886#undef  DosPeekNPipe
     1887#define DosPeekNPipe _DosPeekNPipe
     1888
     1889inline ULONG APIENTRY _DosQueryNPHState(HPIPE a, PULONG b)
    15001890{
    15011891 ULONG yyrc;
     
    15081898}
    15091899
    1510 inline ULONG APIENTRY DosQueryNPipeInfo(HPIPE a, ULONG b, PVOID c, ULONG d)
     1900#undef  DosQueryNPHState
     1901#define DosQueryNPHState _DosQueryNPHState
     1902
     1903inline ULONG APIENTRY _DosQueryNPipeInfo(HPIPE a, ULONG b, PVOID c, ULONG d)
    15111904{
    15121905 ULONG yyrc;
     
    15191912}
    15201913
    1521 inline ULONG APIENTRY DosQueryNPipeSemState(HSEM a, PPIPESEMSTATE b, ULONG c)
     1914#undef  DosQueryNPipeInfo
     1915#define DosQueryNPipeInfo _DosQueryNPipeInfo
     1916
     1917inline ULONG APIENTRY _DosQueryNPipeSemState(HSEM a, PPIPESEMSTATE b, ULONG c)
    15221918{
    15231919 ULONG yyrc;
     
    15301926}
    15311927
    1532 inline ULONG APIENTRY DosRawReadNPipe(PCSZ a, ULONG b, PULONG c, PVOID d)
     1928#undef  DosQueryNPipeSemState
     1929#define DosQueryNPipeSemState _DosQueryNPipeSemState
     1930
     1931inline ULONG APIENTRY _DosRawReadNPipe(PCSZ a, ULONG b, PULONG c, PVOID d)
    15331932{
    15341933 ULONG yyrc;
     
    15411940}
    15421941
    1543 inline ULONG APIENTRY DosRawWriteNPipe(PCSZ a, ULONG b)
     1942#undef  DosRawReadNPipe
     1943#define DosRawReadNPipe _DosRawReadNPipe
     1944
     1945inline ULONG APIENTRY _DosRawWriteNPipe(PCSZ a, ULONG b)
    15441946{
    15451947 ULONG yyrc;
     
    15521954}
    15531955
    1554 inline ULONG APIENTRY DosSetNPHState(HPIPE a, ULONG b)
     1956#undef  DosRawWriteNPipe
     1957#define DosRawWriteNPipe _DosRawWriteNPipe
     1958
     1959inline ULONG APIENTRY _DosSetNPHState(HPIPE a, ULONG b)
    15551960{
    15561961 ULONG yyrc;
     
    15631968}
    15641969
    1565 inline ULONG APIENTRY DosSetNPipeSem(HPIPE a, HSEM b, ULONG c)
     1970#undef  DosSetNPHState
     1971#define DosSetNPHState _DosSetNPHState
     1972
     1973inline ULONG APIENTRY _DosSetNPipeSem(HPIPE a, HSEM b, ULONG c)
    15661974{
    15671975 ULONG yyrc;
     
    15741982}
    15751983
    1576 inline ULONG APIENTRY DosTransactNPipe(HPIPE a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f)
     1984#undef  DosSetNPipeSem
     1985#define DosSetNPipeSem _DosSetNPipeSem
     1986
     1987inline ULONG APIENTRY _DosTransactNPipe(HPIPE a, PVOID b, ULONG c, PVOID d, ULONG e, PULONG f)
    15771988{
    15781989 ULONG yyrc;
     
    15851996}
    15861997
    1587 inline ULONG APIENTRY DosWaitNPipe(PCSZ a, ULONG b)
     1998#undef  DosTransactNPipe
     1999#define DosTransactNPipe _DosTransactNPipe
     2000
     2001inline ULONG APIENTRY _DosWaitNPipe(PCSZ a, ULONG b)
    15882002{
    15892003 ULONG yyrc;
     
    15962010}
    15972011
    1598 inline ULONG APIENTRY DosCreatePipe(PHFILE a, PHFILE b, ULONG c)
     2012#undef  DosWaitNPipe
     2013#define DosWaitNPipe _DosWaitNPipe
     2014
     2015inline ULONG APIENTRY _DosCreatePipe(PHFILE a, PHFILE b, ULONG c)
    15992016{
    16002017 ULONG yyrc;
     
    16062023    return yyrc;
    16072024}
     2025
     2026#undef  DosCreatePipe
     2027#define DosCreatePipe _DosCreatePipe
    16082028
    16092029#endif
    16102030#ifdef INCL_DOSQUEUES
    1611 inline ULONG APIENTRY DosCloseQueue(HQUEUE a)
     2031inline ULONG APIENTRY _DosCloseQueue(HQUEUE a)
    16122032{
    16132033 ULONG yyrc;
     
    16202040}
    16212041
    1622 inline ULONG APIENTRY DosCreateQueue(PHQUEUE a, ULONG b, PCSZ c)
     2042#undef  DosCloseQueue
     2043#define DosCloseQueue _DosCloseQueue
     2044
     2045inline ULONG APIENTRY _DosCreateQueue(PHQUEUE a, ULONG b, PCSZ c)
    16232046{
    16242047 ULONG yyrc;
     
    16312054}
    16322055
    1633 inline ULONG APIENTRY DosOpenQueue(PPID a, PHQUEUE b, PCSZ c)
     2056#undef  DosCreateQueue
     2057#define DosCreateQueue _DosCreateQueue
     2058
     2059inline ULONG APIENTRY _DosOpenQueue(PPID a, PHQUEUE b, PCSZ c)
    16342060{
    16352061 ULONG yyrc;
     
    16422068}
    16432069
    1644 inline ULONG APIENTRY DosPeekQueue(HQUEUE a, PREQUESTDATA b, PULONG c, PPVOID d, PULONG e, BOOL32 f, PBYTE g, HEV h)
     2070#undef  DosOpenQueue
     2071#define DosOpenQueue _DosOpenQueue
     2072
     2073inline ULONG APIENTRY _DosPeekQueue(HQUEUE a, PREQUESTDATA b, PULONG c, PPVOID d, PULONG e, BOOL32 f, PBYTE g, HEV h)
    16452074{
    16462075 ULONG yyrc;
     
    16532082}
    16542083
    1655 inline ULONG APIENTRY DosPurgeQueue(HQUEUE a)
     2084#undef  DosPeekQueue
     2085#define DosPeekQueue _DosPeekQueue
     2086
     2087inline ULONG APIENTRY _DosPurgeQueue(HQUEUE a)
    16562088{
    16572089 ULONG yyrc;
     
    16642096}
    16652097
    1666 inline ULONG APIENTRY DosQueryQueue(HQUEUE a, PULONG b)
     2098#undef  DosPurgeQueue
     2099#define DosPurgeQueue _DosPurgeQueue
     2100
     2101inline ULONG APIENTRY _DosQueryQueue(HQUEUE a, PULONG b)
    16672102{
    16682103 ULONG yyrc;
     
    16752110}
    16762111
    1677 inline ULONG APIENTRY DosReadQueue(HQUEUE a, PREQUESTDATA b, PULONG c, PPVOID d, ULONG e, BOOL32 f, PBYTE g, HEV h)
     2112#undef  DosQueryQueue
     2113#define DosQueryQueue _DosQueryQueue
     2114
     2115inline ULONG APIENTRY _DosReadQueue(HQUEUE a, PREQUESTDATA b, PULONG c, PPVOID d, ULONG e, BOOL32 f, PBYTE g, HEV h)
    16782116{
    16792117 ULONG yyrc;
     
    16862124}
    16872125
    1688 inline ULONG APIENTRY DosWriteQueue(HQUEUE a, ULONG b, ULONG c, PVOID d, ULONG e)
     2126#undef  DosReadQueue
     2127#define DosReadQueue _DosReadQueue
     2128
     2129inline ULONG APIENTRY _DosWriteQueue(HQUEUE a, ULONG b, ULONG c, PVOID d, ULONG e)
    16892130{
    16902131 ULONG yyrc;
     
    16962137    return yyrc;
    16972138}
     2139
     2140#undef  DosWriteQueue
     2141#define DosWriteQueue _DosWriteQueue
    16982142
    16992143#endif
    17002144#ifdef INCL_DOSEXCEPTIONS
    1701 inline ULONG APIENTRY DosAcknowledgeSignalException(ULONG a)
     2145inline ULONG APIENTRY _DosAcknowledgeSignalException(ULONG a)
    17022146{
    17032147 ULONG yyrc;
     
    17102154}
    17112155
    1712 inline ULONG APIENTRY DosEnterMustComplete(PULONG a)
     2156#undef  DosAcknowledgeSignalException
     2157#define DosAcknowledgeSignalException _DosAcknowledgeSignalException
     2158
     2159inline ULONG APIENTRY _DosEnterMustComplete(PULONG a)
    17132160{
    17142161 ULONG yyrc;
     
    17212168}
    17222169
    1723 inline ULONG APIENTRY DosExitMustComplete(PULONG a)
     2170#undef  DosEnterMustComplete
     2171#define DosEnterMustComplete _DosEnterMustComplete
     2172
     2173inline ULONG APIENTRY _DosExitMustComplete(PULONG a)
    17242174{
    17252175 ULONG yyrc;
     
    17322182}
    17332183
    1734 inline ULONG APIENTRY DosQueryThreadContext(TID a, ULONG b, PCONTEXTRECORD c)
     2184#undef  DosExitMustComplete
     2185#define DosExitMustComplete _DosExitMustComplete
     2186
     2187inline ULONG APIENTRY _DosQueryThreadContext(TID a, ULONG b, PCONTEXTRECORD c)
    17352188{
    17362189 ULONG yyrc;
     
    17432196}
    17442197
    1745 inline ULONG APIENTRY DosRaiseException(PEXCEPTIONREPORTRECORD a)
     2198#undef  DosQueryThreadContext
     2199#define DosQueryThreadContext _DosQueryThreadContext
     2200
     2201inline ULONG APIENTRY _DosRaiseException(PEXCEPTIONREPORTRECORD a)
    17462202{
    17472203 ULONG yyrc;
     
    17542210}
    17552211
    1756 inline ULONG APIENTRY DosSendSignalException(PID a, ULONG b)
     2212#undef  DosRaiseException
     2213#define DosRaiseException _DosRaiseException
     2214
     2215inline ULONG APIENTRY _DosSendSignalException(PID a, ULONG b)
    17572216{
    17582217 ULONG yyrc;
     
    17652224}
    17662225
    1767 inline ULONG APIENTRY DosSetExceptionHandler(PEXCEPTIONREGISTRATIONRECORD a)
     2226#undef  DosSendSignalException
     2227#define DosSendSignalException _DosSendSignalException
     2228
     2229inline ULONG APIENTRY _DosSetExceptionHandler(PEXCEPTIONREGISTRATIONRECORD a)
    17682230{
    17692231 ULONG yyrc;
     
    17762238}
    17772239
    1778 inline ULONG APIENTRY DosSetSignalExceptionFocus(BOOL32 a, PULONG b)
     2240#undef  DosSetExceptionHandler
     2241#define DosSetExceptionHandler _DosSetExceptionHandler
     2242
     2243inline ULONG APIENTRY _DosSetSignalExceptionFocus(BOOL32 a, PULONG b)
    17792244{
    17802245 ULONG yyrc;
     
    17872252}
    17882253
    1789 inline ULONG APIENTRY DosUnsetExceptionHandler(PEXCEPTIONREGISTRATIONRECORD a)
     2254#undef  DosSetSignalExceptionFocus
     2255#define DosSetSignalExceptionFocus _DosSetSignalExceptionFocus
     2256
     2257inline ULONG APIENTRY _DosUnsetExceptionHandler(PEXCEPTIONREGISTRATIONRECORD a)
    17902258{
    17912259 ULONG yyrc;
     
    17982266}
    17992267
    1800 inline ULONG APIENTRY DosUnwindException(PEXCEPTIONREGISTRATIONRECORD a, PVOID b, PEXCEPTIONREPORTRECORD c)
     2268#undef  DosUnsetExceptionHandler
     2269#define DosUnsetExceptionHandler _DosUnsetExceptionHandler
     2270
     2271inline ULONG APIENTRY _DosUnwindException(PEXCEPTIONREGISTRATIONRECORD a, PVOID b, PEXCEPTIONREPORTRECORD c)
    18012272{
    18022273 ULONG yyrc;
     
    18082279    return yyrc;
    18092280}
     2281
     2282#undef  DosUnwindException
     2283#define DosUnwindException _DosUnwindException
    18102284
    18112285#endif
    18122286#ifdef INCL_DOSMISC
    1813 inline ULONG APIENTRY DosQuerySysInfo(ULONG a, ULONG b, PVOID c, ULONG d)
     2287inline ULONG APIENTRY _DosQuerySysInfo(ULONG a, ULONG b, PVOID c, ULONG d)
    18142288{
    18152289 ULONG yyrc;
     
    18222296}
    18232297
    1824 inline ULONG APIENTRY DosScanEnv(PCSZ a, PSZ *b)
     2298#undef  DosQuerySysInfo
     2299#define DosQuerySysInfo _DosQuerySysInfo
     2300
     2301inline ULONG APIENTRY _DosScanEnv(PCSZ a, PCSZ *b)
    18252302{
    18262303 ULONG yyrc;
     
    18332310}
    18342311
    1835 inline ULONG APIENTRY DosQueryRASInfo(ULONG a, PPVOID b)
     2312#undef  DosScanEnv
     2313#define DosScanEnv _DosScanEnv
     2314
     2315inline ULONG APIENTRY _DosQueryRASInfo(ULONG a, PPVOID b)
    18362316{
    18372317 ULONG yyrc;
     
    18432323    return yyrc;
    18442324}
     2325
     2326#undef  DosQueryRASInfo
     2327#define DosQueryRASInfo _DosQueryRASInfo
    18452328
    18462329#endif
    18472330#ifdef INCL_DOSDATETIME
    1848 inline ULONG APIENTRY DosGetDateTime(PDATETIME a)
     2331inline ULONG APIENTRY _DosGetDateTime(PDATETIME a)
    18492332{
    18502333 ULONG yyrc;
     
    18572340}
    18582341
    1859 inline ULONG APIENTRY DosSetDateTime(CONST DATETIME *a)
     2342#undef  DosGetDateTime
     2343#define DosGetDateTime _DosGetDateTime
     2344
     2345inline ULONG APIENTRY _DosSetDateTime(PDATETIME a)
    18602346{
    18612347 ULONG yyrc;
     
    18682354}
    18692355
    1870 inline ULONG APIENTRY DosAsyncTimer(ULONG a, HSEM b, PHTIMER c)
     2356#undef  DosSetDateTime
     2357#define DosSetDateTime _DosSetDateTime
     2358
     2359inline ULONG APIENTRY _DosAsyncTimer(ULONG a, HSEM b, PHTIMER c)
    18712360{
    18722361 ULONG yyrc;
     
    18792368}
    18802369
    1881 inline ULONG APIENTRY DosStartTimer(ULONG a, HSEM b, PHTIMER c)
     2370#undef  DosAsyncTimer
     2371#define DosAsyncTimer _DosAsyncTimer
     2372
     2373inline ULONG APIENTRY _DosStartTimer(ULONG a, HSEM b, PHTIMER c)
    18822374{
    18832375 ULONG yyrc;
     
    18902382}
    18912383
    1892 inline ULONG APIENTRY DosStopTimer(HTIMER a)
     2384#undef  DosStartTimer
     2385#define DosStartTimer _DosStartTimer
     2386
     2387inline ULONG APIENTRY _DosStopTimer(HTIMER a)
    18932388{
    18942389 ULONG yyrc;
     
    19002395    return yyrc;
    19012396}
     2397
     2398#undef  DosStopTimer
     2399#define DosStopTimer _DosStopTimer
    19022400
    19032401#endif
    19042402#ifdef DosTmrQueryFreq
    1905 inline ULONG APIENTRY DosTmrQueryFreq(PULONG a)
     2403inline ULONG APIENTRY _DosTmrQueryFreq(PULONG a)
    19062404{
    19072405 ULONG yyrc;
     
    19142412}
    19152413
    1916 inline ULONG APIENTRY DosTmrQueryTime(PQWORD a)
     2414#undef  DosTmrQueryFreq
     2415#define DosTmrQueryFreq _DosTmrQueryFreq
     2416
     2417inline ULONG APIENTRY _DosTmrQueryTime(PQWORD a)
    19172418{
    19182419 ULONG yyrc;
     
    19242425    return yyrc;
    19252426}
     2427
     2428#undef  DosTmrQueryTime
     2429#define DosTmrQueryTime _DosTmrQueryTime
    19262430
    19272431#endif
    19282432#ifdef INCL_DOSMVDM
    1929 inline ULONG APIENTRY DosCloseVDD(HVDD a)
     2433inline ULONG APIENTRY _DosCloseVDD(HVDD a)
    19302434{
    19312435 ULONG yyrc;
     
    19382442}
    19392443
    1940 inline ULONG APIENTRY DosOpenVDD(PCSZ a, PHVDD b)
     2444#undef  DosCloseVDD
     2445#define DosCloseVDD _DosCloseVDD
     2446
     2447inline ULONG APIENTRY _DosOpenVDD(PCSZ a, PHVDD b)
    19412448{
    19422449 ULONG yyrc;
     
    19492456}
    19502457
    1951 inline ULONG APIENTRY DosQueryDOSProperty(SGID a, PCSZ b, ULONG c, PSZ d)
     2458#undef  DosOpenVDD
     2459#define DosOpenVDD _DosOpenVDD
     2460
     2461inline ULONG APIENTRY _DosQueryDOSProperty(SGID a, PCSZ b, ULONG c, PSZ d)
    19522462{
    19532463 ULONG yyrc;
     
    19602470}
    19612471
    1962 inline ULONG APIENTRY DosRequestVDD(HVDD a, SGID b, ULONG c, ULONG d, PVOID e, ULONG f, PVOID g)
     2472#undef  DosQueryDOSProperty
     2473#define DosQueryDOSProperty _DosQueryDOSProperty
     2474
     2475inline ULONG APIENTRY _DosRequestVDD(HVDD a, SGID b, ULONG c, ULONG d, PVOID e, ULONG f, PVOID g)
    19632476{
    19642477 ULONG yyrc;
     
    19712484}
    19722485
    1973 inline ULONG APIENTRY DosSetDOSProperty(SGID a, PCSZ b, ULONG c, PCSZ d)
     2486#undef  DosRequestVDD
     2487#define DosRequestVDD _DosRequestVDD
     2488
     2489inline ULONG APIENTRY _DosSetDOSProperty(SGID a, PCSZ b, ULONG c, PCSZ d)
    19742490{
    19752491 ULONG yyrc;
     
    19812497    return yyrc;
    19822498}
     2499
     2500#undef  DosSetDOSProperty
     2501#define DosSetDOSProperty _DosSetDOSProperty
    19832502
    19842503#endif
    19852504#ifdef INCL_DOSPROCESS
    1986 inline ULONG APIENTRY DosDebug(uDB_t *a)
     2505inline ULONG APIENTRY _DosDebug(uDB_t *a)
    19872506{
    19882507 ULONG yyrc;
     
    19942513    return yyrc;
    19952514}
     2515
     2516#undef  DosDebug
     2517#define DosDebug _DosDebug
    19962518
    19972519#endif
    19982520#ifdef INCL_DOSMISC
    1999 inline ULONG APIENTRY DosGetMessage(PCHAR *a, ULONG b, PCHAR c, ULONG d, ULONG e, PCSZ f, PULONG g)
     2521inline ULONG APIENTRY _DosGetMessage(PCHAR *a, ULONG b, PCHAR c, ULONG d, ULONG e, PCSZ f, PULONG g)
    20002522{
    20012523 ULONG yyrc;
     
    20082530}
    20092531
    2010 inline ULONG APIENTRY DosInsertMessage(PCHAR *a, ULONG b, PCSZ c, ULONG d, PCHAR e, ULONG f, PULONG g)
     2532#undef  DosGetMessage
     2533#define DosGetMessage _DosGetMessage
     2534
     2535inline ULONG APIENTRY _DosInsertMessage(PCHAR *a, ULONG b, PCSZ c, ULONG d, PCHAR e, ULONG f, PULONG g)
    20112536{
    20122537 ULONG yyrc;
     
    20192544}
    20202545
    2021 inline ULONG APIENTRY DosPutMessage(HFILE a, ULONG b, PCHAR c)
     2546#undef  DosInsertMessage
     2547#define DosInsertMessage _DosInsertMessage
     2548
     2549inline ULONG APIENTRY _DosPutMessage(HFILE a, ULONG b, PCHAR c)
    20222550{
    20232551 ULONG yyrc;
     
    20302558}
    20312559
    2032 inline ULONG APIENTRY DosQueryMessageCP(PCHAR a, ULONG b, PCSZ c, PULONG d)
     2560#undef  DosPutMessage
     2561#define DosPutMessage _DosPutMessage
     2562
     2563inline ULONG APIENTRY _DosQueryMessageCP(PCHAR a, ULONG b, PCSZ c, PULONG d)
    20332564{
    20342565 ULONG yyrc;
     
    20402571    return yyrc;
    20412572}
     2573
     2574#undef  DosQueryMessageCP
     2575#define DosQueryMessageCP _DosQueryMessageCP
    20422576
    20432577#endif
    20442578#ifdef INCL_DOSRAS
    2045 inline ULONG APIENTRY DosDumpProcess(ULONG a, ULONG b, PID c)
     2579inline ULONG APIENTRY _DosDumpProcess(ULONG a, ULONG b, PID c)
    20462580{
    20472581 ULONG yyrc;
     
    20542588}
    20552589
    2056 inline ULONG APIENTRY DosForceSystemDump(ULONG a)
     2590#undef  DosDumpProcess
     2591#define DosDumpProcess _DosDumpProcess
     2592
     2593inline ULONG APIENTRY _DosForceSystemDump(ULONG a)
    20572594{
    20582595 ULONG yyrc;
     
    20652602}
    20662603
    2067 inline ULONG APIENTRY DosQueryRASInfo(ULONG a, PPVOID b)
     2604#undef  DosForceSystemDump
     2605#define DosForceSystemDump _DosForceSystemDump
     2606
     2607inline ULONG APIENTRY _DosQueryRASInfo(ULONG a, PPVOID b)
    20682608{
    20692609 ULONG yyrc;
     
    20762616}
    20772617
    2078 inline ULONG APIENTRY DosSuppressPopUps(ULONG a, ULONG b)
     2618#undef  DosQueryRASInfo
     2619#define DosQueryRASInfo _DosQueryRASInfo
     2620
     2621inline ULONG APIENTRY _DosSuppressPopUps(ULONG a, ULONG b)
    20792622{
    20802623 ULONG yyrc;
     
    20862629    return yyrc;
    20872630}
     2631
     2632#undef  DosSuppressPopUps
     2633#define DosSuppressPopUps _DosSuppressPopUps
    20882634
    20892635#endif
    20902636#ifdef INCL_RXSUBCOM
    2091 inline ULONG APIENTRY RexxDeregisterSubcom(PCSZ a, PCSZ b)
     2637inline ULONG APIENTRY _RexxDeregisterSubcom(PCSZ a, PCSZ b)
    20922638{
    20932639 ULONG yyrc;
     
    21002646}
    21012647
    2102 inline ULONG APIENTRY RexxQuerySubcom(PCSZ a, PCSZ b, PUSHORT c, PUCHAR d)
     2648#undef  RexxDeregisterSubcom
     2649#define RexxDeregisterSubcom _RexxDeregisterSubcom
     2650
     2651inline ULONG APIENTRY _RexxQuerySubcom(PCSZ a, PCSZ b, PUSHORT c, PUCHAR d)
    21032652{
    21042653 ULONG yyrc;
     
    21112660}
    21122661
    2113 inline ULONG APIENTRY RexxRegisterSubcomDll(PCSZ a, PCSZ b, PCSZ c, PUCHAR d, ULONG e)
     2662#undef  RexxQuerySubcom
     2663#define RexxQuerySubcom _RexxQuerySubcom
     2664
     2665inline ULONG APIENTRY _RexxRegisterSubcomDll(PCSZ a, PCSZ b, PCSZ c, PUCHAR d, ULONG e)
    21142666{
    21152667 ULONG yyrc;
     
    21222674}
    21232675
    2124 inline ULONG APIENTRY RexxRegisterSubcomExe(PCSZ a, PFN b, PUCHAR c)
     2676#undef  RexxRegisterSubcomDll
     2677#define RexxRegisterSubcomDll _RexxRegisterSubcomDll
     2678
     2679inline ULONG APIENTRY _RexxRegisterSubcomExe(PCSZ a, PFN b, PUCHAR c)
    21252680{
    21262681 ULONG yyrc;
     
    21322687    return yyrc;
    21332688}
     2689
     2690#undef  RexxRegisterSubcomExe
     2691#define RexxRegisterSubcomExe _RexxRegisterSubcomExe
    21342692
    21352693#endif
    21362694#ifdef INCL_RXSHV
    2137 inline ULONG APIENTRY RexxVariablePool(PSHVBLOCK a)
     2695inline ULONG APIENTRY _RexxVariablePool(PSHVBLOCK a)
    21382696{
    21392697 ULONG yyrc;
     
    21452703    return yyrc;
    21462704}
     2705
     2706#undef  RexxVariablePool
     2707#define RexxVariablePool _RexxVariablePool
    21472708
    21482709#endif
    21492710#ifdef INCL_RXFUNC
    2150 inline ULONG APIENTRY RexxDeregisterFunction(PCSZ a)
     2711inline ULONG APIENTRY _RexxDeregisterFunction(PCSZ a)
    21512712{
    21522713 ULONG yyrc;
     
    21592720}
    21602721
    2161 inline ULONG APIENTRY RexxQueryFunction(PCSZ a)
     2722#undef  RexxDeregisterFunction
     2723#define RexxDeregisterFunction _RexxDeregisterFunction
     2724
     2725inline ULONG APIENTRY _RexxQueryFunction(PCSZ a)
    21622726{
    21632727 ULONG yyrc;
     
    21702734}
    21712735
    2172 inline ULONG APIENTRY RexxRegisterFunctionDll(PCSZ a, PCSZ b, PCSZ c)
     2736#undef  RexxQueryFunction
     2737#define RexxQueryFunction _RexxQueryFunction
     2738
     2739inline ULONG APIENTRY _RexxRegisterFunctionDll(PCSZ a, PCSZ b, PCSZ c)
    21732740{
    21742741 ULONG yyrc;
     
    21812748}
    21822749
    2183 inline ULONG APIENTRY RexxRegisterFunctionExe(PCSZ a, RexxFunctionHandler *b)
     2750#undef  RexxRegisterFunctionDll
     2751#define RexxRegisterFunctionDll _RexxRegisterFunctionDll
     2752
     2753inline ULONG APIENTRY _RexxRegisterFunctionExe(PCSZ a, RexxFunctionHandler *b)
    21842754{
    21852755 ULONG yyrc;
     
    21912761    return yyrc;
    21922762}
     2763
     2764#undef  RexxRegisterFunctionExe
     2765#define RexxRegisterFunctionExe _RexxRegisterFunctionExe
    21932766
    21942767#endif
    21952768#ifdef INCL_RXSYSEXIT
    2196 inline ULONG APIENTRY RexxDeregisterExit(PCSZ a, PCSZ b)
     2769inline ULONG APIENTRY _RexxDeregisterExit(PCSZ a, PCSZ b)
    21972770{
    21982771 ULONG yyrc;
     
    22052778}
    22062779
    2207 inline ULONG APIENTRY RexxQueryExit(PCSZ a, PCSZ b, PUSHORT c, PUCHAR d)
     2780#undef  RexxDeregisterExit
     2781#define RexxDeregisterExit _RexxDeregisterExit
     2782
     2783inline ULONG APIENTRY _RexxQueryExit(PCSZ a, PCSZ b, PUSHORT c, PUCHAR d)
    22082784{
    22092785 ULONG yyrc;
     
    22162792}
    22172793
    2218 inline ULONG APIENTRY RexxRegisterExitDll(PCSZ a, PCSZ b, PCSZ c, PUCHAR d, ULONG e)
     2794#undef  RexxQueryExit
     2795#define RexxQueryExit _RexxQueryExit
     2796
     2797inline ULONG APIENTRY _RexxRegisterExitDll(PCSZ a, PCSZ b, PCSZ c, PUCHAR d, ULONG e)
    22192798{
    22202799 ULONG yyrc;
     
    22272806}
    22282807
    2229 inline ULONG APIENTRY RexxRegisterExitExe(PCSZ a, PFN b, PUCHAR c)
     2808#undef  RexxRegisterExitDll
     2809#define RexxRegisterExitDll _RexxRegisterExitDll
     2810
     2811inline ULONG APIENTRY _RexxRegisterExitExe(PCSZ a, PFN b, PUCHAR c)
    22302812{
    22312813 ULONG yyrc;
     
    22372819    return yyrc;
    22382820}
     2821
     2822#undef  RexxRegisterExitExe
     2823#define RexxRegisterExitExe _RexxRegisterExitExe
    22392824
    22402825#endif
    22412826#ifdef INCL_RXARI
    2242 inline ULONG APIENTRY RexxResetTrace(PID a, TID b)
     2827inline ULONG APIENTRY _RexxResetTrace(PID a, TID b)
    22432828{
    22442829 ULONG yyrc;
     
    22512836}
    22522837
    2253 inline ULONG APIENTRY RexxSetHalt(PID a, TID b)
     2838#undef  RexxResetTrace
     2839#define RexxResetTrace _RexxResetTrace
     2840
     2841inline ULONG APIENTRY _RexxSetHalt(PID a, TID b)
    22542842{
    22552843 ULONG yyrc;
     
    22622850}
    22632851
    2264 inline ULONG APIENTRY RexxSetTrace(PID a, TID b)
     2852#undef  RexxSetHalt
     2853#define RexxSetHalt _RexxSetHalt
     2854
     2855inline ULONG APIENTRY _RexxSetTrace(PID a, TID b)
    22652856{
    22662857 ULONG yyrc;
     
    22722863    return yyrc;
    22732864}
     2865
     2866#undef  RexxSetTrace
     2867#define RexxSetTrace _RexxSetTrace
    22742868
    22752869#endif
    22762870#ifdef INCL_RXMACRO
    2277 inline ULONG APIENTRY RexxAddMacro(PCSZ a, PCSZ b, ULONG c)
     2871inline ULONG APIENTRY _RexxAddMacro(PCSZ a, PCSZ b, ULONG c)
    22782872{
    22792873 ULONG yyrc;
     
    22862880}
    22872881
    2288 inline ULONG APIENTRY RexxClearMacroSpace()
     2882#undef  RexxAddMacro
     2883#define RexxAddMacro _RexxAddMacro
     2884
     2885inline ULONG APIENTRY _RexxClearMacroSpace()
    22892886{
    22902887 ULONG yyrc;
     
    22972894}
    22982895
    2299 inline ULONG APIENTRY RexxDropMacro(PCSZ a)
     2896#undef  RexxClearMacroSpace
     2897#define RexxClearMacroSpace _RexxClearMacroSpace
     2898
     2899inline ULONG APIENTRY _RexxDropMacro(PCSZ a)
    23002900{
    23012901 ULONG yyrc;
     
    23082908}
    23092909
    2310 inline ULONG APIENTRY RexxLoadMacroSpace(ULONG a, PCSZ *b, PCSZ c)
     2910#undef  RexxDropMacro
     2911#define RexxDropMacro _RexxDropMacro
     2912
     2913inline ULONG APIENTRY _RexxLoadMacroSpace(ULONG a, PCSZ *b, PCSZ c)
    23112914{
    23122915 ULONG yyrc;
     
    23192922}
    23202923
    2321 inline ULONG APIENTRY RexxQueryMacro(PCSZ a, PUSHORT b)
     2924#undef  RexxLoadMacroSpace
     2925#define RexxLoadMacroSpace _RexxLoadMacroSpace
     2926
     2927inline ULONG APIENTRY _RexxQueryMacro(PCSZ a, PUSHORT b)
    23222928{
    23232929 ULONG yyrc;
     
    23302936}
    23312937
    2332 inline ULONG APIENTRY RexxReorderMacro(PCSZ a, ULONG b)
     2938#undef  RexxQueryMacro
     2939#define RexxQueryMacro _RexxQueryMacro
     2940
     2941inline ULONG APIENTRY _RexxReorderMacro(PCSZ a, ULONG b)
    23332942{
    23342943 ULONG yyrc;
     
    23412950}
    23422951
    2343 inline ULONG APIENTRY RexxSaveMacroSpace(ULONG a, PCSZ *b, PCSZ c)
     2952#undef  RexxReorderMacro
     2953#define RexxReorderMacro _RexxReorderMacro
     2954
     2955inline ULONG APIENTRY _RexxSaveMacroSpace(ULONG a, PCSZ *b, PCSZ c)
    23442956{
    23452957 ULONG yyrc;
     
    23522964}
    23532965
    2354 inline LONG APIENTRY RexxStart(LONG a, PRXSTRING b, PCSZ c, PRXSTRING d, PCSZ e, LONG f, PRXSYSEXIT g, PSHORT h, PRXSTRING i)
     2966#undef  RexxSaveMacroSpace
     2967#define RexxSaveMacroSpace _RexxSaveMacroSpace
     2968
     2969inline LONG APIENTRY _RexxStart(LONG a, PRXSTRING b, PCSZ c, PRXSTRING d, PCSZ e, LONG f, PRXSYSEXIT g, PSHORT h, PRXSTRING i)
    23552970{
    23562971 LONG yyrc;
     
    23622977    return yyrc;
    23632978}
     2979
     2980#undef  RexxStart
     2981#define RexxStart _RexxStart
    23642982
    23652983#endif
    23662984#ifdef INCL_WIN
    23672985#ifdef INCL_WINMESSAGEMGR
    2368 inline BOOL APIENTRY WinCancelShutdown(HMQ a, BOOL b)
     2986inline BOOL APIENTRY _WinCancelShutdown(HMQ a, BOOL b)
    23692987{
    23702988 BOOL yyrc;
     
    23772995}
    23782996
    2379 inline HMQ APIENTRY WinCreateMsgQueue(HAB a, LONG b)
     2997#undef  WinCancelShutdown
     2998#define WinCancelShutdown _WinCancelShutdown
     2999
     3000inline HMQ APIENTRY _WinCreateMsgQueue(HAB a, LONG b)
    23803001{
    23813002 HMQ yyrc;
     
    23883009}
    23893010
    2390 inline BOOL APIENTRY WinDestroyMsgQueue(HMQ a)
     3011#undef  WinCreateMsgQueue
     3012#define WinCreateMsgQueue _WinCreateMsgQueue
     3013
     3014inline BOOL APIENTRY _WinDestroyMsgQueue(HMQ a)
    23913015{
    23923016 BOOL yyrc;
     
    23993023}
    24003024
    2401 inline MRESULT APIENTRY WinDispatchMsg(HAB a, PQMSG b)
     3025#undef  WinDestroyMsgQueue
     3026#define WinDestroyMsgQueue _WinDestroyMsgQueue
     3027
     3028inline MRESULT APIENTRY _WinDispatchMsg(HAB a, PQMSG b)
    24023029{
    24033030 MRESULT yyrc;
     
    24103037}
    24113038
    2412 inline BOOL APIENTRY WinGetMsg(HAB a, PQMSG b, HWND c, ULONG d, ULONG e)
     3039#undef  WinDispatchMsg
     3040#define WinDispatchMsg _WinDispatchMsg
     3041
     3042inline BOOL APIENTRY _WinGetMsg(HAB a, PQMSG b, HWND c, ULONG d, ULONG e)
    24133043{
    24143044 BOOL yyrc;
     
    24213051}
    24223052
    2423 inline BOOL APIENTRY WinLockInput(HMQ a, ULONG b)
     3053#undef  WinGetMsg
     3054#define WinGetMsg _WinGetMsg
     3055
     3056inline BOOL APIENTRY _WinLockInput(HMQ a, ULONG b)
    24243057{
    24253058 BOOL yyrc;
     
    24323065}
    24333066
    2434 inline BOOL APIENTRY WinPeekMsg(HAB a, PQMSG b, HWND c, ULONG d, ULONG e, ULONG f)
     3067#undef  WinLockInput
     3068#define WinLockInput _WinLockInput
     3069
     3070inline BOOL APIENTRY _WinPeekMsg(HAB a, PQMSG b, HWND c, ULONG d, ULONG e, ULONG f)
    24353071{
    24363072 BOOL yyrc;
     
    24433079}
    24443080
    2445 inline BOOL APIENTRY WinPostMsg(HWND a, ULONG b, MPARAM c, MPARAM d)
     3081#undef  WinPeekMsg
     3082#define WinPeekMsg _WinPeekMsg
     3083
     3084inline BOOL APIENTRY _WinPostMsg(HWND a, ULONG b, MPARAM c, MPARAM d)
    24463085{
    24473086 BOOL yyrc;
     
    24543093}
    24553094
    2456 inline HMQ APIENTRY WinQueueFromID(HAB a, PID b, TID c)
     3095#undef  WinPostMsg
     3096#define WinPostMsg _WinPostMsg
     3097
     3098inline HMQ APIENTRY _WinQueueFromID(HAB a, PID b, TID c)
    24573099{
    24583100 HMQ yyrc;
     
    24653107}
    24663108
    2467 inline BOOL APIENTRY WinQueryQueueInfo(HMQ a, PMQINFO b, ULONG c)
     3109#undef  WinQueueFromID
     3110#define WinQueueFromID _WinQueueFromID
     3111
     3112inline BOOL APIENTRY _WinQueryQueueInfo(HMQ a, PMQINFO b, ULONG c)
    24683113{
    24693114 BOOL yyrc;
     
    24763121}
    24773122
    2478 inline HMQ APIENTRY WinQuerySendMsg(HAB a, HMQ b, HMQ c, PQMSG d)
     3123#undef  WinQueryQueueInfo
     3124#define WinQueryQueueInfo _WinQueryQueueInfo
     3125
     3126inline HMQ APIENTRY _WinQuerySendMsg(HAB a, HMQ b, HMQ c, PQMSG d)
    24793127{
    24803128 HMQ yyrc;
     
    24873135}
    24883136
    2489 inline BOOL APIENTRY WinRegisterUserDatatype(HAB a, LONG b, LONG c, PLONG d)
     3137#undef  WinQuerySendMsg
     3138#define WinQuerySendMsg _WinQuerySendMsg
     3139
     3140inline BOOL APIENTRY _WinRegisterUserDatatype(HAB a, LONG b, LONG c, PLONG d)
    24903141{
    24913142 BOOL yyrc;
     
    24983149}
    24993150
    2500 inline BOOL APIENTRY WinRegisterUserMsg(HAB a, ULONG b, LONG c, LONG d, LONG e, LONG f, LONG g)
     3151#undef  WinRegisterUserDatatype
     3152#define WinRegisterUserDatatype _WinRegisterUserDatatype
     3153
     3154inline BOOL APIENTRY _WinRegisterUserMsg(HAB a, ULONG b, LONG c, LONG d, LONG e, LONG f, LONG g)
    25013155{
    25023156 BOOL yyrc;
     
    25093163}
    25103164
    2511 inline BOOL APIENTRY WinReplyMsg(HAB a, HMQ b, HMQ c, MRESULT d)
     3165#undef  WinRegisterUserMsg
     3166#define WinRegisterUserMsg _WinRegisterUserMsg
     3167
     3168inline BOOL APIENTRY _WinReplyMsg(HAB a, HMQ b, HMQ c, MRESULT d)
    25123169{
    25133170 BOOL yyrc;
     
    25203177}
    25213178
    2522 inline MRESULT APIENTRY WinSendMsg(HWND a, ULONG b, MPARAM c, MPARAM d)
     3179#undef  WinReplyMsg
     3180#define WinReplyMsg _WinReplyMsg
     3181
     3182inline MRESULT APIENTRY _WinSendMsg(HWND a, ULONG b, MPARAM c, MPARAM d)
    25233183{
    25243184 MRESULT yyrc;
     
    25313191}
    25323192
    2533 inline BOOL APIENTRY WinSetMsgMode(HAB a, PCSZ b, LONG c)
     3193#undef  WinSendMsg
     3194#define WinSendMsg _WinSendMsg
     3195
     3196inline BOOL APIENTRY _WinSetMsgMode(HAB a, PCSZ b, LONG c)
    25343197{
    25353198 BOOL yyrc;
     
    25423205}
    25433206
    2544 inline BOOL APIENTRY WinSetSynchroMode(HAB a, LONG b)
     3207#undef  WinSetMsgMode
     3208#define WinSetMsgMode _WinSetMsgMode
     3209
     3210inline BOOL APIENTRY _WinSetSynchroMode(HAB a, LONG b)
    25453211{
    25463212 BOOL yyrc;
     
    25533219}
    25543220
    2555 inline BOOL APIENTRY WinThreadAssocQueue(HAB a, HMQ b)
     3221#undef  WinSetSynchroMode
     3222#define WinSetSynchroMode _WinSetSynchroMode
     3223
     3224inline BOOL APIENTRY _WinThreadAssocQueue(HAB a, HMQ b)
    25563225{
    25573226 BOOL yyrc;
     
    25643233}
    25653234
    2566 inline BOOL APIENTRY WinWakeThread(HMQ a)
     3235#undef  WinThreadAssocQueue
     3236#define WinThreadAssocQueue _WinThreadAssocQueue
     3237
     3238inline BOOL APIENTRY _WinWakeThread(HMQ a)
    25673239{
    25683240 BOOL yyrc;
     
    25753247}
    25763248
     3249#undef  WinWakeThread
     3250#define WinWakeThread _WinWakeThread
     3251
    25773252#endif
    2578 inline HWND 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)
     3253inline HWND 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)
    25793254{
    25803255 HWND yyrc;
     
    25873262}
    25883263
    2589 inline BOOL APIENTRY WinDrawBitmap(HPS a, HBITMAP b, CONST RECTL *c, CONST POINTL *d, LONG e, LONG f, ULONG g)
     3264#undef  WinCreateWindow
     3265#define WinCreateWindow _WinCreateWindow
     3266
     3267inline BOOL APIENTRY _WinDrawBitmap(HPS a, HBITMAP b, PRECTL c, PPOINTL d, LONG e, LONG f, ULONG g)
    25903268{
    25913269 BOOL yyrc;
     
    25983276}
    25993277
    2600 inline BOOL APIENTRY WinDrawBorder(HPS a, CONST RECTL *b, LONG c, LONG d, LONG e, LONG f, ULONG g)
     3278#undef  WinDrawBitmap
     3279#define WinDrawBitmap _WinDrawBitmap
     3280
     3281inline BOOL APIENTRY _WinDrawBorder(HPS a, PRECTL b, LONG c, LONG d, LONG e, LONG f, ULONG g)
    26013282{
    26023283 BOOL yyrc;
     
    26093290}
    26103291
    2611 inline LONG APIENTRY WinDrawText(HPS a, LONG b, PCH c, PRECTL d, LONG e, LONG f, ULONG g)
     3292#undef  WinDrawBorder
     3293#define WinDrawBorder _WinDrawBorder
     3294
     3295inline LONG APIENTRY _WinDrawText(HPS a, LONG b, PCH c, PRECTL d, LONG e, LONG f, ULONG g)
    26123296{
    26133297 LONG yyrc;
     
    26203304}
    26213305
    2622 inline BOOL APIENTRY WinEnableWindow(HWND a, BOOL b)
     3306#undef  WinDrawText
     3307#define WinDrawText _WinDrawText
     3308
     3309inline BOOL APIENTRY _WinEnableWindow(HWND a, BOOL b)
    26233310{
    26243311 BOOL yyrc;
     
    26313318}
    26323319
    2633 inline BOOL APIENTRY WinEnableWindowUpdate(HWND a, BOOL b)
     3320#undef  WinEnableWindow
     3321#define WinEnableWindow _WinEnableWindow
     3322
     3323inline BOOL APIENTRY _WinEnableWindowUpdate(HWND a, BOOL b)
    26343324{
    26353325 BOOL yyrc;
     
    26423332}
    26433333
    2644 inline BOOL APIENTRY WinInvalidateRect(HWND a, CONST RECTL *b, BOOL c)
     3334#undef  WinEnableWindowUpdate
     3335#define WinEnableWindowUpdate _WinEnableWindowUpdate
     3336
     3337inline BOOL APIENTRY _WinInvalidateRect(HWND a, PRECTL b, BOOL c)
    26453338{
    26463339 BOOL yyrc;
     
    26533346}
    26543347
    2655 inline BOOL APIENTRY WinInvalidateRegion(HWND a, HRGN b, BOOL c)
     3348#undef  WinInvalidateRect
     3349#define WinInvalidateRect _WinInvalidateRect
     3350
     3351inline BOOL APIENTRY _WinInvalidateRegion(HWND a, HRGN b, BOOL c)
    26563352{
    26573353 BOOL yyrc;
     
    26643360}
    26653361
    2666 inline BOOL APIENTRY WinInvertRect(HPS a, CONST RECTL *b)
     3362#undef  WinInvalidateRegion
     3363#define WinInvalidateRegion _WinInvalidateRegion
     3364
     3365inline BOOL APIENTRY _WinInvertRect(HPS a, PRECTL b)
    26673366{
    26683367 BOOL yyrc;
     
    26753374}
    26763375
    2677 inline BOOL APIENTRY WinIsChild(HWND a, HWND b)
     3376#undef  WinInvertRect
     3377#define WinInvertRect _WinInvertRect
     3378
     3379inline BOOL APIENTRY _WinIsChild(HWND a, HWND b)
    26783380{
    26793381 BOOL yyrc;
     
    26863388}
    26873389
    2688 inline BOOL APIENTRY WinIsWindow(HAB a, HWND b)
     3390#undef  WinIsChild
     3391#define WinIsChild _WinIsChild
     3392
     3393inline BOOL APIENTRY _WinIsWindow(HAB a, HWND b)
    26893394{
    26903395 BOOL yyrc;
     
    26973402}
    26983403
    2699 inline BOOL APIENTRY WinIsWindowEnabled(HWND a)
     3404#undef  WinIsWindow
     3405#define WinIsWindow _WinIsWindow
     3406
     3407inline BOOL APIENTRY _WinIsWindowEnabled(HWND a)
    27003408{
    27013409 BOOL yyrc;
     
    27083416}
    27093417
    2710 inline BOOL APIENTRY WinIsWindowVisible(HWND a)
     3418#undef  WinIsWindowEnabled
     3419#define WinIsWindowEnabled _WinIsWindowEnabled
     3420
     3421inline BOOL APIENTRY _WinIsWindowVisible(HWND a)
    27113422{
    27123423 BOOL yyrc;
     
    27193430}
    27203431
    2721 inline LONG APIENTRY WinLoadMessage(HAB a, HMODULE b, ULONG c, LONG d, PSZ e)
     3432#undef  WinIsWindowVisible
     3433#define WinIsWindowVisible _WinIsWindowVisible
     3434
     3435inline LONG APIENTRY _WinLoadMessage(HAB a, HMODULE b, ULONG c, LONG d, PSZ e)
    27223436{
    27233437 LONG yyrc;
     
    27303444}
    27313445
    2732 inline LONG APIENTRY WinLoadString(HAB a, HMODULE b, ULONG c, LONG d, PSZ e)
     3446#undef  WinLoadMessage
     3447#define WinLoadMessage _WinLoadMessage
     3448
     3449inline LONG APIENTRY _WinLoadString(HAB a, HMODULE b, ULONG c, LONG d, PSZ e)
    27333450{
    27343451 LONG yyrc;
     
    27413458}
    27423459
    2743 inline LONG APIENTRY WinMultWindowFromIDs(HWND a, PHWND b, ULONG c, ULONG d)
     3460#undef  WinLoadString
     3461#define WinLoadString _WinLoadString
     3462
     3463inline LONG APIENTRY _WinMultWindowFromIDs(HWND a, PHWND b, ULONG c, ULONG d)
    27443464{
    27453465 LONG yyrc;
     
    27523472}
    27533473
    2754 inline HWND APIENTRY WinQueryDesktopWindow(HAB a, HDC b)
     3474#undef  WinMultWindowFromIDs
     3475#define WinMultWindowFromIDs _WinMultWindowFromIDs
     3476
     3477inline HWND APIENTRY _WinQueryDesktopWindow(HAB a, HDC b)
    27553478{
    27563479 HWND yyrc;
     
    27633486}
    27643487
    2765 inline HWND APIENTRY WinQueryObjectWindow(HWND a)
     3488#undef  WinQueryDesktopWindow
     3489#define WinQueryDesktopWindow _WinQueryDesktopWindow
     3490
     3491inline HWND APIENTRY _WinQueryObjectWindow(HWND a)
    27663492{
    27673493 HWND yyrc;
     
    27743500}
    27753501
    2776 inline HPOINTER APIENTRY WinQueryPointer(HWND a)
     3502#undef  WinQueryObjectWindow
     3503#define WinQueryObjectWindow _WinQueryObjectWindow
     3504
     3505inline HPOINTER APIENTRY _WinQueryPointer(HWND a)
    27773506{
    27783507 HPOINTER yyrc;
     
    27853514}
    27863515
    2787 inline HWND APIENTRY WinQueryWindow(HWND a, LONG b)
     3516#undef  WinQueryPointer
     3517#define WinQueryPointer _WinQueryPointer
     3518
     3519inline HWND APIENTRY _WinQueryWindow(HWND a, LONG b)
    27883520{
    27893521 HWND yyrc;
     
    27963528}
    27973529
    2798 inline BOOL APIENTRY WinQueryWindowPos(HWND a, PSWP b)
     3530#undef  WinQueryWindow
     3531#define WinQueryWindow _WinQueryWindow
     3532
     3533inline BOOL APIENTRY _WinQueryWindowPos(HWND a, PSWP b)
    27993534{
    28003535 BOOL yyrc;
     
    28073542}
    28083543
    2809 inline BOOL APIENTRY WinQueryWindowProcess(HWND a, PPID b, PTID c)
     3544#undef  WinQueryWindowPos
     3545#define WinQueryWindowPos _WinQueryWindowPos
     3546
     3547inline BOOL APIENTRY _WinQueryWindowProcess(HWND a, PPID b, PTID c)
    28103548{
    28113549 BOOL yyrc;
     
    28183556}
    28193557
    2820 inline LONG APIENTRY WinQueryWindowText(HWND a, LONG b, PCH c)
     3558#undef  WinQueryWindowProcess
     3559#define WinQueryWindowProcess _WinQueryWindowProcess
     3560
     3561inline LONG APIENTRY _WinQueryWindowText(HWND a, LONG b, PCH c)
    28213562{
    28223563 LONG yyrc;
     
    28293570}
    28303571
    2831 inline LONG APIENTRY WinQueryWindowTextLength(HWND a)
     3572#undef  WinQueryWindowText
     3573#define WinQueryWindowText _WinQueryWindowText
     3574
     3575inline LONG APIENTRY _WinQueryWindowTextLength(HWND a)
    28323576{
    28333577 LONG yyrc;
     
    28403584}
    28413585
    2842 inline BOOL APIENTRY WinSetMultWindowPos(HAB a, CONST SWP *b, ULONG c)
     3586#undef  WinQueryWindowTextLength
     3587#define WinQueryWindowTextLength _WinQueryWindowTextLength
     3588
     3589inline BOOL APIENTRY _WinSetMultWindowPos(HAB a, PSWP b, ULONG c)
    28433590{
    28443591 BOOL yyrc;
     
    28513598}
    28523599
    2853 inline BOOL APIENTRY WinSetOwner(HWND a, HWND b)
     3600#undef  WinSetMultWindowPos
     3601#define WinSetMultWindowPos _WinSetMultWindowPos
     3602
     3603inline BOOL APIENTRY _WinSetOwner(HWND a, HWND b)
    28543604{
    28553605 BOOL yyrc;
     
    28623612}
    28633613
    2864 inline BOOL APIENTRY WinSetParent(HWND a, HWND b, BOOL c)
     3614#undef  WinSetOwner
     3615#define WinSetOwner _WinSetOwner
     3616
     3617inline BOOL APIENTRY _WinSetParent(HWND a, HWND b, BOOL c)
    28653618{
    28663619 BOOL yyrc;
     
    28733626}
    28743627
    2875 inline BOOL APIENTRY WinSetWindowPos(HWND a, HWND b, LONG c, LONG d, LONG e, LONG f, ULONG g)
     3628#undef  WinSetParent
     3629#define WinSetParent _WinSetParent
     3630
     3631inline BOOL APIENTRY _WinSetWindowPos(HWND a, HWND b, LONG c, LONG d, LONG e, LONG f, ULONG g)
    28763632{
    28773633 BOOL yyrc;
     
    28843640}
    28853641
    2886 inline BOOL APIENTRY WinSetWindowText(HWND a, PCSZ b)
     3642#undef  WinSetWindowPos
     3643#define WinSetWindowPos _WinSetWindowPos
     3644
     3645inline BOOL APIENTRY _WinSetWindowText(HWND a, PCSZ b)
    28873646{
    28883647 BOOL yyrc;
     
    28953654}
    28963655
    2897 inline BOOL APIENTRY WinUpdateWindow(HWND a)
     3656#undef  WinSetWindowText
     3657#define WinSetWindowText _WinSetWindowText
     3658
     3659inline BOOL APIENTRY _WinUpdateWindow(HWND a)
    28983660{
    28993661 BOOL yyrc;
     
    29063668}
    29073669
    2908 inline HWND APIENTRY WinWindowFromID(HWND a, ULONG b)
     3670#undef  WinUpdateWindow
     3671#define WinUpdateWindow _WinUpdateWindow
     3672
     3673inline HWND APIENTRY _WinWindowFromID(HWND a, ULONG b)
    29093674{
    29103675 HWND yyrc;
     
    29173682}
    29183683
     3684#undef  WinWindowFromID
     3685#define WinWindowFromID _WinWindowFromID
     3686
    29193687#ifdef INCL_WINFRAMEMGR
    2920 inline HWND APIENTRY WinCreateStdWindow(HWND a, ULONG b, PULONG c, PCSZ d, PCSZ e, ULONG f, HMODULE g, ULONG h, PHWND i)
     3688inline HWND APIENTRY _WinCreateStdWindow(HWND a, ULONG b, PULONG c, PCSZ d, PCSZ e, ULONG f, HMODULE g, ULONG h, PHWND i)
    29213689{
    29223690 HWND yyrc;
     
    29293697}
    29303698
    2931 inline BOOL APIENTRY WinCalcFrameRect(HWND a, PRECTL b, BOOL c)
     3699#undef  WinCreateStdWindow
     3700#define WinCreateStdWindow _WinCreateStdWindow
     3701
     3702inline BOOL APIENTRY _WinCalcFrameRect(HWND a, PRECTL b, BOOL c)
    29323703{
    29333704 BOOL yyrc;
     
    29403711}
    29413712
    2942 inline BOOL APIENTRY WinCreateFrameControls(HWND a, PFRAMECDATA b, PCSZ c)
     3713#undef  WinCalcFrameRect
     3714#define WinCalcFrameRect _WinCalcFrameRect
     3715
     3716inline BOOL APIENTRY _WinCreateFrameControls(HWND a, PFRAMECDATA b, PCSZ c)
    29433717{
    29443718 BOOL yyrc;
     
    29513725}
    29523726
    2953 inline BOOL APIENTRY WinFlashWindow(HWND a, BOOL b)
     3727#undef  WinCreateFrameControls
     3728#define WinCreateFrameControls _WinCreateFrameControls
     3729
     3730inline BOOL APIENTRY _WinFlashWindow(HWND a, BOOL b)
    29543731{
    29553732 BOOL yyrc;
     
    29623739}
    29633740
    2964 inline BOOL APIENTRY WinGetMaxPosition(HWND a, PSWP b)
     3741#undef  WinFlashWindow
     3742#define WinFlashWindow _WinFlashWindow
     3743
     3744inline BOOL APIENTRY _WinGetMaxPosition(HWND a, PSWP b)
    29653745{
    29663746 BOOL yyrc;
     
    29733753}
    29743754
    2975 inline BOOL APIENTRY WinGetMinPosition(HWND a, PSWP b, CONST POINTL *c)
     3755#undef  WinGetMaxPosition
     3756#define WinGetMaxPosition _WinGetMaxPosition
     3757
     3758inline BOOL APIENTRY _WinGetMinPosition(HWND a, PSWP b, PPOINTL c)
    29763759{
    29773760 BOOL yyrc;
     
    29843767}
    29853768
    2986 inline BOOL APIENTRY WinSaveWindowPos(HSAVEWP a, PSWP b, ULONG c)
     3769#undef  WinGetMinPosition
     3770#define WinGetMinPosition _WinGetMinPosition
     3771
     3772inline BOOL APIENTRY _WinSaveWindowPos(HSAVEWP a, PSWP b, ULONG c)
    29873773{
    29883774 BOOL yyrc;
     
    29943780    return yyrc;
    29953781}
     3782
     3783#undef  WinSaveWindowPos
     3784#define WinSaveWindowPos _WinSaveWindowPos
    29963785
    29973786#endif
    29983787#ifdef INCL_WINWINDOWMGR
    2999 inline HPS APIENTRY WinBeginPaint(HWND a, HPS b, PRECTL c)
     3788inline HPS APIENTRY _WinBeginPaint(HWND a, HPS b, PRECTL c)
    30003789{
    30013790 HPS yyrc;
     
    30083797}
    30093798
    3010 inline MRESULT APIENTRY WinDefWindowProc(HWND a, ULONG b, MPARAM c, MPARAM d)
     3799#undef  WinBeginPaint
     3800#define WinBeginPaint _WinBeginPaint
     3801
     3802inline MRESULT APIENTRY _WinDefWindowProc(HWND a, ULONG b, MPARAM c, MPARAM d)
    30113803{
    30123804 MRESULT yyrc;
     
    30193811}
    30203812
    3021 inline BOOL APIENTRY WinDestroyWindow(HWND a)
     3813#undef  WinDefWindowProc
     3814#define WinDefWindowProc _WinDefWindowProc
     3815
     3816inline BOOL APIENTRY _WinDestroyWindow(HWND a)
    30223817{
    30233818 BOOL yyrc;
     
    30303825}
    30313826
    3032 inline BOOL APIENTRY WinEndPaint(HPS a)
     3827#undef  WinDestroyWindow
     3828#define WinDestroyWindow _WinDestroyWindow
     3829
     3830inline BOOL APIENTRY _WinEndPaint(HPS a)
    30333831{
    30343832 BOOL yyrc;
     
    30413839}
    30423840
    3043 inline BOOL APIENTRY WinFillRect(HPS a, CONST RECTL *b, LONG c)
     3841#undef  WinEndPaint
     3842#define WinEndPaint _WinEndPaint
     3843
     3844inline BOOL APIENTRY _WinFillRect(HPS a, PRECTL b, LONG c)
    30443845{
    30453846 BOOL yyrc;
     
    30523853}
    30533854
    3054 inline HPS APIENTRY WinGetClipPS(HWND a, HWND b, ULONG c)
     3855#undef  WinFillRect
     3856#define WinFillRect _WinFillRect
     3857
     3858inline HPS APIENTRY _WinGetClipPS(HWND a, HWND b, ULONG c)
    30553859{
    30563860 HPS yyrc;
     
    30633867}
    30643868
    3065 inline HPS APIENTRY WinGetPS(HWND a)
     3869#undef  WinGetClipPS
     3870#define WinGetClipPS _WinGetClipPS
     3871
     3872inline HPS APIENTRY _WinGetPS(HWND a)
    30663873{
    30673874 HPS yyrc;
     
    30743881}
    30753882
    3076 inline HAB APIENTRY WinInitialize(ULONG a)
     3883#undef  WinGetPS
     3884#define WinGetPS _WinGetPS
     3885
     3886inline HAB APIENTRY _WinInitialize(ULONG a)
    30773887{
    30783888 HAB yyrc;
     
    30853895}
    30863896
    3087 inline BOOL APIENTRY WinIsWindowShowing(HWND a)
     3897#undef  WinInitialize
     3898#define WinInitialize _WinInitialize
     3899
     3900inline BOOL APIENTRY _WinIsWindowShowing(HWND a)
    30883901{
    30893902 BOOL yyrc;
     
    30963909}
    30973910
    3098 inline HDC APIENTRY WinOpenWindowDC(HWND a)
     3911#undef  WinIsWindowShowing
     3912#define WinIsWindowShowing _WinIsWindowShowing
     3913
     3914inline HDC APIENTRY _WinOpenWindowDC(HWND a)
    30993915{
    31003916 HDC yyrc;
     
    31073923}
    31083924
    3109 inline HAB APIENTRY WinQueryAnchorBlock(HWND a)
     3925#undef  WinOpenWindowDC
     3926#define WinOpenWindowDC _WinOpenWindowDC
     3927
     3928inline HAB APIENTRY _WinQueryAnchorBlock(HWND a)
    31103929{
    31113930 HAB yyrc;
     
    31183937}
    31193938
    3120 inline ULONG APIENTRY WinQueryVersion(HAB a)
     3939#undef  WinQueryAnchorBlock
     3940#define WinQueryAnchorBlock _WinQueryAnchorBlock
     3941
     3942inline ULONG APIENTRY _WinQueryVersion(HAB a)
    31213943{
    31223944 ULONG yyrc;
     
    31293951}
    31303952
    3131 inline BOOL APIENTRY WinQueryWindowRect(HWND a, PRECTL b)
     3953#undef  WinQueryVersion
     3954#define WinQueryVersion _WinQueryVersion
     3955
     3956inline BOOL APIENTRY _WinQueryWindowRect(HWND a, PRECTL b)
    31323957{
    31333958 BOOL yyrc;
     
    31403965}
    31413966
    3142 inline BOOL APIENTRY WinRegisterClass(HAB a, PCSZ b, PFNWP c, ULONG d, ULONG e)
     3967#undef  WinQueryWindowRect
     3968#define WinQueryWindowRect _WinQueryWindowRect
     3969
     3970inline BOOL APIENTRY _WinRegisterClass(HAB a, PCSZ b, PFNWP c, ULONG d, ULONG e)
    31433971{
    31443972 BOOL yyrc;
     
    31513979}
    31523980
    3153 inline BOOL APIENTRY WinReleasePS(HPS a)
     3981#undef  WinRegisterClass
     3982#define WinRegisterClass _WinRegisterClass
     3983
     3984inline BOOL APIENTRY _WinReleasePS(HPS a)
    31543985{
    31553986 BOOL yyrc;
     
    31623993}
    31633994
    3164 inline LONG APIENTRY WinScrollWindow(HWND a, LONG b, LONG c, CONST RECTL *d, CONST RECTL *e, HRGN f, PRECTL g, ULONG h)
     3995#undef  WinReleasePS
     3996#define WinReleasePS _WinReleasePS
     3997
     3998inline LONG APIENTRY _WinScrollWindow(HWND a, LONG b, LONG c, PRECTL d, PRECTL e, HRGN f, PRECTL g, ULONG h)
    31653999{
    31664000 LONG yyrc;
     
    31734007}
    31744008
    3175 inline BOOL APIENTRY WinSetActiveWindow(HWND a, HWND b)
     4009#undef  WinScrollWindow
     4010#define WinScrollWindow _WinScrollWindow
     4011
     4012inline BOOL APIENTRY _WinSetActiveWindow(HWND a, HWND b)
    31764013{
    31774014 BOOL yyrc;
     
    31844021}
    31854022
    3186 inline BOOL APIENTRY WinShowWindow(HWND a, BOOL b)
     4023#undef  WinSetActiveWindow
     4024#define WinSetActiveWindow _WinSetActiveWindow
     4025
     4026inline BOOL APIENTRY _WinShowWindow(HWND a, BOOL b)
    31874027{
    31884028 BOOL yyrc;
     
    31954035}
    31964036
    3197 inline BOOL APIENTRY WinTerminate(HAB a)
     4037#undef  WinShowWindow
     4038#define WinShowWindow _WinShowWindow
     4039
     4040inline BOOL APIENTRY _WinTerminate(HAB a)
    31984041{
    31994042 BOOL yyrc;
     
    32054048    return yyrc;
    32064049}
     4050
     4051#undef  WinTerminate
     4052#define WinTerminate _WinTerminate
    32074053
    32084054#endif
    32094055#ifdef INCL_WINWINDOWMGR
    3210 inline HENUM APIENTRY WinBeginEnumWindows(HWND a)
     4056inline HENUM APIENTRY _WinBeginEnumWindows(HWND a)
    32114057{
    32124058 HENUM yyrc;
     
    32194065}
    32204066
    3221 inline BOOL APIENTRY WinEndEnumWindows(HENUM a)
     4067#undef  WinBeginEnumWindows
     4068#define WinBeginEnumWindows _WinBeginEnumWindows
     4069
     4070inline BOOL APIENTRY _WinEndEnumWindows(HENUM a)
    32224071{
    32234072 BOOL yyrc;
     
    32304079}
    32314080
    3232 inline LONG APIENTRY WinExcludeUpdateRegion(HPS a, HWND b)
     4081#undef  WinEndEnumWindows
     4082#define WinEndEnumWindows _WinEndEnumWindows
     4083
     4084inline LONG APIENTRY _WinExcludeUpdateRegion(HPS a, HWND b)
    32334085{
    32344086 LONG yyrc;
     
    32414093}
    32424094
    3243 inline HWND APIENTRY WinGetNextWindow(HENUM a)
     4095#undef  WinExcludeUpdateRegion
     4096#define WinExcludeUpdateRegion _WinExcludeUpdateRegion
     4097
     4098inline HWND APIENTRY _WinGetNextWindow(HENUM a)
    32444099{
    32454100 HWND yyrc;
     
    32524107}
    32534108
    3254 inline HPS APIENTRY WinGetScreenPS(HWND a)
     4109#undef  WinGetNextWindow
     4110#define WinGetNextWindow _WinGetNextWindow
     4111
     4112inline HPS APIENTRY _WinGetScreenPS(HWND a)
    32554113{
    32564114 HPS yyrc;
     
    32634121}
    32644122
    3265 inline BOOL APIENTRY WinIsThreadActive(HAB a)
     4123#undef  WinGetScreenPS
     4124#define WinGetScreenPS _WinGetScreenPS
     4125
     4126inline BOOL APIENTRY _WinIsThreadActive(HAB a)
    32664127{
    32674128 BOOL yyrc;
     
    32744135}
    32754136
    3276 inline BOOL APIENTRY WinLockVisRegions(HWND a, BOOL b)
     4137#undef  WinIsThreadActive
     4138#define WinIsThreadActive _WinIsThreadActive
     4139
     4140inline BOOL APIENTRY _WinLockVisRegions(HWND a, BOOL b)
    32774141{
    32784142 BOOL yyrc;
     
    32854149}
    32864150
    3287 inline BOOL APIENTRY WinLockWindowUpdate(HWND a, HWND b)
     4151#undef  WinLockVisRegions
     4152#define WinLockVisRegions _WinLockVisRegions
     4153
     4154inline BOOL APIENTRY _WinLockWindowUpdate(HWND a, HWND b)
    32884155{
    32894156 BOOL yyrc;
     
    32964163}
    32974164
    3298 inline BOOL APIENTRY WinMapWindowPoints(HWND a, HWND b, PPOINTL c, LONG d)
     4165#undef  WinLockWindowUpdate
     4166#define WinLockWindowUpdate _WinLockWindowUpdate
     4167
     4168inline BOOL APIENTRY _WinMapWindowPoints(HWND a, HWND b, PPOINTL c, LONG d)
    32994169{
    33004170 BOOL yyrc;
     
    33074177}
    33084178
    3309 inline HWND APIENTRY WinQueryActiveWindow(HWND a)
     4179#undef  WinMapWindowPoints
     4180#define WinMapWindowPoints _WinMapWindowPoints
     4181
     4182inline HWND APIENTRY _WinQueryActiveWindow(HWND a)
    33104183{
    33114184 HWND yyrc;
     
    33184191}
    33194192
    3320 inline BOOL APIENTRY WinQueryClassInfo(HAB a, PCSZ b, PCLASSINFO c)
     4193#undef  WinQueryActiveWindow
     4194#define WinQueryActiveWindow _WinQueryActiveWindow
     4195
     4196inline BOOL APIENTRY _WinQueryClassInfo(HAB a, PCSZ b, PCLASSINFO c)
    33214197{
    33224198 BOOL yyrc;
     
    33294205}
    33304206
    3331 inline LONG APIENTRY WinQueryClassName(HWND a, LONG b, PCH c)
     4207#undef  WinQueryClassInfo
     4208#define WinQueryClassInfo _WinQueryClassInfo
     4209
     4210inline LONG APIENTRY _WinQueryClassName(HWND a, LONG b, PCH c)
    33324211{
    33334212 LONG yyrc;
     
    33404219}
    33414220
    3342 inline BOOL APIENTRY WinQueryUpdateRect(HWND a, PRECTL b)
     4221#undef  WinQueryClassName
     4222#define WinQueryClassName _WinQueryClassName
     4223
     4224inline BOOL APIENTRY _WinQueryUpdateRect(HWND a, PRECTL b)
    33434225{
    33444226 BOOL yyrc;
     
    33514233}
    33524234
    3353 inline LONG APIENTRY WinQueryUpdateRegion(HWND a, HRGN b)
     4235#undef  WinQueryUpdateRect
     4236#define WinQueryUpdateRect _WinQueryUpdateRect
     4237
     4238inline LONG APIENTRY _WinQueryUpdateRegion(HWND a, HRGN b)
    33544239{
    33554240 LONG yyrc;
     
    33624247}
    33634248
    3364 inline HWND APIENTRY WinQuerySysModalWindow(HWND a)
     4249#undef  WinQueryUpdateRegion
     4250#define WinQueryUpdateRegion _WinQueryUpdateRegion
     4251
     4252inline HWND APIENTRY _WinQuerySysModalWindow(HWND a)
    33654253{
    33664254 HWND yyrc;
     
    33734261}
    33744262
    3375 inline HDC APIENTRY WinQueryWindowDC(HWND a)
     4263#undef  WinQuerySysModalWindow
     4264#define WinQuerySysModalWindow _WinQuerySysModalWindow
     4265
     4266inline HDC APIENTRY _WinQueryWindowDC(HWND a)
    33764267{
    33774268 HDC yyrc;
     
    33844275}
    33854276
    3386 inline PVOID APIENTRY WinQueryWindowPtr(HWND a, LONG b)
     4277#undef  WinQueryWindowDC
     4278#define WinQueryWindowDC _WinQueryWindowDC
     4279
     4280inline PVOID APIENTRY _WinQueryWindowPtr(HWND a, LONG b)
    33874281{
    33884282 PVOID yyrc;
     
    33954289}
    33964290
    3397 inline ULONG APIENTRY WinQueryWindowULong(HWND a, LONG b)
     4291#undef  WinQueryWindowPtr
     4292#define WinQueryWindowPtr _WinQueryWindowPtr
     4293
     4294inline ULONG APIENTRY _WinQueryWindowULong(HWND a, LONG b)
    33984295{
    33994296 ULONG yyrc;
     
    34064303}
    34074304
    3408 inline USHORT APIENTRY WinQueryWindowUShort(HWND a, LONG b)
     4305#undef  WinQueryWindowULong
     4306#define WinQueryWindowULong _WinQueryWindowULong
     4307
     4308inline USHORT APIENTRY _WinQueryWindowUShort(HWND a, LONG b)
    34094309{
    34104310 USHORT yyrc;
     
    34174317}
    34184318
    3419 inline BOOL APIENTRY WinSetSysModalWindow(HWND a, HWND b)
     4319#undef  WinQueryWindowUShort
     4320#define WinQueryWindowUShort _WinQueryWindowUShort
     4321
     4322inline BOOL APIENTRY _WinSetSysModalWindow(HWND a, HWND b)
    34204323{
    34214324 BOOL yyrc;
     
    34284331}
    34294332
    3430 inline BOOL APIENTRY WinSetWindowBits(HWND a, LONG b, ULONG c, ULONG d)
     4333#undef  WinSetSysModalWindow
     4334#define WinSetSysModalWindow _WinSetSysModalWindow
     4335
     4336inline BOOL APIENTRY _WinSetWindowBits(HWND a, LONG b, ULONG c, ULONG d)
    34314337{
    34324338 BOOL yyrc;
     
    34394345}
    34404346
    3441 inline BOOL APIENTRY WinSetWindowPtr(HWND a, LONG b, PVOID c)
     4347#undef  WinSetWindowBits
     4348#define WinSetWindowBits _WinSetWindowBits
     4349
     4350inline BOOL APIENTRY _WinSetWindowPtr(HWND a, LONG b, PVOID c)
    34424351{
    34434352 BOOL yyrc;
     
    34504359}
    34514360
    3452 inline BOOL APIENTRY WinSetWindowULong(HWND a, LONG b, ULONG c)
     4361#undef  WinSetWindowPtr
     4362#define WinSetWindowPtr _WinSetWindowPtr
     4363
     4364inline BOOL APIENTRY _WinSetWindowULong(HWND a, LONG b, ULONG c)
    34534365{
    34544366 BOOL yyrc;
     
    34614373}
    34624374
    3463 inline BOOL APIENTRY WinSetWindowUShort(HWND a, LONG b, USHORT c)
     4375#undef  WinSetWindowULong
     4376#define WinSetWindowULong _WinSetWindowULong
     4377
     4378inline BOOL APIENTRY _WinSetWindowUShort(HWND a, LONG b, USHORT c)
    34644379{
    34654380 BOOL yyrc;
     
    34724387}
    34734388
    3474 inline PFNWP APIENTRY WinSubclassWindow(HWND a, PFNWP b)
     4389#undef  WinSetWindowUShort
     4390#define WinSetWindowUShort _WinSetWindowUShort
     4391
     4392inline PFNWP APIENTRY _WinSubclassWindow(HWND a, PFNWP b)
    34754393{
    34764394 PFNWP yyrc;
     
    34834401}
    34844402
    3485 inline BOOL APIENTRY WinValidateRect(HWND a, CONST RECTL *b, BOOL c)
     4403#undef  WinSubclassWindow
     4404#define WinSubclassWindow _WinSubclassWindow
     4405
     4406inline BOOL APIENTRY _WinValidateRect(HWND a, PRECTL b, BOOL c)
    34864407{
    34874408 BOOL yyrc;
     
    34944415}
    34954416
    3496 inline BOOL APIENTRY WinValidateRegion(HWND a, HRGN b, BOOL c)
     4417#undef  WinValidateRect
     4418#define WinValidateRect _WinValidateRect
     4419
     4420inline BOOL APIENTRY _WinValidateRegion(HWND a, HRGN b, BOOL c)
    34974421{
    34984422 BOOL yyrc;
     
    35054429}
    35064430
    3507 inline HWND APIENTRY WinWindowFromDC(HDC a)
     4431#undef  WinValidateRegion
     4432#define WinValidateRegion _WinValidateRegion
     4433
     4434inline HWND APIENTRY _WinWindowFromDC(HDC a)
    35084435{
    35094436 HWND yyrc;
     
    35164443}
    35174444
    3518 inline HWND APIENTRY WinWindowFromPoint(HWND a, CONST POINTL *b, BOOL c)
     4445#undef  WinWindowFromDC
     4446#define WinWindowFromDC _WinWindowFromDC
     4447
     4448inline HWND APIENTRY _WinWindowFromPoint(HWND a, PPOINTL b, BOOL c)
    35194449{
    35204450 HWND yyrc;
     
    35264456    return yyrc;
    35274457}
     4458
     4459#undef  WinWindowFromPoint
     4460#define WinWindowFromPoint _WinWindowFromPoint
    35284461
    35294462#endif
    35304463#ifdef INCL_WINACCELERATORS
    3531 inline ULONG APIENTRY WinCopyAccelTable(HACCEL a, PACCELTABLE b, ULONG c)
     4464inline ULONG APIENTRY _WinCopyAccelTable(HACCEL a, PACCELTABLE b, ULONG c)
    35324465{
    35334466 ULONG yyrc;
     
    35404473}
    35414474
    3542 inline HACCEL APIENTRY WinCreateAccelTable(HAB a, PACCELTABLE b)
     4475#undef  WinCopyAccelTable
     4476#define WinCopyAccelTable _WinCopyAccelTable
     4477
     4478inline HACCEL APIENTRY _WinCreateAccelTable(HAB a, PACCELTABLE b)
    35434479{
    35444480 HACCEL yyrc;
     
    35514487}
    35524488
    3553 inline BOOL APIENTRY WinDestroyAccelTable(HACCEL a)
     4489#undef  WinCreateAccelTable
     4490#define WinCreateAccelTable _WinCreateAccelTable
     4491
     4492inline BOOL APIENTRY _WinDestroyAccelTable(HACCEL a)
    35544493{
    35554494 BOOL yyrc;
     
    35624501}
    35634502
    3564 inline HACCEL APIENTRY WinLoadAccelTable(HAB a, HMODULE b, ULONG c)
     4503#undef  WinDestroyAccelTable
     4504#define WinDestroyAccelTable _WinDestroyAccelTable
     4505
     4506inline HACCEL APIENTRY _WinLoadAccelTable(HAB a, HMODULE b, ULONG c)
    35654507{
    35664508 HACCEL yyrc;
     
    35734515}
    35744516
    3575 inline HACCEL APIENTRY WinQueryAccelTable(HAB a, HWND b)
     4517#undef  WinLoadAccelTable
     4518#define WinLoadAccelTable _WinLoadAccelTable
     4519
     4520inline HACCEL APIENTRY _WinQueryAccelTable(HAB a, HWND b)
    35764521{
    35774522 HACCEL yyrc;
     
    35844529}
    35854530
    3586 inline BOOL APIENTRY WinSetAccelTable(HAB a, HACCEL b, HWND c)
     4531#undef  WinQueryAccelTable
     4532#define WinQueryAccelTable _WinQueryAccelTable
     4533
     4534inline BOOL APIENTRY _WinSetAccelTable(HAB a, HACCEL b, HWND c)
    35874535{
    35884536 BOOL yyrc;
     
    35954543}
    35964544
    3597 inline BOOL APIENTRY WinTranslateAccel(HAB a, HWND b, HACCEL c, PQMSG d)
     4545#undef  WinSetAccelTable
     4546#define WinSetAccelTable _WinSetAccelTable
     4547
     4548inline BOOL APIENTRY _WinTranslateAccel(HAB a, HWND b, HACCEL c, PQMSG d)
    35984549{
    35994550 BOOL yyrc;
     
    36054556    return yyrc;
    36064557}
     4558
     4559#undef  WinTranslateAccel
     4560#define WinTranslateAccel _WinTranslateAccel
    36074561
    36084562#endif
    36094563#ifdef INCL_WINATOM
    3610 inline ATOM APIENTRY WinAddAtom(HATOMTBL a, PCSZ b)
     4564inline ATOM APIENTRY _WinAddAtom(HATOMTBL a, PCSZ b)
    36114565{
    36124566 ATOM yyrc;
     
    36194573}
    36204574
    3621 inline HATOMTBL APIENTRY WinCreateAtomTable(ULONG a, ULONG b)
     4575#undef  WinAddAtom
     4576#define WinAddAtom _WinAddAtom
     4577
     4578inline HATOMTBL APIENTRY _WinCreateAtomTable(ULONG a, ULONG b)
    36224579{
    36234580 HATOMTBL yyrc;
     
    36304587}
    36314588
    3632 inline ATOM APIENTRY WinDeleteAtom(HATOMTBL a, ATOM b)
     4589#undef  WinCreateAtomTable
     4590#define WinCreateAtomTable _WinCreateAtomTable
     4591
     4592inline ATOM APIENTRY _WinDeleteAtom(HATOMTBL a, ATOM b)
    36334593{
    36344594 ATOM yyrc;
     
    36414601}
    36424602
    3643 inline HATOMTBL APIENTRY WinDestroyAtomTable(HATOMTBL a)
     4603#undef  WinDeleteAtom
     4604#define WinDeleteAtom _WinDeleteAtom
     4605
     4606inline HATOMTBL APIENTRY _WinDestroyAtomTable(HATOMTBL a)
    36444607{
    36454608 HATOMTBL yyrc;
     
    36524615}
    36534616
    3654 inline ATOM APIENTRY WinFindAtom(HATOMTBL a, PCSZ b)
     4617#undef  WinDestroyAtomTable
     4618#define WinDestroyAtomTable _WinDestroyAtomTable
     4619
     4620inline ATOM APIENTRY _WinFindAtom(HATOMTBL a, PCSZ b)
    36554621{
    36564622 ATOM yyrc;
     
    36634629}
    36644630
    3665 inline ULONG APIENTRY WinQueryAtomLength(HATOMTBL a, ATOM b)
     4631#undef  WinFindAtom
     4632#define WinFindAtom _WinFindAtom
     4633
     4634inline ULONG APIENTRY _WinQueryAtomLength(HATOMTBL a, ATOM b)
    36664635{
    36674636 ULONG yyrc;
     
    36744643}
    36754644
    3676 inline ULONG APIENTRY WinQueryAtomName(HATOMTBL a, ATOM b, PSZ c, ULONG d)
     4645#undef  WinQueryAtomLength
     4646#define WinQueryAtomLength _WinQueryAtomLength
     4647
     4648inline ULONG APIENTRY _WinQueryAtomName(HATOMTBL a, ATOM b, PSZ c, ULONG d)
    36774649{
    36784650 ULONG yyrc;
     
    36854657}
    36864658
    3687 inline ULONG APIENTRY WinQueryAtomUsage(HATOMTBL a, ATOM b)
     4659#undef  WinQueryAtomName
     4660#define WinQueryAtomName _WinQueryAtomName
     4661
     4662inline ULONG APIENTRY _WinQueryAtomUsage(HATOMTBL a, ATOM b)
    36884663{
    36894664 ULONG yyrc;
     
    36964671}
    36974672
    3698 inline HATOMTBL APIENTRY WinQuerySystemAtomTable()
     4673#undef  WinQueryAtomUsage
     4674#define WinQueryAtomUsage _WinQueryAtomUsage
     4675
     4676inline HATOMTBL APIENTRY _WinQuerySystemAtomTable()
    36994677{
    37004678 HATOMTBL yyrc;
     
    37064684    return yyrc;
    37074685}
     4686
     4687#undef  WinQuerySystemAtomTable
     4688#define WinQuerySystemAtomTable _WinQuerySystemAtomTable
    37084689
    37094690#endif
    37104691#ifdef INCL_WINCLIPBOARD
    3711 inline BOOL APIENTRY WinCloseClipbrd(HAB a)
     4692inline BOOL APIENTRY _WinCloseClipbrd(HAB a)
    37124693{
    37134694 BOOL yyrc;
     
    37204701}
    37214702
    3722 inline BOOL APIENTRY WinEmptyClipbrd(HAB a)
     4703#undef  WinCloseClipbrd
     4704#define WinCloseClipbrd _WinCloseClipbrd
     4705
     4706inline BOOL APIENTRY _WinEmptyClipbrd(HAB a)
    37234707{
    37244708 BOOL yyrc;
     
    37314715}
    37324716
    3733 inline ULONG APIENTRY WinEnumClipbrdFmts(HAB a, ULONG b)
     4717#undef  WinEmptyClipbrd
     4718#define WinEmptyClipbrd _WinEmptyClipbrd
     4719
     4720inline ULONG APIENTRY _WinEnumClipbrdFmts(HAB a, ULONG b)
    37344721{
    37354722 ULONG yyrc;
     
    37424729}
    37434730
    3744 inline BOOL APIENTRY WinOpenClipbrd(HAB a)
     4731#undef  WinEnumClipbrdFmts
     4732#define WinEnumClipbrdFmts _WinEnumClipbrdFmts
     4733
     4734inline BOOL APIENTRY _WinOpenClipbrd(HAB a)
    37454735{
    37464736 BOOL yyrc;
     
    37534743}
    37544744
    3755 inline ULONG APIENTRY WinQueryClipbrdData(HAB a, ULONG b)
     4745#undef  WinOpenClipbrd
     4746#define WinOpenClipbrd _WinOpenClipbrd
     4747
     4748inline ULONG APIENTRY _WinQueryClipbrdData(HAB a, ULONG b)
    37564749{
    37574750 ULONG yyrc;
     
    37644757}
    37654758
    3766 inline BOOL APIENTRY WinQueryClipbrdFmtInfo(HAB a, ULONG b, PULONG c)
     4759#undef  WinQueryClipbrdData
     4760#define WinQueryClipbrdData _WinQueryClipbrdData
     4761
     4762inline BOOL APIENTRY _WinQueryClipbrdFmtInfo(HAB a, ULONG b, PULONG c)
    37674763{
    37684764 BOOL yyrc;
     
    37754771}
    37764772
    3777 inline HWND APIENTRY WinQueryClipbrdOwner(HAB a)
     4773#undef  WinQueryClipbrdFmtInfo
     4774#define WinQueryClipbrdFmtInfo _WinQueryClipbrdFmtInfo
     4775
     4776inline HWND APIENTRY _WinQueryClipbrdOwner(HAB a)
    37784777{
    37794778 HWND yyrc;
     
    37864785}
    37874786
    3788 inline HWND APIENTRY WinQueryClipbrdViewer(HAB a)
     4787#undef  WinQueryClipbrdOwner
     4788#define WinQueryClipbrdOwner _WinQueryClipbrdOwner
     4789
     4790inline HWND APIENTRY _WinQueryClipbrdViewer(HAB a)
    37894791{
    37904792 HWND yyrc;
     
    37974799}
    37984800
    3799 inline BOOL APIENTRY WinSetClipbrdData(HAB a, ULONG b, ULONG c, ULONG d)
     4801#undef  WinQueryClipbrdViewer
     4802#define WinQueryClipbrdViewer _WinQueryClipbrdViewer
     4803
     4804inline BOOL APIENTRY _WinSetClipbrdData(HAB a, ULONG b, ULONG c, ULONG d)
    38004805{
    38014806 BOOL yyrc;
     
    38084813}
    38094814
    3810 inline BOOL APIENTRY WinSetClipbrdOwner(HAB a, HWND b)
     4815#undef  WinSetClipbrdData
     4816#define WinSetClipbrdData _WinSetClipbrdData
     4817
     4818inline BOOL APIENTRY _WinSetClipbrdOwner(HAB a, HWND b)
    38114819{
    38124820 BOOL yyrc;
     
    38194827}
    38204828
    3821 inline BOOL APIENTRY WinSetClipbrdViewer(HAB a, HWND b)
     4829#undef  WinSetClipbrdOwner
     4830#define WinSetClipbrdOwner _WinSetClipbrdOwner
     4831
     4832inline BOOL APIENTRY _WinSetClipbrdViewer(HAB a, HWND b)
    38224833{
    38234834 BOOL yyrc;
     
    38294840    return yyrc;
    38304841}
     4842
     4843#undef  WinSetClipbrdViewer
     4844#define WinSetClipbrdViewer _WinSetClipbrdViewer
    38314845
    38324846#endif
    38334847#ifdef INCL_WINDDE
    3834 inline BOOL APIENTRY WinDdeInitiate(HWND a, PCSZ b, PCSZ c, CONST CONVCONTEXT *d)
     4848inline BOOL APIENTRY _WinDdeInitiate(HWND a, PCSZ b, PCSZ c, PCONVCONTEXT d)
    38354849{
    38364850 BOOL yyrc;
     
    38434857}
    38444858
    3845 inline BOOL APIENTRY WinDdePostMsg(HWND a, HWND b, ULONG c, CONST DDESTRUCT *d, ULONG e)
     4859#undef  WinDdeInitiate
     4860#define WinDdeInitiate _WinDdeInitiate
     4861
     4862inline BOOL APIENTRY _WinDdePostMsg(HWND a, HWND b, ULONG c, PDDESTRUCT d, ULONG e)
    38464863{
    38474864 BOOL yyrc;
     
    38544871}
    38554872
    3856 inline MRESULT APIENTRY WinDdeRespond(HWND a, HWND b, PCSZ c, PCSZ d, CONST CONVCONTEXT *e)
     4873#undef  WinDdePostMsg
     4874#define WinDdePostMsg _WinDdePostMsg
     4875
     4876inline MRESULT APIENTRY _WinDdeRespond(HWND a, HWND b, PCSZ c, PCSZ d, PCONVCONTEXT e)
    38574877{
    38584878 MRESULT yyrc;
     
    38644884    return yyrc;
    38654885}
     4886
     4887#undef  WinDdeRespond
     4888#define WinDdeRespond _WinDdeRespond
    38664889
    38674890#endif
    38684891#ifdef INCL_WINCOUNTRY
    3869 inline ULONG APIENTRY WinCompareStrings(HAB a, ULONG b, ULONG c, PCSZ d, PCSZ e, ULONG f)
     4892inline ULONG APIENTRY _WinCompareStrings(HAB a, ULONG b, ULONG c, PCSZ d, PCSZ e, ULONG f)
    38704893{
    38714894 ULONG yyrc;
     
    38784901}
    38794902
    3880 inline UCHAR APIENTRY WinCpTranslateChar(HAB a, ULONG b, UCHAR c, ULONG d)
     4903#undef  WinCompareStrings
     4904#define WinCompareStrings _WinCompareStrings
     4905
     4906inline UCHAR APIENTRY _WinCpTranslateChar(HAB a, ULONG b, UCHAR c, ULONG d)
    38814907{
    38824908 UCHAR yyrc;
     
    38894915}
    38904916
    3891 inline BOOL APIENTRY WinCpTranslateString(HAB a, ULONG b, PCSZ c, ULONG d, ULONG e, PSZ f)
     4917#undef  WinCpTranslateChar
     4918#define WinCpTranslateChar _WinCpTranslateChar
     4919
     4920inline BOOL APIENTRY _WinCpTranslateString(HAB a, ULONG b, PCSZ c, ULONG d, ULONG e, PSZ f)
    38924921{
    38934922 BOOL yyrc;
     
    39004929}
    39014930
    3902 inline PSZ APIENTRY WinNextChar(HAB a, ULONG b, ULONG c, PCSZ d)
    3903 {
    3904  PSZ yyrc;
     4931#undef  WinCpTranslateString
     4932#define WinCpTranslateString _WinCpTranslateString
     4933
     4934inline PCSZ APIENTRY _WinNextChar(HAB a, ULONG b, ULONG c, PCSZ d)
     4935{
     4936 PCSZ yyrc;
    39054937 USHORT sel = GetFS();
    39064938
     
    39114943}
    39124944
    3913 inline PSZ APIENTRY WinPrevChar(HAB a, ULONG b, ULONG c, PCSZ d, PCSZ e)
    3914 {
    3915  PSZ yyrc;
     4945#undef  WinNextChar
     4946#define WinNextChar _WinNextChar
     4947
     4948inline PCSZ APIENTRY _WinPrevChar(HAB a, ULONG b, ULONG c, PCSZ d, PCSZ e)
     4949{
     4950 PCSZ yyrc;
    39164951 USHORT sel = GetFS();
    39174952
     
    39224957}
    39234958
    3924 inline ULONG APIENTRY WinQueryCp(HMQ a)
     4959#undef  WinPrevChar
     4960#define WinPrevChar _WinPrevChar
     4961
     4962inline ULONG APIENTRY _WinQueryCp(HMQ a)
    39254963{
    39264964 ULONG yyrc;
     
    39334971}
    39344972
    3935 inline ULONG APIENTRY WinQueryCpList(HAB a, ULONG b, PULONG c)
     4973#undef  WinQueryCp
     4974#define WinQueryCp _WinQueryCp
     4975
     4976inline ULONG APIENTRY _WinQueryCpList(HAB a, ULONG b, PULONG c)
    39364977{
    39374978 ULONG yyrc;
     
    39444985}
    39454986
    3946 inline BOOL APIENTRY WinSetCp(HMQ a, ULONG b)
     4987#undef  WinQueryCpList
     4988#define WinQueryCpList _WinQueryCpList
     4989
     4990inline BOOL APIENTRY _WinSetCp(HMQ a, ULONG b)
    39474991{
    39484992 BOOL yyrc;
     
    39554999}
    39565000
    3957 inline ULONG APIENTRY WinUpper(HAB a, ULONG b, ULONG c, PSZ d)
     5001#undef  WinSetCp
     5002#define WinSetCp _WinSetCp
     5003
     5004inline ULONG APIENTRY _WinUpper(HAB a, ULONG b, ULONG c, PSZ d)
    39585005{
    39595006 ULONG yyrc;
     
    39665013}
    39675014
    3968 inline ULONG APIENTRY WinUpperChar(HAB a, ULONG b, ULONG c, ULONG d)
     5015#undef  WinUpper
     5016#define WinUpper _WinUpper
     5017
     5018inline ULONG APIENTRY _WinUpperChar(HAB a, ULONG b, ULONG c, ULONG d)
    39695019{
    39705020 ULONG yyrc;
     
    39765026    return yyrc;
    39775027}
     5028
     5029#undef  WinUpperChar
     5030#define WinUpperChar _WinUpperChar
    39785031
    39795032#endif
    39805033#ifdef INCL_WINCURSORS
    3981 inline BOOL APIENTRY WinCreateCursor(HWND a, LONG b, LONG c, LONG d, LONG e, ULONG f, PRECTL g)
     5034inline BOOL APIENTRY _WinCreateCursor(HWND a, LONG b, LONG c, LONG d, LONG e, ULONG f, PRECTL g)
    39825035{
    39835036 BOOL yyrc;
     
    39905043}
    39915044
    3992 inline BOOL APIENTRY WinDestroyCursor(HWND a)
     5045#undef  WinCreateCursor
     5046#define WinCreateCursor _WinCreateCursor
     5047
     5048inline BOOL APIENTRY _WinDestroyCursor(HWND a)
    39935049{
    39945050 BOOL yyrc;
     
    40015057}
    40025058
    4003 inline BOOL APIENTRY WinShowCursor(HWND a, BOOL b)
     5059#undef  WinDestroyCursor
     5060#define WinDestroyCursor _WinDestroyCursor
     5061
     5062inline BOOL APIENTRY _WinShowCursor(HWND a, BOOL b)
    40045063{
    40055064 BOOL yyrc;
     
    40125071}
    40135072
    4014 inline BOOL APIENTRY WinQueryCursorInfo(HWND a, PCURSORINFO b)
     5073#undef  WinShowCursor
     5074#define WinShowCursor _WinShowCursor
     5075
     5076inline BOOL APIENTRY _WinQueryCursorInfo(HWND a, PCURSORINFO b)
    40155077{
    40165078 BOOL yyrc;
     
    40225084    return yyrc;
    40235085}
     5086
     5087#undef  WinQueryCursorInfo
     5088#define WinQueryCursorInfo _WinQueryCursorInfo
    40245089
    40255090#endif
    40265091#ifdef INCL_WINDESKTOP
    4027 inline BOOL APIENTRY WinQueryDesktopBkgnd(HWND a, PDESKTOP b)
     5092inline BOOL APIENTRY _WinQueryDesktopBkgnd(HWND a, PDESKTOP b)
    40285093{
    40295094 BOOL yyrc;
     
    40365101}
    40375102
    4038 inline HBITMAP APIENTRY WinSetDesktopBkgnd(HWND a, CONST DESKTOP *b)
     5103#undef  WinQueryDesktopBkgnd
     5104#define WinQueryDesktopBkgnd _WinQueryDesktopBkgnd
     5105
     5106inline HBITMAP APIENTRY _WinSetDesktopBkgnd(HWND a, PDESKTOP b)
    40395107{
    40405108 HBITMAP yyrc;
     
    40465114    return yyrc;
    40475115}
     5116
     5117#undef  WinSetDesktopBkgnd
     5118#define WinSetDesktopBkgnd _WinSetDesktopBkgnd
    40485119
    40495120#endif
    40505121#ifdef INCL_WINDIALOGS
    4051 inline BOOL APIENTRY WinAlarm(HWND a, ULONG b)
     5122inline BOOL APIENTRY _WinAlarm(HWND a, ULONG b)
    40525123{
    40535124 BOOL yyrc;
     
    40605131}
    40615132
    4062 inline MRESULT APIENTRY WinDefDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d)
     5133#undef  WinAlarm
     5134#define WinAlarm _WinAlarm
     5135
     5136inline MRESULT APIENTRY _WinDefDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d)
    40635137{
    40645138 MRESULT yyrc;
     
    40715145}
    40725146
    4073 inline BOOL APIENTRY WinDismissDlg(HWND a, ULONG b)
     5147#undef  WinDefDlgProc
     5148#define WinDefDlgProc _WinDefDlgProc
     5149
     5150inline BOOL APIENTRY _WinDismissDlg(HWND a, ULONG b)
    40745151{
    40755152 BOOL yyrc;
     
    40825159}
    40835160
    4084 inline ULONG APIENTRY WinDlgBox(HWND a, HWND b, PFNWP c, HMODULE d, ULONG e, PVOID f)
     5161#undef  WinDismissDlg
     5162#define WinDismissDlg _WinDismissDlg
     5163
     5164inline ULONG APIENTRY _WinDlgBox(HWND a, HWND b, PFNWP c, HMODULE d, ULONG e, PVOID f)
    40855165{
    40865166 ULONG yyrc;
     
    40935173}
    40945174
    4095 inline BOOL APIENTRY WinGetDlgMsg(HWND a, PQMSG b)
     5175#undef  WinDlgBox
     5176#define WinDlgBox _WinDlgBox
     5177
     5178inline BOOL APIENTRY _WinGetDlgMsg(HWND a, PQMSG b)
    40965179{
    40975180 BOOL yyrc;
     
    41045187}
    41055188
    4106 inline HWND APIENTRY WinLoadDlg(HWND a, HWND b, PFNWP c, HMODULE d, ULONG e, PVOID f)
     5189#undef  WinGetDlgMsg
     5190#define WinGetDlgMsg _WinGetDlgMsg
     5191
     5192inline HWND APIENTRY _WinLoadDlg(HWND a, HWND b, PFNWP c, HMODULE d, ULONG e, PVOID f)
    41075193{
    41085194 HWND yyrc;
     
    41155201}
    41165202
    4117 inline ULONG APIENTRY WinMessageBox(HWND a, HWND b, PCSZ c, PCSZ d, ULONG e, ULONG f)
     5203#undef  WinLoadDlg
     5204#define WinLoadDlg _WinLoadDlg
     5205
     5206inline ULONG APIENTRY _WinMessageBox(HWND a, HWND b, PCSZ c, PCSZ d, ULONG e, ULONG f)
    41185207{
    41195208 ULONG yyrc;
     
    41265215}
    41275216
    4128 inline ULONG APIENTRY WinMessageBox2(HWND a, HWND b, PCSZ c, PCSZ d, ULONG e, PMB2INFO f)
     5217#undef  WinMessageBox
     5218#define WinMessageBox _WinMessageBox
     5219
     5220inline ULONG APIENTRY _WinMessageBox2(HWND a, HWND b, PSZ c, PSZ d, ULONG e, PMB2INFO f)
    41295221{
    41305222 ULONG yyrc;
     
    41375229}
    41385230
    4139 inline BOOL APIENTRY WinQueryDlgItemShort(HWND a, ULONG b, PSHORT c, BOOL d)
     5231#undef  WinMessageBox2
     5232#define WinMessageBox2 _WinMessageBox2
     5233
     5234inline BOOL APIENTRY _WinQueryDlgItemShort(HWND a, ULONG b, PSHORT c, BOOL d)
    41405235{
    41415236 BOOL yyrc;
     
    41485243}
    41495244
    4150 inline ULONG APIENTRY WinQueryDlgItemText(HWND a, ULONG b, LONG c, PSZ d)
     5245#undef  WinQueryDlgItemShort
     5246#define WinQueryDlgItemShort _WinQueryDlgItemShort
     5247
     5248inline ULONG APIENTRY _WinQueryDlgItemText(HWND a, ULONG b, LONG c, PSZ d)
    41515249{
    41525250 ULONG yyrc;
     
    41595257}
    41605258
    4161 inline LONG APIENTRY WinQueryDlgItemTextLength(HWND a, ULONG b)
     5259#undef  WinQueryDlgItemText
     5260#define WinQueryDlgItemText _WinQueryDlgItemText
     5261
     5262inline LONG APIENTRY _WinQueryDlgItemTextLength(HWND a, ULONG b)
    41625263{
    41635264 LONG yyrc;
     
    41705271}
    41715272
    4172 inline BOOL APIENTRY WinSetDlgItemShort(HWND a, ULONG b, USHORT c, BOOL d)
     5273#undef  WinQueryDlgItemTextLength
     5274#define WinQueryDlgItemTextLength _WinQueryDlgItemTextLength
     5275
     5276inline BOOL APIENTRY _WinSetDlgItemShort(HWND a, ULONG b, USHORT c, BOOL d)
    41735277{
    41745278 BOOL yyrc;
     
    41815285}
    41825286
    4183 inline BOOL APIENTRY WinSetDlgItemText(HWND a, ULONG b, PCSZ c)
     5287#undef  WinSetDlgItemShort
     5288#define WinSetDlgItemShort _WinSetDlgItemShort
     5289
     5290inline BOOL APIENTRY _WinSetDlgItemText(HWND a, ULONG b, PCSZ c)
    41845291{
    41855292 BOOL yyrc;
     
    41925299}
    41935300
    4194 inline HWND APIENTRY WinCreateDlg(HWND a, HWND b, PFNWP c, PDLGTEMPLATE d, PVOID e)
     5301#undef  WinSetDlgItemText
     5302#define WinSetDlgItemText _WinSetDlgItemText
     5303
     5304inline HWND APIENTRY _WinCreateDlg(HWND a, HWND b, PFNWP c, PDLGTEMPLATE d, PVOID e)
    41955305{
    41965306 HWND yyrc;
     
    42035313}
    42045314
    4205 inline HWND APIENTRY WinEnumDlgItem(HWND a, HWND b, ULONG c)
     5315#undef  WinCreateDlg
     5316#define WinCreateDlg _WinCreateDlg
     5317
     5318inline HWND APIENTRY _WinEnumDlgItem(HWND a, HWND b, ULONG c)
    42065319{
    42075320 HWND yyrc;
     
    42145327}
    42155328
    4216 inline BOOL APIENTRY WinMapDlgPoints(HWND a, PPOINTL b, ULONG c, BOOL d)
     5329#undef  WinEnumDlgItem
     5330#define WinEnumDlgItem _WinEnumDlgItem
     5331
     5332inline BOOL APIENTRY _WinMapDlgPoints(HWND a, PPOINTL b, ULONG c, BOOL d)
    42175333{
    42185334 BOOL yyrc;
     
    42255341}
    42265342
    4227 inline ULONG APIENTRY WinProcessDlg(HWND a)
     5343#undef  WinMapDlgPoints
     5344#define WinMapDlgPoints _WinMapDlgPoints
     5345
     5346inline ULONG APIENTRY _WinProcessDlg(HWND a)
    42285347{
    42295348 ULONG yyrc;
     
    42365355}
    42375356
    4238 inline MRESULT APIENTRY WinSendDlgItemMsg(HWND a, ULONG b, ULONG c, MPARAM d, MPARAM e)
     5357#undef  WinProcessDlg
     5358#define WinProcessDlg _WinProcessDlg
     5359
     5360inline MRESULT APIENTRY _WinSendDlgItemMsg(HWND a, ULONG b, ULONG c, MPARAM d, MPARAM e)
    42395361{
    42405362 MRESULT yyrc;
     
    42475369}
    42485370
    4249 inline LONG APIENTRY WinSubstituteStrings(HWND a, PCSZ b, LONG c, PSZ d)
     5371#undef  WinSendDlgItemMsg
     5372#define WinSendDlgItemMsg _WinSendDlgItemMsg
     5373
     5374inline LONG APIENTRY _WinSubstituteStrings(HWND a, PCSZ b, LONG c, PSZ d)
    42505375{
    42515376 LONG yyrc;
     
    42575382    return yyrc;
    42585383}
     5384
     5385#undef  WinSubstituteStrings
     5386#define WinSubstituteStrings _WinSubstituteStrings
    42595387
    42605388#endif
    42615389#ifdef INCL_WINERRORS
    4262 inline ERRORID APIENTRY WinGetLastError(HAB a)
     5390inline ERRORID APIENTRY _WinGetLastError(HAB a)
    42635391{
    42645392 ERRORID yyrc;
     
    42715399}
    42725400
    4273 inline BOOL APIENTRY WinFreeErrorInfo(PERRINFO a)
     5401#undef  WinGetLastError
     5402#define WinGetLastError _WinGetLastError
     5403
     5404inline BOOL APIENTRY _WinFreeErrorInfo(PERRINFO a)
    42745405{
    42755406 BOOL yyrc;
     
    42825413}
    42835414
    4284 inline PERRINFO APIENTRY WinGetErrorInfo(HAB a)
     5415#undef  WinFreeErrorInfo
     5416#define WinFreeErrorInfo _WinFreeErrorInfo
     5417
     5418inline PERRINFO APIENTRY _WinGetErrorInfo(HAB a)
    42855419{
    42865420 PERRINFO yyrc;
     
    42925426    return yyrc;
    42935427}
     5428
     5429#undef  WinGetErrorInfo
     5430#define WinGetErrorInfo _WinGetErrorInfo
    42945431
    42955432#endif
    42965433#ifdef INCL_WINHOOKS
    4297 inline BOOL APIENTRY WinCallMsgFilter(HAB a, PQMSG b, ULONG c)
     5434inline BOOL APIENTRY _WinCallMsgFilter(HAB a, PQMSG b, ULONG c)
    42985435{
    42995436 BOOL yyrc;
     
    43065443}
    43075444
    4308 inline BOOL APIENTRY WinReleaseHook(HAB a, HMQ b, LONG c, PFN d, HMODULE e)
     5445#undef  WinCallMsgFilter
     5446#define WinCallMsgFilter _WinCallMsgFilter
     5447
     5448inline BOOL APIENTRY _WinReleaseHook(HAB a, HMQ b, LONG c, PFN d, HMODULE e)
    43095449{
    43105450 BOOL yyrc;
     
    43175457}
    43185458
    4319 inline BOOL APIENTRY WinSetHook(HAB a, HMQ b, LONG c, PFN d, HMODULE e)
     5459#undef  WinReleaseHook
     5460#define WinReleaseHook _WinReleaseHook
     5461
     5462inline BOOL APIENTRY _WinSetHook(HAB a, HMQ b, LONG c, PFN d, HMODULE e)
    43205463{
    43215464 BOOL yyrc;
     
    43275470    return yyrc;
    43285471}
     5472
     5473#undef  WinSetHook
     5474#define WinSetHook _WinSetHook
    43295475
    43305476#endif
    43315477#ifdef INCL_WININPUT
    4332 inline BOOL APIENTRY WinFocusChange(HWND a, HWND b, ULONG c)
     5478inline BOOL APIENTRY _WinFocusChange(HWND a, HWND b, ULONG c)
    43335479{
    43345480 BOOL yyrc;
     
    43415487}
    43425488
    4343 inline BOOL APIENTRY WinLockupSystem(HAB a)
     5489#undef  WinFocusChange
     5490#define WinFocusChange _WinFocusChange
     5491
     5492inline BOOL APIENTRY _WinLockupSystem(HAB a)
    43445493{
    43455494 BOOL yyrc;
     
    43525501}
    43535502
    4354 inline BOOL APIENTRY WinSetFocus(HWND a, HWND b)
     5503#undef  WinLockupSystem
     5504#define WinLockupSystem _WinLockupSystem
     5505
     5506inline BOOL APIENTRY _WinSetFocus(HWND a, HWND b)
    43555507{
    43565508 BOOL yyrc;
     
    43635515}
    43645516
    4365 inline BOOL APIENTRY WinUnlockSystem(HAB a, PCSZ b)
     5517#undef  WinSetFocus
     5518#define WinSetFocus _WinSetFocus
     5519
     5520inline BOOL APIENTRY _WinUnlockSystem(HAB a, PSZ b)
    43665521{
    43675522 BOOL yyrc;
     
    43745529}
    43755530
    4376 inline BOOL APIENTRY WinCheckInput(HAB a)
     5531#undef  WinUnlockSystem
     5532#define WinUnlockSystem _WinUnlockSystem
     5533
     5534inline BOOL APIENTRY _WinCheckInput(HAB a)
    43775535{
    43785536 BOOL yyrc;
     
    43855543}
    43865544
    4387 inline BOOL APIENTRY WinEnablePhysInput(HWND a, BOOL b)
     5545#undef  WinCheckInput
     5546#define WinCheckInput _WinCheckInput
     5547
     5548inline BOOL APIENTRY _WinEnablePhysInput(HWND a, BOOL b)
    43885549{
    43895550 BOOL yyrc;
     
    43965557}
    43975558
    4398 inline LONG APIENTRY WinGetKeyState(HWND a, LONG b)
     5559#undef  WinEnablePhysInput
     5560#define WinEnablePhysInput _WinEnablePhysInput
     5561
     5562inline LONG APIENTRY _WinGetKeyState(HWND a, LONG b)
    43995563{
    44005564 LONG yyrc;
     
    44075571}
    44085572
    4409 inline LONG APIENTRY WinGetPhysKeyState(HWND a, LONG b)
     5573#undef  WinGetKeyState
     5574#define WinGetKeyState _WinGetKeyState
     5575
     5576inline LONG APIENTRY _WinGetPhysKeyState(HWND a, LONG b)
    44105577{
    44115578 LONG yyrc;
     
    44185585}
    44195586
    4420 inline BOOL APIENTRY WinIsPhysInputEnabled(HWND a)
     5587#undef  WinGetPhysKeyState
     5588#define WinGetPhysKeyState _WinGetPhysKeyState
     5589
     5590inline BOOL APIENTRY _WinIsPhysInputEnabled(HWND a)
    44215591{
    44225592 BOOL yyrc;
     
    44295599}
    44305600
    4431 inline HWND APIENTRY WinQueryCapture(HWND a)
     5601#undef  WinIsPhysInputEnabled
     5602#define WinIsPhysInputEnabled _WinIsPhysInputEnabled
     5603
     5604inline HWND APIENTRY _WinQueryCapture(HWND a)
    44325605{
    44335606 HWND yyrc;
     
    44405613}
    44415614
    4442 inline HWND APIENTRY WinQueryFocus(HWND a)
     5615#undef  WinQueryCapture
     5616#define WinQueryCapture _WinQueryCapture
     5617
     5618inline HWND APIENTRY _WinQueryFocus(HWND a)
    44435619{
    44445620 HWND yyrc;
     
    44515627}
    44525628
    4453 inline ULONG APIENTRY WinQueryVisibleRegion(HWND a, HRGN b)
     5629#undef  WinQueryFocus
     5630#define WinQueryFocus _WinQueryFocus
     5631
     5632inline ULONG APIENTRY _WinQueryVisibleRegion(HWND a, HRGN b)
    44545633{
    44555634 ULONG yyrc;
     
    44625641}
    44635642
    4464 inline BOOL APIENTRY WinSetCapture(HWND a, HWND b)
     5643#undef  WinQueryVisibleRegion
     5644#define WinQueryVisibleRegion _WinQueryVisibleRegion
     5645
     5646inline BOOL APIENTRY _WinSetCapture(HWND a, HWND b)
    44655647{
    44665648 BOOL yyrc;
     
    44735655}
    44745656
    4475 inline BOOL APIENTRY WinSetKeyboardStateTable(HWND a, PBYTE b, BOOL c)
     5657#undef  WinSetCapture
     5658#define WinSetCapture _WinSetCapture
     5659
     5660inline BOOL APIENTRY _WinSetKeyboardStateTable(HWND a, PBYTE b, BOOL c)
    44765661{
    44775662 BOOL yyrc;
     
    44845669}
    44855670
    4486 inline BOOL APIENTRY WinSetVisibleRegionNotify(HWND a, BOOL b)
     5671#undef  WinSetKeyboardStateTable
     5672#define WinSetKeyboardStateTable _WinSetKeyboardStateTable
     5673
     5674inline BOOL APIENTRY _WinSetVisibleRegionNotify(HWND a, BOOL b)
    44875675{
    44885676 BOOL yyrc;
     
    44945682    return yyrc;
    44955683}
     5684
     5685#undef  WinSetVisibleRegionNotify
     5686#define WinSetVisibleRegionNotify _WinSetVisibleRegionNotify
    44965687
    44975688#endif
    44985689#ifdef INCL_WINLOAD
    4499 inline BOOL APIENTRY WinDeleteLibrary(HAB a, HLIB b)
     5690inline BOOL APIENTRY _WinDeleteLibrary(HAB a, HLIB b)
    45005691{
    45015692 BOOL yyrc;
     
    45085699}
    45095700
    4510 inline BOOL APIENTRY WinDeleteProcedure(HAB a, PFNWP b)
     5701#undef  WinDeleteLibrary
     5702#define WinDeleteLibrary _WinDeleteLibrary
     5703
     5704inline BOOL APIENTRY _WinDeleteProcedure(HAB a, PFNWP b)
    45115705{
    45125706 BOOL yyrc;
     
    45195713}
    45205714
    4521 inline HLIB APIENTRY WinLoadLibrary(HAB a, PCSZ b)
     5715#undef  WinDeleteProcedure
     5716#define WinDeleteProcedure _WinDeleteProcedure
     5717
     5718inline HLIB APIENTRY _WinLoadLibrary(HAB a, PCSZ b)
    45225719{
    45235720 HLIB yyrc;
     
    45305727}
    45315728
    4532 inline PFNWP APIENTRY WinLoadProcedure(HAB a, HLIB b, PSZ c)
     5729#undef  WinLoadLibrary
     5730#define WinLoadLibrary _WinLoadLibrary
     5731
     5732inline PFNWP APIENTRY _WinLoadProcedure(HAB a, HLIB b, PSZ c)
    45335733{
    45345734 PFNWP yyrc;
     
    45405740    return yyrc;
    45415741}
     5742
     5743#undef  WinLoadProcedure
     5744#define WinLoadProcedure _WinLoadProcedure
    45425745
    45435746#endif
    45445747#ifdef INCL_WINMENUS
    4545 inline HWND APIENTRY WinCreateMenu(HWND a, PVOID b)
     5748inline HWND APIENTRY _WinCreateMenu(HWND a, PVOID b)
    45465749{
    45475750 HWND yyrc;
     
    45545757}
    45555758
    4556 inline HWND APIENTRY WinLoadMenu(HWND a, HMODULE b, ULONG c)
     5759#undef  WinCreateMenu
     5760#define WinCreateMenu _WinCreateMenu
     5761
     5762inline HWND APIENTRY _WinLoadMenu(HWND a, HMODULE b, ULONG c)
    45575763{
    45585764 HWND yyrc;
     
    45655771}
    45665772
    4567 inline BOOL APIENTRY WinPopupMenu(HWND a, HWND b, HWND c, LONG d, LONG e, LONG f, ULONG g)
     5773#undef  WinLoadMenu
     5774#define WinLoadMenu _WinLoadMenu
     5775
     5776inline BOOL APIENTRY _WinPopupMenu(HWND a, HWND b, HWND c, LONG d, LONG e, LONG f, ULONG g)
    45685777{
    45695778 BOOL yyrc;
     
    45755784    return yyrc;
    45765785}
     5786
     5787#undef  WinPopupMenu
     5788#define WinPopupMenu _WinPopupMenu
    45775789
    45785790#endif
    45795791#ifdef INCL_WINMESSAGEMGR
    4580 inline BOOL APIENTRY WinBroadcastMsg(HWND a, ULONG b, MPARAM c, MPARAM d, ULONG e)
     5792inline BOOL APIENTRY _WinBroadcastMsg(HWND a, ULONG b, MPARAM c, MPARAM d, ULONG e)
    45815793{
    45825794 BOOL yyrc;
     
    45895801}
    45905802
    4591 inline BOOL APIENTRY WinInSendMsg(HAB a)
     5803#undef  WinBroadcastMsg
     5804#define WinBroadcastMsg _WinBroadcastMsg
     5805
     5806inline BOOL APIENTRY _WinInSendMsg(HAB a)
    45925807{
    45935808 BOOL yyrc;
     
    46005815}
    46015816
    4602 inline BOOL APIENTRY WinPostQueueMsg(HMQ a, ULONG b, MPARAM c, MPARAM d)
     5817#undef  WinInSendMsg
     5818#define WinInSendMsg _WinInSendMsg
     5819
     5820inline BOOL APIENTRY _WinPostQueueMsg(HMQ a, ULONG b, MPARAM c, MPARAM d)
    46035821{
    46045822 BOOL yyrc;
     
    46115829}
    46125830
    4613 inline BOOL APIENTRY WinQueryMsgPos(HAB a, PPOINTL b)
     5831#undef  WinPostQueueMsg
     5832#define WinPostQueueMsg _WinPostQueueMsg
     5833
     5834inline BOOL APIENTRY _WinQueryMsgPos(HAB a, PPOINTL b)
    46145835{
    46155836 BOOL yyrc;
     
    46225843}
    46235844
    4624 inline ULONG APIENTRY WinQueryMsgTime(HAB a)
     5845#undef  WinQueryMsgPos
     5846#define WinQueryMsgPos _WinQueryMsgPos
     5847
     5848inline ULONG APIENTRY _WinQueryMsgTime(HAB a)
    46255849{
    46265850 ULONG yyrc;
     
    46335857}
    46345858
    4635 inline ULONG APIENTRY WinQueryQueueStatus(HWND a)
     5859#undef  WinQueryMsgTime
     5860#define WinQueryMsgTime _WinQueryMsgTime
     5861
     5862inline ULONG APIENTRY _WinQueryQueueStatus(HWND a)
    46365863{
    46375864 ULONG yyrc;
     
    46445871}
    46455872
    4646 inline ULONG APIENTRY WinRequestMutexSem(HMTX a, ULONG b)
     5873#undef  WinQueryQueueStatus
     5874#define WinQueryQueueStatus _WinQueryQueueStatus
     5875
     5876inline ULONG APIENTRY _WinRequestMutexSem(HMTX a, ULONG b)
    46475877{
    46485878 ULONG yyrc;
     
    46555885}
    46565886
    4657 inline BOOL APIENTRY WinSetClassMsgInterest(HAB a, PCSZ b, ULONG c, LONG d)
     5887#undef  WinRequestMutexSem
     5888#define WinRequestMutexSem _WinRequestMutexSem
     5889
     5890inline BOOL APIENTRY _WinSetClassMsgInterest(HAB a, PCSZ b, ULONG c, LONG d)
    46585891{
    46595892 BOOL yyrc;
     
    46665899}
    46675900
    4668 inline BOOL APIENTRY WinSetMsgInterest(HWND a, ULONG b, LONG c)
     5901#undef  WinSetClassMsgInterest
     5902#define WinSetClassMsgInterest _WinSetClassMsgInterest
     5903
     5904inline BOOL APIENTRY _WinSetMsgInterest(HWND a, ULONG b, LONG c)
    46695905{
    46705906 BOOL yyrc;
     
    46775913}
    46785914
    4679 inline ULONG APIENTRY WinWaitEventSem(HEV a, ULONG b)
     5915#undef  WinSetMsgInterest
     5916#define WinSetMsgInterest _WinSetMsgInterest
     5917
     5918inline ULONG APIENTRY _WinWaitEventSem(HEV a, ULONG b)
    46805919{
    46815920 ULONG yyrc;
     
    46885927}
    46895928
    4690 inline BOOL APIENTRY WinWaitMsg(HAB a, ULONG b, ULONG c)
     5929#undef  WinWaitEventSem
     5930#define WinWaitEventSem _WinWaitEventSem
     5931
     5932inline BOOL APIENTRY _WinWaitMsg(HAB a, ULONG b, ULONG c)
    46915933{
    46925934 BOOL yyrc;
     
    46995941}
    47005942
    4701 inline ULONG APIENTRY WinWaitMuxWaitSem(HMUX a, ULONG b, PULONG c)
     5943#undef  WinWaitMsg
     5944#define WinWaitMsg _WinWaitMsg
     5945
     5946inline ULONG APIENTRY _WinWaitMuxWaitSem(HMUX a, ULONG b, PULONG c)
    47025947{
    47035948 ULONG yyrc;
     
    47095954    return yyrc;
    47105955}
     5956
     5957#undef  WinWaitMuxWaitSem
     5958#define WinWaitMuxWaitSem _WinWaitMuxWaitSem
    47115959
    47125960#endif
    47135961#ifdef INCL_WINPALETTE
    4714 inline LONG APIENTRY WinRealizePalette(HWND a, HPS b, PULONG c)
     5962inline LONG APIENTRY _WinRealizePalette(HWND a, HPS b, PULONG c)
    47155963{
    47165964 LONG yyrc;
     
    47225970    return yyrc;
    47235971}
     5972
     5973#undef  WinRealizePalette
     5974#define WinRealizePalette _WinRealizePalette
    47245975
    47255976#endif
    47265977#ifdef INCL_WINPOINTERS
    4727 inline HPOINTER APIENTRY WinCreatePointer(HWND a, HBITMAP b, BOOL c, LONG d, LONG e)
     5978inline HPOINTER APIENTRY _WinCreatePointer(HWND a, HBITMAP b, BOOL c, LONG d, LONG e)
    47285979{
    47295980 HPOINTER yyrc;
     
    47365987}
    47375988
    4738 inline HPOINTER APIENTRY WinCreatePointerIndirect(HWND a, CONST POINTERINFO *b)
     5989#undef  WinCreatePointer
     5990#define WinCreatePointer _WinCreatePointer
     5991
     5992inline HPOINTER APIENTRY _WinCreatePointerIndirect(HWND a, PPOINTERINFO b)
    47395993{
    47405994 HPOINTER yyrc;
     
    47476001}
    47486002
    4749 inline BOOL APIENTRY WinDestroyPointer(HPOINTER a)
     6003#undef  WinCreatePointerIndirect
     6004#define WinCreatePointerIndirect _WinCreatePointerIndirect
     6005
     6006inline BOOL APIENTRY _WinDestroyPointer(HPOINTER a)
    47506007{
    47516008 BOOL yyrc;
     
    47586015}
    47596016
    4760 inline BOOL APIENTRY WinDrawPointer(HPS a, LONG b, LONG c, HPOINTER d, ULONG e)
     6017#undef  WinDestroyPointer
     6018#define WinDestroyPointer _WinDestroyPointer
     6019
     6020inline BOOL APIENTRY _WinDrawPointer(HPS a, LONG b, LONG c, HPOINTER d, ULONG e)
    47616021{
    47626022 BOOL yyrc;
     
    47696029}
    47706030
    4771 inline HBITMAP APIENTRY WinGetSysBitmap(HWND a, ULONG b)
     6031#undef  WinDrawPointer
     6032#define WinDrawPointer _WinDrawPointer
     6033
     6034inline HBITMAP APIENTRY _WinGetSysBitmap(HWND a, ULONG b)
    47726035{
    47736036 HBITMAP yyrc;
     
    47806043}
    47816044
    4782 inline HPOINTER APIENTRY WinLoadPointer(HWND a, HMODULE b, ULONG c)
     6045#undef  WinGetSysBitmap
     6046#define WinGetSysBitmap _WinGetSysBitmap
     6047
     6048inline HPOINTER APIENTRY _WinLoadPointer(HWND a, HMODULE b, ULONG c)
    47836049{
    47846050 HPOINTER yyrc;
     
    47916057}
    47926058
    4793 inline BOOL APIENTRY WinLockPointerUpdate(HWND a, HPOINTER b, ULONG c)
     6059#undef  WinLoadPointer
     6060#define WinLoadPointer _WinLoadPointer
     6061
     6062inline BOOL APIENTRY _WinLockPointerUpdate(HWND a, HPOINTER b, ULONG c)
    47946063{
    47956064 BOOL yyrc;
     
    48026071}
    48036072
    4804 inline BOOL APIENTRY WinQueryPointerPos(HWND a, PPOINTL b)
     6073#undef  WinLockPointerUpdate
     6074#define WinLockPointerUpdate _WinLockPointerUpdate
     6075
     6076inline BOOL APIENTRY _WinQueryPointerPos(HWND a, PPOINTL b)
    48056077{
    48066078 BOOL yyrc;
     
    48136085}
    48146086
    4815 inline BOOL APIENTRY WinQueryPointerInfo(HPOINTER a, PPOINTERINFO b)
     6087#undef  WinQueryPointerPos
     6088#define WinQueryPointerPos _WinQueryPointerPos
     6089
     6090inline BOOL APIENTRY _WinQueryPointerInfo(HPOINTER a, PPOINTERINFO b)
    48166091{
    48176092 BOOL yyrc;
     
    48246099}
    48256100
    4826 inline HPOINTER APIENTRY WinQuerySysPointer(HWND a, LONG b, BOOL c)
     6101#undef  WinQueryPointerInfo
     6102#define WinQueryPointerInfo _WinQueryPointerInfo
     6103
     6104inline HPOINTER APIENTRY _WinQuerySysPointer(HWND a, LONG b, BOOL c)
    48276105{
    48286106 HPOINTER yyrc;
     
    48356113}
    48366114
    4837 inline BOOL APIENTRY WinQuerySysPointerData(HWND a, ULONG b, PICONINFO c)
     6115#undef  WinQuerySysPointer
     6116#define WinQuerySysPointer _WinQuerySysPointer
     6117
     6118inline BOOL APIENTRY _WinQuerySysPointerData(HWND a, ULONG b, PICONINFO c)
    48386119{
    48396120 BOOL yyrc;
     
    48466127}
    48476128
    4848 inline BOOL APIENTRY WinSetPointer(HWND a, HPOINTER b)
     6129#undef  WinQuerySysPointerData
     6130#define WinQuerySysPointerData _WinQuerySysPointerData
     6131
     6132inline BOOL APIENTRY _WinSetPointer(HWND a, HPOINTER b)
    48496133{
    48506134 BOOL yyrc;
     
    48576141}
    48586142
    4859 inline BOOL APIENTRY WinSetPointerOwner(HPOINTER a, PID b, BOOL c)
     6143#undef  WinSetPointer
     6144#define WinSetPointer _WinSetPointer
     6145
     6146inline BOOL APIENTRY _WinSetPointerOwner(HPOINTER a, PID b, BOOL c)
    48606147{
    48616148 BOOL yyrc;
     
    48686155}
    48696156
    4870 inline BOOL APIENTRY WinSetPointerPos(HWND a, LONG b, LONG c)
     6157#undef  WinSetPointerOwner
     6158#define WinSetPointerOwner _WinSetPointerOwner
     6159
     6160inline BOOL APIENTRY _WinSetPointerPos(HWND a, LONG b, LONG c)
    48716161{
    48726162 BOOL yyrc;
     
    48796169}
    48806170
    4881 inline BOOL APIENTRY WinSetSysPointerData(HWND a, ULONG b, CONST ICONINFO *c)
     6171#undef  WinSetPointerPos
     6172#define WinSetPointerPos _WinSetPointerPos
     6173
     6174inline BOOL APIENTRY _WinSetSysPointerData(HWND a, ULONG b, PICONINFO c)
    48826175{
    48836176 BOOL yyrc;
     
    48906183}
    48916184
    4892 inline BOOL APIENTRY WinShowPointer(HWND a, BOOL b)
     6185#undef  WinSetSysPointerData
     6186#define WinSetSysPointerData _WinSetSysPointerData
     6187
     6188inline BOOL APIENTRY _WinShowPointer(HWND a, BOOL b)
    48936189{
    48946190 BOOL yyrc;
     
    49006196    return yyrc;
    49016197}
     6198
     6199#undef  WinShowPointer
     6200#define WinShowPointer _WinShowPointer
    49026201
    49036202#endif
    49046203#ifdef INCL_WINRECTANGLES
    4905 inline BOOL APIENTRY WinCopyRect(HAB a, PRECTL b, CONST RECTL *c)
     6204inline BOOL APIENTRY _WinCopyRect(HAB a, PRECTL b, PRECTL c)
    49066205{
    49076206 BOOL yyrc;
     
    49146213}
    49156214
    4916 inline BOOL APIENTRY WinEqualRect(HAB a, CONST RECTL *b, CONST RECTL *c)
     6215#undef  WinCopyRect
     6216#define WinCopyRect _WinCopyRect
     6217
     6218inline BOOL APIENTRY _WinEqualRect(HAB a, PRECTL b, PRECTL c)
    49176219{
    49186220 BOOL yyrc;
     
    49256227}
    49266228
    4927 inline BOOL APIENTRY WinInflateRect(HAB a, PRECTL b, LONG c, LONG d)
     6229#undef  WinEqualRect
     6230#define WinEqualRect _WinEqualRect
     6231
     6232inline BOOL APIENTRY _WinInflateRect(HAB a, PRECTL b, LONG c, LONG d)
    49286233{
    49296234 BOOL yyrc;
     
    49366241}
    49376242
    4938 inline BOOL APIENTRY WinIntersectRect(HAB a, PRECTL b, CONST RECTL *c, CONST RECTL *d)
     6243#undef  WinInflateRect
     6244#define WinInflateRect _WinInflateRect
     6245
     6246inline BOOL APIENTRY _WinIntersectRect(HAB a, PRECTL b, PRECTL c, PRECTL d)
    49396247{
    49406248 BOOL yyrc;
     
    49476255}
    49486256
    4949 inline BOOL APIENTRY WinIsRectEmpty(HAB a, CONST RECTL *b)
     6257#undef  WinIntersectRect
     6258#define WinIntersectRect _WinIntersectRect
     6259
     6260inline BOOL APIENTRY _WinIsRectEmpty(HAB a, PRECTL b)
    49506261{
    49516262 BOOL yyrc;
     
    49586269}
    49596270
    4960 inline BOOL APIENTRY WinMakePoints(HAB a, PPOINTL b, ULONG c)
     6271#undef  WinIsRectEmpty
     6272#define WinIsRectEmpty _WinIsRectEmpty
     6273
     6274inline BOOL APIENTRY _WinMakePoints(HAB a, PPOINTL b, ULONG c)
    49616275{
    49626276 BOOL yyrc;
     
    49696283}
    49706284
    4971 inline BOOL APIENTRY WinMakeRect(HAB a, PRECTL b)
     6285#undef  WinMakePoints
     6286#define WinMakePoints _WinMakePoints
     6287
     6288inline BOOL APIENTRY _WinMakeRect(HAB a, PRECTL b)
    49726289{
    49736290 BOOL yyrc;
     
    49806297}
    49816298
    4982 inline BOOL APIENTRY WinOffsetRect(HAB a, PRECTL b, LONG c, LONG d)
     6299#undef  WinMakeRect
     6300#define WinMakeRect _WinMakeRect
     6301
     6302inline BOOL APIENTRY _WinOffsetRect(HAB a, PRECTL b, LONG c, LONG d)
    49836303{
    49846304 BOOL yyrc;
     
    49916311}
    49926312
    4993 inline BOOL APIENTRY WinPtInRect(HAB a, CONST RECTL *b, CONST POINTL *c)
     6313#undef  WinOffsetRect
     6314#define WinOffsetRect _WinOffsetRect
     6315
     6316inline BOOL APIENTRY _WinPtInRect(HAB a, PRECTL b, PPOINTL c)
    49946317{
    49956318 BOOL yyrc;
     
    50026325}
    50036326
    5004 inline BOOL APIENTRY WinSetRect(HAB a, PRECTL b, LONG c, LONG d, LONG e, LONG f)
     6327#undef  WinPtInRect
     6328#define WinPtInRect _WinPtInRect
     6329
     6330inline BOOL APIENTRY _WinSetRect(HAB a, PRECTL b, LONG c, LONG d, LONG e, LONG f)
    50056331{
    50066332 BOOL yyrc;
     
    50136339}
    50146340
    5015 inline BOOL APIENTRY WinSetRectEmpty(HAB a, PRECTL b)
     6341#undef  WinSetRect
     6342#define WinSetRect _WinSetRect
     6343
     6344inline BOOL APIENTRY _WinSetRectEmpty(HAB a, PRECTL b)
    50166345{
    50176346 BOOL yyrc;
     
    50246353}
    50256354
    5026 inline BOOL APIENTRY WinSubtractRect(HAB a, PRECTL b, CONST RECTL *c, CONST RECTL *d)
     6355#undef  WinSetRectEmpty
     6356#define WinSetRectEmpty _WinSetRectEmpty
     6357
     6358inline BOOL APIENTRY _WinSubtractRect(HAB a, PRECTL b, PRECTL c, PRECTL d)
    50276359{
    50286360 BOOL yyrc;
     
    50356367}
    50366368
    5037 inline BOOL APIENTRY WinUnionRect(HAB a, PRECTL b, CONST RECTL *c, CONST RECTL *d)
     6369#undef  WinSubtractRect
     6370#define WinSubtractRect _WinSubtractRect
     6371
     6372inline BOOL APIENTRY _WinUnionRect(HAB a, PRECTL b, PRECTL c, PRECTL d)
    50386373{
    50396374 BOOL yyrc;
     
    50456380    return yyrc;
    50466381}
     6382
     6383#undef  WinUnionRect
     6384#define WinUnionRect _WinUnionRect
    50476385
    50486386#endif
    50496387#ifdef INCL_WINSYS
    5050 inline LONG APIENTRY WinQueryControlColors(HWND a, LONG b, ULONG c, ULONG d, PCTLCOLOR e)
     6388inline LONG APIENTRY _WinQueryControlColors(HWND a, LONG b, ULONG c, ULONG d, PCTLCOLOR e)
    50516389{
    50526390 LONG yyrc;
     
    50596397}
    50606398
    5061 inline ULONG APIENTRY WinQueryPresParam(HWND a, ULONG b, ULONG c, PULONG d, ULONG e, PVOID f, ULONG g)
     6399#undef  WinQueryControlColors
     6400#define WinQueryControlColors _WinQueryControlColors
     6401
     6402inline ULONG APIENTRY _WinQueryPresParam(HWND a, ULONG b, ULONG c, PULONG d, ULONG e, PVOID f, ULONG g)
    50626403{
    50636404 ULONG yyrc;
     
    50706411}
    50716412
    5072 inline LONG APIENTRY WinQuerySysColor(HWND a, LONG b, LONG c)
     6413#undef  WinQueryPresParam
     6414#define WinQueryPresParam _WinQueryPresParam
     6415
     6416inline LONG APIENTRY _WinQuerySysColor(HWND a, LONG b, LONG c)
    50736417{
    50746418 LONG yyrc;
     
    50816425}
    50826426
    5083 inline LONG APIENTRY WinQuerySysValue(HWND a, LONG b)
     6427#undef  WinQuerySysColor
     6428#define WinQuerySysColor _WinQuerySysColor
     6429
     6430inline LONG APIENTRY _WinQuerySysValue(HWND a, LONG b)
    50846431{
    50856432 LONG yyrc;
     
    50926439}
    50936440
    5094 inline BOOL APIENTRY WinRemovePresParam(HWND a, ULONG b)
     6441#undef  WinQuerySysValue
     6442#define WinQuerySysValue _WinQuerySysValue
     6443
     6444inline BOOL APIENTRY _WinRemovePresParam(HWND a, ULONG b)
    50956445{
    50966446 BOOL yyrc;
     
    51036453}
    51046454
    5105 inline LONG APIENTRY WinSetControlColors(HWND a, LONG b, ULONG c, ULONG d, PCTLCOLOR e)
     6455#undef  WinRemovePresParam
     6456#define WinRemovePresParam _WinRemovePresParam
     6457
     6458inline LONG APIENTRY _WinSetControlColors(HWND a, LONG b, ULONG c, ULONG d, PCTLCOLOR e)
    51066459{
    51076460 LONG yyrc;
     
    51146467}
    51156468
    5116 inline BOOL APIENTRY WinSetPresParam(HWND a, ULONG b, ULONG c, PVOID d)
     6469#undef  WinSetControlColors
     6470#define WinSetControlColors _WinSetControlColors
     6471
     6472inline BOOL APIENTRY _WinSetPresParam(HWND a, ULONG b, ULONG c, PVOID d)
    51176473{
    51186474 BOOL yyrc;
     
    51256481}
    51266482
    5127 inline BOOL APIENTRY WinSetSysColors(HWND a, ULONG b, ULONG c, LONG d, ULONG e, CONST LONG *f)
     6483#undef  WinSetPresParam
     6484#define WinSetPresParam _WinSetPresParam
     6485
     6486inline BOOL APIENTRY _WinSetSysColors(HWND a, ULONG b, ULONG c, LONG d, ULONG e, PLONG f)
    51286487{
    51296488 BOOL yyrc;
     
    51366495}
    51376496
    5138 inline BOOL APIENTRY WinSetSysValue(HWND a, LONG b, LONG c)
     6497#undef  WinSetSysColors
     6498#define WinSetSysColors _WinSetSysColors
     6499
     6500inline BOOL APIENTRY _WinSetSysValue(HWND a, LONG b, LONG c)
    51396501{
    51406502 BOOL yyrc;
     
    51466508    return yyrc;
    51476509}
     6510
     6511#undef  WinSetSysValue
     6512#define WinSetSysValue _WinSetSysValue
    51486513
    51496514#endif
    51506515#ifdef INCL_WINTHUNKAPI
    5151 inline PFN APIENTRY WinQueryClassThunkProc(PCSZ a)
     6516inline PFN APIENTRY _WinQueryClassThunkProc(PCSZ a)
    51526517{
    51536518 PFN yyrc;
     
    51606525}
    51616526
    5162 inline LONG APIENTRY WinQueryWindowModel(HWND a)
     6527#undef  WinQueryClassThunkProc
     6528#define WinQueryClassThunkProc _WinQueryClassThunkProc
     6529
     6530inline LONG APIENTRY _WinQueryWindowModel(HWND a)
    51636531{
    51646532 LONG yyrc;
     
    51716539}
    51726540
    5173 inline PFN APIENTRY WinQueryWindowThunkProc(HWND a)
     6541#undef  WinQueryWindowModel
     6542#define WinQueryWindowModel _WinQueryWindowModel
     6543
     6544inline PFN APIENTRY _WinQueryWindowThunkProc(HWND a)
    51746545{
    51756546 PFN yyrc;
     
    51826553}
    51836554
    5184 inline BOOL APIENTRY WinSetClassThunkProc(PCSZ a, PFN b)
     6555#undef  WinQueryWindowThunkProc
     6556#define WinQueryWindowThunkProc _WinQueryWindowThunkProc
     6557
     6558inline BOOL APIENTRY _WinSetClassThunkProc(PCSZ a, PFN b)
    51856559{
    51866560 BOOL yyrc;
     
    51936567}
    51946568
    5195 inline BOOL APIENTRY WinSetWindowThunkProc(HWND a, PFN b)
     6569#undef  WinSetClassThunkProc
     6570#define WinSetClassThunkProc _WinSetClassThunkProc
     6571
     6572inline BOOL APIENTRY _WinSetWindowThunkProc(HWND a, PFN b)
    51966573{
    51976574 BOOL yyrc;
     
    52036580    return yyrc;
    52046581}
     6582
     6583#undef  WinSetWindowThunkProc
     6584#define WinSetWindowThunkProc _WinSetWindowThunkProc
    52056585
    52066586#endif
    52076587#ifdef INCL_WINTIMER
    5208 inline ULONG APIENTRY WinGetCurrentTime(HAB a)
     6588inline ULONG APIENTRY _WinGetCurrentTime(HAB a)
    52096589{
    52106590 ULONG yyrc;
     
    52176597}
    52186598
    5219 inline ULONG APIENTRY WinStartTimer(HAB a, HWND b, ULONG c, ULONG d)
     6599#undef  WinGetCurrentTime
     6600#define WinGetCurrentTime _WinGetCurrentTime
     6601
     6602inline ULONG APIENTRY _WinStartTimer(HAB a, HWND b, ULONG c, ULONG d)
    52206603{
    52216604 ULONG yyrc;
     
    52286611}
    52296612
    5230 inline BOOL APIENTRY WinStopTimer(HAB a, HWND b, ULONG c)
     6613#undef  WinStartTimer
     6614#define WinStartTimer _WinStartTimer
     6615
     6616inline BOOL APIENTRY _WinStopTimer(HAB a, HWND b, ULONG c)
    52316617{
    52326618 BOOL yyrc;
     
    52386624    return yyrc;
    52396625}
     6626
     6627#undef  WinStopTimer
     6628#define WinStopTimer _WinStopTimer
    52406629
    52416630#endif
    52426631#ifdef INCL_WINTRACKRECT
    5243 inline BOOL APIENTRY WinShowTrackRect(HWND a, BOOL b)
     6632inline BOOL APIENTRY _WinShowTrackRect(HWND a, BOOL b)
    52446633{
    52456634 BOOL yyrc;
     
    52526641}
    52536642
    5254 inline BOOL APIENTRY WinTrackRect(HWND a, HPS b, PTRACKINFO c)
     6643#undef  WinShowTrackRect
     6644#define WinShowTrackRect _WinShowTrackRect
     6645
     6646inline BOOL APIENTRY _WinTrackRect(HWND a, HPS b, PTRACKINFO c)
    52556647{
    52566648 BOOL yyrc;
     
    52626654    return yyrc;
    52636655}
     6656
     6657#undef  WinTrackRect
     6658#define WinTrackRect _WinTrackRect
    52646659
    52656660#endif
    52666661#endif
    52676662#ifdef INCL_GPI
    5268 inline LONG APIENTRY GpiAnimatePalette(HPAL a, ULONG b, ULONG c, ULONG d, CONST ULONG *e)
     6663inline LONG APIENTRY _GpiAnimatePalette(HPAL a, ULONG b, ULONG c, ULONG d, PULONG e)
    52696664{
    52706665 LONG yyrc;
     
    52776672}
    52786673
    5279 inline BOOL APIENTRY GpiBeginArea(HPS a, ULONG b)
     6674#undef  GpiAnimatePalette
     6675#define GpiAnimatePalette _GpiAnimatePalette
     6676
     6677inline BOOL APIENTRY _GpiBeginArea(HPS a, ULONG b)
    52806678{
    52816679 BOOL yyrc;
     
    52886686}
    52896687
    5290 inline BOOL APIENTRY GpiBeginElement(HPS a, LONG b, PCSZ c)
     6688#undef  GpiBeginArea
     6689#define GpiBeginArea _GpiBeginArea
     6690
     6691inline BOOL APIENTRY _GpiBeginElement(HPS a, LONG b, PCSZ c)
    52916692{
    52926693 BOOL yyrc;
     
    52996700}
    53006701
    5301 inline BOOL APIENTRY GpiBeginPath(HPS a, LONG b)
     6702#undef  GpiBeginElement
     6703#define GpiBeginElement _GpiBeginElement
     6704
     6705inline BOOL APIENTRY _GpiBeginPath(HPS a, LONG b)
    53026706{
    53036707 BOOL yyrc;
     
    53106714}
    53116715
    5312 inline LONG APIENTRY GpiBox(HPS a, LONG b, CONST POINTL *c, LONG d, LONG e)
     6716#undef  GpiBeginPath
     6717#define GpiBeginPath _GpiBeginPath
     6718
     6719inline LONG APIENTRY _GpiBox(HPS a, LONG b, PPOINTL c, LONG d, LONG e)
    53136720{
    53146721 LONG yyrc;
     
    53216728}
    53226729
    5323 inline LONG APIENTRY GpiCallSegmentMatrix(HPS a, LONG b, LONG c, CONST MATRIXLF *d, LONG e)
     6730#undef  GpiBox
     6731#define GpiBox _GpiBox
     6732
     6733inline LONG APIENTRY _GpiCallSegmentMatrix(HPS a, LONG b, LONG c, PMATRIXLF d, LONG e)
    53246734{
    53256735 LONG yyrc;
     
    53326742}
    53336743
    5334 inline LONG APIENTRY GpiCharString(HPS a, LONG b, PCH c)
     6744#undef  GpiCallSegmentMatrix
     6745#define GpiCallSegmentMatrix _GpiCallSegmentMatrix
     6746
     6747inline LONG APIENTRY _GpiCharString(HPS a, LONG b, PCH c)
    53356748{
    53366749 LONG yyrc;
     
    53436756}
    53446757
    5345 inline LONG APIENTRY GpiCharStringAt(HPS a, CONST POINTL *b, LONG c, PCH d)
     6758#undef  GpiCharString
     6759#define GpiCharString _GpiCharString
     6760
     6761inline LONG APIENTRY _GpiCharStringAt(HPS a, PPOINTL b, LONG c, PCH d)
    53466762{
    53476763 LONG yyrc;
     
    53546770}
    53556771
    5356 inline LONG APIENTRY GpiCharStringPos(HPS a, CONST RECTL *b, ULONG c, LONG d, PCH e, CONST LONG *f)
     6772#undef  GpiCharStringAt
     6773#define GpiCharStringAt _GpiCharStringAt
     6774
     6775inline LONG APIENTRY _GpiCharStringPos(HPS a, PRECTL b, ULONG c, LONG d, PCH e, PLONG f)
    53576776{
    53586777 LONG yyrc;
     
    53656784}
    53666785
    5367 inline LONG APIENTRY GpiCharStringPosAt(HPS a, CONST POINTL *b, CONST RECTL *c, ULONG d, LONG e, PCH f, CONST LONG *g)
     6786#undef  GpiCharStringPos
     6787#define GpiCharStringPos _GpiCharStringPos
     6788
     6789inline LONG APIENTRY _GpiCharStringPosAt(HPS a, PPOINTL b, PRECTL c, ULONG d, LONG e, PCH f, PLONG g)
    53686790{
    53696791 LONG yyrc;
     
    53766798}
    53776799
    5378 inline BOOL APIENTRY GpiCloseFigure(HPS a)
     6800#undef  GpiCharStringPosAt
     6801#define GpiCharStringPosAt _GpiCharStringPosAt
     6802
     6803inline BOOL APIENTRY _GpiCloseFigure(HPS a)
    53796804{
    53806805 BOOL yyrc;
     
    53876812}
    53886813
    5389 inline LONG APIENTRY GpiCombineRegion(HPS a, HRGN b, HRGN c, HRGN d, LONG e)
     6814#undef  GpiCloseFigure
     6815#define GpiCloseFigure _GpiCloseFigure
     6816
     6817inline LONG APIENTRY _GpiCombineRegion(HPS a, HRGN b, HRGN c, HRGN d, LONG e)
    53906818{
    53916819 LONG yyrc;
     
    53986826}
    53996827
    5400 inline BOOL APIENTRY GpiComment(HPS a, LONG b, CONST BYTE *c)
     6828#undef  GpiCombineRegion
     6829#define GpiCombineRegion _GpiCombineRegion
     6830
     6831inline BOOL APIENTRY _GpiComment(HPS a, LONG b, PBYTE c)
    54016832{
    54026833 BOOL yyrc;
     
    54096840}
    54106841
    5411 inline BOOL APIENTRY GpiConvert(HPS a, LONG b, LONG c, LONG d, PPOINTL e)
     6842#undef  GpiComment
     6843#define GpiComment _GpiComment
     6844
     6845inline BOOL APIENTRY _GpiConvert(HPS a, LONG b, LONG c, LONG d, PPOINTL e)
    54126846{
    54136847 BOOL yyrc;
     
    54206854}
    54216855
    5422 inline BOOL APIENTRY GpiConvertWithMatrix(HPS a, LONG b, PPOINTL c, LONG d, CONST MATRIXLF *e)
     6856#undef  GpiConvert
     6857#define GpiConvert _GpiConvert
     6858
     6859inline BOOL APIENTRY _GpiConvertWithMatrix(HPS a, LONG b, PPOINTL c, LONG d, PMATRIXLF e)
    54236860{
    54246861 BOOL yyrc;
     
    54316868}
    54326869
    5433 inline HMF APIENTRY GpiCopyMetaFile(HMF a)
     6870#undef  GpiConvertWithMatrix
     6871#define GpiConvertWithMatrix _GpiConvertWithMatrix
     6872
     6873inline HMF APIENTRY _GpiCopyMetaFile(HMF a)
    54346874{
    54356875 HMF yyrc;
     
    54426882}
    54436883
    5444 inline BOOL APIENTRY GpiCreateLogColorTable(HPS a, ULONG b, LONG c, LONG d, LONG e, CONST LONG *f)
     6884#undef  GpiCopyMetaFile
     6885#define GpiCopyMetaFile _GpiCopyMetaFile
     6886
     6887inline BOOL APIENTRY _GpiCreateLogColorTable(HPS a, ULONG b, LONG c, LONG d, LONG e, PLONG f)
    54456888{
    54466889 BOOL yyrc;
     
    54536896}
    54546897
    5455 inline LONG APIENTRY GpiCreateLogFont(HPS a, CONST STR8 *b, LONG c, CONST FATTRS *d)
     6898#undef  GpiCreateLogColorTable
     6899#define GpiCreateLogColorTable _GpiCreateLogColorTable
     6900
     6901inline LONG APIENTRY _GpiCreateLogFont(HPS a, STR8 *b, LONG c, PFATTRS d)
    54566902{
    54576903 LONG yyrc;
     
    54646910}
    54656911
    5466 inline HPAL APIENTRY GpiCreatePalette(HAB a, ULONG b, ULONG c, ULONG d, CONST ULONG *e)
     6912#undef  GpiCreateLogFont
     6913#define GpiCreateLogFont _GpiCreateLogFont
     6914
     6915inline HPAL APIENTRY _GpiCreatePalette(HAB a, ULONG b, ULONG c, ULONG d, PULONG e)
    54676916{
    54686917 HPAL yyrc;
     
    54756924}
    54766925
    5477 inline HRGN APIENTRY GpiCreateRegion(HPS a, LONG b, CONST RECTL *c)
     6926#undef  GpiCreatePalette
     6927#define GpiCreatePalette _GpiCreatePalette
     6928
     6929inline HRGN APIENTRY _GpiCreateRegion(HPS a, LONG b, PRECTL c)
    54786930{
    54796931 HRGN yyrc;
     
    54866938}
    54876939
    5488 inline BOOL APIENTRY GpiDeleteElement(HPS a)
     6940#undef  GpiCreateRegion
     6941#define GpiCreateRegion _GpiCreateRegion
     6942
     6943inline BOOL APIENTRY _GpiDeleteElement(HPS a)
    54896944{
    54906945 BOOL yyrc;
     
    54976952}
    54986953
    5499 inline BOOL APIENTRY GpiDeleteElementRange(HPS a, LONG b, LONG c)
     6954#undef  GpiDeleteElement
     6955#define GpiDeleteElement _GpiDeleteElement
     6956
     6957inline BOOL APIENTRY _GpiDeleteElementRange(HPS a, LONG b, LONG c)
    55006958{
    55016959 BOOL yyrc;
     
    55086966}
    55096967
    5510 inline BOOL APIENTRY GpiDeleteElementsBetweenLabels(HPS a, LONG b, LONG c)
     6968#undef  GpiDeleteElementRange
     6969#define GpiDeleteElementRange _GpiDeleteElementRange
     6970
     6971inline BOOL APIENTRY _GpiDeleteElementsBetweenLabels(HPS a, LONG b, LONG c)
    55116972{
    55126973 BOOL yyrc;
     
    55196980}
    55206981
    5521 inline BOOL APIENTRY GpiDeleteMetaFile(HMF a)
     6982#undef  GpiDeleteElementsBetweenLabels
     6983#define GpiDeleteElementsBetweenLabels _GpiDeleteElementsBetweenLabels
     6984
     6985inline BOOL APIENTRY _GpiDeleteMetaFile(HMF a)
    55226986{
    55236987 BOOL yyrc;
     
    55306994}
    55316995
    5532 inline BOOL APIENTRY GpiDeletePalette(HPAL a)
     6996#undef  GpiDeleteMetaFile
     6997#define GpiDeleteMetaFile _GpiDeleteMetaFile
     6998
     6999inline BOOL APIENTRY _GpiDeletePalette(HPAL a)
    55337000{
    55347001 BOOL yyrc;
     
    55417008}
    55427009
    5543 inline BOOL APIENTRY GpiDeleteSetId(HPS a, LONG b)
     7010#undef  GpiDeletePalette
     7011#define GpiDeletePalette _GpiDeletePalette
     7012
     7013inline BOOL APIENTRY _GpiDeleteSetId(HPS a, LONG b)
    55447014{
    55457015 BOOL yyrc;
     
    55527022}
    55537023
    5554 inline BOOL APIENTRY GpiDestroyRegion(HPS a, HRGN b)
     7024#undef  GpiDeleteSetId
     7025#define GpiDeleteSetId _GpiDeleteSetId
     7026
     7027inline BOOL APIENTRY _GpiDestroyRegion(HPS a, HRGN b)
    55557028{
    55567029 BOOL yyrc;
     
    55637036}
    55647037
    5565 inline LONG APIENTRY GpiElement(HPS a, LONG b, PCSZ c, LONG d, CONST BYTE *e)
     7038#undef  GpiDestroyRegion
     7039#define GpiDestroyRegion _GpiDestroyRegion
     7040
     7041inline LONG APIENTRY _GpiElement(HPS a, LONG b, PCSZ c, LONG d, PBYTE e)
    55667042{
    55677043 LONG yyrc;
     
    55747050}
    55757051
    5576 inline LONG APIENTRY GpiEndArea(HPS a)
     7052#undef  GpiElement
     7053#define GpiElement _GpiElement
     7054
     7055inline LONG APIENTRY _GpiEndArea(HPS a)
    55777056{
    55787057 LONG yyrc;
     
    55857064}
    55867065
    5587 inline BOOL APIENTRY GpiEndElement(HPS a)
     7066#undef  GpiEndArea
     7067#define GpiEndArea _GpiEndArea
     7068
     7069inline BOOL APIENTRY _GpiEndElement(HPS a)
    55887070{
    55897071 BOOL yyrc;
     
    55967078}
    55977079
    5598 inline BOOL APIENTRY GpiEndPath(HPS a)
     7080#undef  GpiEndElement
     7081#define GpiEndElement _GpiEndElement
     7082
     7083inline BOOL APIENTRY _GpiEndPath(HPS a)
    55997084{
    56007085 BOOL yyrc;
     
    56077092}
    56087093
    5609 inline LONG APIENTRY GpiEqualRegion(HPS a, HRGN b, HRGN c)
     7094#undef  GpiEndPath
     7095#define GpiEndPath _GpiEndPath
     7096
     7097inline LONG APIENTRY _GpiEqualRegion(HPS a, HRGN b, HRGN c)
    56107098{
    56117099 LONG yyrc;
     
    56187106}
    56197107
    5620 inline LONG APIENTRY GpiExcludeClipRectangle(HPS a, CONST RECTL *b)
     7108#undef  GpiEqualRegion
     7109#define GpiEqualRegion _GpiEqualRegion
     7110
     7111inline LONG APIENTRY _GpiExcludeClipRectangle(HPS a, PRECTL b)
    56217112{
    56227113 LONG yyrc;
     
    56297120}
    56307121
    5631 inline LONG APIENTRY GpiFillPath(HPS a, LONG b, LONG c)
     7122#undef  GpiExcludeClipRectangle
     7123#define GpiExcludeClipRectangle _GpiExcludeClipRectangle
     7124
     7125inline LONG APIENTRY _GpiFillPath(HPS a, LONG b, LONG c)
    56327126{
    56337127 LONG yyrc;
     
    56407134}
    56417135
    5642 inline LONG APIENTRY GpiFrameRegion(HPS a, HRGN b, CONST SIZEL *c)
     7136#undef  GpiFillPath
     7137#define GpiFillPath _GpiFillPath
     7138
     7139inline LONG APIENTRY _GpiFrameRegion(HPS a, HRGN b, PSIZEL c)
    56437140{
    56447141 LONG yyrc;
     
    56517148}
    56527149
    5653 inline LONG APIENTRY GpiFullArc(HPS a, LONG b, FIXED c)
     7150#undef  GpiFrameRegion
     7151#define GpiFrameRegion _GpiFrameRegion
     7152
     7153inline LONG APIENTRY _GpiFullArc(HPS a, LONG b, FIXED c)
    56547154{
    56557155 LONG yyrc;
     
    56627162}
    56637163
    5664 inline LONG APIENTRY GpiImage(HPS a, LONG b, CONST SIZEL *c, LONG d, CONST BYTE *e)
     7164#undef  GpiFullArc
     7165#define GpiFullArc _GpiFullArc
     7166
     7167inline LONG APIENTRY _GpiImage(HPS a, LONG b, PSIZEL c, LONG d, PBYTE e)
    56657168{
    56667169 LONG yyrc;
     
    56737176}
    56747177
    5675 inline LONG APIENTRY GpiIntersectClipRectangle(HPS a, CONST RECTL *b)
     7178#undef  GpiImage
     7179#define GpiImage _GpiImage
     7180
     7181inline LONG APIENTRY _GpiIntersectClipRectangle(HPS a, PRECTL b)
    56767182{
    56777183 LONG yyrc;
     
    56847190}
    56857191
    5686 inline BOOL APIENTRY GpiLabel(HPS a, LONG b)
     7192#undef  GpiIntersectClipRectangle
     7193#define GpiIntersectClipRectangle _GpiIntersectClipRectangle
     7194
     7195inline BOOL APIENTRY _GpiLabel(HPS a, LONG b)
    56877196{
    56887197 BOOL yyrc;
     
    56957204}
    56967205
    5697 inline LONG APIENTRY GpiLine(HPS a, CONST POINTL *b)
     7206#undef  GpiLabel
     7207#define GpiLabel _GpiLabel
     7208
     7209inline LONG APIENTRY _GpiLine(HPS a, PPOINTL b)
    56987210{
    56997211 LONG yyrc;
     
    57067218}
    57077219
    5708 inline BOOL APIENTRY GpiLoadFonts(HAB a, PCSZ b)
     7220#undef  GpiLine
     7221#define GpiLine _GpiLine
     7222
     7223inline BOOL APIENTRY _GpiLoadFonts(HAB a, PCSZ b)
    57097224{
    57107225 BOOL yyrc;
     
    57177232}
    57187233
    5719 inline HMF APIENTRY GpiLoadMetaFile(HAB a, PCSZ b)
     7234#undef  GpiLoadFonts
     7235#define GpiLoadFonts _GpiLoadFonts
     7236
     7237inline HMF APIENTRY _GpiLoadMetaFile(HAB a, PCSZ b)
    57207238{
    57217239 HMF yyrc;
     
    57287246}
    57297247
    5730 inline BOOL APIENTRY GpiLoadPublicFonts(HAB a, PCSZ b)
     7248#undef  GpiLoadMetaFile
     7249#define GpiLoadMetaFile _GpiLoadMetaFile
     7250
     7251inline BOOL APIENTRY _GpiLoadPublicFonts(HAB a, PCSZ b)
    57317252{
    57327253 BOOL yyrc;
     
    57397260}
    57407261
    5741 inline LONG APIENTRY GpiMarker(HPS a, CONST POINTL *b)
     7262#undef  GpiLoadPublicFonts
     7263#define GpiLoadPublicFonts _GpiLoadPublicFonts
     7264
     7265inline LONG APIENTRY _GpiMarker(HPS a, PPOINTL b)
    57427266{
    57437267 LONG yyrc;
     
    57507274}
    57517275
    5752 inline BOOL APIENTRY GpiModifyPath(HPS a, LONG b, LONG c)
     7276#undef  GpiMarker
     7277#define GpiMarker _GpiMarker
     7278
     7279inline BOOL APIENTRY _GpiModifyPath(HPS a, LONG b, LONG c)
    57537280{
    57547281 BOOL yyrc;
     
    57617288}
    57627289
    5763 inline BOOL APIENTRY GpiMove(HPS a, CONST POINTL *b)
     7290#undef  GpiModifyPath
     7291#define GpiModifyPath _GpiModifyPath
     7292
     7293inline BOOL APIENTRY _GpiMove(HPS a, PPOINTL b)
    57647294{
    57657295 BOOL yyrc;
     
    57727302}
    57737303
    5774 inline LONG APIENTRY GpiOffsetClipRegion(HPS a, CONST POINTL *b)
     7304#undef  GpiMove
     7305#define GpiMove _GpiMove
     7306
     7307inline LONG APIENTRY _GpiOffsetClipRegion(HPS a, PPOINTL b)
    57757308{
    57767309 LONG yyrc;
     
    57837316}
    57847317
    5785 inline BOOL APIENTRY GpiOffsetElementPointer(HPS a, LONG b)
     7318#undef  GpiOffsetClipRegion
     7319#define GpiOffsetClipRegion _GpiOffsetClipRegion
     7320
     7321inline BOOL APIENTRY _GpiOffsetElementPointer(HPS a, LONG b)
    57867322{
    57877323 BOOL yyrc;
     
    57947330}
    57957331
    5796 inline BOOL APIENTRY GpiOffsetRegion(HPS a, HRGN b, CONST POINTL *c)
     7332#undef  GpiOffsetElementPointer
     7333#define GpiOffsetElementPointer _GpiOffsetElementPointer
     7334
     7335inline BOOL APIENTRY _GpiOffsetRegion(HPS a, HRGN b, PPOINTL c)
    57977336{
    57987337 BOOL yyrc;
     
    58057344}
    58067345
    5807 inline LONG APIENTRY GpiOutlinePath(HPS a, LONG b, LONG c)
     7346#undef  GpiOffsetRegion
     7347#define GpiOffsetRegion _GpiOffsetRegion
     7348
     7349inline LONG APIENTRY _GpiOutlinePath(HPS a, LONG b, LONG c)
    58087350{
    58097351 LONG yyrc;
     
    58167358}
    58177359
    5818 inline LONG APIENTRY GpiPaintRegion(HPS a, HRGN b)
     7360#undef  GpiOutlinePath
     7361#define GpiOutlinePath _GpiOutlinePath
     7362
     7363inline LONG APIENTRY _GpiPaintRegion(HPS a, HRGN b)
    58197364{
    58207365 LONG yyrc;
     
    58277372}
    58287373
    5829 inline LONG APIENTRY GpiPartialArc(HPS a, CONST POINTL *b, FIXED c, FIXED d, FIXED e)
     7374#undef  GpiPaintRegion
     7375#define GpiPaintRegion _GpiPaintRegion
     7376
     7377inline LONG APIENTRY _GpiPartialArc(HPS a, PPOINTL b, FIXED c, FIXED d, FIXED e)
    58307378{
    58317379 LONG yyrc;
     
    58387386}
    58397387
    5840 inline HRGN APIENTRY GpiPathToRegion(HPS a, LONG b, LONG c)
     7388#undef  GpiPartialArc
     7389#define GpiPartialArc _GpiPartialArc
     7390
     7391inline HRGN APIENTRY _GpiPathToRegion(HPS a, LONG b, LONG c)
    58417392{
    58427393 HRGN yyrc;
     
    58497400}
    58507401
    5851 inline LONG APIENTRY GpiPlayMetaFile(HPS a, HMF b, LONG c, CONST LONG *d, PLONG e, LONG f, PSZ g)
     7402#undef  GpiPathToRegion
     7403#define GpiPathToRegion _GpiPathToRegion
     7404
     7405inline LONG APIENTRY _GpiPlayMetaFile(HPS a, HMF b, LONG c, PLONG d, PLONG e, LONG f, PSZ g)
    58527406{
    58537407 LONG yyrc;
     
    58607414}
    58617415
    5862 inline LONG APIENTRY GpiPointArc(HPS a, CONST POINTL *b)
     7416#undef  GpiPlayMetaFile
     7417#define GpiPlayMetaFile _GpiPlayMetaFile
     7418
     7419inline LONG APIENTRY _GpiPointArc(HPS a, PPOINTL b)
    58637420{
    58647421 LONG yyrc;
     
    58717428}
    58727429
    5873 inline LONG APIENTRY GpiPolyFillet(HPS a, LONG b, CONST POINTL *c)
     7430#undef  GpiPointArc
     7431#define GpiPointArc _GpiPointArc
     7432
     7433inline LONG APIENTRY _GpiPolyFillet(HPS a, LONG b, PPOINTL c)
    58747434{
    58757435 LONG yyrc;
     
    58827442}
    58837443
    5884 inline LONG APIENTRY GpiPolyFilletSharp(HPS a, LONG b, CONST POINTL *c, CONST FIXED *d)
     7444#undef  GpiPolyFillet
     7445#define GpiPolyFillet _GpiPolyFillet
     7446
     7447inline LONG APIENTRY _GpiPolyFilletSharp(HPS a, LONG b, PPOINTL c, PFIXED d)
    58857448{
    58867449 LONG yyrc;
     
    58937456}
    58947457
    5895 inline LONG APIENTRY GpiPolygons(HPS a, ULONG b, CONST POLYGON *c, ULONG d, ULONG e)
     7458#undef  GpiPolyFilletSharp
     7459#define GpiPolyFilletSharp _GpiPolyFilletSharp
     7460
     7461inline LONG APIENTRY _GpiPolygons(HPS a, ULONG b, PPOLYGON c, ULONG d, ULONG e)
    58967462{
    58977463 LONG yyrc;
     
    59047470}
    59057471
    5906 inline LONG APIENTRY GpiPolyLine(HPS a, LONG b, CONST POINTL *c)
     7472#undef  GpiPolygons
     7473#define GpiPolygons _GpiPolygons
     7474
     7475inline LONG APIENTRY _GpiPolyLine(HPS a, LONG b, PPOINTL c)
    59077476{
    59087477 LONG yyrc;
     
    59157484}
    59167485
    5917 inline LONG APIENTRY GpiPolyLineDisjoint(HPS a, LONG b, CONST POINTL *c)
     7486#undef  GpiPolyLine
     7487#define GpiPolyLine _GpiPolyLine
     7488
     7489inline LONG APIENTRY _GpiPolyLineDisjoint(HPS a, LONG b, PPOINTL c)
    59187490{
    59197491 LONG yyrc;
     
    59267498}
    59277499
    5928 inline LONG APIENTRY GpiPolyMarker(HPS a, LONG b, CONST POINTL *c)
     7500#undef  GpiPolyLineDisjoint
     7501#define GpiPolyLineDisjoint _GpiPolyLineDisjoint
     7502
     7503inline LONG APIENTRY _GpiPolyMarker(HPS a, LONG b, PPOINTL c)
    59297504{
    59307505 LONG yyrc;
     
    59377512}
    59387513
    5939 inline LONG APIENTRY GpiPolySpline(HPS a, LONG b, CONST POINTL *c)
     7514#undef  GpiPolyMarker
     7515#define GpiPolyMarker _GpiPolyMarker
     7516
     7517inline LONG APIENTRY _GpiPolySpline(HPS a, LONG b, PPOINTL c)
    59407518{
    59417519 LONG yyrc;
     
    59487526}
    59497527
    5950 inline BOOL APIENTRY GpiPop(HPS a, LONG b)
     7528#undef  GpiPolySpline
     7529#define GpiPolySpline _GpiPolySpline
     7530
     7531inline BOOL APIENTRY _GpiPop(HPS a, LONG b)
    59517532{
    59527533 BOOL yyrc;
     
    59597540}
    59607541
    5961 inline LONG APIENTRY GpiPtInRegion(HPS a, HRGN b, CONST POINTL *c)
     7542#undef  GpiPop
     7543#define GpiPop _GpiPop
     7544
     7545inline LONG APIENTRY _GpiPtInRegion(HPS a, HRGN b, PPOINTL c)
    59627546{
    59637547 LONG yyrc;
     
    59707554}
    59717555
    5972 inline LONG APIENTRY GpiPtVisible(HPS a, CONST POINTL *b)
     7556#undef  GpiPtInRegion
     7557#define GpiPtInRegion _GpiPtInRegion
     7558
     7559inline LONG APIENTRY _GpiPtVisible(HPS a, PPOINTL b)
    59737560{
    59747561 LONG yyrc;
     
    59817568}
    59827569
    5983 inline BOOL APIENTRY GpiQueryArcParams(HPS a, PARCPARAMS b)
     7570#undef  GpiPtVisible
     7571#define GpiPtVisible _GpiPtVisible
     7572
     7573inline BOOL APIENTRY _GpiQueryArcParams(HPS a, PARCPARAMS b)
    59847574{
    59857575 BOOL yyrc;
     
    59927582}
    59937583
    5994 inline LONG APIENTRY GpiQueryAttrMode(HPS a)
     7584#undef  GpiQueryArcParams
     7585#define GpiQueryArcParams _GpiQueryArcParams
     7586
     7587inline LONG APIENTRY _GpiQueryAttrMode(HPS a)
    59957588{
    59967589 LONG yyrc;
     
    60037596}
    60047597
    6005 inline LONG APIENTRY GpiQueryAttrs(HPS a, LONG b, ULONG c, PBUNDLE d)
     7598#undef  GpiQueryAttrMode
     7599#define GpiQueryAttrMode _GpiQueryAttrMode
     7600
     7601inline LONG APIENTRY _GpiQueryAttrs(HPS a, LONG b, ULONG c, PBUNDLE d)
    60067602{
    60077603 LONG yyrc;
     
    60147610}
    60157611
    6016 inline LONG APIENTRY GpiQueryBackColor(HPS a)
     7612#undef  GpiQueryAttrs
     7613#define GpiQueryAttrs _GpiQueryAttrs
     7614
     7615inline LONG APIENTRY _GpiQueryBackColor(HPS a)
    60177616{
    60187617 LONG yyrc;
     
    60257624}
    60267625
    6027 inline LONG APIENTRY GpiQueryBackMix(HPS a)
     7626#undef  GpiQueryBackColor
     7627#define GpiQueryBackColor _GpiQueryBackColor
     7628
     7629inline LONG APIENTRY _GpiQueryBackMix(HPS a)
    60287630{
    60297631 LONG yyrc;
     
    60367638}
    60377639
    6038 inline BOOL APIENTRY GpiQueryCharAngle(HPS a, PGRADIENTL b)
     7640#undef  GpiQueryBackMix
     7641#define GpiQueryBackMix _GpiQueryBackMix
     7642
     7643inline BOOL APIENTRY _GpiQueryCharAngle(HPS a, PGRADIENTL b)
    60397644{
    60407645 BOOL yyrc;
     
    60477652}
    60487653
    6049 inline BOOL APIENTRY GpiQueryCharBox(HPS a, PSIZEF b)
     7654#undef  GpiQueryCharAngle
     7655#define GpiQueryCharAngle _GpiQueryCharAngle
     7656
     7657inline BOOL APIENTRY _GpiQueryCharBox(HPS a, PSIZEF b)
    60507658{
    60517659 BOOL yyrc;
     
    60587666}
    60597667
    6060 inline BOOL APIENTRY GpiQueryCharBreakExtra(HPS a, PFIXED b)
     7668#undef  GpiQueryCharBox
     7669#define GpiQueryCharBox _GpiQueryCharBox
     7670
     7671inline BOOL APIENTRY _GpiQueryCharBreakExtra(HPS a, PFIXED b)
    60617672{
    60627673 BOOL yyrc;
     
    60697680}
    60707681
    6071 inline LONG APIENTRY GpiQueryCharDirection(HPS a)
     7682#undef  GpiQueryCharBreakExtra
     7683#define GpiQueryCharBreakExtra _GpiQueryCharBreakExtra
     7684
     7685inline LONG APIENTRY _GpiQueryCharDirection(HPS a)
    60727686{
    60737687 LONG yyrc;
     
    60807694}
    60817695
    6082 inline BOOL APIENTRY GpiQueryCharExtra(HPS a, PFIXED b)
     7696#undef  GpiQueryCharDirection
     7697#define GpiQueryCharDirection _GpiQueryCharDirection
     7698
     7699inline BOOL APIENTRY _GpiQueryCharExtra(HPS a, PFIXED b)
    60837700{
    60847701 BOOL yyrc;
     
    60917708}
    60927709
    6093 inline LONG APIENTRY GpiQueryCharMode(HPS a)
     7710#undef  GpiQueryCharExtra
     7711#define GpiQueryCharExtra _GpiQueryCharExtra
     7712
     7713inline LONG APIENTRY _GpiQueryCharMode(HPS a)
    60947714{
    60957715 LONG yyrc;
     
    61027722}
    61037723
    6104 inline LONG APIENTRY GpiQueryCharSet(HPS a)
     7724#undef  GpiQueryCharMode
     7725#define GpiQueryCharMode _GpiQueryCharMode
     7726
     7727inline LONG APIENTRY _GpiQueryCharSet(HPS a)
    61057728{
    61067729 LONG yyrc;
     
    61137736}
    61147737
    6115 inline BOOL APIENTRY GpiQueryCharShear(HPS a, PPOINTL b)
     7738#undef  GpiQueryCharSet
     7739#define GpiQueryCharSet _GpiQueryCharSet
     7740
     7741inline BOOL APIENTRY _GpiQueryCharShear(HPS a, PPOINTL b)
    61167742{
    61177743 BOOL yyrc;
     
    61247750}
    61257751
    6126 inline BOOL APIENTRY GpiQueryCharStringPos(HPS a, ULONG b, LONG c, PCH d, PLONG e, PPOINTL f)
     7752#undef  GpiQueryCharShear
     7753#define GpiQueryCharShear _GpiQueryCharShear
     7754
     7755inline BOOL APIENTRY _GpiQueryCharStringPos(HPS a, ULONG b, LONG c, PCH d, PLONG e, PPOINTL f)
    61277756{
    61287757 BOOL yyrc;
     
    61357764}
    61367765
    6137 inline BOOL APIENTRY GpiQueryCharStringPosAt(HPS a, PPOINTL b, ULONG c, LONG d, PCH e, PLONG f, PPOINTL g)
     7766#undef  GpiQueryCharStringPos
     7767#define GpiQueryCharStringPos _GpiQueryCharStringPos
     7768
     7769inline BOOL APIENTRY _GpiQueryCharStringPosAt(HPS a, PPOINTL b, ULONG c, LONG d, PCH e, PLONG f, PPOINTL g)
    61387770{
    61397771 BOOL yyrc;
     
    61467778}
    61477779
    6148 inline LONG APIENTRY GpiQueryClipBox(HPS a, PRECTL b)
     7780#undef  GpiQueryCharStringPosAt
     7781#define GpiQueryCharStringPosAt _GpiQueryCharStringPosAt
     7782
     7783inline LONG APIENTRY _GpiQueryClipBox(HPS a, PRECTL b)
    61497784{
    61507785 LONG yyrc;
     
    61577792}
    61587793
    6159 inline HRGN APIENTRY GpiQueryClipRegion(HPS a)
     7794#undef  GpiQueryClipBox
     7795#define GpiQueryClipBox _GpiQueryClipBox
     7796
     7797inline HRGN APIENTRY _GpiQueryClipRegion(HPS a)
    61607798{
    61617799 HRGN yyrc;
     
    61687806}
    61697807
    6170 inline LONG APIENTRY GpiQueryColor(HPS a)
     7808#undef  GpiQueryClipRegion
     7809#define GpiQueryClipRegion _GpiQueryClipRegion
     7810
     7811inline LONG APIENTRY _GpiQueryColor(HPS a)
    61717812{
    61727813 LONG yyrc;
     
    61797820}
    61807821
    6181 inline BOOL APIENTRY GpiQueryColorData(HPS a, LONG b, PLONG c)
     7822#undef  GpiQueryColor
     7823#define GpiQueryColor _GpiQueryColor
     7824
     7825inline BOOL APIENTRY _GpiQueryColorData(HPS a, LONG b, PLONG c)
    61827826{
    61837827 BOOL yyrc;
     
    61907834}
    61917835
    6192 inline LONG APIENTRY GpiQueryColorIndex(HPS a, ULONG b, LONG c)
     7836#undef  GpiQueryColorData
     7837#define GpiQueryColorData _GpiQueryColorData
     7838
     7839inline LONG APIENTRY _GpiQueryColorIndex(HPS a, ULONG b, LONG c)
    61937840{
    61947841 LONG yyrc;
     
    62017848}
    62027849
    6203 inline ULONG APIENTRY GpiQueryCp(HPS a)
     7850#undef  GpiQueryColorIndex
     7851#define GpiQueryColorIndex _GpiQueryColorIndex
     7852
     7853inline ULONG APIENTRY _GpiQueryCp(HPS a)
    62047854{
    62057855 ULONG yyrc;
     
    62127862}
    62137863
    6214 inline BOOL APIENTRY GpiQueryCurrentPosition(HPS a, PPOINTL b)
     7864#undef  GpiQueryCp
     7865#define GpiQueryCp _GpiQueryCp
     7866
     7867inline BOOL APIENTRY _GpiQueryCurrentPosition(HPS a, PPOINTL b)
    62157868{
    62167869 BOOL yyrc;
     
    62237876}
    62247877
    6225 inline BOOL APIENTRY GpiQueryDefArcParams(HPS a, PARCPARAMS b)
     7878#undef  GpiQueryCurrentPosition
     7879#define GpiQueryCurrentPosition _GpiQueryCurrentPosition
     7880
     7881inline BOOL APIENTRY _GpiQueryDefArcParams(HPS a, PARCPARAMS b)
    62267882{
    62277883 BOOL yyrc;
     
    62347890}
    62357891
    6236 inline BOOL APIENTRY GpiQueryDefAttrs(HPS a, LONG b, ULONG c, PBUNDLE d)
     7892#undef  GpiQueryDefArcParams
     7893#define GpiQueryDefArcParams _GpiQueryDefArcParams
     7894
     7895inline BOOL APIENTRY _GpiQueryDefAttrs(HPS a, LONG b, ULONG c, PBUNDLE d)
    62377896{
    62387897 BOOL yyrc;
     
    62457904}
    62467905
    6247 inline BOOL APIENTRY GpiQueryDefCharBox(HPS a, PSIZEL b)
     7906#undef  GpiQueryDefAttrs
     7907#define GpiQueryDefAttrs _GpiQueryDefAttrs
     7908
     7909inline BOOL APIENTRY _GpiQueryDefCharBox(HPS a, PSIZEL b)
    62487910{
    62497911 BOOL yyrc;
     
    62567918}
    62577919
    6258 inline BOOL APIENTRY GpiQueryDefTag(HPS a, PLONG b)
     7920#undef  GpiQueryDefCharBox
     7921#define GpiQueryDefCharBox _GpiQueryDefCharBox
     7922
     7923inline BOOL APIENTRY _GpiQueryDefTag(HPS a, PLONG b)
    62597924{
    62607925 BOOL yyrc;
     
    62677932}
    62687933
    6269 inline BOOL APIENTRY GpiQueryDefViewingLimits(HPS a, PRECTL b)
     7934#undef  GpiQueryDefTag
     7935#define GpiQueryDefTag _GpiQueryDefTag
     7936
     7937inline BOOL APIENTRY _GpiQueryDefViewingLimits(HPS a, PRECTL b)
    62707938{
    62717939 BOOL yyrc;
     
    62787946}
    62797947
    6280 inline BOOL APIENTRY GpiQueryDefaultViewMatrix(HPS a, LONG b, PMATRIXLF c)
     7948#undef  GpiQueryDefViewingLimits
     7949#define GpiQueryDefViewingLimits _GpiQueryDefViewingLimits
     7950
     7951inline BOOL APIENTRY _GpiQueryDefaultViewMatrix(HPS a, LONG b, PMATRIXLF c)
    62817952{
    62827953 BOOL yyrc;
     
    62897960}
    62907961
    6291 inline LONG APIENTRY GpiQueryEditMode(HPS a)
     7962#undef  GpiQueryDefaultViewMatrix
     7963#define GpiQueryDefaultViewMatrix _GpiQueryDefaultViewMatrix
     7964
     7965inline LONG APIENTRY _GpiQueryEditMode(HPS a)
    62927966{
    62937967 LONG yyrc;
     
    63007974}
    63017975
    6302 inline LONG APIENTRY GpiQueryElement(HPS a, LONG b, LONG c, PBYTE d)
     7976#undef  GpiQueryEditMode
     7977#define GpiQueryEditMode _GpiQueryEditMode
     7978
     7979inline LONG APIENTRY _GpiQueryElement(HPS a, LONG b, LONG c, PBYTE d)
    63037980{
    63047981 LONG yyrc;
     
    63117988}
    63127989
    6313 inline LONG APIENTRY GpiQueryElementPointer(HPS a)
     7990#undef  GpiQueryElement
     7991#define GpiQueryElement _GpiQueryElement
     7992
     7993inline LONG APIENTRY _GpiQueryElementPointer(HPS a)
    63147994{
    63157995 LONG yyrc;
     
    63228002}
    63238003
    6324 inline LONG APIENTRY GpiQueryElementType(HPS a, PLONG b, LONG c, PSZ d)
     8004#undef  GpiQueryElementPointer
     8005#define GpiQueryElementPointer _GpiQueryElementPointer
     8006
     8007inline LONG APIENTRY _GpiQueryElementType(HPS a, PLONG b, LONG c, PSZ d)
    63258008{
    63268009 LONG yyrc;
     
    63338016}
    63348017
    6335 inline ULONG APIENTRY GpiQueryFaceString(HPS a, PCSZ b, PFACENAMEDESC c, LONG d, PSZ e)
     8018#undef  GpiQueryElementType
     8019#define GpiQueryElementType _GpiQueryElementType
     8020
     8021inline ULONG APIENTRY _GpiQueryFaceString(HPS a, PCSZ b, PFACENAMEDESC c, LONG d, PSZ e)
    63368022{
    63378023 ULONG yyrc;
     
    63448030}
    63458031
    6346 inline ULONG APIENTRY GpiQueryFontAction(HAB a, ULONG b)
     8032#undef  GpiQueryFaceString
     8033#define GpiQueryFaceString _GpiQueryFaceString
     8034
     8035inline ULONG APIENTRY _GpiQueryFontAction(HAB a, ULONG b)
    63478036{
    63488037 ULONG yyrc;
     
    63558044}
    63568045
    6357 inline LONG APIENTRY GpiQueryFontFileDescriptions(HAB a, PCSZ b, PLONG c, PFFDESCS d)
     8046#undef  GpiQueryFontAction
     8047#define GpiQueryFontAction _GpiQueryFontAction
     8048
     8049inline LONG APIENTRY _GpiQueryFontFileDescriptions(HAB a, PCSZ b, PLONG c, PFFDESCS d)
    63588050{
    63598051 LONG yyrc;
     
    63668058}
    63678059
    6368 inline BOOL APIENTRY GpiQueryFontMetrics(HPS a, LONG b, PFONTMETRICS c)
     8060#undef  GpiQueryFontFileDescriptions
     8061#define GpiQueryFontFileDescriptions _GpiQueryFontFileDescriptions
     8062
     8063inline BOOL APIENTRY _GpiQueryFontMetrics(HPS a, LONG b, PFONTMETRICS c)
    63698064{
    63708065 BOOL yyrc;
     
    63778072}
    63788073
    6379 inline LONG APIENTRY GpiQueryFonts(HPS a, ULONG b, PCSZ c, PLONG d, LONG e, PFONTMETRICS f)
     8074#undef  GpiQueryFontMetrics
     8075#define GpiQueryFontMetrics _GpiQueryFontMetrics
     8076
     8077inline LONG APIENTRY _GpiQueryFonts(HPS a, ULONG b, PCSZ c, PLONG d, LONG e, PFONTMETRICS f)
    63808078{
    63818079 LONG yyrc;
     
    63888086}
    63898087
    6390 inline LONG APIENTRY GpiQueryFullFontFileDescs(HAB a, PCSZ b, PLONG c, PVOID d, PLONG e)
     8088#undef  GpiQueryFonts
     8089#define GpiQueryFonts _GpiQueryFonts
     8090
     8091inline LONG APIENTRY _GpiQueryFullFontFileDescs(HAB a, PCSZ b, PLONG c, PVOID d, PLONG e)
    63918092{
    63928093 LONG yyrc;
     
    63998100}
    64008101
    6401 inline BOOL APIENTRY GpiQueryGraphicsField(HPS a, PRECTL b)
     8102#undef  GpiQueryFullFontFileDescs
     8103#define GpiQueryFullFontFileDescs _GpiQueryFullFontFileDescs
     8104
     8105inline BOOL APIENTRY _GpiQueryGraphicsField(HPS a, PRECTL b)
    64028106{
    64038107 BOOL yyrc;
     
    64108114}
    64118115
    6412 inline LONG APIENTRY GpiQueryKerningPairs(HPS a, LONG b, PKERNINGPAIRS c)
     8116#undef  GpiQueryGraphicsField
     8117#define GpiQueryGraphicsField _GpiQueryGraphicsField
     8118
     8119inline LONG APIENTRY _GpiQueryKerningPairs(HPS a, LONG b, PKERNINGPAIRS c)
    64138120{
    64148121 LONG yyrc;
     
    64218128}
    64228129
    6423 inline LONG APIENTRY GpiQueryLineEnd(HPS a)
     8130#undef  GpiQueryKerningPairs
     8131#define GpiQueryKerningPairs _GpiQueryKerningPairs
     8132
     8133inline LONG APIENTRY _GpiQueryLineEnd(HPS a)
    64248134{
    64258135 LONG yyrc;
     
    64328142}
    64338143
    6434 inline LONG APIENTRY GpiQueryLineJoin(HPS a)
     8144#undef  GpiQueryLineEnd
     8145#define GpiQueryLineEnd _GpiQueryLineEnd
     8146
     8147inline LONG APIENTRY _GpiQueryLineJoin(HPS a)
    64358148{
    64368149 LONG yyrc;
     
    64438156}
    64448157
    6445 inline LONG APIENTRY GpiQueryLineType(HPS a)
     8158#undef  GpiQueryLineJoin
     8159#define GpiQueryLineJoin _GpiQueryLineJoin
     8160
     8161inline LONG APIENTRY _GpiQueryLineType(HPS a)
    64468162{
    64478163 LONG yyrc;
     
    64548170}
    64558171
    6456 inline FIXED APIENTRY GpiQueryLineWidth(HPS a)
     8172#undef  GpiQueryLineType
     8173#define GpiQueryLineType _GpiQueryLineType
     8174
     8175inline FIXED APIENTRY _GpiQueryLineWidth(HPS a)
    64578176{
    64588177 FIXED yyrc;
     
    64658184}
    64668185
    6467 inline LONG APIENTRY GpiQueryLineWidthGeom(HPS a)
     8186#undef  GpiQueryLineWidth
     8187#define GpiQueryLineWidth _GpiQueryLineWidth
     8188
     8189inline LONG APIENTRY _GpiQueryLineWidthGeom(HPS a)
    64688190{
    64698191 LONG yyrc;
     
    64768198}
    64778199
    6478 inline LONG APIENTRY GpiQueryLogColorTable(HPS a, ULONG b, LONG c, LONG d, PLONG e)
     8200#undef  GpiQueryLineWidthGeom
     8201#define GpiQueryLineWidthGeom _GpiQueryLineWidthGeom
     8202
     8203inline LONG APIENTRY _GpiQueryLogColorTable(HPS a, ULONG b, LONG c, LONG d, PLONG e)
    64798204{
    64808205 LONG yyrc;
     
    64878212}
    64888213
    6489 inline BOOL APIENTRY GpiQueryLogicalFont(HPS a, LONG b, PSTR8 c, PFATTRS d, LONG e)
     8214#undef  GpiQueryLogColorTable
     8215#define GpiQueryLogColorTable _GpiQueryLogColorTable
     8216
     8217inline BOOL APIENTRY _GpiQueryLogicalFont(HPS a, LONG b, PSTR8 c, PFATTRS d, LONG e)
    64908218{
    64918219 BOOL yyrc;
     
    64988226}
    64998227
    6500 inline LONG APIENTRY GpiQueryMarker(HPS a)
     8228#undef  GpiQueryLogicalFont
     8229#define GpiQueryLogicalFont _GpiQueryLogicalFont
     8230
     8231inline LONG APIENTRY _GpiQueryMarker(HPS a)
    65018232{
    65028233 LONG yyrc;
     
    65098240}
    65108241
    6511 inline BOOL APIENTRY GpiQueryMarkerBox(HPS a, PSIZEF b)
     8242#undef  GpiQueryMarker
     8243#define GpiQueryMarker _GpiQueryMarker
     8244
     8245inline BOOL APIENTRY _GpiQueryMarkerBox(HPS a, PSIZEF b)
    65128246{
    65138247 BOOL yyrc;
     
    65208254}
    65218255
    6522 inline LONG APIENTRY GpiQueryMarkerSet(HPS a)
     8256#undef  GpiQueryMarkerBox
     8257#define GpiQueryMarkerBox _GpiQueryMarkerBox
     8258
     8259inline LONG APIENTRY _GpiQueryMarkerSet(HPS a)
    65238260{
    65248261 LONG yyrc;
     
    65318268}
    65328269
    6533 inline BOOL APIENTRY GpiQueryMetaFileBits(HMF a, LONG b, LONG c, PBYTE d)
     8270#undef  GpiQueryMarkerSet
     8271#define GpiQueryMarkerSet _GpiQueryMarkerSet
     8272
     8273inline BOOL APIENTRY _GpiQueryMetaFileBits(HMF a, LONG b, LONG c, PBYTE d)
    65348274{
    65358275 BOOL yyrc;
     
    65428282}
    65438283
    6544 inline LONG APIENTRY GpiQueryMetaFileLength(HMF a)
     8284#undef  GpiQueryMetaFileBits
     8285#define GpiQueryMetaFileBits _GpiQueryMetaFileBits
     8286
     8287inline LONG APIENTRY _GpiQueryMetaFileLength(HMF a)
    65458288{
    65468289 LONG yyrc;
     
    65538296}
    65548297
    6555 inline LONG APIENTRY GpiQueryMix(HPS a)
     8298#undef  GpiQueryMetaFileLength
     8299#define GpiQueryMetaFileLength _GpiQueryMetaFileLength
     8300
     8301inline LONG APIENTRY _GpiQueryMix(HPS a)
    65568302{
    65578303 LONG yyrc;
     
    65648310}
    65658311
    6566 inline BOOL APIENTRY GpiQueryModelTransformMatrix(HPS a, LONG b, PMATRIXLF c)
     8312#undef  GpiQueryMix
     8313#define GpiQueryMix _GpiQueryMix
     8314
     8315inline BOOL APIENTRY _GpiQueryModelTransformMatrix(HPS a, LONG b, PMATRIXLF c)
    65678316{
    65688317 BOOL yyrc;
     
    65758324}
    65768325
    6577 inline LONG APIENTRY GpiQueryNearestColor(HPS a, ULONG b, LONG c)
     8326#undef  GpiQueryModelTransformMatrix
     8327#define GpiQueryModelTransformMatrix _GpiQueryModelTransformMatrix
     8328
     8329inline LONG APIENTRY _GpiQueryNearestColor(HPS a, ULONG b, LONG c)
    65788330{
    65798331 LONG yyrc;
     
    65868338}
    65878339
    6588 inline LONG APIENTRY GpiQueryNumberSetIds(HPS a)
     8340#undef  GpiQueryNearestColor
     8341#define GpiQueryNearestColor _GpiQueryNearestColor
     8342
     8343inline LONG APIENTRY _GpiQueryNumberSetIds(HPS a)
    65898344{
    65908345 LONG yyrc;
     
    65978352}
    65988353
    6599 inline BOOL APIENTRY GpiQueryPageViewport(HPS a, PRECTL b)
     8354#undef  GpiQueryNumberSetIds
     8355#define GpiQueryNumberSetIds _GpiQueryNumberSetIds
     8356
     8357inline BOOL APIENTRY _GpiQueryPageViewport(HPS a, PRECTL b)
    66008358{
    66018359 BOOL yyrc;
     
    66088366}
    66098367
    6610 inline HPAL APIENTRY GpiQueryPalette(HPS a)
     8368#undef  GpiQueryPageViewport
     8369#define GpiQueryPageViewport _GpiQueryPageViewport
     8370
     8371inline HPAL APIENTRY _GpiQueryPalette(HPS a)
    66118372{
    66128373 HPAL yyrc;
     
    66198380}
    66208381
    6621 inline LONG APIENTRY GpiQueryPaletteInfo(HPAL a, HPS b, ULONG c, ULONG d, ULONG e, PULONG f)
     8382#undef  GpiQueryPalette
     8383#define GpiQueryPalette _GpiQueryPalette
     8384
     8385inline LONG APIENTRY _GpiQueryPaletteInfo(HPAL a, HPS b, ULONG c, ULONG d, ULONG e, PULONG f)
    66228386{
    66238387 LONG yyrc;
     
    66308394}
    66318395
    6632 inline LONG APIENTRY GpiQueryPattern(HPS a)
     8396#undef  GpiQueryPaletteInfo
     8397#define GpiQueryPaletteInfo _GpiQueryPaletteInfo
     8398
     8399inline LONG APIENTRY _GpiQueryPattern(HPS a)
    66338400{
    66348401 LONG yyrc;
     
    66418408}
    66428409
    6643 inline BOOL APIENTRY GpiQueryPatternRefPoint(HPS a, PPOINTL b)
     8410#undef  GpiQueryPattern
     8411#define GpiQueryPattern _GpiQueryPattern
     8412
     8413inline BOOL APIENTRY _GpiQueryPatternRefPoint(HPS a, PPOINTL b)
    66448414{
    66458415 BOOL yyrc;
     
    66528422}
    66538423
    6654 inline LONG APIENTRY GpiQueryPatternSet(HPS a)
     8424#undef  GpiQueryPatternRefPoint
     8425#define GpiQueryPatternRefPoint _GpiQueryPatternRefPoint
     8426
     8427inline LONG APIENTRY _GpiQueryPatternSet(HPS a)
    66558428{
    66568429 LONG yyrc;
     
    66638436}
    66648437
    6665 inline LONG APIENTRY GpiQueryRealColors(HPS a, ULONG b, LONG c, LONG d, PLONG e)
     8438#undef  GpiQueryPatternSet
     8439#define GpiQueryPatternSet _GpiQueryPatternSet
     8440
     8441inline LONG APIENTRY _GpiQueryRealColors(HPS a, ULONG b, LONG c, LONG d, PLONG e)
    66668442{
    66678443 LONG yyrc;
     
    66748450}
    66758451
    6676 inline LONG APIENTRY GpiQueryRegionBox(HPS a, HRGN b, PRECTL c)
     8452#undef  GpiQueryRealColors
     8453#define GpiQueryRealColors _GpiQueryRealColors
     8454
     8455inline LONG APIENTRY _GpiQueryRegionBox(HPS a, HRGN b, PRECTL c)
    66778456{
    66788457 LONG yyrc;
     
    66858464}
    66868465
    6687 inline BOOL APIENTRY GpiQueryRegionRects(HPS a, HRGN b, PRECTL c, PRGNRECT d, PRECTL e)
     8466#undef  GpiQueryRegionBox
     8467#define GpiQueryRegionBox _GpiQueryRegionBox
     8468
     8469inline BOOL APIENTRY _GpiQueryRegionRects(HPS a, HRGN b, PRECTL c, PRGNRECT d, PRECTL e)
    66888470{
    66898471 BOOL yyrc;
     
    66968478}
    66978479
    6698 inline LONG APIENTRY GpiQueryRGBColor(HPS a, ULONG b, LONG c)
     8480#undef  GpiQueryRegionRects
     8481#define GpiQueryRegionRects _GpiQueryRegionRects
     8482
     8483inline LONG APIENTRY _GpiQueryRGBColor(HPS a, ULONG b, LONG c)
    66998484{
    67008485 LONG yyrc;
     
    67078492}
    67088493
    6709 inline BOOL APIENTRY GpiQuerySegmentTransformMatrix(HPS a, LONG b, LONG c, PMATRIXLF d)
     8494#undef  GpiQueryRGBColor
     8495#define GpiQueryRGBColor _GpiQueryRGBColor
     8496
     8497inline BOOL APIENTRY _GpiQuerySegmentTransformMatrix(HPS a, LONG b, LONG c, PMATRIXLF d)
    67108498{
    67118499 BOOL yyrc;
     
    67188506}
    67198507
    6720 inline BOOL APIENTRY GpiQuerySetIds(HPS a, LONG b, PLONG c, PSTR8 d, PLONG e)
     8508#undef  GpiQuerySegmentTransformMatrix
     8509#define GpiQuerySegmentTransformMatrix _GpiQuerySegmentTransformMatrix
     8510
     8511inline BOOL APIENTRY _GpiQuerySetIds(HPS a, LONG b, PLONG c, PSTR8 d, PLONG e)
    67218512{
    67228513 BOOL yyrc;
     
    67298520}
    67308521
    6731 inline BOOL APIENTRY GpiQueryTextAlignment(HPS a, PLONG b, PLONG c)
     8522#undef  GpiQuerySetIds
     8523#define GpiQuerySetIds _GpiQuerySetIds
     8524
     8525inline BOOL APIENTRY _GpiQueryTextAlignment(HPS a, PLONG b, PLONG c)
    67328526{
    67338527 BOOL yyrc;
     
    67408534}
    67418535
    6742 inline BOOL APIENTRY GpiQueryTextBox(HPS a, LONG b, PCH c, LONG d, PPOINTL e)
     8536#undef  GpiQueryTextAlignment
     8537#define GpiQueryTextAlignment _GpiQueryTextAlignment
     8538
     8539inline BOOL APIENTRY _GpiQueryTextBox(HPS a, LONG b, PCH c, LONG d, PPOINTL e)
    67438540{
    67448541 BOOL yyrc;
     
    67518548}
    67528549
    6753 inline BOOL APIENTRY GpiQueryViewingLimits(HPS a, PRECTL b)
     8550#undef  GpiQueryTextBox
     8551#define GpiQueryTextBox _GpiQueryTextBox
     8552
     8553inline BOOL APIENTRY _GpiQueryViewingLimits(HPS a, PRECTL b)
    67548554{
    67558555 BOOL yyrc;
     
    67628562}
    67638563
    6764 inline BOOL APIENTRY GpiQueryViewingTransformMatrix(HPS a, LONG b, PMATRIXLF c)
     8564#undef  GpiQueryViewingLimits
     8565#define GpiQueryViewingLimits _GpiQueryViewingLimits
     8566
     8567inline BOOL APIENTRY _GpiQueryViewingTransformMatrix(HPS a, LONG b, PMATRIXLF c)
    67658568{
    67668569 BOOL yyrc;
     
    67738576}
    67748577
    6775 inline BOOL APIENTRY GpiQueryWidthTable(HPS a, LONG b, LONG c, PLONG d)
     8578#undef  GpiQueryViewingTransformMatrix
     8579#define GpiQueryViewingTransformMatrix _GpiQueryViewingTransformMatrix
     8580
     8581inline BOOL APIENTRY _GpiQueryWidthTable(HPS a, LONG b, LONG c, PLONG d)
    67768582{
    67778583 BOOL yyrc;
     
    67848590}
    67858591
    6786 inline LONG APIENTRY GpiRectInRegion(HPS a, HRGN b, CONST RECTL *c)
     8592#undef  GpiQueryWidthTable
     8593#define GpiQueryWidthTable _GpiQueryWidthTable
     8594
     8595inline LONG APIENTRY _GpiRectInRegion(HPS a, HRGN b, PRECTL c)
    67878596{
    67888597 LONG yyrc;
     
    67958604}
    67968605
    6797 inline LONG APIENTRY GpiRectVisible(HPS a, CONST RECTL *b)
     8606#undef  GpiRectInRegion
     8607#define GpiRectInRegion _GpiRectInRegion
     8608
     8609inline LONG APIENTRY _GpiRectVisible(HPS a, PRECTL b)
    67988610{
    67998611 LONG yyrc;
     
    68068618}
    68078619
    6808 inline BOOL APIENTRY GpiRotate(HPS a, PMATRIXLF b, LONG c, FIXED d, CONST POINTL *e)
     8620#undef  GpiRectVisible
     8621#define GpiRectVisible _GpiRectVisible
     8622
     8623inline BOOL APIENTRY _GpiRotate(HPS a, PMATRIXLF b, LONG c, FIXED d, PPOINTL e)
    68098624{
    68108625 BOOL yyrc;
     
    68178632}
    68188633
    6819 inline BOOL APIENTRY GpiSaveMetaFile(HMF a, PCSZ b)
     8634#undef  GpiRotate
     8635#define GpiRotate _GpiRotate
     8636
     8637inline BOOL APIENTRY _GpiSaveMetaFile(HMF a, PCSZ b)
    68208638{
    68218639 BOOL yyrc;
     
    68288646}
    68298647
    6830 inline BOOL APIENTRY GpiScale(HPS a, PMATRIXLF b, LONG c, CONST FIXED *d, CONST POINTL *e)
     8648#undef  GpiSaveMetaFile
     8649#define GpiSaveMetaFile _GpiSaveMetaFile
     8650
     8651inline BOOL APIENTRY _GpiScale(HPS a, PMATRIXLF b, LONG c, PFIXED d, PPOINTL e)
    68318652{
    68328653 BOOL yyrc;
     
    68398660}
    68408661
    6841 inline HPAL APIENTRY GpiSelectPalette(HPS a, HPAL b)
     8662#undef  GpiScale
     8663#define GpiScale _GpiScale
     8664
     8665inline HPAL APIENTRY _GpiSelectPalette(HPS a, HPAL b)
    68428666{
    68438667 HPAL yyrc;
     
    68508674}
    68518675
    6852 inline BOOL APIENTRY GpiSetArcParams(HPS a, CONST ARCPARAMS *b)
     8676#undef  GpiSelectPalette
     8677#define GpiSelectPalette _GpiSelectPalette
     8678
     8679inline BOOL APIENTRY _GpiSetArcParams(HPS a, PARCPARAMS b)
    68538680{
    68548681 BOOL yyrc;
     
    68618688}
    68628689
    6863 inline BOOL APIENTRY GpiSetAttrMode(HPS a, LONG b)
     8690#undef  GpiSetArcParams
     8691#define GpiSetArcParams _GpiSetArcParams
     8692
     8693inline BOOL APIENTRY _GpiSetAttrMode(HPS a, LONG b)
    68648694{
    68658695 BOOL yyrc;
     
    68728702}
    68738703
    6874 inline BOOL APIENTRY GpiSetAttrs(HPS a, LONG b, ULONG c, ULONG d, CONST VOID *e)
     8704#undef  GpiSetAttrMode
     8705#define GpiSetAttrMode _GpiSetAttrMode
     8706
     8707inline BOOL APIENTRY _GpiSetAttrs(HPS a, LONG b, ULONG c, ULONG d, PVOID e)
    68758708{
    68768709 BOOL yyrc;
     
    68838716}
    68848717
    6885 inline BOOL APIENTRY GpiSetBackColor(HPS a, LONG b)
     8718#undef  GpiSetAttrs
     8719#define GpiSetAttrs _GpiSetAttrs
     8720
     8721inline BOOL APIENTRY _GpiSetBackColor(HPS a, LONG b)
    68868722{
    68878723 BOOL yyrc;
     
    68948730}
    68958731
    6896 inline BOOL APIENTRY GpiSetBackMix(HPS a, LONG b)
     8732#undef  GpiSetBackColor
     8733#define GpiSetBackColor _GpiSetBackColor
     8734
     8735inline BOOL APIENTRY _GpiSetBackMix(HPS a, LONG b)
    68978736{
    68988737 BOOL yyrc;
     
    69058744}
    69068745
    6907 inline BOOL APIENTRY GpiSetCharAngle(HPS a, CONST GRADIENTL *b)
     8746#undef  GpiSetBackMix
     8747#define GpiSetBackMix _GpiSetBackMix
     8748
     8749inline BOOL APIENTRY _GpiSetCharAngle(HPS a, PGRADIENTL b)
    69088750{
    69098751 BOOL yyrc;
     
    69168758}
    69178759
    6918 inline BOOL APIENTRY GpiSetCharBox(HPS a, CONST SIZEF *b)
     8760#undef  GpiSetCharAngle
     8761#define GpiSetCharAngle _GpiSetCharAngle
     8762
     8763inline BOOL APIENTRY _GpiSetCharBox(HPS a, PSIZEF b)
    69198764{
    69208765 BOOL yyrc;
     
    69278772}
    69288773
    6929 inline BOOL APIENTRY GpiSetCharBreakExtra(HPS a, FIXED b)
     8774#undef  GpiSetCharBox
     8775#define GpiSetCharBox _GpiSetCharBox
     8776
     8777inline BOOL APIENTRY _GpiSetCharBreakExtra(HPS a, FIXED b)
    69308778{
    69318779 BOOL yyrc;
     
    69388786}
    69398787
    6940 inline BOOL APIENTRY GpiSetCharDirection(HPS a, LONG b)
     8788#undef  GpiSetCharBreakExtra
     8789#define GpiSetCharBreakExtra _GpiSetCharBreakExtra
     8790
     8791inline BOOL APIENTRY _GpiSetCharDirection(HPS a, LONG b)
    69418792{
    69428793 BOOL yyrc;
     
    69498800}
    69508801
    6951 inline BOOL APIENTRY GpiSetCharExtra(HPS a, FIXED b)
     8802#undef  GpiSetCharDirection
     8803#define GpiSetCharDirection _GpiSetCharDirection
     8804
     8805inline BOOL APIENTRY _GpiSetCharExtra(HPS a, FIXED b)
    69528806{
    69538807 BOOL yyrc;
     
    69608814}
    69618815
    6962 inline BOOL APIENTRY GpiSetCharMode(HPS a, LONG b)
     8816#undef  GpiSetCharExtra
     8817#define GpiSetCharExtra _GpiSetCharExtra
     8818
     8819inline BOOL APIENTRY _GpiSetCharMode(HPS a, LONG b)
    69638820{
    69648821 BOOL yyrc;
     
    69718828}
    69728829
    6973 inline BOOL APIENTRY GpiSetCharSet(HPS a, LONG b)
     8830#undef  GpiSetCharMode
     8831#define GpiSetCharMode _GpiSetCharMode
     8832
     8833inline BOOL APIENTRY _GpiSetCharSet(HPS a, LONG b)
    69748834{
    69758835 BOOL yyrc;
     
    69828842}
    69838843
    6984 inline BOOL APIENTRY GpiSetCharShear(HPS a, CONST POINTL *b)
     8844#undef  GpiSetCharSet
     8845#define GpiSetCharSet _GpiSetCharSet
     8846
     8847inline BOOL APIENTRY _GpiSetCharShear(HPS a, PPOINTL b)
    69858848{
    69868849 BOOL yyrc;
     
    69938856}
    69948857
    6995 inline BOOL APIENTRY GpiSetClipPath(HPS a, LONG b, LONG c)
     8858#undef  GpiSetCharShear
     8859#define GpiSetCharShear _GpiSetCharShear
     8860
     8861inline BOOL APIENTRY _GpiSetClipPath(HPS a, LONG b, LONG c)
    69968862{
    69978863 BOOL yyrc;
     
    70048870}
    70058871
    7006 inline LONG APIENTRY GpiSetClipRegion(HPS a, HRGN b, PHRGN c)
     8872#undef  GpiSetClipPath
     8873#define GpiSetClipPath _GpiSetClipPath
     8874
     8875inline LONG APIENTRY _GpiSetClipRegion(HPS a, HRGN b, PHRGN c)
    70078876{
    70088877 LONG yyrc;
     
    70158884}
    70168885
    7017 inline BOOL APIENTRY GpiSetColor(HPS a, LONG b)
     8886#undef  GpiSetClipRegion
     8887#define GpiSetClipRegion _GpiSetClipRegion
     8888
     8889inline BOOL APIENTRY _GpiSetColor(HPS a, LONG b)
    70188890{
    70198891 BOOL yyrc;
     
    70268898}
    70278899
    7028 inline BOOL APIENTRY GpiSetCp(HPS a, ULONG b)
     8900#undef  GpiSetColor
     8901#define GpiSetColor _GpiSetColor
     8902
     8903inline BOOL APIENTRY _GpiSetCp(HPS a, ULONG b)
    70298904{
    70308905 BOOL yyrc;
     
    70378912}
    70388913
    7039 inline BOOL APIENTRY GpiSetCurrentPosition(HPS a, CONST POINTL *b)
     8914#undef  GpiSetCp
     8915#define GpiSetCp _GpiSetCp
     8916
     8917inline BOOL APIENTRY _GpiSetCurrentPosition(HPS a, PPOINTL b)
    70408918{
    70418919 BOOL yyrc;
     
    70488926}
    70498927
    7050 inline BOOL APIENTRY GpiSetDefArcParams(HPS a, CONST ARCPARAMS *b)
     8928#undef  GpiSetCurrentPosition
     8929#define GpiSetCurrentPosition _GpiSetCurrentPosition
     8930
     8931inline BOOL APIENTRY _GpiSetDefArcParams(HPS a, PARCPARAMS b)
    70518932{
    70528933 BOOL yyrc;
     
    70598940}
    70608941
    7061 inline BOOL APIENTRY GpiSetDefAttrs(HPS a, LONG b, ULONG c, CONST VOID *d)
     8942#undef  GpiSetDefArcParams
     8943#define GpiSetDefArcParams _GpiSetDefArcParams
     8944
     8945inline BOOL APIENTRY _GpiSetDefAttrs(HPS a, LONG b, ULONG c, PVOID d)
    70628946{
    70638947 BOOL yyrc;
     
    70708954}
    70718955
    7072 inline BOOL APIENTRY GpiSetDefaultViewMatrix(HPS a, LONG b, CONST MATRIXLF *c, LONG d)
     8956#undef  GpiSetDefAttrs
     8957#define GpiSetDefAttrs _GpiSetDefAttrs
     8958
     8959inline BOOL APIENTRY _GpiSetDefaultViewMatrix(HPS a, LONG b, PMATRIXLF c, LONG d)
    70738960{
    70748961 BOOL yyrc;
     
    70818968}
    70828969
    7083 inline BOOL APIENTRY GpiSetDefTag(HPS a, LONG b)
     8970#undef  GpiSetDefaultViewMatrix
     8971#define GpiSetDefaultViewMatrix _GpiSetDefaultViewMatrix
     8972
     8973inline BOOL APIENTRY _GpiSetDefTag(HPS a, LONG b)
    70848974{
    70858975 BOOL yyrc;
     
    70928982}
    70938983
    7094 inline BOOL APIENTRY GpiSetDefViewingLimits(HPS a, CONST RECTL *b)
     8984#undef  GpiSetDefTag
     8985#define GpiSetDefTag _GpiSetDefTag
     8986
     8987inline BOOL APIENTRY _GpiSetDefViewingLimits(HPS a, PRECTL b)
    70958988{
    70968989 BOOL yyrc;
     
    71038996}
    71048997
    7105 inline BOOL APIENTRY GpiSetEditMode(HPS a, LONG b)
     8998#undef  GpiSetDefViewingLimits
     8999#define GpiSetDefViewingLimits _GpiSetDefViewingLimits
     9000
     9001inline BOOL APIENTRY _GpiSetEditMode(HPS a, LONG b)
    71069002{
    71079003 BOOL yyrc;
     
    71149010}
    71159011
    7116 inline BOOL APIENTRY GpiSetElementPointer(HPS a, LONG b)
     9012#undef  GpiSetEditMode
     9013#define GpiSetEditMode _GpiSetEditMode
     9014
     9015inline BOOL APIENTRY _GpiSetElementPointer(HPS a, LONG b)
    71179016{
    71189017 BOOL yyrc;
     
    71259024}
    71269025
    7127 inline BOOL APIENTRY GpiSetElementPointerAtLabel(HPS a, LONG b)
     9026#undef  GpiSetElementPointer
     9027#define GpiSetElementPointer _GpiSetElementPointer
     9028
     9029inline BOOL APIENTRY _GpiSetElementPointerAtLabel(HPS a, LONG b)
    71289030{
    71299031 BOOL yyrc;
     
    71369038}
    71379039
    7138 inline BOOL APIENTRY GpiSetGraphicsField(HPS a, CONST RECTL *b)
     9040#undef  GpiSetElementPointerAtLabel
     9041#define GpiSetElementPointerAtLabel _GpiSetElementPointerAtLabel
     9042
     9043inline BOOL APIENTRY _GpiSetGraphicsField(HPS a, PRECTL b)
    71399044{
    71409045 BOOL yyrc;
     
    71479052}
    71489053
    7149 inline BOOL APIENTRY GpiSetLineEnd(HPS a, LONG b)
     9054#undef  GpiSetGraphicsField
     9055#define GpiSetGraphicsField _GpiSetGraphicsField
     9056
     9057inline BOOL APIENTRY _GpiSetLineEnd(HPS a, LONG b)
    71509058{
    71519059 BOOL yyrc;
     
    71589066}
    71599067
    7160 inline BOOL APIENTRY GpiSetLineJoin(HPS a, LONG b)
     9068#undef  GpiSetLineEnd
     9069#define GpiSetLineEnd _GpiSetLineEnd
     9070
     9071inline BOOL APIENTRY _GpiSetLineJoin(HPS a, LONG b)
    71619072{
    71629073 BOOL yyrc;
     
    71699080}
    71709081
    7171 inline BOOL APIENTRY GpiSetLineType(HPS a, LONG b)
     9082#undef  GpiSetLineJoin
     9083#define GpiSetLineJoin _GpiSetLineJoin
     9084
     9085inline BOOL APIENTRY _GpiSetLineType(HPS a, LONG b)
    71729086{
    71739087 BOOL yyrc;
     
    71809094}
    71819095
    7182 inline BOOL APIENTRY GpiSetLineWidth(HPS a, FIXED b)
     9096#undef  GpiSetLineType
     9097#define GpiSetLineType _GpiSetLineType
     9098
     9099inline BOOL APIENTRY _GpiSetLineWidth(HPS a, FIXED b)
    71839100{
    71849101 BOOL yyrc;
     
    71919108}
    71929109
    7193 inline BOOL APIENTRY GpiSetLineWidthGeom(HPS a, LONG b)
     9110#undef  GpiSetLineWidth
     9111#define GpiSetLineWidth _GpiSetLineWidth
     9112
     9113inline BOOL APIENTRY _GpiSetLineWidthGeom(HPS a, LONG b)
    71949114{
    71959115 BOOL yyrc;
     
    72029122}
    72039123
    7204 inline BOOL APIENTRY GpiSetMarker(HPS a, LONG b)
     9124#undef  GpiSetLineWidthGeom
     9125#define GpiSetLineWidthGeom _GpiSetLineWidthGeom
     9126
     9127inline BOOL APIENTRY _GpiSetMarker(HPS a, LONG b)
    72059128{
    72069129 BOOL yyrc;
     
    72139136}
    72149137
    7215 inline BOOL APIENTRY GpiSetMarkerBox(HPS a, CONST SIZEF *b)
     9138#undef  GpiSetMarker
     9139#define GpiSetMarker _GpiSetMarker
     9140
     9141inline BOOL APIENTRY _GpiSetMarkerBox(HPS a, PSIZEF b)
    72169142{
    72179143 BOOL yyrc;
     
    72249150}
    72259151
    7226 inline BOOL APIENTRY GpiSetMarkerSet(HPS a, LONG b)
     9152#undef  GpiSetMarkerBox
     9153#define GpiSetMarkerBox _GpiSetMarkerBox
     9154
     9155inline BOOL APIENTRY _GpiSetMarkerSet(HPS a, LONG b)
    72279156{
    72289157 BOOL yyrc;
     
    72359164}
    72369165
    7237 inline BOOL APIENTRY GpiSetMetaFileBits(HMF a, LONG b, LONG c, CONST BYTE *d)
     9166#undef  GpiSetMarkerSet
     9167#define GpiSetMarkerSet _GpiSetMarkerSet
     9168
     9169inline BOOL APIENTRY _GpiSetMetaFileBits(HMF a, LONG b, LONG c, PBYTE d)
    72389170{
    72399171 BOOL yyrc;
     
    72469178}
    72479179
    7248 inline BOOL APIENTRY GpiSetMix(HPS a, LONG b)
     9180#undef  GpiSetMetaFileBits
     9181#define GpiSetMetaFileBits _GpiSetMetaFileBits
     9182
     9183inline BOOL APIENTRY _GpiSetMix(HPS a, LONG b)
    72499184{
    72509185 BOOL yyrc;
     
    72579192}
    72589193
    7259 inline BOOL APIENTRY GpiSetModelTransformMatrix(HPS a, LONG b, CONST MATRIXLF *c, LONG d)
     9194#undef  GpiSetMix
     9195#define GpiSetMix _GpiSetMix
     9196
     9197inline BOOL APIENTRY _GpiSetModelTransformMatrix(HPS a, LONG b, PMATRIXLF c, LONG d)
    72609198{
    72619199 BOOL yyrc;
     
    72689206}
    72699207
    7270 inline BOOL APIENTRY GpiSetPageViewport(HPS a, CONST RECTL *b)
     9208#undef  GpiSetModelTransformMatrix
     9209#define GpiSetModelTransformMatrix _GpiSetModelTransformMatrix
     9210
     9211inline BOOL APIENTRY _GpiSetPageViewport(HPS a, PRECTL b)
    72719212{
    72729213 BOOL yyrc;
     
    72799220}
    72809221
    7281 inline BOOL APIENTRY GpiSetPaletteEntries(HPAL a, ULONG b, ULONG c, ULONG d, CONST ULONG *e)
     9222#undef  GpiSetPageViewport
     9223#define GpiSetPageViewport _GpiSetPageViewport
     9224
     9225inline BOOL APIENTRY _GpiSetPaletteEntries(HPAL a, ULONG b, ULONG c, ULONG d, ULONG *e)
    72829226{
    72839227 BOOL yyrc;
     
    72909234}
    72919235
    7292 inline BOOL APIENTRY GpiSetPattern(HPS a, LONG b)
     9236#undef  GpiSetPaletteEntries
     9237#define GpiSetPaletteEntries _GpiSetPaletteEntries
     9238
     9239inline BOOL APIENTRY _GpiSetPattern(HPS a, LONG b)
    72939240{
    72949241 BOOL yyrc;
     
    73019248}
    73029249
    7303 inline BOOL APIENTRY GpiSetPatternRefPoint(HPS a, CONST POINTL *b)
     9250#undef  GpiSetPattern
     9251#define GpiSetPattern _GpiSetPattern
     9252
     9253inline BOOL APIENTRY _GpiSetPatternRefPoint(HPS a, PPOINTL b)
    73049254{
    73059255 BOOL yyrc;
     
    73129262}
    73139263
    7314 inline BOOL APIENTRY GpiSetPatternSet(HPS a, LONG b)
     9264#undef  GpiSetPatternRefPoint
     9265#define GpiSetPatternRefPoint _GpiSetPatternRefPoint
     9266
     9267inline BOOL APIENTRY _GpiSetPatternSet(HPS a, LONG b)
    73159268{
    73169269 BOOL yyrc;
     
    73239276}
    73249277
    7325 inline BOOL APIENTRY GpiSetRegion(HPS a, HRGN b, LONG c, CONST RECTL *d)
     9278#undef  GpiSetPatternSet
     9279#define GpiSetPatternSet _GpiSetPatternSet
     9280
     9281inline BOOL APIENTRY _GpiSetRegion(HPS a, HRGN b, LONG c, PRECTL d)
    73269282{
    73279283 BOOL yyrc;
     
    73349290}
    73359291
    7336 inline BOOL APIENTRY GpiSetSegmentTransformMatrix(HPS a, LONG b, LONG c, CONST MATRIXLF *d, LONG e)
     9292#undef  GpiSetRegion
     9293#define GpiSetRegion _GpiSetRegion
     9294
     9295inline BOOL APIENTRY _GpiSetSegmentTransformMatrix(HPS a, LONG b, LONG c, MATRIXLF *d, LONG e)
    73379296{
    73389297 BOOL yyrc;
     
    73459304}
    73469305
    7347 inline BOOL APIENTRY GpiSetTextAlignment(HPS a, LONG b, LONG c)
     9306#undef  GpiSetSegmentTransformMatrix
     9307#define GpiSetSegmentTransformMatrix _GpiSetSegmentTransformMatrix
     9308
     9309inline BOOL APIENTRY _GpiSetTextAlignment(HPS a, LONG b, LONG c)
    73489310{
    73499311 BOOL yyrc;
     
    73569318}
    73579319
    7358 inline BOOL APIENTRY GpiSetViewingLimits(HPS a, CONST RECTL *b)
     9320#undef  GpiSetTextAlignment
     9321#define GpiSetTextAlignment _GpiSetTextAlignment
     9322
     9323inline BOOL APIENTRY _GpiSetViewingLimits(HPS a, PRECTL b)
    73599324{
    73609325 BOOL yyrc;
     
    73679332}
    73689333
    7369 inline BOOL APIENTRY GpiSetViewingTransformMatrix(HPS a, LONG b, CONST MATRIXLF *c, LONG d)
     9334#undef  GpiSetViewingLimits
     9335#define GpiSetViewingLimits _GpiSetViewingLimits
     9336
     9337inline BOOL APIENTRY _GpiSetViewingTransformMatrix(HPS a, LONG b, MATRIXLF *c, LONG d)
    73709338{
    73719339 BOOL yyrc;
     
    73789346}
    73799347
    7380 inline LONG APIENTRY GpiStrokePath(HPS a, LONG b, ULONG c)
     9348#undef  GpiSetViewingTransformMatrix
     9349#define GpiSetViewingTransformMatrix _GpiSetViewingTransformMatrix
     9350
     9351inline LONG APIENTRY _GpiStrokePath(HPS a, LONG b, ULONG c)
    73819352{
    73829353 LONG yyrc;
     
    73899360}
    73909361
    7391 inline BOOL APIENTRY GpiTranslate(HPS a, PMATRIXLF b, LONG c, CONST POINTL *d)
     9362#undef  GpiStrokePath
     9363#define GpiStrokePath _GpiStrokePath
     9364
     9365inline BOOL APIENTRY _GpiTranslate(HPS a, PMATRIXLF b, LONG c, PPOINTL d)
    73929366{
    73939367 BOOL yyrc;
     
    74009374}
    74019375
    7402 inline BOOL APIENTRY GpiUnloadFonts(HAB a, PCSZ b)
     9376#undef  GpiTranslate
     9377#define GpiTranslate _GpiTranslate
     9378
     9379inline BOOL APIENTRY _GpiUnloadFonts(HAB a, PCSZ b)
    74039380{
    74049381 BOOL yyrc;
     
    74119388}
    74129389
    7413 inline BOOL APIENTRY GpiUnloadPublicFonts(HAB a, PCSZ b)
     9390#undef  GpiUnloadFonts
     9391#define GpiUnloadFonts _GpiUnloadFonts
     9392
     9393inline BOOL APIENTRY _GpiUnloadPublicFonts(HAB a, PCSZ b)
    74149394{
    74159395 BOOL yyrc;
     
    74229402}
    74239403
     9404#undef  GpiUnloadPublicFonts
     9405#define GpiUnloadPublicFonts _GpiUnloadPublicFonts
     9406
    74249407#ifdef INCL_GPIBITMAPS
    7425 inline LONG APIENTRY GpiBitBlt(HPS a, HPS b, LONG c, CONST POINTL *d, LONG e, ULONG f)
     9408inline LONG APIENTRY _GpiBitBlt(HPS a, HPS b, LONG c, PPOINTL d, LONG e, ULONG f)
    74269409{
    74279410 LONG yyrc;
     
    74349417}
    74359418
    7436 inline BOOL APIENTRY GpiDeleteBitmap(HBITMAP a)
     9419#undef  GpiBitBlt
     9420#define GpiBitBlt _GpiBitBlt
     9421
     9422inline BOOL APIENTRY _GpiDeleteBitmap(HBITMAP a)
    74379423{
    74389424 BOOL yyrc;
     
    74459431}
    74469432
    7447 inline HBITMAP APIENTRY GpiLoadBitmap(HPS a, HMODULE b, ULONG c, LONG d, LONG e)
     9433#undef  GpiDeleteBitmap
     9434#define GpiDeleteBitmap _GpiDeleteBitmap
     9435
     9436inline HBITMAP APIENTRY _GpiLoadBitmap(HPS a, HMODULE b, ULONG c, LONG d, LONG e)
    74489437{
    74499438 HBITMAP yyrc;
     
    74569445}
    74579446
    7458 inline HBITMAP APIENTRY GpiSetBitmap(HPS a, HBITMAP b)
     9447#undef  GpiLoadBitmap
     9448#define GpiLoadBitmap _GpiLoadBitmap
     9449
     9450inline HBITMAP APIENTRY _GpiSetBitmap(HPS a, HBITMAP b)
    74599451{
    74609452 HBITMAP yyrc;
     
    74679459}
    74689460
    7469 inline LONG APIENTRY GpiWCBitBlt(HPS a, HBITMAP b, LONG c, CONST POINTL *d, LONG e, ULONG f)
     9461#undef  GpiSetBitmap
     9462#define GpiSetBitmap _GpiSetBitmap
     9463
     9464inline LONG APIENTRY _GpiWCBitBlt(HPS a, HBITMAP b, LONG c, PPOINTL d, LONG e, ULONG f)
    74709465{
    74719466 LONG yyrc;
     
    74789473}
    74799474
    7480 inline HBITMAP APIENTRY GpiCreateBitmap(HPS a, CONST BITMAPINFOHEADER2 *b, ULONG c, CONST BYTE *d, CONST BITMAPINFO2 *e)
     9475#undef  GpiWCBitBlt
     9476#define GpiWCBitBlt _GpiWCBitBlt
     9477
     9478inline HBITMAP APIENTRY _GpiCreateBitmap(HPS a, BITMAPINFOHEADER2 *b, ULONG c, PBYTE d, BITMAPINFO2 *e)
    74819479{
    74829480 HBITMAP yyrc;
     
    74899487}
    74909488
    7491 inline LONG APIENTRY GpiDrawBits(HPS a, CONST VOID *b, CONST BITMAPINFO2 *c, LONG d, CONST POINTL *e, LONG f, ULONG g)
     9489#undef  GpiCreateBitmap
     9490#define GpiCreateBitmap _GpiCreateBitmap
     9491
     9492inline LONG APIENTRY _GpiDrawBits(HPS a, PVOID b, BITMAPINFO2 *c, LONG d, PPOINTL e, LONG f, ULONG g)
    74929493{
    74939494 LONG yyrc;
     
    75009501}
    75019502
    7502 inline LONG APIENTRY GpiFloodFill(HPS a, LONG b, LONG c)
     9503#undef  GpiDrawBits
     9504#define GpiDrawBits _GpiDrawBits
     9505
     9506inline LONG APIENTRY _GpiFloodFill(HPS a, LONG b, LONG c)
    75039507{
    75049508 LONG yyrc;
     
    75119515}
    75129516
    7513 inline LONG APIENTRY GpiQueryBitmapBits(HPS a, LONG b, LONG c, PBYTE d, PBITMAPINFO2 e)
     9517#undef  GpiFloodFill
     9518#define GpiFloodFill _GpiFloodFill
     9519
     9520inline LONG APIENTRY _GpiQueryBitmapBits(HPS a, LONG b, LONG c, PBYTE d, PBITMAPINFO2 e)
    75149521{
    75159522 LONG yyrc;
     
    75229529}
    75239530
    7524 inline BOOL APIENTRY GpiQueryBitmapDimension(HBITMAP a, PSIZEL b)
     9531#undef  GpiQueryBitmapBits
     9532#define GpiQueryBitmapBits _GpiQueryBitmapBits
     9533
     9534inline BOOL APIENTRY _GpiQueryBitmapDimension(HBITMAP a, PSIZEL b)
    75259535{
    75269536 BOOL yyrc;
     
    75339543}
    75349544
    7535 inline HBITMAP APIENTRY GpiQueryBitmapHandle(HPS a, LONG b)
     9545#undef  GpiQueryBitmapDimension
     9546#define GpiQueryBitmapDimension _GpiQueryBitmapDimension
     9547
     9548inline HBITMAP APIENTRY _GpiQueryBitmapHandle(HPS a, LONG b)
    75369549{
    75379550 HBITMAP yyrc;
     
    75449557}
    75459558
    7546 inline BOOL APIENTRY GpiQueryBitmapInfoHeader(HBITMAP a, PBITMAPINFOHEADER2 b)
     9559#undef  GpiQueryBitmapHandle
     9560#define GpiQueryBitmapHandle _GpiQueryBitmapHandle
     9561
     9562inline BOOL APIENTRY _GpiQueryBitmapInfoHeader(HBITMAP a, PBITMAPINFOHEADER2 b)
    75479563{
    75489564 BOOL yyrc;
     
    75559571}
    75569572
    7557 inline BOOL APIENTRY GpiQueryBitmapParameters(HBITMAP a, PBITMAPINFOHEADER b)
     9573#undef  GpiQueryBitmapInfoHeader
     9574#define GpiQueryBitmapInfoHeader _GpiQueryBitmapInfoHeader
     9575
     9576inline BOOL APIENTRY _GpiQueryBitmapParameters(HBITMAP a, PBITMAPINFOHEADER b)
    75589577{
    75599578 BOOL yyrc;
     
    75669585}
    75679586
    7568 inline BOOL APIENTRY GpiQueryDeviceBitmapFormats(HPS a, LONG b, PLONG c)
     9587#undef  GpiQueryBitmapParameters
     9588#define GpiQueryBitmapParameters _GpiQueryBitmapParameters
     9589
     9590inline BOOL APIENTRY _GpiQueryDeviceBitmapFormats(HPS a, LONG b, PLONG c)
    75699591{
    75709592 BOOL yyrc;
     
    75779599}
    75789600
    7579 inline LONG APIENTRY GpiSetBitmapBits(HPS a, LONG b, LONG c, CONST BYTE *d, CONST BITMAPINFO2 *e)
     9601#undef  GpiQueryDeviceBitmapFormats
     9602#define GpiQueryDeviceBitmapFormats _GpiQueryDeviceBitmapFormats
     9603
     9604inline LONG APIENTRY _GpiSetBitmapBits(HPS a, LONG b, LONG c, PBYTE d, BITMAPINFO2 *e)
    75809605{
    75819606 LONG yyrc;
     
    75889613}
    75899614
    7590 inline LONG APIENTRY GpiQueryPel(HPS a, PPOINTL b)
     9615#undef  GpiSetBitmapBits
     9616#define GpiSetBitmapBits _GpiSetBitmapBits
     9617
     9618inline LONG APIENTRY _GpiQueryPel(HPS a, PPOINTL b)
    75919619{
    75929620 LONG yyrc;
     
    75999627}
    76009628
    7601 inline BOOL APIENTRY GpiSetBitmapDimension(HBITMAP a, CONST SIZEL *b)
     9629#undef  GpiQueryPel
     9630#define GpiQueryPel _GpiQueryPel
     9631
     9632inline BOOL APIENTRY _GpiSetBitmapDimension(HBITMAP a, SIZEL *b)
    76029633{
    76039634 BOOL yyrc;
     
    76109641}
    76119642
    7612 inline BOOL APIENTRY GpiSetBitmapId(HPS a, HBITMAP b, LONG c)
     9643#undef  GpiSetBitmapDimension
     9644#define GpiSetBitmapDimension _GpiSetBitmapDimension
     9645
     9646inline BOOL APIENTRY _GpiSetBitmapId(HPS a, HBITMAP b, LONG c)
    76139647{
    76149648 BOOL yyrc;
     
    76219655}
    76229656
    7623 inline LONG APIENTRY GpiSetPel(HPS a, CONST POINTL *b)
     9657#undef  GpiSetBitmapId
     9658#define GpiSetBitmapId _GpiSetBitmapId
     9659
     9660inline LONG APIENTRY _GpiSetPel(HPS a, PPOINTL b)
    76249661{
    76259662 LONG yyrc;
     
    76319668    return yyrc;
    76329669}
     9670
     9671#undef  GpiSetPel
     9672#define GpiSetPel _GpiSetPel
    76339673
    76349674#endif
    76359675#ifdef INCL_GPICONTROL
    7636 inline BOOL APIENTRY GpiAssociate(HPS a, HDC b)
     9676inline BOOL APIENTRY _GpiAssociate(HPS a, HDC b)
    76379677{
    76389678 BOOL yyrc;
     
    76459685}
    76469686
    7647 inline HPS APIENTRY GpiCreatePS(HAB a, HDC b, PSIZEL c, ULONG d)
     9687#undef  GpiAssociate
     9688#define GpiAssociate _GpiAssociate
     9689
     9690inline HPS APIENTRY _GpiCreatePS(HAB a, HDC b, PSIZEL c, ULONG d)
    76489691{
    76499692 HPS yyrc;
     
    76569699}
    76579700
    7658 inline BOOL APIENTRY GpiDestroyPS(HPS a)
     9701#undef  GpiCreatePS
     9702#define GpiCreatePS _GpiCreatePS
     9703
     9704inline BOOL APIENTRY _GpiDestroyPS(HPS a)
    76599705{
    76609706 BOOL yyrc;
     
    76679713}
    76689714
    7669 inline BOOL APIENTRY GpiErase(HPS a)
     9715#undef  GpiDestroyPS
     9716#define GpiDestroyPS _GpiDestroyPS
     9717
     9718inline BOOL APIENTRY _GpiErase(HPS a)
    76709719{
    76719720 BOOL yyrc;
     
    76789727}
    76799728
    7680 inline HDC APIENTRY GpiQueryDevice(HPS a)
     9729#undef  GpiErase
     9730#define GpiErase _GpiErase
     9731
     9732inline HDC APIENTRY _GpiQueryDevice(HPS a)
    76819733{
    76829734 HDC yyrc;
     
    76899741}
    76909742
    7691 inline BOOL APIENTRY GpiRestorePS(HPS a, LONG b)
     9743#undef  GpiQueryDevice
     9744#define GpiQueryDevice _GpiQueryDevice
     9745
     9746inline BOOL APIENTRY _GpiRestorePS(HPS a, LONG b)
    76929747{
    76939748 BOOL yyrc;
     
    77009755}
    77019756
    7702 inline LONG APIENTRY GpiSavePS(HPS a)
     9757#undef  GpiRestorePS
     9758#define GpiRestorePS _GpiRestorePS
     9759
     9760inline LONG APIENTRY _GpiSavePS(HPS a)
    77039761{
    77049762 LONG yyrc;
     
    77119769}
    77129770
    7713 inline LONG APIENTRY GpiErrorSegmentData(HPS a, PLONG b, PLONG c)
     9771#undef  GpiSavePS
     9772#define GpiSavePS _GpiSavePS
     9773
     9774inline LONG APIENTRY _GpiErrorSegmentData(HPS a, PLONG b, PLONG c)
    77149775{
    77159776 LONG yyrc;
     
    77229783}
    77239784
    7724 inline LONG APIENTRY GpiQueryDrawControl(HPS a, LONG b)
     9785#undef  GpiErrorSegmentData
     9786#define GpiErrorSegmentData _GpiErrorSegmentData
     9787
     9788inline LONG APIENTRY _GpiQueryDrawControl(HPS a, LONG b)
    77259789{
    77269790 LONG yyrc;
     
    77339797}
    77349798
    7735 inline LONG APIENTRY GpiQueryDrawingMode(HPS a)
     9799#undef  GpiQueryDrawControl
     9800#define GpiQueryDrawControl _GpiQueryDrawControl
     9801
     9802inline LONG APIENTRY _GpiQueryDrawingMode(HPS a)
    77369803{
    77379804 LONG yyrc;
     
    77449811}
    77459812
    7746 inline ULONG APIENTRY GpiQueryPS(HPS a, PSIZEL b)
     9813#undef  GpiQueryDrawingMode
     9814#define GpiQueryDrawingMode _GpiQueryDrawingMode
     9815
     9816inline ULONG APIENTRY _GpiQueryPS(HPS a, PSIZEL b)
    77479817{
    77489818 ULONG yyrc;
     
    77559825}
    77569826
    7757 inline BOOL APIENTRY GpiResetPS(HPS a, ULONG b)
     9827#undef  GpiQueryPS
     9828#define GpiQueryPS _GpiQueryPS
     9829
     9830inline BOOL APIENTRY _GpiResetPS(HPS a, ULONG b)
    77589831{
    77599832 BOOL yyrc;
     
    77669839}
    77679840
    7768 inline LONG APIENTRY GpiQueryStopDraw(HPS a)
     9841#undef  GpiResetPS
     9842#define GpiResetPS _GpiResetPS
     9843
     9844inline LONG APIENTRY _GpiQueryStopDraw(HPS a)
    77699845{
    77709846 LONG yyrc;
     
    77779853}
    77789854
    7779 inline BOOL APIENTRY GpiSetDrawControl(HPS a, LONG b, LONG c)
     9855#undef  GpiQueryStopDraw
     9856#define GpiQueryStopDraw _GpiQueryStopDraw
     9857
     9858inline BOOL APIENTRY _GpiSetDrawControl(HPS a, LONG b, LONG c)
    77809859{
    77819860 BOOL yyrc;
     
    77889867}
    77899868
    7790 inline BOOL APIENTRY GpiSetDrawingMode(HPS a, LONG b)
     9869#undef  GpiSetDrawControl
     9870#define GpiSetDrawControl _GpiSetDrawControl
     9871
     9872inline BOOL APIENTRY _GpiSetDrawingMode(HPS a, LONG b)
    77919873{
    77929874 BOOL yyrc;
     
    77999881}
    78009882
    7801 inline BOOL APIENTRY GpiSetPS(HPS a, CONST SIZEL *b, ULONG c)
     9883#undef  GpiSetDrawingMode
     9884#define GpiSetDrawingMode _GpiSetDrawingMode
     9885
     9886inline BOOL APIENTRY _GpiSetPS(HPS a, SIZEL *b, ULONG c)
    78029887{
    78039888 BOOL yyrc;
     
    78109895}
    78119896
    7812 inline BOOL APIENTRY GpiSetStopDraw(HPS a, LONG b)
     9897#undef  GpiSetPS
     9898#define GpiSetPS _GpiSetPS
     9899
     9900inline BOOL APIENTRY _GpiSetStopDraw(HPS a, LONG b)
    78139901{
    78149902 BOOL yyrc;
     
    78209908    return yyrc;
    78219909}
     9910
     9911#undef  GpiSetStopDraw
     9912#define GpiSetStopDraw _GpiSetStopDraw
    78229913
    78239914#endif
    78249915#ifdef INCL_GPICORRELATION
    7825 inline LONG APIENTRY GpiCorrelateChain(HPS a, LONG b, CONST POINTL *c, LONG d, LONG e, PLONG f)
     9916inline LONG APIENTRY _GpiCorrelateChain(HPS a, LONG b, PPOINTL c, LONG d, LONG e, PLONG f)
    78269917{
    78279918 LONG yyrc;
     
    78349925}
    78359926
    7836 inline LONG APIENTRY GpiCorrelateFrom(HPS a, LONG b, LONG c, LONG d, CONST POINTL *e, LONG f, LONG g, PLONG h)
     9927#undef  GpiCorrelateChain
     9928#define GpiCorrelateChain _GpiCorrelateChain
     9929
     9930inline LONG APIENTRY _GpiCorrelateFrom(HPS a, LONG b, LONG c, LONG d, PPOINTL e, LONG f, LONG g, PLONG h)
    78379931{
    78389932 LONG yyrc;
     
    78459939}
    78469940
    7847 inline LONG APIENTRY GpiCorrelateSegment(HPS a, LONG b, LONG c, CONST POINTL *d, LONG e, LONG f, PLONG g)
     9941#undef  GpiCorrelateFrom
     9942#define GpiCorrelateFrom _GpiCorrelateFrom
     9943
     9944inline LONG APIENTRY _GpiCorrelateSegment(HPS a, LONG b, LONG c, PPOINTL d, LONG e, LONG f, PLONG g)
    78489945{
    78499946 LONG yyrc;
     
    78569953}
    78579954
    7858 inline BOOL APIENTRY GpiQueryBoundaryData(HPS a, PRECTL b)
     9955#undef  GpiCorrelateSegment
     9956#define GpiCorrelateSegment _GpiCorrelateSegment
     9957
     9958inline BOOL APIENTRY _GpiQueryBoundaryData(HPS a, PRECTL b)
    78599959{
    78609960 BOOL yyrc;
     
    78679967}
    78689968
    7869 inline BOOL APIENTRY GpiQueryPickAperturePosition(HPS a, PPOINTL b)
     9969#undef  GpiQueryBoundaryData
     9970#define GpiQueryBoundaryData _GpiQueryBoundaryData
     9971
     9972inline BOOL APIENTRY _GpiQueryPickAperturePosition(HPS a, PPOINTL b)
    78709973{
    78719974 BOOL yyrc;
     
    78789981}
    78799982
    7880 inline BOOL APIENTRY GpiQueryPickApertureSize(HPS a, PSIZEL b)
     9983#undef  GpiQueryPickAperturePosition
     9984#define GpiQueryPickAperturePosition _GpiQueryPickAperturePosition
     9985
     9986inline BOOL APIENTRY _GpiQueryPickApertureSize(HPS a, PSIZEL b)
    78819987{
    78829988 BOOL yyrc;
     
    78899995}
    78909996
    7891 inline BOOL APIENTRY GpiQueryTag(HPS a, PLONG b)
     9997#undef  GpiQueryPickApertureSize
     9998#define GpiQueryPickApertureSize _GpiQueryPickApertureSize
     9999
     10000inline BOOL APIENTRY _GpiQueryTag(HPS a, PLONG b)
    789210001{
    789310002 BOOL yyrc;
     
    790010009}
    790110010
    7902 inline BOOL APIENTRY GpiResetBoundaryData(HPS a)
     10011#undef  GpiQueryTag
     10012#define GpiQueryTag _GpiQueryTag
     10013
     10014inline BOOL APIENTRY _GpiResetBoundaryData(HPS a)
    790310015{
    790410016 BOOL yyrc;
     
    791110023}
    791210024
    7913 inline BOOL APIENTRY GpiSetPickAperturePosition(HPS a, CONST POINTL *b)
     10025#undef  GpiResetBoundaryData
     10026#define GpiResetBoundaryData _GpiResetBoundaryData
     10027
     10028inline BOOL APIENTRY _GpiSetPickAperturePosition(HPS a, PPOINTL b)
    791410029{
    791510030 BOOL yyrc;
     
    792210037}
    792310038
    7924 inline BOOL APIENTRY GpiSetPickApertureSize(HPS a, LONG b, CONST SIZEL *c)
     10039#undef  GpiSetPickAperturePosition
     10040#define GpiSetPickAperturePosition _GpiSetPickAperturePosition
     10041
     10042inline BOOL APIENTRY _GpiSetPickApertureSize(HPS a, LONG b, SIZEL *c)
    792510043{
    792610044 BOOL yyrc;
     
    793310051}
    793410052
    7935 inline BOOL APIENTRY GpiSetTag(HPS a, LONG b)
     10053#undef  GpiSetPickApertureSize
     10054#define GpiSetPickApertureSize _GpiSetPickApertureSize
     10055
     10056inline BOOL APIENTRY _GpiSetTag(HPS a, LONG b)
    793610057{
    793710058 BOOL yyrc;
     
    794310064    return yyrc;
    794410065}
     10066
     10067#undef  GpiSetTag
     10068#define GpiSetTag _GpiSetTag
    794510069
    794610070#endif
    794710071#ifdef INCL_GPIINK
    7948 inline BOOL APIENTRY GpiBeginInkPath(HPS a, LONG b, ULONG c)
     10072inline BOOL APIENTRY _GpiBeginInkPath(HPS a, LONG b, ULONG c)
    794910073{
    795010074 BOOL yyrc;
     
    795710081}
    795810082
    7959 inline BOOL APIENTRY GpiEndInkPath(HPS a, ULONG b)
     10083#undef  GpiBeginInkPath
     10084#define GpiBeginInkPath _GpiBeginInkPath
     10085
     10086inline BOOL APIENTRY _GpiEndInkPath(HPS a, ULONG b)
    796010087{
    796110088 BOOL yyrc;
     
    796810095}
    796910096
    7970 inline LONG APIENTRY GpiStrokeInkPath(HPS a, LONG b, LONG c, CONST POINTL *d, ULONG e)
     10097#undef  GpiEndInkPath
     10098#define GpiEndInkPath _GpiEndInkPath
     10099
     10100inline LONG APIENTRY _GpiStrokeInkPath(HPS a, LONG b, LONG c, PPOINTL d, ULONG e)
    797110101{
    797210102 LONG yyrc;
     
    797810108    return yyrc;
    797910109}
     10110
     10111#undef  GpiStrokeInkPath
     10112#define GpiStrokeInkPath _GpiStrokeInkPath
    798010113
    798110114#endif
    798210115#ifdef INCL_GPISEGMENTS
    7983 inline BOOL APIENTRY GpiCloseSegment(HPS a)
     10116inline BOOL APIENTRY _GpiCloseSegment(HPS a)
    798410117{
    798510118 BOOL yyrc;
     
    799210125}
    799310126
    7994 inline BOOL APIENTRY GpiDeleteSegment(HPS a, LONG b)
     10127#undef  GpiCloseSegment
     10128#define GpiCloseSegment _GpiCloseSegment
     10129
     10130inline BOOL APIENTRY _GpiDeleteSegment(HPS a, LONG b)
    799510131{
    799610132 BOOL yyrc;
     
    800310139}
    800410140
    8005 inline BOOL APIENTRY GpiDeleteSegments(HPS a, LONG b, LONG c)
     10141#undef  GpiDeleteSegment
     10142#define GpiDeleteSegment _GpiDeleteSegment
     10143
     10144inline BOOL APIENTRY _GpiDeleteSegments(HPS a, LONG b, LONG c)
    800610145{
    800710146 BOOL yyrc;
     
    801410153}
    801510154
    8016 inline BOOL APIENTRY GpiDrawChain(HPS a)
     10155#undef  GpiDeleteSegments
     10156#define GpiDeleteSegments _GpiDeleteSegments
     10157
     10158inline BOOL APIENTRY _GpiDrawChain(HPS a)
    801710159{
    801810160 BOOL yyrc;
     
    802510167}
    802610168
    8027 inline BOOL APIENTRY GpiDrawDynamics(HPS a)
     10169#undef  GpiDrawChain
     10170#define GpiDrawChain _GpiDrawChain
     10171
     10172inline BOOL APIENTRY _GpiDrawDynamics(HPS a)
    802810173{
    802910174 BOOL yyrc;
     
    803610181}
    803710182
    8038 inline BOOL APIENTRY GpiDrawFrom(HPS a, LONG b, LONG c)
     10183#undef  GpiDrawDynamics
     10184#define GpiDrawDynamics _GpiDrawDynamics
     10185
     10186inline BOOL APIENTRY _GpiDrawFrom(HPS a, LONG b, LONG c)
    803910187{
    804010188 BOOL yyrc;
     
    804710195}
    804810196
    8049 inline BOOL APIENTRY GpiDrawSegment(HPS a, LONG b)
     10197#undef  GpiDrawFrom
     10198#define GpiDrawFrom _GpiDrawFrom
     10199
     10200inline BOOL APIENTRY _GpiDrawSegment(HPS a, LONG b)
    805010201{
    805110202 BOOL yyrc;
     
    805810209}
    805910210
    8060 inline LONG APIENTRY GpiGetData(HPS a, LONG b, PLONG c, LONG d, LONG e, PBYTE f)
     10211#undef  GpiDrawSegment
     10212#define GpiDrawSegment _GpiDrawSegment
     10213
     10214inline LONG APIENTRY _GpiGetData(HPS a, LONG b, PLONG c, LONG d, LONG e, PBYTE f)
    806110215{
    806210216 LONG yyrc;
     
    806910223}
    807010224
    8071 inline BOOL APIENTRY GpiOpenSegment(HPS a, LONG b)
     10225#undef  GpiGetData
     10226#define GpiGetData _GpiGetData
     10227
     10228inline BOOL APIENTRY _GpiOpenSegment(HPS a, LONG b)
    807210229{
    807310230 BOOL yyrc;
     
    808010237}
    808110238
    8082 inline LONG APIENTRY GpiPutData(HPS a, LONG b, PLONG c, CONST BYTE *d)
     10239#undef  GpiOpenSegment
     10240#define GpiOpenSegment _GpiOpenSegment
     10241
     10242inline LONG APIENTRY _GpiPutData(HPS a, LONG b, PLONG c, PBYTE d)
    808310243{
    808410244 LONG yyrc;
     
    809110251}
    809210252
    8093 inline LONG APIENTRY GpiQueryInitialSegmentAttrs(HPS a, LONG b)
     10253#undef  GpiPutData
     10254#define GpiPutData _GpiPutData
     10255
     10256inline LONG APIENTRY _GpiQueryInitialSegmentAttrs(HPS a, LONG b)
    809410257{
    809510258 LONG yyrc;
     
    810210265}
    810310266
    8104 inline LONG APIENTRY GpiQuerySegmentAttrs(HPS a, LONG b, LONG c)
     10267#undef  GpiQueryInitialSegmentAttrs
     10268#define GpiQueryInitialSegmentAttrs _GpiQueryInitialSegmentAttrs
     10269
     10270inline LONG APIENTRY _GpiQuerySegmentAttrs(HPS a, LONG b, LONG c)
    810510271{
    810610272 LONG yyrc;
     
    811310279}
    811410280
    8115 inline LONG APIENTRY GpiQuerySegmentNames(HPS a, LONG b, LONG c, LONG d, PLONG e)
     10281#undef  GpiQuerySegmentAttrs
     10282#define GpiQuerySegmentAttrs _GpiQuerySegmentAttrs
     10283
     10284inline LONG APIENTRY _GpiQuerySegmentNames(HPS a, LONG b, LONG c, LONG d, PLONG e)
    811610285{
    811710286 LONG yyrc;
     
    812410293}
    812510294
    8126 inline LONG APIENTRY GpiQuerySegmentPriority(HPS a, LONG b, LONG c)
     10295#undef  GpiQuerySegmentNames
     10296#define GpiQuerySegmentNames _GpiQuerySegmentNames
     10297
     10298inline LONG APIENTRY _GpiQuerySegmentPriority(HPS a, LONG b, LONG c)
    812710299{
    812810300 LONG yyrc;
     
    813510307}
    813610308
    8137 inline BOOL APIENTRY GpiRemoveDynamics(HPS a, LONG b, LONG c)
     10309#undef  GpiQuerySegmentPriority
     10310#define GpiQuerySegmentPriority _GpiQuerySegmentPriority
     10311
     10312inline BOOL APIENTRY _GpiRemoveDynamics(HPS a, LONG b, LONG c)
    813810313{
    813910314 BOOL yyrc;
     
    814610321}
    814710322
    8148 inline BOOL APIENTRY GpiSetInitialSegmentAttrs(HPS a, LONG b, LONG c)
     10323#undef  GpiRemoveDynamics
     10324#define GpiRemoveDynamics _GpiRemoveDynamics
     10325
     10326inline BOOL APIENTRY _GpiSetInitialSegmentAttrs(HPS a, LONG b, LONG c)
    814910327{
    815010328 BOOL yyrc;
     
    815710335}
    815810336
    8159 inline BOOL APIENTRY GpiSetSegmentAttrs(HPS a, LONG b, LONG c, LONG d)
     10337#undef  GpiSetInitialSegmentAttrs
     10338#define GpiSetInitialSegmentAttrs _GpiSetInitialSegmentAttrs
     10339
     10340inline BOOL APIENTRY _GpiSetSegmentAttrs(HPS a, LONG b, LONG c, LONG d)
    816010341{
    816110342 BOOL yyrc;
     
    816810349}
    816910350
    8170 inline BOOL APIENTRY GpiSetSegmentPriority(HPS a, LONG b, LONG c, LONG d)
     10351#undef  GpiSetSegmentAttrs
     10352#define GpiSetSegmentAttrs _GpiSetSegmentAttrs
     10353
     10354inline BOOL APIENTRY _GpiSetSegmentPriority(HPS a, LONG b, LONG c, LONG d)
    817110355{
    817210356 BOOL yyrc;
     
    817910363}
    818010364
     10365#undef  GpiSetSegmentPriority
     10366#define GpiSetSegmentPriority _GpiSetSegmentPriority
     10367
    818110368#endif
    8182 inline HMF APIENTRY DevCloseDC(HDC a)
     10369#ifdef INCL_DEV
     10370inline LONG APIENTRY _DevEscape(HDC a, LONG b, LONG c, PBYTE d, PLONG e, PBYTE f)
     10371{
     10372 LONG yyrc;
     10373 USHORT sel = GetFS();
     10374
     10375    yyrc = DevEscape(a, b, c, d, e, f);
     10376    SetFS(sel);
     10377
     10378    return yyrc;
     10379}
     10380
     10381#undef  DevEscape
     10382#define DevEscape _DevEscape
     10383
     10384inline LONG APIENTRY _DevPostEscape(PCSZ a, PCSZ b, PCSZ c, PCSZ d, ULONG e, ULONG f, PBYTE g, ULONG h, PBYTE i)
     10385{
     10386 LONG yyrc;
     10387 USHORT sel = GetFS();
     10388
     10389    yyrc = DevPostEscape(a, b, c, d, e, f, g, h, i);
     10390    SetFS(sel);
     10391
     10392    return yyrc;
     10393}
     10394
     10395#undef  DevPostEscape
     10396#define DevPostEscape _DevPostEscape
     10397
     10398inline LONG APIENTRY _DevPostDeviceModes(HAB a, PDRIVDATA b, PCSZ c, PCSZ d, PCSZ e, ULONG f)
     10399{
     10400 LONG yyrc;
     10401 USHORT sel = GetFS();
     10402
     10403    yyrc = DevPostDeviceModes(a, b, c, d, e, f);
     10404    SetFS(sel);
     10405
     10406    return yyrc;
     10407}
     10408
     10409#undef  DevPostDeviceModes
     10410#define DevPostDeviceModes _DevPostDeviceModes
     10411
     10412inline BOOL APIENTRY _DevQueryDeviceNames(HAB a, PCSZ b, PLONG c, PSTR32 d, PSTR64 e, PLONG f, PSTR16 g)
     10413{
     10414 BOOL yyrc;
     10415 USHORT sel = GetFS();
     10416
     10417    yyrc = DevQueryDeviceNames(a, b, c, d, e, f, g);
     10418    SetFS(sel);
     10419
     10420    return yyrc;
     10421}
     10422
     10423#undef  DevQueryDeviceNames
     10424#define DevQueryDeviceNames _DevQueryDeviceNames
     10425
     10426inline LONG APIENTRY _DevQueryHardcopyCaps(HDC a, LONG b, LONG c, PHCINFO d)
     10427{
     10428 LONG yyrc;
     10429 USHORT sel = GetFS();
     10430
     10431    yyrc = DevQueryHardcopyCaps(a, b, c, d);
     10432    SetFS(sel);
     10433
     10434    return yyrc;
     10435}
     10436
     10437#undef  DevQueryHardcopyCaps
     10438#define DevQueryHardcopyCaps _DevQueryHardcopyCaps
     10439
     10440#endif
     10441inline HMF APIENTRY _DevCloseDC(HDC a)
    818310442{
    818410443 HMF yyrc;
     
    819110450}
    819210451
    8193 inline LONG APIENTRY DevEscape(HDC a, LONG b, LONG c, PBYTE d, PLONG e, PBYTE f)
    8194 {
    8195  LONG yyrc;
    8196  USHORT sel = GetFS();
    8197 
    8198     yyrc = DevEscape(a, b, c, d, e, f);
    8199     SetFS(sel);
    8200 
    8201     return yyrc;
    8202 }
    8203 
    8204 inline HDC APIENTRY DevOpenDC(HAB a, LONG b, PCSZ c, LONG d, PDEVOPENDATA e, HDC f)
     10452#undef  DevCloseDC
     10453#define DevCloseDC _DevCloseDC
     10454
     10455inline HDC APIENTRY _DevOpenDC(HAB a, LONG b, PCSZ c, LONG d, PDEVOPENDATA e, HDC f)
    820510456{
    820610457 HDC yyrc;
     
    821310464}
    821410465
    8215 inline LONG APIENTRY DevPostDeviceModes(HAB a, PDRIVDATA b, PCSZ c, PCSZ d, PCSZ e, ULONG f)
    8216 {
    8217  LONG yyrc;
    8218  USHORT sel = GetFS();
    8219 
    8220     yyrc = DevPostDeviceModes(a, b, c, d, e, f);
    8221     SetFS(sel);
    8222 
    8223     return yyrc;
    8224 }
    8225 
    8226 inline BOOL APIENTRY DevQueryCaps(HDC a, LONG b, LONG c, PLONG d)
     10466#undef  DevOpenDC
     10467#define DevOpenDC _DevOpenDC
     10468
     10469inline BOOL APIENTRY _DevQueryCaps(HDC a, LONG b, LONG c, PLONG d)
    822710470{
    822810471 BOOL yyrc;
     
    823510478}
    823610479
    8237 inline BOOL APIENTRY DevQueryDeviceNames(HAB a, PCSZ b, PLONG c, PSTR32 d, PSTR64 e, PLONG f, PSTR16 g)
    8238 {
    8239  BOOL yyrc;
    8240  USHORT sel = GetFS();
    8241 
    8242     yyrc = DevQueryDeviceNames(a, b, c, d, e, f, g);
    8243     SetFS(sel);
    8244 
    8245     return yyrc;
    8246 }
    8247 
    8248 inline LONG APIENTRY DevQueryHardcopyCaps(HDC a, LONG b, LONG c, PHCINFO d)
    8249 {
    8250  LONG yyrc;
    8251  USHORT sel = GetFS();
    8252 
    8253     yyrc = DevQueryHardcopyCaps(a, b, c, d);
    8254     SetFS(sel);
    8255 
    8256     return yyrc;
    8257 }
     10480#undef  DevQueryCaps
     10481#define DevQueryCaps _DevQueryCaps
    825810482
    825910483#endif
    826010484#ifdef INCL_WINPROGRAMLIST
    8261 inline HPROGRAM APIENTRY PrfAddProgram(HINI a, PPROGDETAILS b, HPROGRAM c)
     10485inline HPROGRAM APIENTRY _PrfAddProgram(HINI a, PPROGDETAILS b, HPROGRAM c)
    826210486{
    826310487 HPROGRAM yyrc;
     
    827010494}
    827110495
    8272 inline BOOL APIENTRY PrfChangeProgram(HINI a, HPROGRAM b, PPROGDETAILS c)
     10496#undef  PrfAddProgram
     10497#define PrfAddProgram _PrfAddProgram
     10498
     10499inline BOOL APIENTRY _PrfChangeProgram(HINI a, HPROGRAM b, PPROGDETAILS c)
    827310500{
    827410501 BOOL yyrc;
     
    828110508}
    828210509
    8283 inline HPROGRAM APIENTRY PrfCreateGroup(HINI a, PCSZ b, UCHAR c)
     10510#undef  PrfChangeProgram
     10511#define PrfChangeProgram _PrfChangeProgram
     10512
     10513inline HPROGRAM APIENTRY _PrfCreateGroup(HINI a, PCSZ b, UCHAR c)
    828410514{
    828510515 HPROGRAM yyrc;
     
    829210522}
    829310523
    8294 inline BOOL APIENTRY PrfDestroyGroup(HINI a, HPROGRAM b)
     10524#undef  PrfCreateGroup
     10525#define PrfCreateGroup _PrfCreateGroup
     10526
     10527inline BOOL APIENTRY _PrfDestroyGroup(HINI a, HPROGRAM b)
    829510528{
    829610529 BOOL yyrc;
     
    830310536}
    830410537
    8305 inline PROGCATEGORY APIENTRY PrfQueryProgramCategory(HINI a, PCSZ b)
     10538#undef  PrfDestroyGroup
     10539#define PrfDestroyGroup _PrfDestroyGroup
     10540
     10541inline PROGCATEGORY APIENTRY _PrfQueryProgramCategory(HINI a, PCSZ b)
    830610542{
    830710543 PROGCATEGORY yyrc;
     
    831410550}
    831510551
    8316 inline ULONG APIENTRY PrfQueryProgramHandle(HINI a, PCSZ b, PHPROGARRAY c, ULONG d, PULONG e)
     10552#undef  PrfQueryProgramCategory
     10553#define PrfQueryProgramCategory _PrfQueryProgramCategory
     10554
     10555inline ULONG APIENTRY _PrfQueryProgramHandle(HINI a, PCSZ b, PHPROGARRAY c, ULONG d, PULONG e)
    831710556{
    831810557 ULONG yyrc;
     
    832510564}
    832610565
    8327 inline ULONG APIENTRY PrfQueryProgramTitles(HINI a, HPROGRAM b, PPROGTITLE c, ULONG d, PULONG e)
     10566#undef  PrfQueryProgramHandle
     10567#define PrfQueryProgramHandle _PrfQueryProgramHandle
     10568
     10569inline ULONG APIENTRY _PrfQueryProgramTitles(HINI a, HPROGRAM b, PPROGTITLE c, ULONG d, PULONG e)
    832810570{
    832910571 ULONG yyrc;
     
    833610578}
    833710579
    8338 inline ULONG APIENTRY PrfQueryDefinition(HINI a, HPROGRAM b, PPROGDETAILS c, ULONG d)
     10580#undef  PrfQueryProgramTitles
     10581#define PrfQueryProgramTitles _PrfQueryProgramTitles
     10582
     10583inline ULONG APIENTRY _PrfQueryDefinition(HINI a, HPROGRAM b, PPROGDETAILS c, ULONG d)
    833910584{
    834010585 ULONG yyrc;
     
    834710592}
    834810593
    8349 inline BOOL APIENTRY PrfRemoveProgram(HINI a, HPROGRAM b)
     10594#undef  PrfQueryDefinition
     10595#define PrfQueryDefinition _PrfQueryDefinition
     10596
     10597inline BOOL APIENTRY _PrfRemoveProgram(HINI a, HPROGRAM b)
    835010598{
    835110599 BOOL yyrc;
     
    835810606}
    835910607
    8360 inline HAPP APIENTRY WinStartApp(HWND a, PPROGDETAILS b, PCSZ c, PVOID d, ULONG e)
     10608#undef  PrfRemoveProgram
     10609#define PrfRemoveProgram _PrfRemoveProgram
     10610
     10611inline HAPP APIENTRY _WinStartApp(HWND a, PPROGDETAILS b, PCSZ c, PVOID d, ULONG e)
    836110612{
    836210613 HAPP yyrc;
     
    836910620}
    837010621
    8371 inline BOOL APIENTRY WinTerminateApp(HAPP a)
     10622#undef  WinStartApp
     10623#define WinStartApp _WinStartApp
     10624
     10625inline BOOL APIENTRY _WinTerminateApp(HAPP a)
    837210626{
    837310627 BOOL yyrc;
     
    837910633    return yyrc;
    838010634}
     10635
     10636#undef  WinTerminateApp
     10637#define WinTerminateApp _WinTerminateApp
    838110638
    838210639#endif
    838310640#ifdef INCL_WINSWITCHLIST
    8384 inline HSWITCH APIENTRY WinAddSwitchEntry(CONST SWCNTRL *a)
     10641inline HSWITCH APIENTRY _WinAddSwitchEntry(PSWCNTRL a)
    838510642{
    838610643 HSWITCH yyrc;
     
    839310650}
    839410651
    8395 inline ULONG APIENTRY WinRemoveSwitchEntry(HSWITCH a)
     10652#undef  WinAddSwitchEntry
     10653#define WinAddSwitchEntry _WinAddSwitchEntry
     10654
     10655inline ULONG APIENTRY _WinRemoveSwitchEntry(HSWITCH a)
    839610656{
    839710657 ULONG yyrc;
     
    840410664}
    840510665
    8406 inline ULONG APIENTRY WinChangeSwitchEntry(HSWITCH a, CONST SWCNTRL *b)
     10666#undef  WinRemoveSwitchEntry
     10667#define WinRemoveSwitchEntry _WinRemoveSwitchEntry
     10668
     10669inline ULONG APIENTRY _WinChangeSwitchEntry(HSWITCH a, PSWCNTRL b)
    840710670{
    840810671 ULONG yyrc;
     
    841510678}
    841610679
    8417 inline HSWITCH APIENTRY WinCreateSwitchEntry(HAB a, CONST SWCNTRL *b)
     10680#undef  WinChangeSwitchEntry
     10681#define WinChangeSwitchEntry _WinChangeSwitchEntry
     10682
     10683inline HSWITCH APIENTRY _WinCreateSwitchEntry(HAB a, PSWCNTRL b)
    841810684{
    841910685 HSWITCH yyrc;
     
    842610692}
    842710693
    8428 inline ULONG APIENTRY WinQuerySessionTitle(HAB a, ULONG b, PSZ c, ULONG d)
     10694#undef  WinCreateSwitchEntry
     10695#define WinCreateSwitchEntry _WinCreateSwitchEntry
     10696
     10697inline ULONG APIENTRY _WinQuerySessionTitle(HAB a, ULONG b, PSZ c, ULONG d)
    842910698{
    843010699 ULONG yyrc;
     
    843710706}
    843810707
    8439 inline ULONG APIENTRY WinQuerySwitchEntry(HSWITCH a, PSWCNTRL b)
     10708#undef  WinQuerySessionTitle
     10709#define WinQuerySessionTitle _WinQuerySessionTitle
     10710
     10711inline ULONG APIENTRY _WinQuerySwitchEntry(HSWITCH a, PSWCNTRL b)
    844010712{
    844110713 ULONG yyrc;
     
    844810720}
    844910721
    8450 inline HSWITCH APIENTRY WinQuerySwitchHandle(HWND a, PID b)
     10722#undef  WinQuerySwitchEntry
     10723#define WinQuerySwitchEntry _WinQuerySwitchEntry
     10724
     10725inline HSWITCH APIENTRY _WinQuerySwitchHandle(HWND a, PID b)
    845110726{
    845210727 HSWITCH yyrc;
     
    845910734}
    846010735
    8461 inline ULONG APIENTRY WinQuerySwitchList(HAB a, PSWBLOCK b, ULONG c)
     10736#undef  WinQuerySwitchHandle
     10737#define WinQuerySwitchHandle _WinQuerySwitchHandle
     10738
     10739inline ULONG APIENTRY _WinQuerySwitchList(HAB a, PSWBLOCK b, ULONG c)
    846210740{
    846310741 ULONG yyrc;
     
    847010748}
    847110749
    8472 inline ULONG APIENTRY WinQueryTaskSizePos(HAB a, ULONG b, PSWP c)
     10750#undef  WinQuerySwitchList
     10751#define WinQuerySwitchList _WinQuerySwitchList
     10752
     10753inline ULONG APIENTRY _WinQueryTaskSizePos(HAB a, ULONG b, PSWP c)
    847310754{
    847410755 ULONG yyrc;
     
    848110762}
    848210763
    8483 inline ULONG APIENTRY WinQueryTaskTitle(ULONG a, PSZ b, ULONG c)
     10764#undef  WinQueryTaskSizePos
     10765#define WinQueryTaskSizePos _WinQueryTaskSizePos
     10766
     10767inline ULONG APIENTRY _WinQueryTaskTitle(ULONG a, PSZ b, ULONG c)
    848410768{
    848510769 ULONG yyrc;
     
    849210776}
    849310777
    8494 inline ULONG APIENTRY WinSwitchToProgram(HSWITCH a)
     10778#undef  WinQueryTaskTitle
     10779#define WinQueryTaskTitle _WinQueryTaskTitle
     10780
     10781inline ULONG APIENTRY _WinSwitchToProgram(HSWITCH a)
    849510782{
    849610783 ULONG yyrc;
     
    850210789    return yyrc;
    850310790}
     10791
     10792#undef  WinSwitchToProgram
     10793#define WinSwitchToProgram _WinSwitchToProgram
    850410794
    850510795#endif
    850610796#ifdef INCL_WINSHELLDATA
    8507 inline BOOL APIENTRY PrfCloseProfile(HINI a)
     10797inline BOOL APIENTRY _PrfCloseProfile(HINI a)
    850810798{
    850910799 BOOL yyrc;
     
    851610806}
    851710807
    8518 inline HINI APIENTRY PrfOpenProfile(HAB a, PCSZ b)
     10808#undef  PrfCloseProfile
     10809#define PrfCloseProfile _PrfCloseProfile
     10810
     10811inline HINI APIENTRY _PrfOpenProfile(HAB a, PCSZ b)
    851910812{
    852010813 HINI yyrc;
     
    852710820}
    852810821
    8529 inline BOOL APIENTRY PrfQueryProfile(HAB a, PPRFPROFILE b)
     10822#undef  PrfOpenProfile
     10823#define PrfOpenProfile _PrfOpenProfile
     10824
     10825inline BOOL APIENTRY _PrfQueryProfile(HAB a, PPRFPROFILE b)
    853010826{
    853110827 BOOL yyrc;
     
    853810834}
    853910835
    8540 inline BOOL APIENTRY PrfQueryProfileData(HINI a, PCSZ b, PCSZ c, PVOID d, PULONG e)
     10836#undef  PrfQueryProfile
     10837#define PrfQueryProfile _PrfQueryProfile
     10838
     10839inline BOOL APIENTRY _PrfQueryProfileData(HINI a, PCSZ b, PCSZ c, PVOID d, PULONG e)
    854110840{
    854210841 BOOL yyrc;
     
    854910848}
    855010849
    8551 inline LONG APIENTRY PrfQueryProfileInt(HINI a, PCSZ b, PCSZ c, LONG d)
     10850#undef  PrfQueryProfileData
     10851#define PrfQueryProfileData _PrfQueryProfileData
     10852
     10853inline LONG APIENTRY _PrfQueryProfileInt(HINI a, PCSZ b, PCSZ c, LONG d)
    855210854{
    855310855 LONG yyrc;
     
    856010862}
    856110863
    8562 inline BOOL APIENTRY PrfQueryProfileSize(HINI a, PCSZ b, PCSZ c, PULONG d)
     10864#undef  PrfQueryProfileInt
     10865#define PrfQueryProfileInt _PrfQueryProfileInt
     10866
     10867inline BOOL APIENTRY _PrfQueryProfileSize(HINI a, PCSZ b, PCSZ c, PULONG d)
    856310868{
    856410869 BOOL yyrc;
     
    857110876}
    857210877
    8573 inline ULONG APIENTRY PrfQueryProfileString(HINI a, PCSZ b, PCSZ c, PCSZ d, PVOID e, ULONG f)
     10878#undef  PrfQueryProfileSize
     10879#define PrfQueryProfileSize _PrfQueryProfileSize
     10880
     10881inline ULONG APIENTRY _PrfQueryProfileString(HINI a, PCSZ b, PCSZ c, PCSZ d, PVOID e, ULONG f)
    857410882{
    857510883 ULONG yyrc;
     
    858210890}
    858310891
    8584 inline BOOL APIENTRY PrfReset(HAB a, CONST PrfPROFILE *b)
     10892#undef  PrfQueryProfileString
     10893#define PrfQueryProfileString _PrfQueryProfileString
     10894
     10895inline BOOL APIENTRY _PrfReset(HAB a, PPRFPROFILE b)
    858510896{
    858610897 BOOL yyrc;
     
    859310904}
    859410905
    8595 inline BOOL APIENTRY PrfWriteProfileData(HINI a, PCSZ b, PCSZ c, PVOID d, ULONG e)
     10906#undef  PrfReset
     10907#define PrfReset _PrfReset
     10908
     10909inline BOOL APIENTRY _PrfWriteProfileData(HINI a, PCSZ b, PCSZ c, PVOID d, ULONG e)
    859610910{
    859710911 BOOL yyrc;
     
    860410918}
    860510919
    8606 inline BOOL APIENTRY PrfWriteProfileString(HINI a, PCSZ b, PCSZ c, PCSZ d)
     10920#undef  PrfWriteProfileData
     10921#define PrfWriteProfileData _PrfWriteProfileData
     10922
     10923inline BOOL APIENTRY _PrfWriteProfileString(HINI a, PCSZ b, PCSZ c, PCSZ d)
    860710924{
    860810925 BOOL yyrc;
     
    861410931    return yyrc;
    861510932}
     10933
     10934#undef  PrfWriteProfileString
     10935#define PrfWriteProfileString _PrfWriteProfileString
    861610936
    861710937#endif
    861810938#ifdef INCL_WINSTDFILE
    8619 inline MRESULT APIENTRY WinDefFileDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d)
     10939inline MRESULT APIENTRY _WinDefFileDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d)
    862010940{
    862110941 MRESULT yyrc;
     
    862810948}
    862910949
    8630 inline HWND APIENTRY WinFileDlg(HWND a, HWND b, PFILEDLG c)
     10950#undef  WinDefFileDlgProc
     10951#define WinDefFileDlgProc _WinDefFileDlgProc
     10952
     10953inline HWND APIENTRY _WinFileDlg(HWND a, HWND b, PFILEDLG c)
    863110954{
    863210955 HWND yyrc;
     
    863910962}
    864010963
    8641 inline BOOL APIENTRY WinFreeFileDlgList(PAPSZ a)
     10964#undef  WinFileDlg
     10965#define WinFileDlg _WinFileDlg
     10966
     10967inline BOOL APIENTRY _WinFreeFileDlgList(PAPSZ a)
    864210968{
    864310969 BOOL yyrc;
     
    864910975    return yyrc;
    865010976}
     10977
     10978#undef  WinFreeFileDlgList
     10979#define WinFreeFileDlgList _WinFreeFileDlgList
    865110980
    865210981#endif
    865310982#ifdef INCL_WINSTDFONT
    8654 inline HWND APIENTRY WinFontDlg(HWND a, HWND b, PFONTDLG c)
     10983inline HWND APIENTRY _WinFontDlg(HWND a, HWND b, PFONTDLG c)
    865510984{
    865610985 HWND yyrc;
     
    866310992}
    866410993
    8665 inline MRESULT APIENTRY WinDefFontDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d)
     10994#undef  WinFontDlg
     10995#define WinFontDlg _WinFontDlg
     10996
     10997inline MRESULT APIENTRY _WinDefFontDlgProc(HWND a, ULONG b, MPARAM c, MPARAM d)
    866610998{
    866710999 MRESULT yyrc;
     
    867311005    return yyrc;
    867411006}
     11007
     11008#undef  WinDefFontDlgProc
     11009#define WinDefFontDlgProc _WinDefFontDlgProc
    867511010
    867611011#endif
    867711012#ifdef INCL_WINSTDDRAG
    8678 inline BOOL APIENTRY DrgAcceptDroppedFiles(HWND a, PCSZ b, PCSZ c, ULONG d, ULONG e)
     11013inline BOOL APIENTRY _DrgAcceptDroppedFiles(HWND a, PCSZ b, PCSZ c, ULONG d, ULONG e)
    867911014{
    868011015 BOOL yyrc;
     
    868711022}
    868811023
    8689 inline BOOL APIENTRY DrgAccessDraginfo(PDRAGINFO a)
     11024#undef  DrgAcceptDroppedFiles
     11025#define DrgAcceptDroppedFiles _DrgAcceptDroppedFiles
     11026
     11027inline BOOL APIENTRY _DrgAccessDraginfo(PDRAGINFO a)
    869011028{
    869111029 BOOL yyrc;
     
    869811036}
    869911037
    8700 inline HSTR APIENTRY DrgAddStrHandle(PCSZ a)
     11038#undef  DrgAccessDraginfo
     11039#define DrgAccessDraginfo _DrgAccessDraginfo
     11040
     11041inline HSTR APIENTRY _DrgAddStrHandle(PCSZ a)
    870111042{
    870211043 HSTR yyrc;
     
    870911050}
    871011051
    8711 inline PDRAGINFO APIENTRY DrgAllocDraginfo(ULONG a)
     11052#undef  DrgAddStrHandle
     11053#define DrgAddStrHandle _DrgAddStrHandle
     11054
     11055inline PDRAGINFO APIENTRY _DrgAllocDraginfo(ULONG a)
    871211056{
    871311057 PDRAGINFO yyrc;
     
    872011064}
    872111065
    8722 inline PDRAGTRANSFER APIENTRY DrgAllocDragtransfer(ULONG a)
     11066#undef  DrgAllocDraginfo
     11067#define DrgAllocDraginfo _DrgAllocDraginfo
     11068
     11069inline PDRAGTRANSFER APIENTRY _DrgAllocDragtransfer(ULONG a)
    872311070{
    872411071 PDRAGTRANSFER yyrc;
     
    873111078}
    873211079
    8733 inline BOOL APIENTRY DrgCancelLazyDrag()
     11080#undef  DrgAllocDragtransfer
     11081#define DrgAllocDragtransfer _DrgAllocDragtransfer
     11082
     11083inline BOOL APIENTRY _DrgCancelLazyDrag()
    873411084{
    873511085 BOOL yyrc;
     
    874211092}
    874311093
    8744 inline BOOL APIENTRY DrgDeleteDraginfoStrHandles(PDRAGINFO a)
     11094#undef  DrgCancelLazyDrag
     11095#define DrgCancelLazyDrag _DrgCancelLazyDrag
     11096
     11097inline BOOL APIENTRY _DrgDeleteDraginfoStrHandles(PDRAGINFO a)
    874511098{
    874611099 BOOL yyrc;
     
    875311106}
    875411107
    8755 inline BOOL APIENTRY DrgDeleteStrHandle(HSTR a)
     11108#undef  DrgDeleteDraginfoStrHandles
     11109#define DrgDeleteDraginfoStrHandles _DrgDeleteDraginfoStrHandles
     11110
     11111inline BOOL APIENTRY _DrgDeleteStrHandle(HSTR a)
    875611112{
    875711113 BOOL yyrc;
     
    876411120}
    876511121
    8766 inline HWND APIENTRY DrgDrag(HWND a, PDRAGINFO b, PDRAGIMAGE c, ULONG d, LONG e, PVOID f)
     11122#undef  DrgDeleteStrHandle
     11123#define DrgDeleteStrHandle _DrgDeleteStrHandle
     11124
     11125inline HWND APIENTRY _DrgDrag(HWND a, PDRAGINFO b, PDRAGIMAGE c, ULONG d, LONG e, PVOID f)
    876711126{
    876811127 HWND yyrc;
     
    877511134}
    877611135
    8777 inline BOOL APIENTRY DrgDragFiles(HWND a, PSZ *b, PSZ *c, PSZ *d, ULONG e, HPOINTER f, ULONG g, BOOL h, ULONG i)
     11136#undef  DrgDrag
     11137#define DrgDrag _DrgDrag
     11138
     11139inline BOOL APIENTRY _DrgDragFiles(HWND a, PCSZ *b, PCSZ *c, PCSZ *d, ULONG e, HPOINTER f, ULONG g, BOOL h, ULONG i)
    877811140{
    877911141 BOOL yyrc;
     
    878611148}
    878711149
    8788 inline BOOL APIENTRY DrgFreeDraginfo(PDRAGINFO a)
     11150#undef  DrgDragFiles
     11151#define DrgDragFiles _DrgDragFiles
     11152
     11153inline BOOL APIENTRY _DrgFreeDraginfo(PDRAGINFO a)
    878911154{
    879011155 BOOL yyrc;
     
    879711162}
    879811163
    8799 inline BOOL APIENTRY DrgFreeDragtransfer(PDRAGTRANSFER a)
     11164#undef  DrgFreeDraginfo
     11165#define DrgFreeDraginfo _DrgFreeDraginfo
     11166
     11167inline BOOL APIENTRY _DrgFreeDragtransfer(PDRAGTRANSFER a)
    880011168{
    880111169 BOOL yyrc;
     
    880811176}
    880911177
    8810 inline HPS APIENTRY DrgGetPS(HWND a)
     11178#undef  DrgFreeDragtransfer
     11179#define DrgFreeDragtransfer _DrgFreeDragtransfer
     11180
     11181inline HPS APIENTRY _DrgGetPS(HWND a)
    881111182{
    881211183 HPS yyrc;
     
    881911190}
    882011191
    8821 inline BOOL APIENTRY DrgLazyDrag(HWND a, PDRAGINFO b, PDRAGIMAGE c, ULONG d, PVOID e)
     11192#undef  DrgGetPS
     11193#define DrgGetPS _DrgGetPS
     11194
     11195inline BOOL APIENTRY _DrgLazyDrag(HWND a, PDRAGINFO b, PDRAGIMAGE c, ULONG d, PVOID e)
    882211196{
    882311197 BOOL yyrc;
     
    883011204}
    883111205
    8832 inline BOOL APIENTRY DrgLazyDrop(HWND a, ULONG b, PPOINTL c)
     11206#undef  DrgLazyDrag
     11207#define DrgLazyDrag _DrgLazyDrag
     11208
     11209inline BOOL APIENTRY _DrgLazyDrop(HWND a, ULONG b, PPOINTL c)
    883311210{
    883411211 BOOL yyrc;
     
    884111218}
    884211219
    8843 inline BOOL APIENTRY DrgPostTransferMsg(HWND a, ULONG b, PDRAGTRANSFER c, ULONG d, ULONG e, BOOL f)
     11220#undef  DrgLazyDrop
     11221#define DrgLazyDrop _DrgLazyDrop
     11222
     11223inline BOOL APIENTRY _DrgPostTransferMsg(HWND a, ULONG b, PDRAGTRANSFER c, ULONG d, ULONG e, BOOL f)
    884411224{
    884511225 BOOL yyrc;
     
    885211232}
    885311233
    8854 inline BOOL APIENTRY DrgPushDraginfo(PDRAGINFO a, HWND b)
     11234#undef  DrgPostTransferMsg
     11235#define DrgPostTransferMsg _DrgPostTransferMsg
     11236
     11237inline BOOL APIENTRY _DrgPushDraginfo(PDRAGINFO a, HWND b)
    885511238{
    885611239 BOOL yyrc;
     
    886311246}
    886411247
    8865 inline PDRAGINFO APIENTRY DrgQueryDraginfoPtr(PDRAGINFO a)
     11248#undef  DrgPushDraginfo
     11249#define DrgPushDraginfo _DrgPushDraginfo
     11250
     11251inline PDRAGINFO APIENTRY _DrgQueryDraginfoPtr(PDRAGINFO a)
    886611252{
    886711253 PDRAGINFO yyrc;
     
    887411260}
    887511261
    8876 inline PDRAGINFO APIENTRY DrgQueryDraginfoPtrFromHwnd(HWND a)
     11262#undef  DrgQueryDraginfoPtr
     11263#define DrgQueryDraginfoPtr _DrgQueryDraginfoPtr
     11264
     11265inline PDRAGINFO APIENTRY _DrgQueryDraginfoPtrFromHwnd(HWND a)
    887711266{
    887811267 PDRAGINFO yyrc;
     
    888511274}
    888611275
    8887 inline PDRAGINFO APIENTRY DrgQueryDraginfoPtrFromDragitem(CONST DRAGITEM *a)
     11276#undef  DrgQueryDraginfoPtrFromHwnd
     11277#define DrgQueryDraginfoPtrFromHwnd _DrgQueryDraginfoPtrFromHwnd
     11278
     11279inline PDRAGINFO APIENTRY _DrgQueryDraginfoPtrFromDragitem(PDRAGITEM a)
    888811280{
    888911281 PDRAGINFO yyrc;
     
    889611288}
    889711289
    8898 inline BOOL APIENTRY DrgQueryDragitem(PDRAGINFO a, ULONG b, PDRAGITEM c, ULONG d)
     11290#undef  DrgQueryDraginfoPtrFromDragitem
     11291#define DrgQueryDraginfoPtrFromDragitem _DrgQueryDraginfoPtrFromDragitem
     11292
     11293inline BOOL APIENTRY _DrgQueryDragitem(PDRAGINFO a, ULONG b, PDRAGITEM c, ULONG d)
    889911294{
    890011295 BOOL yyrc;
     
    890711302}
    890811303
    8909 inline ULONG APIENTRY DrgQueryDragitemCount(PDRAGINFO a)
     11304#undef  DrgQueryDragitem
     11305#define DrgQueryDragitem _DrgQueryDragitem
     11306
     11307inline ULONG APIENTRY _DrgQueryDragitemCount(PDRAGINFO a)
    891011308{
    891111309 ULONG yyrc;
     
    891811316}
    891911317
    8920 inline PDRAGITEM APIENTRY DrgQueryDragitemPtr(PDRAGINFO a, ULONG b)
     11318#undef  DrgQueryDragitemCount
     11319#define DrgQueryDragitemCount _DrgQueryDragitemCount
     11320
     11321inline PDRAGITEM APIENTRY _DrgQueryDragitemPtr(PDRAGINFO a, ULONG b)
    892111322{
    892211323 PDRAGITEM yyrc;
     
    892911330}
    893011331
    8931 inline ULONG APIENTRY DrgQueryDragStatus()
     11332#undef  DrgQueryDragitemPtr
     11333#define DrgQueryDragitemPtr _DrgQueryDragitemPtr
     11334
     11335inline ULONG APIENTRY _DrgQueryDragStatus()
    893211336{
    893311337 ULONG yyrc;
     
    894011344}
    894111345
    8942 inline BOOL APIENTRY DrgQueryNativeRMF(PDRAGITEM a, ULONG b, PCHAR c)
     11346#undef  DrgQueryDragStatus
     11347#define DrgQueryDragStatus _DrgQueryDragStatus
     11348
     11349inline BOOL APIENTRY _DrgQueryNativeRMF(PDRAGITEM a, ULONG b, PCHAR c)
    894311350{
    894411351 BOOL yyrc;
     
    895111358}
    895211359
    8953 inline ULONG APIENTRY DrgQueryNativeRMFLen(PDRAGITEM a)
     11360#undef  DrgQueryNativeRMF
     11361#define DrgQueryNativeRMF _DrgQueryNativeRMF
     11362
     11363inline ULONG APIENTRY _DrgQueryNativeRMFLen(PDRAGITEM a)
    895411364{
    895511365 ULONG yyrc;
     
    896211372}
    896311373
    8964 inline ULONG APIENTRY DrgQueryStrName(HSTR a, ULONG b, PSZ c)
     11374#undef  DrgQueryNativeRMFLen
     11375#define DrgQueryNativeRMFLen _DrgQueryNativeRMFLen
     11376
     11377inline ULONG APIENTRY _DrgQueryStrName(HSTR a, ULONG b, PSZ c)
    896511378{
    896611379 ULONG yyrc;
     
    897311386}
    897411387
    8975 inline ULONG APIENTRY DrgQueryStrNameLen(HSTR a)
     11388#undef  DrgQueryStrName
     11389#define DrgQueryStrName _DrgQueryStrName
     11390
     11391inline ULONG APIENTRY _DrgQueryStrNameLen(HSTR a)
    897611392{
    897711393 ULONG yyrc;
     
    898411400}
    898511401
    8986 inline BOOL APIENTRY DrgQueryTrueType(PDRAGITEM a, ULONG b, PSZ c)
     11402#undef  DrgQueryStrNameLen
     11403#define DrgQueryStrNameLen _DrgQueryStrNameLen
     11404
     11405inline BOOL APIENTRY _DrgQueryTrueType(PDRAGITEM a, ULONG b, PSZ c)
    898711406{
    898811407 BOOL yyrc;
     
    899511414}
    899611415
    8997 inline ULONG APIENTRY DrgQueryTrueTypeLen(PDRAGITEM a)
     11416#undef  DrgQueryTrueType
     11417#define DrgQueryTrueType _DrgQueryTrueType
     11418
     11419inline ULONG APIENTRY _DrgQueryTrueTypeLen(PDRAGITEM a)
    899811420{
    899911421 ULONG yyrc;
     
    900611428}
    900711429
    9008 inline PDRAGINFO APIENTRY DrgReallocDraginfo(PDRAGINFO a, ULONG b)
     11430#undef  DrgQueryTrueTypeLen
     11431#define DrgQueryTrueTypeLen _DrgQueryTrueTypeLen
     11432
     11433inline PDRAGINFO APIENTRY _DrgReallocDraginfo(PDRAGINFO a, ULONG b)
    900911434{
    901011435 PDRAGINFO yyrc;
     
    901711442}
    901811443
    9019 inline BOOL APIENTRY DrgReleasePS(HPS a)
     11444#undef  DrgReallocDraginfo
     11445#define DrgReallocDraginfo _DrgReallocDraginfo
     11446
     11447inline BOOL APIENTRY _DrgReleasePS(HPS a)
    902011448{
    902111449 BOOL yyrc;
     
    902811456}
    902911457
    9030 inline MRESULT APIENTRY DrgSendTransferMsg(HWND a, ULONG b, MPARAM c, MPARAM d)
     11458#undef  DrgReleasePS
     11459#define DrgReleasePS _DrgReleasePS
     11460
     11461inline MRESULT APIENTRY _DrgSendTransferMsg(HWND a, ULONG b, MPARAM c, MPARAM d)
    903111462{
    903211463 MRESULT yyrc;
     
    903911470}
    904011471
    9041 inline BOOL APIENTRY DrgSetDragImage(PDRAGINFO a, PDRAGIMAGE b, ULONG c, PVOID d)
     11472#undef  DrgSendTransferMsg
     11473#define DrgSendTransferMsg _DrgSendTransferMsg
     11474
     11475inline BOOL APIENTRY _DrgSetDragImage(PDRAGINFO a, PDRAGIMAGE b, ULONG c, PVOID d)
    904211476{
    904311477 BOOL yyrc;
     
    905011484}
    905111485
    9052 inline BOOL APIENTRY DrgSetDragitem(PDRAGINFO a, PDRAGITEM b, ULONG c, ULONG d)
     11486#undef  DrgSetDragImage
     11487#define DrgSetDragImage _DrgSetDragImage
     11488
     11489inline BOOL APIENTRY _DrgSetDragitem(PDRAGINFO a, PDRAGITEM b, ULONG c, ULONG d)
    905311490{
    905411491 BOOL yyrc;
     
    906111498}
    906211499
    9063 inline BOOL APIENTRY DrgSetDragPointer(PDRAGINFO a, HPOINTER b)
     11500#undef  DrgSetDragitem
     11501#define DrgSetDragitem _DrgSetDragitem
     11502
     11503inline BOOL APIENTRY _DrgSetDragPointer(PDRAGINFO a, HPOINTER b)
    906411504{
    906511505 BOOL yyrc;
     
    907211512}
    907311513
    9074 inline BOOL APIENTRY DrgVerifyNativeRMF(PDRAGITEM a, PCSZ b)
     11514#undef  DrgSetDragPointer
     11515#define DrgSetDragPointer _DrgSetDragPointer
     11516
     11517inline BOOL APIENTRY _DrgVerifyNativeRMF(PDRAGITEM a, PCSZ b)
    907511518{
    907611519 BOOL yyrc;
     
    908311526}
    908411527
    9085 inline BOOL APIENTRY DrgVerifyRMF(PDRAGITEM a, PCSZ b, PCSZ c)
     11528#undef  DrgVerifyNativeRMF
     11529#define DrgVerifyNativeRMF _DrgVerifyNativeRMF
     11530
     11531inline BOOL APIENTRY _DrgVerifyRMF(PDRAGITEM a, PCSZ b, PCSZ c)
    908611532{
    908711533 BOOL yyrc;
     
    909411540}
    909511541
    9096 inline BOOL APIENTRY DrgVerifyTrueType(PDRAGITEM a, PCSZ b)
     11542#undef  DrgVerifyRMF
     11543#define DrgVerifyRMF _DrgVerifyRMF
     11544
     11545inline BOOL APIENTRY _DrgVerifyTrueType(PDRAGITEM a, PCSZ b)
    909711546{
    909811547 BOOL yyrc;
     
    910511554}
    910611555
    9107 inline BOOL APIENTRY DrgVerifyType(PDRAGITEM a, PCSZ b)
     11556#undef  DrgVerifyTrueType
     11557#define DrgVerifyTrueType _DrgVerifyTrueType
     11558
     11559inline BOOL APIENTRY _DrgVerifyType(PDRAGITEM a, PCSZ b)
    910811560{
    910911561 BOOL yyrc;
     
    911611568}
    911711569
    9118 inline BOOL APIENTRY DrgVerifyTypeSet(PDRAGITEM a, PCSZ b, ULONG c, PSZ d)
     11570#undef  DrgVerifyType
     11571#define DrgVerifyType _DrgVerifyType
     11572
     11573inline BOOL APIENTRY _DrgVerifyTypeSet(PDRAGITEM a, PCSZ b, ULONG c, PSZ d)
    911911574{
    912011575 BOOL yyrc;
     
    912611581    return yyrc;
    912711582}
     11583
     11584#undef  DrgVerifyTypeSet
     11585#define DrgVerifyTypeSet _DrgVerifyTypeSet
    912811586
    912911587#endif
    913011588#ifdef INCL_WPCLASS
    9131 inline HOBJECT APIENTRY WinCopyObject(HOBJECT a, HOBJECT b, ULONG c)
     11589inline HOBJECT APIENTRY _WinCopyObject(HOBJECT a, HOBJECT b, ULONG c)
    913211590{
    913311591 HOBJECT yyrc;
     
    914011598}
    914111599
    9142 inline HOBJECT APIENTRY WinCreateObject(PCSZ a, PCSZ b, PCSZ c, PCSZ d, ULONG e)
     11600#undef  WinCopyObject
     11601#define WinCopyObject _WinCopyObject
     11602
     11603inline HOBJECT APIENTRY _WinCreateObject(PCSZ a, PCSZ b, PCSZ c, PCSZ d, ULONG e)
    914311604{
    914411605 HOBJECT yyrc;
     
    915111612}
    915211613
    9153 inline HOBJECT APIENTRY WinCreateShadow(HOBJECT a, HOBJECT b, ULONG c)
     11614#undef  WinCreateObject
     11615#define WinCreateObject _WinCreateObject
     11616
     11617inline HOBJECT APIENTRY _WinCreateShadow(HOBJECT a, HOBJECT b, ULONG c)
    915411618{
    915511619 HOBJECT yyrc;
     
    916211626}
    916311627
    9164 inline BOOL APIENTRY WinDeregisterObjectClass(PCSZ a)
     11628#undef  WinCreateShadow
     11629#define WinCreateShadow _WinCreateShadow
     11630
     11631inline BOOL APIENTRY _WinDeregisterObjectClass(PCSZ a)
    916511632{
    916611633 BOOL yyrc;
     
    917311640}
    917411641
    9175 inline BOOL APIENTRY WinDestroyObject(HOBJECT a)
     11642#undef  WinDeregisterObjectClass
     11643#define WinDeregisterObjectClass _WinDeregisterObjectClass
     11644
     11645inline BOOL APIENTRY _WinDestroyObject(HOBJECT a)
    917611646{
    917711647 BOOL yyrc;
     
    918411654}
    918511655
    9186 inline BOOL APIENTRY WinEnumObjectClasses(POBJCLASS a, PULONG b)
     11656#undef  WinDestroyObject
     11657#define WinDestroyObject _WinDestroyObject
     11658
     11659inline BOOL APIENTRY _WinEnumObjectClasses(POBJCLASS a, PULONG b)
    918711660{
    918811661 BOOL yyrc;
     
    919511668}
    919611669
    9197 inline BOOL APIENTRY WinIsSOMDDReady()
     11670#undef  WinEnumObjectClasses
     11671#define WinEnumObjectClasses _WinEnumObjectClasses
     11672
     11673inline BOOL APIENTRY _WinIsSOMDDReady()
    919811674{
    919911675 BOOL yyrc;
     
    920611682}
    920711683
    9208 inline BOOL APIENTRY WinIsWPDServerReady()
     11684#undef  WinIsSOMDDReady
     11685#define WinIsSOMDDReady _WinIsSOMDDReady
     11686
     11687inline BOOL APIENTRY _WinIsWPDServerReady()
    920911688{
    921011689 BOOL yyrc;
     
    921711696}
    921811697
    9219 inline HOBJECT APIENTRY WinMoveObject(HOBJECT a, HOBJECT b, ULONG c)
     11698#undef  WinIsWPDServerReady
     11699#define WinIsWPDServerReady _WinIsWPDServerReady
     11700
     11701inline HOBJECT APIENTRY _WinMoveObject(HOBJECT a, HOBJECT b, ULONG c)
    922011702{
    922111703 HOBJECT yyrc;
     
    922811710}
    922911711
    9230 inline BOOL APIENTRY WinOpenObject(HOBJECT a, ULONG b, BOOL c)
     11712#undef  WinMoveObject
     11713#define WinMoveObject _WinMoveObject
     11714
     11715inline BOOL APIENTRY _WinOpenObject(HOBJECT a, ULONG b, BOOL c)
    923111716{
    923211717 BOOL yyrc;
     
    923911724}
    924011725
    9241 inline BOOL APIENTRY WinQueryActiveDesktopPathname(PSZ a, ULONG b)
     11726#undef  WinOpenObject
     11727#define WinOpenObject _WinOpenObject
     11728
     11729inline BOOL APIENTRY _WinQueryActiveDesktopPathname(PSZ a, ULONG b)
    924211730{
    924311731 BOOL yyrc;
     
    925011738}
    925111739
    9252 inline HOBJECT APIENTRY WinQueryObject(PCSZ a)
     11740#undef  WinQueryActiveDesktopPathname
     11741#define WinQueryActiveDesktopPathname _WinQueryActiveDesktopPathname
     11742
     11743inline HOBJECT APIENTRY _WinQueryObject(PCSZ a)
    925311744{
    925411745 HOBJECT yyrc;
     
    926111752}
    926211753
    9263 inline BOOL APIENTRY WinQueryObjectPath(HOBJECT a, PSZ b, ULONG c)
     11754#undef  WinQueryObject
     11755#define WinQueryObject _WinQueryObject
     11756
     11757inline BOOL APIENTRY _WinQueryObjectPath(HOBJECT a, PSZ b, ULONG c)
    926411758{
    926511759 BOOL yyrc;
     
    927211766}
    927311767
    9274 inline BOOL APIENTRY WinRegisterObjectClass(PCSZ a, PCSZ b)
     11768#undef  WinQueryObjectPath
     11769#define WinQueryObjectPath _WinQueryObjectPath
     11770
     11771inline BOOL APIENTRY _WinRegisterObjectClass(PCSZ a, PCSZ b)
    927511772{
    927611773 BOOL yyrc;
     
    928311780}
    928411781
    9285 inline BOOL APIENTRY WinReplaceObjectClass(PCSZ a, PCSZ b, BOOL c)
     11782#undef  WinRegisterObjectClass
     11783#define WinRegisterObjectClass _WinRegisterObjectClass
     11784
     11785inline BOOL APIENTRY _WinReplaceObjectClass(PCSZ a, PCSZ b, BOOL c)
    928611786{
    928711787 BOOL yyrc;
     
    929411794}
    929511795
    9296 inline ULONG APIENTRY WinRestartSOMDD(BOOL a)
     11796#undef  WinReplaceObjectClass
     11797#define WinReplaceObjectClass _WinReplaceObjectClass
     11798
     11799inline ULONG APIENTRY _WinRestartSOMDD(BOOL a)
    929711800{
    929811801 ULONG yyrc;
     
    930511808}
    930611809
    9307 inline ULONG APIENTRY WinRestartWPDServer(BOOL a)
     11810#undef  WinRestartSOMDD
     11811#define WinRestartSOMDD _WinRestartSOMDD
     11812
     11813inline ULONG APIENTRY _WinRestartWPDServer(BOOL a)
    930811814{
    930911815 ULONG yyrc;
     
    931611822}
    931711823
    9318 inline BOOL APIENTRY WinSaveObject(HOBJECT a, BOOL b)
     11824#undef  WinRestartWPDServer
     11825#define WinRestartWPDServer _WinRestartWPDServer
     11826
     11827inline BOOL APIENTRY _WinSaveObject(HOBJECT a, BOOL b)
    931911828{
    932011829 BOOL yyrc;
     
    932711836}
    932811837
    9329 inline BOOL APIENTRY WinSetObjectData(HOBJECT a, PCSZ b)
     11838#undef  WinSaveObject
     11839#define WinSaveObject _WinSaveObject
     11840
     11841inline BOOL APIENTRY _WinSetObjectData(HOBJECT a, PCSZ b)
    933011842{
    933111843 BOOL yyrc;
     
    933811850}
    933911851
    9340 inline BOOL APIENTRY WinFreeFileIcon(HPOINTER a)
     11852#undef  WinSetObjectData
     11853#define WinSetObjectData _WinSetObjectData
     11854
     11855inline BOOL APIENTRY _WinFreeFileIcon(HPOINTER a)
    934111856{
    934211857 BOOL yyrc;
     
    934911864}
    935011865
    9351 inline HPOINTER APIENTRY WinLoadFileIcon(PCSZ a, BOOL b)
     11866#undef  WinFreeFileIcon
     11867#define WinFreeFileIcon _WinFreeFileIcon
     11868
     11869inline HPOINTER APIENTRY _WinLoadFileIcon(PCSZ a, BOOL b)
    935211870{
    935311871 HPOINTER yyrc;
     
    936011878}
    936111879
    9362 inline BOOL APIENTRY WinRestoreWindowPos(PCSZ a, PCSZ b, HWND c)
     11880#undef  WinLoadFileIcon
     11881#define WinLoadFileIcon _WinLoadFileIcon
     11882
     11883inline BOOL APIENTRY _WinRestoreWindowPos(PCSZ a, PCSZ b, HWND c)
    936311884{
    936411885 BOOL yyrc;
     
    937111892}
    937211893
    9373 inline BOOL APIENTRY WinSetFileIcon(PCSZ a, CONST ICONINFO *b)
     11894#undef  WinRestoreWindowPos
     11895#define WinRestoreWindowPos _WinRestoreWindowPos
     11896
     11897inline BOOL APIENTRY _WinSetFileIcon(PCSZ a, PICONINFO b)
    937411898{
    937511899 BOOL yyrc;
     
    938211906}
    938311907
    9384 inline BOOL APIENTRY WinShutdownSystem(HAB a, HMQ b)
     11908#undef  WinSetFileIcon
     11909#define WinSetFileIcon _WinSetFileIcon
     11910
     11911inline BOOL APIENTRY _WinShutdownSystem(HAB a, HMQ b)
    938511912{
    938611913 BOOL yyrc;
     
    939311920}
    939411921
    9395 inline BOOL APIENTRY WinStoreWindowPos(PCSZ a, PCSZ b, HWND c)
     11922#undef  WinShutdownSystem
     11923#define WinShutdownSystem _WinShutdownSystem
     11924
     11925inline BOOL APIENTRY _WinStoreWindowPos(PCSZ a, PCSZ b, HWND c)
    939611926{
    939711927 BOOL yyrc;
     
    940311933    return yyrc;
    940411934}
     11935
     11936#undef  WinStoreWindowPos
     11937#define WinStoreWindowPos _WinStoreWindowPos
    940511938
    940611939#endif
    940711940#ifdef INCL_SPL
    9408 inline BOOL APIENTRY SplStdClose(HDC a)
     11941inline BOOL APIENTRY _SplStdClose(HDC a)
    940911942{
    941011943 BOOL yyrc;
     
    941711950}
    941811951
    9419 inline BOOL APIENTRY SplStdDelete(HSTD a)
     11952#undef  SplStdClose
     11953#define SplStdClose _SplStdClose
     11954
     11955inline BOOL APIENTRY _SplStdDelete(HSTD a)
    942011956{
    942111957 BOOL yyrc;
     
    942811964}
    942911965
    9430 inline BOOL APIENTRY SplStdGetBits(HSTD a, LONG b, LONG c, PCH d)
     11966#undef  SplStdDelete
     11967#define SplStdDelete _SplStdDelete
     11968
     11969inline BOOL APIENTRY _SplStdGetBits(HSTD a, LONG b, LONG c, PCH d)
    943111970{
    943211971 BOOL yyrc;
     
    943911978}
    944011979
    9441 inline BOOL APIENTRY SplStdOpen(HDC a)
     11980#undef  SplStdGetBits
     11981#define SplStdGetBits _SplStdGetBits
     11982
     11983inline BOOL APIENTRY _SplStdOpen(HDC a)
    944211984{
    944311985 BOOL yyrc;
     
    945011992}
    945111993
    9452 inline LONG APIENTRY SplStdQueryLength(HSTD a)
     11994#undef  SplStdOpen
     11995#define SplStdOpen _SplStdOpen
     11996
     11997inline LONG APIENTRY _SplStdQueryLength(HSTD a)
    945311998{
    945411999 LONG yyrc;
     
    946112006}
    946212007
    9463 inline BOOL APIENTRY SplStdStart(HDC a)
     12008#undef  SplStdQueryLength
     12009#define SplStdQueryLength _SplStdQueryLength
     12010
     12011inline BOOL APIENTRY _SplStdStart(HDC a)
    946412012{
    946512013 BOOL yyrc;
     
    947212020}
    947312021
    9474 inline HSTD APIENTRY SplStdStop(HDC a)
     12022#undef  SplStdStart
     12023#define SplStdStart _SplStdStart
     12024
     12025inline HSTD APIENTRY _SplStdStop(HDC a)
    947512026{
    947612027 HSTD yyrc;
     
    948312034}
    948412035
    9485 inline SPLERR APIENTRY SplControlDevice(PSZ a, PSZ b, ULONG c)
     12036#undef  SplStdStop
     12037#define SplStdStop _SplStdStop
     12038
     12039inline SPLERR APIENTRY _SplControlDevice(PSZ a, PSZ b, ULONG c)
    948612040{
    948712041 SPLERR yyrc;
     
    949412048}
    949512049
    9496 inline SPLERR APIENTRY SplCopyJob(PCSZ a, PCSZ b, ULONG c, PCSZ d, PCSZ e, PULONG f)
     12050#undef  SplControlDevice
     12051#define SplControlDevice _SplControlDevice
     12052
     12053inline SPLERR APIENTRY _SplCopyJob(PCSZ a, PCSZ b, ULONG c, PCSZ d, PCSZ e, PULONG f)
    949712054{
    949812055 SPLERR yyrc;
     
    950512062}
    950612063
    9507 inline SPLERR APIENTRY SplCreateDevice(PSZ a, ULONG b, PVOID c, ULONG d)
     12064#undef  SplCopyJob
     12065#define SplCopyJob _SplCopyJob
     12066
     12067inline SPLERR APIENTRY _SplCreateDevice(PSZ a, ULONG b, PVOID c, ULONG d)
    950812068{
    950912069 SPLERR yyrc;
     
    951612076}
    951712077
    9518 inline SPLERR APIENTRY SplCreatePort(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f)
     12078#undef  SplCreateDevice
     12079#define SplCreateDevice _SplCreateDevice
     12080
     12081inline SPLERR APIENTRY _SplCreatePort(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f)
    951912082{
    952012083 SPLERR yyrc;
     
    952712090}
    952812091
    9529 inline SPLERR APIENTRY SplCreateQueue(PSZ a, ULONG b, PVOID c, ULONG d)
     12092#undef  SplCreatePort
     12093#define SplCreatePort _SplCreatePort
     12094
     12095inline SPLERR APIENTRY _SplCreateQueue(PSZ a, ULONG b, PVOID c, ULONG d)
    953012096{
    953112097 SPLERR yyrc;
     
    953812104}
    953912105
    9540 inline SPLERR APIENTRY SplDeleteDevice(PSZ a, PSZ b)
     12106#undef  SplCreateQueue
     12107#define SplCreateQueue _SplCreateQueue
     12108
     12109inline SPLERR APIENTRY _SplDeleteDevice(PSZ a, PSZ b)
    954112110{
    954212111 SPLERR yyrc;
     
    954912118}
    955012119
    9551 inline SPLERR APIENTRY SplDeleteJob(PSZ a, PSZ b, ULONG c)
     12120#undef  SplDeleteDevice
     12121#define SplDeleteDevice _SplDeleteDevice
     12122
     12123inline SPLERR APIENTRY _SplDeleteJob(PSZ a, PSZ b, ULONG c)
    955212124{
    955312125 SPLERR yyrc;
     
    956012132}
    956112133
    9562 inline SPLERR APIENTRY SplDeletePort(PCSZ a, PCSZ b)
     12134#undef  SplDeleteJob
     12135#define SplDeleteJob _SplDeleteJob
     12136
     12137inline SPLERR APIENTRY _SplDeletePort(PCSZ a, PCSZ b)
    956312138{
    956412139 SPLERR yyrc;
     
    957112146}
    957212147
    9573 inline SPLERR APIENTRY SplDeleteQueue(PSZ a, PSZ b)
     12148#undef  SplDeletePort
     12149#define SplDeletePort _SplDeletePort
     12150
     12151inline SPLERR APIENTRY _SplDeleteQueue(PSZ a, PSZ b)
    957412152{
    957512153 SPLERR yyrc;
     
    958212160}
    958312161
    9584 inline SPLERR APIENTRY SplEnumDevice(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
     12162#undef  SplDeleteQueue
     12163#define SplDeleteQueue _SplDeleteQueue
     12164
     12165inline SPLERR APIENTRY _SplEnumDevice(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
    958512166{
    958612167 SPLERR yyrc;
     
    959312174}
    959412175
    9595 inline SPLERR APIENTRY SplEnumDriver(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
     12176#undef  SplEnumDevice
     12177#define SplEnumDevice _SplEnumDevice
     12178
     12179inline SPLERR APIENTRY _SplEnumDriver(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
    959612180{
    959712181 SPLERR yyrc;
     
    960412188}
    960512189
    9606 inline SPLERR APIENTRY SplEnumJob(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f, PULONG g, PULONG h, PVOID i)
     12190#undef  SplEnumDriver
     12191#define SplEnumDriver _SplEnumDriver
     12192
     12193inline SPLERR APIENTRY _SplEnumJob(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f, PULONG g, PULONG h, PVOID i)
    960712194{
    960812195 SPLERR yyrc;
     
    961512202}
    961612203
    9617 inline SPLERR APIENTRY SplEnumPort(PCSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
     12204#undef  SplEnumJob
     12205#define SplEnumJob _SplEnumJob
     12206
     12207inline SPLERR APIENTRY _SplEnumPort(PCSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
    961812208{
    961912209 SPLERR yyrc;
     
    962612216}
    962712217
    9628 inline SPLERR APIENTRY SplEnumPrinter(PSZ a, ULONG b, ULONG c, PVOID d, ULONG e, PULONG f, PULONG g, PULONG h, PVOID i)
     12218#undef  SplEnumPort
     12219#define SplEnumPort _SplEnumPort
     12220
     12221inline SPLERR APIENTRY _SplEnumPrinter(PSZ a, ULONG b, ULONG c, PVOID d, ULONG e, PULONG f, PULONG g, PULONG h, PVOID i)
    962912222{
    963012223 SPLERR yyrc;
     
    963712230}
    963812231
    9639 inline SPLERR APIENTRY SplEnumQueue(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
     12232#undef  SplEnumPrinter
     12233#define SplEnumPrinter _SplEnumPrinter
     12234
     12235inline SPLERR APIENTRY _SplEnumQueue(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
    964012236{
    964112237 SPLERR yyrc;
     
    964812244}
    964912245
    9650 inline SPLERR APIENTRY SplEnumQueueProcessor(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
     12246#undef  SplEnumQueue
     12247#define SplEnumQueue _SplEnumQueue
     12248
     12249inline SPLERR APIENTRY _SplEnumQueueProcessor(PSZ a, ULONG b, PVOID c, ULONG d, PULONG e, PULONG f, PULONG g, PVOID h)
    965112250{
    965212251 SPLERR yyrc;
     
    965912258}
    966012259
    9661 inline SPLERR APIENTRY SplHoldJob(PCSZ a, PCSZ b, ULONG c)
     12260#undef  SplEnumQueueProcessor
     12261#define SplEnumQueueProcessor _SplEnumQueueProcessor
     12262
     12263inline SPLERR APIENTRY _SplHoldJob(PCSZ a, PCSZ b, ULONG c)
    966212264{
    966312265 SPLERR yyrc;
     
    967012272}
    967112273
    9672 inline SPLERR APIENTRY SplHoldQueue(PSZ a, PSZ b)
     12274#undef  SplHoldJob
     12275#define SplHoldJob _SplHoldJob
     12276
     12277inline SPLERR APIENTRY _SplHoldQueue(PSZ a, PSZ b)
    967312278{
    967412279 SPLERR yyrc;
     
    968112286}
    968212287
    9683 inline SPLERR APIENTRY SplPurgeQueue(PSZ a, PSZ b)
     12288#undef  SplHoldQueue
     12289#define SplHoldQueue _SplHoldQueue
     12290
     12291inline SPLERR APIENTRY _SplPurgeQueue(PSZ a, PSZ b)
    968412292{
    968512293 SPLERR yyrc;
     
    969212300}
    969312301
    9694 inline SPLERR APIENTRY SplQueryDevice(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f)
     12302#undef  SplPurgeQueue
     12303#define SplPurgeQueue _SplPurgeQueue
     12304
     12305inline SPLERR APIENTRY _SplQueryDevice(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f)
    969512306{
    969612307 SPLERR yyrc;
     
    970312314}
    970412315
    9705 inline SPLERR APIENTRY SplQueryDriver(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f, PULONG g)
     12316#undef  SplQueryDevice
     12317#define SplQueryDevice _SplQueryDevice
     12318
     12319inline SPLERR APIENTRY _SplQueryDriver(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f, PULONG g)
    970612320{
    970712321 SPLERR yyrc;
     
    971412328}
    971512329
    9716 inline SPLERR APIENTRY SplQueryJob(PSZ a, PSZ b, ULONG c, ULONG d, PVOID e, ULONG f, PULONG g)
     12330#undef  SplQueryDriver
     12331#define SplQueryDriver _SplQueryDriver
     12332
     12333inline SPLERR APIENTRY _SplQueryJob(PSZ a, PSZ b, ULONG c, ULONG d, PVOID e, ULONG f, PULONG g)
    971712334{
    971812335 SPLERR yyrc;
     
    972512342}
    972612343
    9727 inline SPLERR APIENTRY SplQueryPort(PCSZ a, PCSZ b, ULONG c, PVOID d, ULONG e, PULONG f)
     12344#undef  SplQueryJob
     12345#define SplQueryJob _SplQueryJob
     12346
     12347inline SPLERR APIENTRY _SplQueryPort(PCSZ a, PCSZ b, ULONG c, PVOID d, ULONG e, PULONG f)
    972812348{
    972912349 SPLERR yyrc;
     
    973612356}
    973712357
    9738 inline SPLERR APIENTRY SplQueryQueue(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f)
     12358#undef  SplQueryPort
     12359#define SplQueryPort _SplQueryPort
     12360
     12361inline SPLERR APIENTRY _SplQueryQueue(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, PULONG f)
    973912362{
    974012363 SPLERR yyrc;
     
    974712370}
    974812371
    9749 inline SPLERR APIENTRY SplReleaseJob(PCSZ a, PCSZ b, ULONG c)
     12372#undef  SplQueryQueue
     12373#define SplQueryQueue _SplQueryQueue
     12374
     12375inline SPLERR APIENTRY _SplReleaseJob(PCSZ a, PCSZ b, ULONG c)
    975012376{
    975112377 SPLERR yyrc;
     
    975812384}
    975912385
    9760 inline SPLERR APIENTRY SplReleaseQueue(PSZ a, PSZ b)
     12386#undef  SplReleaseJob
     12387#define SplReleaseJob _SplReleaseJob
     12388
     12389inline SPLERR APIENTRY _SplReleaseQueue(PSZ a, PSZ b)
    976112390{
    976212391 SPLERR yyrc;
     
    976912398}
    977012399
    9771 inline SPLERR APIENTRY SplSetDevice(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, ULONG f)
     12400#undef  SplReleaseQueue
     12401#define SplReleaseQueue _SplReleaseQueue
     12402
     12403inline SPLERR APIENTRY _SplSetDevice(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, ULONG f)
    977212404{
    977312405 SPLERR yyrc;
     
    978012412}
    978112413
    9782 inline SPLERR APIENTRY SplSetDriver(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f, ULONG g)
     12414#undef  SplSetDevice
     12415#define SplSetDevice _SplSetDevice
     12416
     12417inline SPLERR APIENTRY _SplSetDriver(PCSZ a, PCSZ b, PCSZ c, ULONG d, PVOID e, ULONG f, ULONG g)
    978312418{
    978412419 SPLERR yyrc;
     
    979112426}
    979212427
    9793 inline SPLERR APIENTRY SplSetJob(PSZ a, PSZ b, ULONG c, ULONG d, PVOID e, ULONG f, ULONG g)
     12428#undef  SplSetDriver
     12429#define SplSetDriver _SplSetDriver
     12430
     12431inline SPLERR APIENTRY _SplSetJob(PSZ a, PSZ b, ULONG c, ULONG d, PVOID e, ULONG f, ULONG g)
    979412432{
    979512433 SPLERR yyrc;
     
    980212440}
    980312441
    9804 inline SPLERR APIENTRY SplSetPort(PCSZ a, PCSZ b, ULONG c, PVOID d, ULONG e, ULONG f)
     12442#undef  SplSetJob
     12443#define SplSetJob _SplSetJob
     12444
     12445inline SPLERR APIENTRY _SplSetPort(PCSZ a, PCSZ b, ULONG c, PVOID d, ULONG e, ULONG f)
    980512446{
    980612447 SPLERR yyrc;
     
    981312454}
    981412455
    9815 inline SPLERR APIENTRY SplSetQueue(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, ULONG f)
     12456#undef  SplSetPort
     12457#define SplSetPort _SplSetPort
     12458
     12459inline SPLERR APIENTRY _SplSetQueue(PSZ a, PSZ b, ULONG c, PVOID d, ULONG e, ULONG f)
    981612460{
    981712461 SPLERR yyrc;
     
    982412468}
    982512469
    9826 inline ULONG APIENTRY SplMessageBox(PSZ a, ULONG b, ULONG c, PSZ d, PSZ e, ULONG f, ULONG g)
     12470#undef  SplSetQueue
     12471#define SplSetQueue _SplSetQueue
     12472
     12473inline ULONG APIENTRY _SplMessageBox(PSZ a, ULONG b, ULONG c, PSZ d, PSZ e, ULONG f, ULONG g)
    982712474{
    982812475 ULONG yyrc;
     
    983512482}
    983612483
    9837 inline BOOL APIENTRY SplQmAbort(HSPL a)
     12484#undef  SplMessageBox
     12485#define SplMessageBox _SplMessageBox
     12486
     12487inline BOOL APIENTRY _SplQmAbort(HSPL a)
    983812488{
    983912489 BOOL yyrc;
     
    984612496}
    984712497
    9848 inline BOOL APIENTRY SplQmAbortDoc(HSPL a)
     12498#undef  SplQmAbort
     12499#define SplQmAbort _SplQmAbort
     12500
     12501inline BOOL APIENTRY _SplQmAbortDoc(HSPL a)
    984912502{
    985012503 BOOL yyrc;
     
    985712510}
    985812511
    9859 inline BOOL APIENTRY SplQmClose(HSPL a)
     12512#undef  SplQmAbortDoc
     12513#define SplQmAbortDoc _SplQmAbortDoc
     12514
     12515inline BOOL APIENTRY _SplQmClose(HSPL a)
    986012516{
    986112517 BOOL yyrc;
     
    986812524}
    986912525
    9870 inline BOOL APIENTRY SplQmEndDoc(HSPL a)
     12526#undef  SplQmClose
     12527#define SplQmClose _SplQmClose
     12528
     12529inline BOOL APIENTRY _SplQmEndDoc(HSPL a)
    987112530{
    987212531 BOOL yyrc;
     
    987912538}
    988012539
    9881 inline ULONG APIENTRY SplQmGetJobID(HSPL a, ULONG b, PVOID c, ULONG d, PULONG e)
     12540#undef  SplQmEndDoc
     12541#define SplQmEndDoc _SplQmEndDoc
     12542
     12543inline ULONG APIENTRY _SplQmGetJobID(HSPL a, ULONG b, PVOID c, ULONG d, PULONG e)
    988212544{
    988312545 ULONG yyrc;
     
    989012552}
    989112553
    9892 inline BOOL APIENTRY SplQmNewPage(HSPL a, ULONG b)
     12554#undef  SplQmGetJobID
     12555#define SplQmGetJobID _SplQmGetJobID
     12556
     12557inline BOOL APIENTRY _SplQmNewPage(HSPL a, ULONG b)
    989312558{
    989412559 BOOL yyrc;
     
    990112566}
    990212567
    9903 inline HSPL APIENTRY SplQmOpen(PSZ a, LONG b, PQMOPENDATA c)
     12568#undef  SplQmNewPage
     12569#define SplQmNewPage _SplQmNewPage
     12570
     12571inline HSPL APIENTRY _SplQmOpen(PSZ a, LONG b, PQMOPENDATA c)
    990412572{
    990512573 HSPL yyrc;
     
    991212580}
    991312581
    9914 inline BOOL APIENTRY SplQmStartDoc(HSPL a, PSZ b)
     12582#undef  SplQmOpen
     12583#define SplQmOpen _SplQmOpen
     12584
     12585inline BOOL APIENTRY _SplQmStartDoc(HSPL a, PSZ b)
    991512586{
    991612587 BOOL yyrc;
     
    992312594}
    992412595
    9925 inline BOOL APIENTRY SplQmWrite(HSPL a, LONG b, PVOID c)
     12596#undef  SplQmStartDoc
     12597#define SplQmStartDoc _SplQmStartDoc
     12598
     12599inline BOOL APIENTRY _SplQmWrite(HSPL a, LONG b, PVOID c)
    992612600{
    992712601 BOOL yyrc;
     
    993312607    return yyrc;
    993412608}
     12609
     12610#undef  SplQmWrite
     12611#define SplQmWrite _SplQmWrite
    993512612
    993612613#endif
    993712614#ifdef INCL_WINHELP
    9938 inline BOOL APIENTRY WinAssociateHelpInstance(HWND a, HWND b)
     12615inline BOOL APIENTRY _WinAssociateHelpInstance(HWND a, HWND b)
    993912616{
    994012617 BOOL yyrc;
     
    994712624}
    994812625
    9949 inline HWND APIENTRY WinCreateHelpInstance(HAB a, PHELPINIT b)
     12626#undef  WinAssociateHelpInstance
     12627#define WinAssociateHelpInstance _WinAssociateHelpInstance
     12628
     12629inline HWND APIENTRY _WinCreateHelpInstance(HAB a, PHELPINIT b)
    995012630{
    995112631 HWND yyrc;
     
    995812638}
    995912639
    9960 inline BOOL APIENTRY WinCreateHelpTable(HWND a, CONST HELPTABLE *b)
     12640#undef  WinCreateHelpInstance
     12641#define WinCreateHelpInstance _WinCreateHelpInstance
     12642
     12643inline BOOL APIENTRY _WinCreateHelpTable(HWND a, PHELPTABLE b)
    996112644{
    996212645 BOOL yyrc;
     
    996912652}
    997012653
    9971 inline BOOL APIENTRY WinDestroyHelpInstance(HWND a)
     12654#undef  WinCreateHelpTable
     12655#define WinCreateHelpTable _WinCreateHelpTable
     12656
     12657inline BOOL APIENTRY _WinDestroyHelpInstance(HWND a)
    997212658{
    997312659 BOOL yyrc;
     
    998012666}
    998112667
    9982 inline BOOL APIENTRY WinLoadHelpTable(HWND a, ULONG b, HMODULE c)
     12668#undef  WinDestroyHelpInstance
     12669#define WinDestroyHelpInstance _WinDestroyHelpInstance
     12670
     12671inline BOOL APIENTRY _WinLoadHelpTable(HWND a, ULONG b, HMODULE c)
    998312672{
    998412673 BOOL yyrc;
     
    999112680}
    999212681
    9993 inline HWND APIENTRY WinQueryHelpInstance(HWND a)
     12682#undef  WinLoadHelpTable
     12683#define WinLoadHelpTable _WinLoadHelpTable
     12684
     12685inline HWND APIENTRY _WinQueryHelpInstance(HWND a)
    999412686{
    999512687 HWND yyrc;
     
    1000112693    return yyrc;
    1000212694}
     12695
     12696#undef  WinQueryHelpInstance
     12697#define WinQueryHelpInstance _WinQueryHelpInstance
    1000312698
    1000412699#endif
    1000512700#ifdef INCL_DDF
    10006 inline BOOL APIENTRY DdfBeginList(HDDF a, ULONG b, ULONG c, ULONG d)
     12701inline BOOL APIENTRY _DdfBeginList(HDDF a, ULONG b, ULONG c, ULONG d)
    1000712702{
    1000812703 BOOL yyrc;
     
    1001512710}
    1001612711
    10017 inline BOOL APIENTRY DdfBitmap(HDDF a, HBITMAP b, ULONG c)
     12712#undef  DdfBeginList
     12713#define DdfBeginList _DdfBeginList
     12714
     12715inline BOOL APIENTRY _DdfBitmap(HDDF a, HBITMAP b, ULONG c)
    1001812716{
    1001912717 BOOL yyrc;
     
    1002612724}
    1002712725
    10028 inline BOOL APIENTRY DdfEndList(HDDF a)
     12726#undef  DdfBitmap
     12727#define DdfBitmap _DdfBitmap
     12728
     12729inline BOOL APIENTRY _DdfEndList(HDDF a)
    1002912730{
    1003012731 BOOL yyrc;
     
    1003712738}
    1003812739
    10039 inline BOOL APIENTRY DdfHyperText(HDDF a, PCSZ b, PCSZ c, ULONG d)
     12740#undef  DdfEndList
     12741#define DdfEndList _DdfEndList
     12742
     12743inline BOOL APIENTRY _DdfHyperText(HDDF a, PCSZ b, PCSZ c, ULONG d)
    1004012744{
    1004112745 BOOL yyrc;
     
    1004812752}
    1004912753
    10050 inline BOOL APIENTRY DdfInform(HDDF a, PCSZ b, ULONG c)
     12754#undef  DdfHyperText
     12755#define DdfHyperText _DdfHyperText
     12756
     12757inline BOOL APIENTRY _DdfInform(HDDF a, PCSZ b, ULONG c)
    1005112758{
    1005212759 BOOL yyrc;
     
    1005912766}
    1006012767
    10061 inline HDDF APIENTRY DdfInitialize(HWND a, ULONG b, ULONG c)
     12768#undef  DdfInform
     12769#define DdfInform _DdfInform
     12770
     12771inline HDDF APIENTRY _DdfInitialize(HWND a, ULONG b, ULONG c)
    1006212772{
    1006312773 HDDF yyrc;
     
    1007012780}
    1007112781
    10072 inline BOOL APIENTRY DdfListItem(HDDF a, PCSZ b, PCSZ c)
     12782#undef  DdfInitialize
     12783#define DdfInitialize _DdfInitialize
     12784
     12785inline BOOL APIENTRY _DdfListItem(HDDF a, PCSZ b, PCSZ c)
    1007312786{
    1007412787 BOOL yyrc;
     
    1008112794}
    1008212795
    10083 inline BOOL APIENTRY DdfMetafile(HDDF a, HMF b, CONST RECTL *c)
     12796#undef  DdfListItem
     12797#define DdfListItem _DdfListItem
     12798
     12799inline BOOL APIENTRY _DdfMetafile(HDDF a, HMF b, PRECTL c)
    1008412800{
    1008512801 BOOL yyrc;
     
    1009212808}
    1009312809
    10094 inline BOOL APIENTRY DdfPara(HDDF a)
     12810#undef  DdfMetafile
     12811#define DdfMetafile _DdfMetafile
     12812
     12813inline BOOL APIENTRY _DdfPara(HDDF a)
    1009512814{
    1009612815 BOOL yyrc;
     
    1010312822}
    1010412823
    10105 inline BOOL APIENTRY DdfSetColor(HDDF a, COLOR b, COLOR c)
     12824#undef  DdfPara
     12825#define DdfPara _DdfPara
     12826
     12827inline BOOL APIENTRY _DdfSetColor(HDDF a, COLOR b, COLOR c)
    1010612828{
    1010712829 BOOL yyrc;
     
    1011412836}
    1011512837
    10116 inline BOOL APIENTRY DdfSetFont(HDDF a, PCSZ b, ULONG c, ULONG d)
     12838#undef  DdfSetColor
     12839#define DdfSetColor _DdfSetColor
     12840
     12841inline BOOL APIENTRY _DdfSetFont(HDDF a, PCSZ b, ULONG c, ULONG d)
    1011712842{
    1011812843 BOOL yyrc;
     
    1012512850}
    1012612851
    10127 inline BOOL APIENTRY DdfSetFontStyle(HDDF a, ULONG b)
     12852#undef  DdfSetFont
     12853#define DdfSetFont _DdfSetFont
     12854
     12855inline BOOL APIENTRY _DdfSetFontStyle(HDDF a, ULONG b)
    1012812856{
    1012912857 BOOL yyrc;
     
    1013612864}
    1013712865
    10138 inline BOOL APIENTRY DdfSetFormat(HDDF a, ULONG b)
     12866#undef  DdfSetFontStyle
     12867#define DdfSetFontStyle _DdfSetFontStyle
     12868
     12869inline BOOL APIENTRY _DdfSetFormat(HDDF a, ULONG b)
    1013912870{
    1014012871 BOOL yyrc;
     
    1014712878}
    1014812879
    10149 inline BOOL APIENTRY DdfSetTextAlign(HDDF a, ULONG b)
     12880#undef  DdfSetFormat
     12881#define DdfSetFormat _DdfSetFormat
     12882
     12883inline BOOL APIENTRY _DdfSetTextAlign(HDDF a, ULONG b)
    1015012884{
    1015112885 BOOL yyrc;
     
    1015812892}
    1015912893
    10160 inline BOOL APIENTRY DdfText(HDDF a, PCSZ b)
     12894#undef  DdfSetTextAlign
     12895#define DdfSetTextAlign _DdfSetTextAlign
     12896
     12897inline BOOL APIENTRY _DdfText(HDDF a, PCSZ b)
    1016112898{
    1016212899 BOOL yyrc;
     
    1016812905    return yyrc;
    1016912906}
     12907
     12908#undef  DdfText
     12909#define DdfText _DdfText
    1017012910
    1017112911#endif
    1017212912#ifdef INCL_AVIO
    10173 inline USHORT APIENTRY VioAssociate(HDC a, HVPS b)
     12913inline USHORT APIENTRY _VioAssociate(HDC a, HVPS b)
    1017412914{
    1017512915 USHORT yyrc;
    1017612916 USHORT sel = GetFS();
    1017712917
    10178     yyrc = VioAssociate(a, b);
    10179     SetFS(sel);
    10180 
    10181     return yyrc;
    10182 }
    10183 
    10184 inline USHORT APIENTRY16 VioCreateLogFont(PFATTRS a, LONG b, PSTR8 c, HVPS d)
     12918    yyrc = VIO16ASSOCIATE(a, b);
     12919    SetFS(sel);
     12920
     12921    return yyrc;
     12922}
     12923
     12924#undef  VioAssociate
     12925#define VioAssociate _VioAssociate
     12926
     12927inline USHORT APIENTRY16 _VioCreateLogFont(PFATTRS a, LONG b, PSTR8 c, HVPS d)
    1018512928{
    1018612929 USHORT yyrc;
    1018712930 USHORT sel = GetFS();
    1018812931
    10189     yyrc = VioCreateLogFont(a, b, c, d);
    10190     SetFS(sel);
    10191 
    10192     return yyrc;
    10193 }
    10194 
    10195 inline USHORT APIENTRY16 VioCreatePS(PHVPS a, SHORT b, SHORT c, SHORT d, SHORT e, HVPS f)
     12932    yyrc = VIO16CREATELOGFONT(a, b, c, d);
     12933    SetFS(sel);
     12934
     12935    return yyrc;
     12936}
     12937
     12938#undef  VioCreateLogFont
     12939#define VioCreateLogFont _VioCreateLogFont
     12940
     12941inline USHORT APIENTRY16 _VioCreatePS(PHVPS a, SHORT b, SHORT c, SHORT d, SHORT e, HVPS f)
    1019612942{
    1019712943 USHORT yyrc;
    1019812944 USHORT sel = GetFS();
    1019912945
    10200     yyrc = VioCreatePS(a, b, c, d, e, f);
    10201     SetFS(sel);
    10202 
    10203     return yyrc;
    10204 }
    10205 
    10206 inline USHORT APIENTRY16 VioDeleteSetId(LONG a, HVPS b)
     12946    yyrc = VIO16CREATEPS(a, b, c, d, e, f);
     12947    SetFS(sel);
     12948
     12949    return yyrc;
     12950}
     12951
     12952#undef  VioCreatePS
     12953#define VioCreatePS _VioCreatePS
     12954
     12955inline USHORT APIENTRY16 _VioDeleteSetId(LONG a, HVPS b)
    1020712956{
    1020812957 USHORT yyrc;
    1020912958 USHORT sel = GetFS();
    1021012959
    10211     yyrc = VioDeleteSetId(a, b);
    10212     SetFS(sel);
    10213 
    10214     return yyrc;
    10215 }
    10216 
    10217 inline USHORT APIENTRY16 VioDestroyPS(HVPS a)
     12960    yyrc = VIO16DELETESETID(a, b);
     12961    SetFS(sel);
     12962
     12963    return yyrc;
     12964}
     12965
     12966#undef  VioDeleteSetId
     12967#define VioDeleteSetId _VioDeleteSetId
     12968
     12969inline USHORT APIENTRY16 _VioDestroyPS(HVPS a)
    1021812970{
    1021912971 USHORT yyrc;
    1022012972 USHORT sel = GetFS();
    1022112973
    10222     yyrc = VioDestroyPS(a);
    10223     SetFS(sel);
    10224 
    10225     return yyrc;
    10226 }
    10227 
    10228 inline USHORT APIENTRY16 VioGetDeviceCellSize(PSHORT a, PSHORT b, HVPS c)
     12974    yyrc = VIO16DESTROYPS(a);
     12975    SetFS(sel);
     12976
     12977    return yyrc;
     12978}
     12979
     12980#undef  VioDestroyPS
     12981#define VioDestroyPS _VioDestroyPS
     12982
     12983inline USHORT APIENTRY16 _VioGetDeviceCellSize(PSHORT a, PSHORT b, HVPS c)
    1022912984{
    1023012985 USHORT yyrc;
    1023112986 USHORT sel = GetFS();
    1023212987
    10233     yyrc = VioGetDeviceCellSize(a, b, c);
    10234     SetFS(sel);
    10235 
    10236     return yyrc;
    10237 }
    10238 
    10239 inline USHORT APIENTRY16 VioGetOrg(PSHORT a, PSHORT b, HVPS c)
     12988    yyrc = VIO16GETDEVICECELLSIZE(a, b, c);
     12989    SetFS(sel);
     12990
     12991    return yyrc;
     12992}
     12993
     12994#undef  VioGetDeviceCellSize
     12995#define VioGetDeviceCellSize _VioGetDeviceCellSize
     12996
     12997inline USHORT APIENTRY16 _VioGetOrg(PSHORT a, PSHORT b, HVPS c)
    1024012998{
    1024112999 USHORT yyrc;
    1024213000 USHORT sel = GetFS();
    1024313001
    10244     yyrc = VioGetOrg(a, b, c);
    10245     SetFS(sel);
    10246 
    10247     return yyrc;
    10248 }
    10249 
    10250 inline USHORT APIENTRY16 VioQueryFonts(PLONG a, PFONTMETRICS b, LONG c, PLONG d, PSZ e, ULONG f, HVPS g)
     13002    yyrc = VIO16GETORG(a, b, c);
     13003    SetFS(sel);
     13004
     13005    return yyrc;
     13006}
     13007
     13008#undef  VioGetOrg
     13009#define VioGetOrg _VioGetOrg
     13010
     13011inline USHORT APIENTRY16 _VioQueryFonts(PLONG a, PFONTMETRICS b, LONG c, PLONG d, PSZ e, ULONG f, HVPS g)
    1025113012{
    1025213013 USHORT yyrc;
    1025313014 USHORT sel = GetFS();
    1025413015
    10255     yyrc = VioQueryFonts(a, b, c, d, e, f, g);
    10256     SetFS(sel);
    10257 
    10258     return yyrc;
    10259 }
    10260 
    10261 inline USHORT APIENTRY16 VioQuerySetIds(PLONG a, PSTR8 b, PLONG c, LONG d, HVPS e)
     13016    yyrc = VIO16QUERYFONTS(a, b, c, d, e, f, g);
     13017    SetFS(sel);
     13018
     13019    return yyrc;
     13020}
     13021
     13022#undef  VioQueryFonts
     13023#define VioQueryFonts _VioQueryFonts
     13024
     13025inline USHORT APIENTRY16 _VioQuerySetIds(PLONG a, PSTR8 b, PLONG c, LONG d, HVPS e)
    1026213026{
    1026313027 USHORT yyrc;
    1026413028 USHORT sel = GetFS();
    1026513029
    10266     yyrc = VioQuerySetIds(a, b, c, d, e);
    10267     SetFS(sel);
    10268 
    10269     return yyrc;
    10270 }
    10271 
    10272 inline USHORT APIENTRY16 VioSetDeviceCellSize(SHORT a, SHORT b, HVPS c)
     13030    yyrc = VIO16QUERYSETIDS(a, b, c, d, e);
     13031    SetFS(sel);
     13032
     13033    return yyrc;
     13034}
     13035
     13036#undef  VioQuerySetIds
     13037#define VioQuerySetIds _VioQuerySetIds
     13038
     13039inline USHORT APIENTRY16 _VioSetDeviceCellSize(SHORT a, SHORT b, HVPS c)
    1027313040{
    1027413041 USHORT yyrc;
    1027513042 USHORT sel = GetFS();
    1027613043
    10277     yyrc = VioSetDeviceCellSize(a, b, c);
    10278     SetFS(sel);
    10279 
    10280     return yyrc;
    10281 }
    10282 
    10283 inline USHORT APIENTRY16 VioSetOrg(SHORT a, SHORT b, HVPS c)
     13044    yyrc = VIO16SETDEVICECELLSIZE(a, b, c);
     13045    SetFS(sel);
     13046
     13047    return yyrc;
     13048}
     13049
     13050#undef  VioSetDeviceCellSize
     13051#define VioSetDeviceCellSize _VioSetDeviceCellSize
     13052
     13053inline USHORT APIENTRY16 _VioSetOrg(SHORT a, SHORT b, HVPS c)
    1028413054{
    1028513055 USHORT yyrc;
    1028613056 USHORT sel = GetFS();
    1028713057
    10288     yyrc = VioSetOrg(a, b, c);
    10289     SetFS(sel);
    10290 
    10291     return yyrc;
    10292 }
    10293 
    10294 inline USHORT APIENTRY16 VioShowPS(SHORT a, SHORT b, SHORT c, HVPS d)
     13058    yyrc = VIO16SETORG(a, b, c);
     13059    SetFS(sel);
     13060
     13061    return yyrc;
     13062}
     13063
     13064#undef  VioSetOrg
     13065#define VioSetOrg _VioSetOrg
     13066
     13067inline USHORT APIENTRY16 _VioShowPS(SHORT a, SHORT b, SHORT c, HVPS d)
    1029513068{
    1029613069 USHORT yyrc;
    1029713070 USHORT sel = GetFS();
    1029813071
    10299     yyrc = VioShowPS(a, b, c, d);
    10300     SetFS(sel);
    10301 
    10302     return yyrc;
    10303 }
    10304 
    10305 inline MRESULT APIENTRY16 WinDefAVioWindowProc(HWND a, USHORT b, ULONG c, ULONG d)
     13072    yyrc = VIO16SHOWPS(a, b, c, d);
     13073    SetFS(sel);
     13074
     13075    return yyrc;
     13076}
     13077
     13078#undef  VioShowPS
     13079#define VioShowPS _VioShowPS
     13080
     13081inline MRESULT APIENTRY16 _WinDefAVioWindowProc(HWND a, USHORT b, ULONG c, ULONG d)
    1030613082{
    1030713083 MRESULT yyrc;
     
    1031313089    return yyrc;
    1031413090}
     13091
     13092#undef  WinDefAVioWindowProc
     13093#define WinDefAVioWindowProc _WinDefAVioWindowProc
    1031513094
    1031613095#endif
    1031713096#ifdef INCL_KBD
    10318 inline USHORT APIENTRY KbdCharIn(PKBDKEYINFO a, USHORT b, HKBD c)
     13097inline USHORT APIENTRY _KbdCharIn(PKBDKEYINFO a, USHORT b, HKBD c)
    1031913098{
    1032013099 USHORT yyrc;
     
    1032713106}
    1032813107
    10329 inline USHORT APIENTRY16 KbdClose(HKBD a)
     13108#undef  KbdCharIn
     13109#define KbdCharIn _KbdCharIn
     13110
     13111inline USHORT APIENTRY16 _KbdClose(HKBD a)
    1033013112{
    1033113113 USHORT yyrc;
     
    1033813120}
    1033913121
    10340 inline USHORT APIENTRY16 KbdDeRegister()
     13122#undef  KbdClose
     13123#define KbdClose _KbdClose
     13124
     13125inline USHORT APIENTRY16 _KbdDeRegister()
    1034113126{
    1034213127 USHORT yyrc;
     
    1034913134}
    1035013135
    10351 inline USHORT APIENTRY16 KbdFlushBuffer(HKBD a)
     13136#undef  KbdDeRegister
     13137#define KbdDeRegister _KbdDeRegister
     13138
     13139inline USHORT APIENTRY16 _KbdFlushBuffer(HKBD a)
    1035213140{
    1035313141 USHORT yyrc;
     
    1036013148}
    1036113149
    10362 inline USHORT APIENTRY16 KbdFreeFocus(HKBD a)
     13150#undef  KbdFlushBuffer
     13151#define KbdFlushBuffer _KbdFlushBuffer
     13152
     13153inline USHORT APIENTRY16 _KbdFreeFocus(HKBD a)
    1036313154{
    1036413155 USHORT yyrc;
     
    1037113162}
    1037213163
    10373 inline USHORT APIENTRY16 KbdGetCp(ULONG a, PUSHORT b, HKBD c)
     13164#undef  KbdFreeFocus
     13165#define KbdFreeFocus _KbdFreeFocus
     13166
     13167inline USHORT APIENTRY16 _KbdGetCp(ULONG a, PUSHORT b, HKBD c)
    1037413168{
    1037513169 USHORT yyrc;
     
    1038213176}
    1038313177
    10384 inline USHORT APIENTRY16 KbdGetFocus(USHORT a, HKBD b)
     13178#undef  KbdGetCp
     13179#define KbdGetCp _KbdGetCp
     13180
     13181inline USHORT APIENTRY16 _KbdGetFocus(USHORT a, HKBD b)
    1038513182{
    1038613183 USHORT yyrc;
     
    1039313190}
    1039413191
    10395 inline USHORT APIENTRY16 KbdGetHWID(PKBDHWID a, HKBD b)
     13192#undef  KbdGetFocus
     13193#define KbdGetFocus _KbdGetFocus
     13194
     13195inline USHORT APIENTRY16 _KbdGetHWID(PKBDHWID a, HKBD b)
    1039613196{
    1039713197 USHORT yyrc;
     
    1040413204}
    1040513205
    10406 inline USHORT APIENTRY16 KbdGetStatus(PKBDINFO a, HKBD b)
     13206#undef  KbdGetHWID
     13207#define KbdGetHWID _KbdGetHWID
     13208
     13209inline USHORT APIENTRY16 _KbdGetStatus(PKBDINFO a, HKBD b)
    1040713210{
    1040813211 USHORT yyrc;
     
    1041513218}
    1041613219
    10417 inline USHORT APIENTRY16 KbdOpen(PHKBD a)
     13220#undef  KbdGetStatus
     13221#define KbdGetStatus _KbdGetStatus
     13222
     13223inline USHORT APIENTRY16 _KbdOpen(PHKBD a)
    1041813224{
    1041913225 USHORT yyrc;
     
    1042613232}
    1042713233
    10428 inline USHORT APIENTRY16 KbdPeek(PKBDKEYINFO a, HKBD b)
     13234#undef  KbdOpen
     13235#define KbdOpen _KbdOpen
     13236
     13237inline USHORT APIENTRY16 _KbdPeek(PKBDKEYINFO a, HKBD b)
    1042913238{
    1043013239 USHORT yyrc;
     
    1043713246}
    1043813247
    10439 inline USHORT APIENTRY16 KbdRegister(PCSZ a, PCSZ b, ULONG c)
     13248#undef  KbdPeek
     13249#define KbdPeek _KbdPeek
     13250
     13251inline USHORT APIENTRY16 _KbdRegister(PSZ a, PSZ b, ULONG c)
    1044013252{
    1044113253 USHORT yyrc;
     
    1044813260}
    1044913261
    10450 inline USHORT APIENTRY16 KbdSetCp(USHORT a, USHORT b, HKBD c)
     13262#undef  KbdRegister
     13263#define KbdRegister _KbdRegister
     13264
     13265inline USHORT APIENTRY16 _KbdSetCp(USHORT a, USHORT b, HKBD c)
    1045113266{
    1045213267 USHORT yyrc;
     
    1045913274}
    1046013275
    10461 inline USHORT APIENTRY16 KbdSetCustXt(PUSHORT a, HKBD b)
     13276#undef  KbdSetCp
     13277#define KbdSetCp _KbdSetCp
     13278
     13279inline USHORT APIENTRY16 _KbdSetCustXt(PUSHORT a, HKBD b)
    1046213280{
    1046313281 USHORT yyrc;
     
    1047013288}
    1047113289
    10472 inline USHORT APIENTRY16 KbdSetFgnd()
     13290#undef  KbdSetCustXt
     13291#define KbdSetCustXt _KbdSetCustXt
     13292
     13293inline USHORT APIENTRY16 _KbdSetFgnd()
    1047313294{
    1047413295 USHORT yyrc;
     
    1048113302}
    1048213303
    10483 inline USHORT APIENTRY16 KbdSetHWID(PKBDHWID a, HKBD b)
     13304#undef  KbdSetFgnd
     13305#define KbdSetFgnd _KbdSetFgnd
     13306
     13307inline USHORT APIENTRY16 _KbdSetHWID(PKBDHWID a, HKBD b)
    1048413308{
    1048513309 USHORT yyrc;
     
    1049213316}
    1049313317
    10494 inline USHORT APIENTRY16 KbdSetStatus(PKBDINFO a, HKBD b)
     13318#undef  KbdSetHWID
     13319#define KbdSetHWID _KbdSetHWID
     13320
     13321inline USHORT APIENTRY16 _KbdSetStatus(PKBDINFO a, HKBD b)
    1049513322{
    1049613323 USHORT yyrc;
     
    1050313330}
    1050413331
    10505 inline USHORT APIENTRY16 KbdStringIn(PCH a, PSTRINGINBUF b, USHORT c, HKBD d)
     13332#undef  KbdSetStatus
     13333#define KbdSetStatus _KbdSetStatus
     13334
     13335inline USHORT APIENTRY16 _KbdStringIn(PCH a, PSTRINGINBUF b, USHORT c, HKBD d)
    1050613336{
    1050713337 USHORT yyrc;
     
    1051413344}
    1051513345
    10516 inline USHORT APIENTRY16 KbdSynch(USHORT a)
     13346#undef  KbdStringIn
     13347#define KbdStringIn _KbdStringIn
     13348
     13349inline USHORT APIENTRY16 _KbdSynch(USHORT a)
    1051713350{
    1051813351 USHORT yyrc;
     
    1052513358}
    1052613359
    10527 inline USHORT APIENTRY16 KbdXlate(PKBDTRANS a, HKBD b)
     13360#undef  KbdSynch
     13361#define KbdSynch _KbdSynch
     13362
     13363inline USHORT APIENTRY16 _KbdXlate(PKBDTRANS a, HKBD b)
    1052813364{
    1052913365 USHORT yyrc;
     
    1053513371    return yyrc;
    1053613372}
     13373
     13374#undef  KbdXlate
     13375#define KbdXlate _KbdXlate
    1053713376
    1053813377#endif
    1053913378#ifdef INCL_VIO
    10540 inline USHORT APIENTRY16 VioCheckCharType(PUSHORT a, USHORT b, USHORT c, HVIO d)
     13379inline USHORT APIENTRY16 _VioCheckCharType(PUSHORT a, USHORT b, USHORT c, HVIO d)
    1054113380{
    1054213381 USHORT yyrc;
    1054313382 USHORT sel = GetFS();
    1054413383
    10545     yyrc = VioCheckCharType(a, b, c, d);
    10546     SetFS(sel);
    10547 
    10548     return yyrc;
    10549 }
    10550 
    10551 inline USHORT APIENTRY16 VioDeRegister()
     13384    yyrc = VIO16CHECKCHARTYPE(a, b, c, d);
     13385    SetFS(sel);
     13386
     13387    return yyrc;
     13388}
     13389
     13390#undef  VioCheckCharType
     13391#define VioCheckCharType _VioCheckCharType
     13392
     13393inline USHORT APIENTRY16 _VioDeRegister()
    1055213394{
    1055313395 USHORT yyrc;
    1055413396 USHORT sel = GetFS();
    1055513397
    10556     yyrc = VioDeRegister();
    10557     SetFS(sel);
    10558 
    10559     return yyrc;
    10560 }
    10561 
    10562 inline USHORT APIENTRY16 VioEndPopUp(HVIO a)
     13398    yyrc = VIO16DEREGISTER();
     13399    SetFS(sel);
     13400
     13401    return yyrc;
     13402}
     13403
     13404#undef  VioDeRegister
     13405#define VioDeRegister _VioDeRegister
     13406
     13407inline USHORT APIENTRY16 _VioEndPopUp(HVIO a)
    1056313408{
    1056413409 USHORT yyrc;
    1056513410 USHORT sel = GetFS();
    1056613411
    10567     yyrc = VioEndPopUp(a);
    10568     SetFS(sel);
    10569 
    10570     return yyrc;
    10571 }
    10572 
    10573 inline USHORT APIENTRY16 VioGetAnsi(PUSHORT a, HVIO b)
     13412    yyrc = VIO16ENDPOPUP(a);
     13413    SetFS(sel);
     13414
     13415    return yyrc;
     13416}
     13417
     13418#undef  VioEndPopUp
     13419#define VioEndPopUp _VioEndPopUp
     13420
     13421inline USHORT APIENTRY16 _VioGetAnsi(PUSHORT a, HVIO b)
    1057413422{
    1057513423 USHORT yyrc;
    1057613424 USHORT sel = GetFS();
    1057713425
    10578     yyrc = VioGetAnsi(a, b);
    10579     SetFS(sel);
    10580 
    10581     return yyrc;
    10582 }
    10583 
    10584 inline USHORT APIENTRY16 VioGetBuf(PULONG a, PUSHORT b, HVIO c)
     13426    yyrc = VIO16GETANSI(a, b);
     13427    SetFS(sel);
     13428
     13429    return yyrc;
     13430}
     13431
     13432#undef  VioGetAnsi
     13433#define VioGetAnsi _VioGetAnsi
     13434
     13435inline USHORT APIENTRY16 _VioGetBuf(PULONG a, PUSHORT b, HVIO c)
    1058513436{
    1058613437 USHORT yyrc;
    1058713438 USHORT sel = GetFS();
    1058813439
    10589     yyrc = VioGetBuf(a, b, c);
    10590     SetFS(sel);
    10591 
    10592     return yyrc;
    10593 }
    10594 
    10595 inline USHORT APIENTRY16 VioGetConfig(USHORT a, PVIOCONFIGINFO b, HVIO c)
     13440    yyrc = VIO16GETBUF(a, b, c);
     13441    SetFS(sel);
     13442
     13443    return yyrc;
     13444}
     13445
     13446#undef  VioGetBuf
     13447#define VioGetBuf _VioGetBuf
     13448
     13449inline USHORT APIENTRY16 _VioGetConfig(USHORT a, PVIOCONFIGINFO b, HVIO c)
    1059613450{
    1059713451 USHORT yyrc;
    1059813452 USHORT sel = GetFS();
    1059913453
    10600     yyrc = VioGetConfig(a, b, c);
    10601     SetFS(sel);
    10602 
    10603     return yyrc;
    10604 }
    10605 
    10606 inline USHORT APIENTRY16 VioGetCp(USHORT a, PUSHORT b, HVIO c)
     13454    yyrc = VIO16GETCONFIG(a, b, c);
     13455    SetFS(sel);
     13456
     13457    return yyrc;
     13458}
     13459
     13460#undef  VioGetConfig
     13461#define VioGetConfig _VioGetConfig
     13462
     13463inline USHORT APIENTRY16 _VioGetCp(USHORT a, PUSHORT b, HVIO c)
    1060713464{
    1060813465 USHORT yyrc;
    1060913466 USHORT sel = GetFS();
    1061013467
    10611     yyrc = VioGetCp(a, b, c);
    10612     SetFS(sel);
    10613 
    10614     return yyrc;
    10615 }
    10616 
    10617 inline USHORT APIENTRY16 VioGetCurPos(PUSHORT a, PUSHORT b, HVIO c)
     13468    yyrc = VIO16GETCP(a, b, c);
     13469    SetFS(sel);
     13470
     13471    return yyrc;
     13472}
     13473
     13474#undef  VioGetCp
     13475#define VioGetCp _VioGetCp
     13476
     13477inline USHORT APIENTRY16 _VioGetCurPos(PUSHORT a, PUSHORT b, HVIO c)
    1061813478{
    1061913479 USHORT yyrc;
    1062013480 USHORT sel = GetFS();
    1062113481
    10622     yyrc = VioGetCurPos(a, b, c);
    10623     SetFS(sel);
    10624 
    10625     return yyrc;
    10626 }
    10627 
    10628 inline USHORT APIENTRY16 VioGetCurType(PVIOCURSORINFO a, HVIO b)
     13482    yyrc = VIO16GETCURPOS(a, b, c);
     13483    SetFS(sel);
     13484
     13485    return yyrc;
     13486}
     13487
     13488#undef  VioGetCurPos
     13489#define VioGetCurPos _VioGetCurPos
     13490
     13491inline USHORT APIENTRY16 _VioGetCurType(PVIOCURSORINFO a, HVIO b)
    1062913492{
    1063013493 USHORT yyrc;
    1063113494 USHORT sel = GetFS();
    1063213495
    10633     yyrc = VioGetCurType(a, b);
    10634     SetFS(sel);
    10635 
    10636     return yyrc;
    10637 }
    10638 
    10639 inline USHORT APIENTRY16 VioGetFont(PVIOFONTINFO a, HVIO b)
     13496    yyrc = VIO16GETCURTYPE(a, b);
     13497    SetFS(sel);
     13498
     13499    return yyrc;
     13500}
     13501
     13502#undef  VioGetCurType
     13503#define VioGetCurType _VioGetCurType
     13504
     13505inline USHORT APIENTRY16 _VioGetFont(PVIOFONTINFO a, HVIO b)
    1064013506{
    1064113507 USHORT yyrc;
    1064213508 USHORT sel = GetFS();
    1064313509
    10644     yyrc = VioGetFont(a, b);
    10645     SetFS(sel);
    10646 
    10647     return yyrc;
    10648 }
    10649 
    10650 inline USHORT APIENTRY16 VioGetMode(PVIOMODEINFO a, HVIO b)
     13510    yyrc = VIO16GETFONT(a, b);
     13511    SetFS(sel);
     13512
     13513    return yyrc;
     13514}
     13515
     13516#undef  VioGetFont
     13517#define VioGetFont _VioGetFont
     13518
     13519inline USHORT APIENTRY16 _VioGetMode(PVIOMODEINFO a, HVIO b)
    1065113520{
    1065213521 USHORT yyrc;
    1065313522 USHORT sel = GetFS();
    1065413523
    10655     yyrc = VioGetMode(a, b);
    10656     SetFS(sel);
    10657 
    10658     return yyrc;
    10659 }
    10660 
    10661 inline USHORT APIENTRY16 VioGetPhysBuf(PVIOPHYSBUF a, USHORT b)
     13524    yyrc = VIO16GETMODE(a, b);
     13525    SetFS(sel);
     13526
     13527    return yyrc;
     13528}
     13529
     13530#undef  VioGetMode
     13531#define VioGetMode _VioGetMode
     13532
     13533inline USHORT APIENTRY16 _VioGetPhysBuf(PVIOPHYSBUF a, USHORT b)
    1066213534{
    1066313535 USHORT yyrc;
    1066413536 USHORT sel = GetFS();
    1066513537
    10666     yyrc = VioGetPhysBuf(a, b);
    10667     SetFS(sel);
    10668 
    10669     return yyrc;
    10670 }
    10671 
    10672 inline USHORT APIENTRY16 VioGetState(PVOID a, HVIO b)
     13538    yyrc = VIO16GETPHYSBUF(a, b);
     13539    SetFS(sel);
     13540
     13541    return yyrc;
     13542}
     13543
     13544#undef  VioGetPhysBuf
     13545#define VioGetPhysBuf _VioGetPhysBuf
     13546
     13547inline USHORT APIENTRY16 _VioGetState(PVOID a, HVIO b)
    1067313548{
    1067413549 USHORT yyrc;
    1067513550 USHORT sel = GetFS();
    1067613551
    10677     yyrc = VioGetState(a, b);
    10678     SetFS(sel);
    10679 
    10680     return yyrc;
    10681 }
    10682 
    10683 inline USHORT APIENTRY16 VioGlobalReg(PCSZ a, PCSZ b, ULONG c, ULONG d, USHORT e)
     13552    yyrc = VIO16GETSTATE(a, b);
     13553    SetFS(sel);
     13554
     13555    return yyrc;
     13556}
     13557
     13558#undef  VioGetState
     13559#define VioGetState _VioGetState
     13560
     13561inline USHORT APIENTRY16 _VioModeUndo(USHORT a, USHORT b, USHORT c)
    1068413562{
    1068513563 USHORT yyrc;
    1068613564 USHORT sel = GetFS();
    1068713565
    10688     yyrc = VioGlobalReg(a, b, c, d, e);
    10689     SetFS(sel);
    10690 
    10691     return yyrc;
    10692 }
    10693 
    10694 inline USHORT APIENTRY16 VioModeUndo(USHORT a, USHORT b, USHORT c)
     13566    yyrc = VIO16MODEUNDO(a, b, c);
     13567    SetFS(sel);
     13568
     13569    return yyrc;
     13570}
     13571
     13572#undef  VioModeUndo
     13573#define VioModeUndo _VioModeUndo
     13574
     13575inline USHORT APIENTRY16 _VioModeWait(USHORT a, PUSHORT b, USHORT c)
    1069513576{
    1069613577 USHORT yyrc;
    1069713578 USHORT sel = GetFS();
    1069813579
    10699     yyrc = VioModeUndo(a, b, c);
    10700     SetFS(sel);
    10701 
    10702     return yyrc;
    10703 }
    10704 
    10705 inline USHORT APIENTRY16 VioModeWait(USHORT a, PUSHORT b, USHORT c)
     13580    yyrc = VIO16MODEWAIT(a, b, c);
     13581    SetFS(sel);
     13582
     13583    return yyrc;
     13584}
     13585
     13586#undef  VioModeWait
     13587#define VioModeWait _VioModeWait
     13588
     13589inline USHORT APIENTRY16 _VioPopUp(PUSHORT a, HVIO b)
    1070613590{
    1070713591 USHORT yyrc;
    1070813592 USHORT sel = GetFS();
    1070913593
    10710     yyrc = VioModeWait(a, b, c);
    10711     SetFS(sel);
    10712 
    10713     return yyrc;
    10714 }
    10715 
    10716 inline USHORT APIENTRY16 VioPopUp(PUSHORT a, HVIO b)
     13594    yyrc = VIO16POPUP(a, b);
     13595    SetFS(sel);
     13596
     13597    return yyrc;
     13598}
     13599
     13600#undef  VioPopUp
     13601#define VioPopUp _VioPopUp
     13602
     13603inline USHORT APIENTRY16 _VioPrtSc(HVIO a)
    1071713604{
    1071813605 USHORT yyrc;
    1071913606 USHORT sel = GetFS();
    1072013607
    10721     yyrc = VioPopUp(a, b);
    10722     SetFS(sel);
    10723 
    10724     return yyrc;
    10725 }
    10726 
    10727 inline USHORT APIENTRY16 VioPrtSc(HVIO a)
     13608    yyrc = VIO16PRTSC(a);
     13609    SetFS(sel);
     13610
     13611    return yyrc;
     13612}
     13613
     13614#undef  VioPrtSc
     13615#define VioPrtSc _VioPrtSc
     13616
     13617inline USHORT APIENTRY16 _VioPrtScToggle(HVIO a)
    1072813618{
    1072913619 USHORT yyrc;
    1073013620 USHORT sel = GetFS();
    1073113621
    10732     yyrc = VioPrtSc(a);
    10733     SetFS(sel);
    10734 
    10735     return yyrc;
    10736 }
    10737 
    10738 inline USHORT APIENTRY16 VioPrtScToggle(HVIO a)
     13622    yyrc = VIO16PRTSCTOGGLE(a);
     13623    SetFS(sel);
     13624
     13625    return yyrc;
     13626}
     13627
     13628#undef  VioPrtScToggle
     13629#define VioPrtScToggle _VioPrtScToggle
     13630
     13631inline USHORT APIENTRY16 _VioReadCellStr(PCH a, PUSHORT b, USHORT c, USHORT d, HVIO e)
    1073913632{
    1074013633 USHORT yyrc;
    1074113634 USHORT sel = GetFS();
    1074213635
    10743     yyrc = VioPrtScToggle(a);
    10744     SetFS(sel);
    10745 
    10746     return yyrc;
    10747 }
    10748 
    10749 inline USHORT APIENTRY16 VioReadCellStr(PCH a, PUSHORT b, USHORT c, USHORT d, HVIO e)
     13636    yyrc = VIO16READCELLSTR(a, b, c, d, e);
     13637    SetFS(sel);
     13638
     13639    return yyrc;
     13640}
     13641
     13642#undef  VioReadCellStr
     13643#define VioReadCellStr _VioReadCellStr
     13644
     13645inline USHORT APIENTRY16 _VioReadCharStr(PCH a, PUSHORT b, USHORT c, USHORT d, HVIO e)
    1075013646{
    1075113647 USHORT yyrc;
    1075213648 USHORT sel = GetFS();
    1075313649
    10754     yyrc = VioReadCellStr(a, b, c, d, e);
    10755     SetFS(sel);
    10756 
    10757     return yyrc;
    10758 }
    10759 
    10760 inline USHORT APIENTRY16 VioReadCharStr(PCH a, PUSHORT b, USHORT c, USHORT d, HVIO e)
     13650    yyrc = VIO16READCHARSTR(a, b, c, d, e);
     13651    SetFS(sel);
     13652
     13653    return yyrc;
     13654}
     13655
     13656#undef  VioReadCharStr
     13657#define VioReadCharStr _VioReadCharStr
     13658
     13659inline USHORT APIENTRY16 _VioRegister(PSZ a, PSZ b, ULONG c, ULONG d)
    1076113660{
    1076213661 USHORT yyrc;
    1076313662 USHORT sel = GetFS();
    1076413663
    10765     yyrc = VioReadCharStr(a, b, c, d, e);
    10766     SetFS(sel);
    10767 
    10768     return yyrc;
    10769 }
    10770 
    10771 inline USHORT APIENTRY16 VioRegister(PCSZ a, PCSZ b, ULONG c, ULONG d)
     13664    yyrc = VIO16REGISTER(a, b, c, d);
     13665    SetFS(sel);
     13666
     13667    return yyrc;
     13668}
     13669
     13670#undef  VioRegister
     13671#define VioRegister _VioRegister
     13672
     13673inline USHORT APIENTRY16 _VioSavRedrawUndo(USHORT a, USHORT b, USHORT c)
    1077213674{
    1077313675 USHORT yyrc;
    1077413676 USHORT sel = GetFS();
    1077513677
    10776     yyrc = VioRegister(a, b, c, d);
    10777     SetFS(sel);
    10778 
    10779     return yyrc;
    10780 }
    10781 
    10782 inline USHORT APIENTRY16 VioSavRedrawUndo(USHORT a, USHORT b, USHORT c)
     13678    yyrc = VIO16SAVREDRAWUNDO(a, b, c);
     13679    SetFS(sel);
     13680
     13681    return yyrc;
     13682}
     13683
     13684#undef  VioSavRedrawUndo
     13685#define VioSavRedrawUndo _VioSavRedrawUndo
     13686
     13687inline USHORT APIENTRY16 _VioSavRedrawWait(USHORT a, PUSHORT b, USHORT c)
    1078313688{
    1078413689 USHORT yyrc;
    1078513690 USHORT sel = GetFS();
    1078613691
    10787     yyrc = VioSavRedrawUndo(a, b, c);
    10788     SetFS(sel);
    10789 
    10790     return yyrc;
    10791 }
    10792 
    10793 inline USHORT APIENTRY16 VioSavRedrawWait(USHORT a, PUSHORT b, USHORT c)
     13692    yyrc = VIO16SAVREDRAWWAIT(a, b, c);
     13693    SetFS(sel);
     13694
     13695    return yyrc;
     13696}
     13697
     13698#undef  VioSavRedrawWait
     13699#define VioSavRedrawWait _VioSavRedrawWait
     13700
     13701inline USHORT APIENTRY16 _VioScrLock(USHORT a, PUCHAR b, HVIO c)
    1079413702{
    1079513703 USHORT yyrc;
    1079613704 USHORT sel = GetFS();
    1079713705
    10798     yyrc = VioSavRedrawWait(a, b, c);
    10799     SetFS(sel);
    10800 
    10801     return yyrc;
    10802 }
    10803 
    10804 inline USHORT APIENTRY16 VioScrLock(USHORT a, PUCHAR b, HVIO c)
     13706    yyrc = VIO16SCRLOCK(a, b, c);
     13707    SetFS(sel);
     13708
     13709    return yyrc;
     13710}
     13711
     13712#undef  VioScrLock
     13713#define VioScrLock _VioScrLock
     13714
     13715inline USHORT APIENTRY16 _VioScrollDn(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
    1080513716{
    1080613717 USHORT yyrc;
    1080713718 USHORT sel = GetFS();
    1080813719
    10809     yyrc = VioScrLock(a, b, c);
    10810     SetFS(sel);
    10811 
    10812     return yyrc;
    10813 }
    10814 
    10815 inline USHORT APIENTRY16 VioScrollDn(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
     13720    yyrc = VIO16SCROLLDN(a, b, c, d, e, f, g);
     13721    SetFS(sel);
     13722
     13723    return yyrc;
     13724}
     13725
     13726#undef  VioScrollDn
     13727#define VioScrollDn _VioScrollDn
     13728
     13729inline USHORT APIENTRY16 _VioScrollLf(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
    1081613730{
    1081713731 USHORT yyrc;
    1081813732 USHORT sel = GetFS();
    1081913733
    10820     yyrc = VioScrollDn(a, b, c, d, e, f, g);
    10821     SetFS(sel);
    10822 
    10823     return yyrc;
    10824 }
    10825 
    10826 inline USHORT APIENTRY16 VioScrollLf(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
     13734    yyrc = VIO16SCROLLLF(a, b, c, d, e, f, g);
     13735    SetFS(sel);
     13736
     13737    return yyrc;
     13738}
     13739
     13740#undef  VioScrollLf
     13741#define VioScrollLf _VioScrollLf
     13742
     13743inline USHORT APIENTRY16 _VioScrollRt(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
    1082713744{
    1082813745 USHORT yyrc;
    1082913746 USHORT sel = GetFS();
    1083013747
    10831     yyrc = VioScrollLf(a, b, c, d, e, f, g);
    10832     SetFS(sel);
    10833 
    10834     return yyrc;
    10835 }
    10836 
    10837 inline USHORT APIENTRY16 VioScrollRt(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
     13748    yyrc = VIO16SCROLLRT(a, b, c, d, e, f, g);
     13749    SetFS(sel);
     13750
     13751    return yyrc;
     13752}
     13753
     13754#undef  VioScrollRt
     13755#define VioScrollRt _VioScrollRt
     13756
     13757inline USHORT APIENTRY16 _VioScrollUp(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
    1083813758{
    1083913759 USHORT yyrc;
    1084013760 USHORT sel = GetFS();
    1084113761
    10842     yyrc = VioScrollRt(a, b, c, d, e, f, g);
    10843     SetFS(sel);
    10844 
    10845     return yyrc;
    10846 }
    10847 
    10848 inline USHORT APIENTRY16 VioScrollUp(USHORT a, USHORT b, USHORT c, USHORT d, USHORT e, PBYTE f, HVIO g)
     13762    yyrc = VIO16SCROLLUP(a, b, c, d, e, f, g);
     13763    SetFS(sel);
     13764
     13765    return yyrc;
     13766}
     13767
     13768#undef  VioScrollUp
     13769#define VioScrollUp _VioScrollUp
     13770
     13771inline USHORT APIENTRY16 _VioScrUnLock(HVIO a)
    1084913772{
    1085013773 USHORT yyrc;
    1085113774 USHORT sel = GetFS();
    1085213775
    10853     yyrc = VioScrollUp(a, b, c, d, e, f, g);
    10854     SetFS(sel);
    10855 
    10856     return yyrc;
    10857 }
    10858 
    10859 inline USHORT APIENTRY16 VioScrUnLock(HVIO a)
     13776    yyrc = VIO16SCRUNLOCK(a);
     13777    SetFS(sel);
     13778
     13779    return yyrc;
     13780}
     13781
     13782#undef  VioScrUnLock
     13783#define VioScrUnLock _VioScrUnLock
     13784
     13785inline USHORT APIENTRY16 _VioSetAnsi(USHORT a, HVIO b)
    1086013786{
    1086113787 USHORT yyrc;
    1086213788 USHORT sel = GetFS();
    1086313789
    10864     yyrc = VioScrUnLock(a);
    10865     SetFS(sel);
    10866 
    10867     return yyrc;
    10868 }
    10869 
    10870 inline USHORT APIENTRY16 VioSetAnsi(USHORT a, HVIO b)
     13790    yyrc = VIO16SETANSI(a, b);
     13791    SetFS(sel);
     13792
     13793    return yyrc;
     13794}
     13795
     13796#undef  VioSetAnsi
     13797#define VioSetAnsi _VioSetAnsi
     13798
     13799inline USHORT APIENTRY16 _VioSetCp(USHORT a, USHORT b, HVIO c)
    1087113800{
    1087213801 USHORT yyrc;
    1087313802 USHORT sel = GetFS();
    1087413803
    10875     yyrc = VioSetAnsi(a, b);
    10876     SetFS(sel);
    10877 
    10878     return yyrc;
    10879 }
    10880 
    10881 inline USHORT APIENTRY16 VioSetCp(USHORT a, USHORT b, HVIO c)
     13804    yyrc = VIO16SETCP(a, b, c);
     13805    SetFS(sel);
     13806
     13807    return yyrc;
     13808}
     13809
     13810#undef  VioSetCp
     13811#define VioSetCp _VioSetCp
     13812
     13813inline USHORT APIENTRY16 _VioSetCurPos(USHORT a, USHORT b, HVIO c)
    1088213814{
    1088313815 USHORT yyrc;
    1088413816 USHORT sel = GetFS();
    1088513817
    10886     yyrc = VioSetCp(a, b, c);
    10887     SetFS(sel);
    10888 
    10889     return yyrc;
    10890 }
    10891 
    10892 inline USHORT APIENTRY16 VioSetCurPos(USHORT a, USHORT b, HVIO c)
     13818    yyrc = VIO16SETCURPOS(a, b, c);
     13819    SetFS(sel);
     13820
     13821    return yyrc;
     13822}
     13823
     13824#undef  VioSetCurPos
     13825#define VioSetCurPos _VioSetCurPos
     13826
     13827inline USHORT APIENTRY16 _VioSetCurType(PVIOCURSORINFO a, HVIO b)
    1089313828{
    1089413829 USHORT yyrc;
    1089513830 USHORT sel = GetFS();
    1089613831
    10897     yyrc = VioSetCurPos(a, b, c);
    10898     SetFS(sel);
    10899 
    10900     return yyrc;
    10901 }
    10902 
    10903 inline USHORT APIENTRY16 VioSetCurType(PVIOCURSORINFO a, HVIO b)
     13832    yyrc = VIO16SETCURTYPE(a, b);
     13833    SetFS(sel);
     13834
     13835    return yyrc;
     13836}
     13837
     13838#undef  VioSetCurType
     13839#define VioSetCurType _VioSetCurType
     13840
     13841inline USHORT APIENTRY16 _VioSetFont(PVIOFONTINFO a, HVIO b)
    1090413842{
    1090513843 USHORT yyrc;
    1090613844 USHORT sel = GetFS();
    1090713845
    10908     yyrc = VioSetCurType(a, b);
    10909     SetFS(sel);
    10910 
    10911     return yyrc;
    10912 }
    10913 
    10914 inline USHORT APIENTRY16 VioSetFont(PVIOFONTINFO a, HVIO b)
     13846    yyrc = VIO16SETFONT(a, b);
     13847    SetFS(sel);
     13848
     13849    return yyrc;
     13850}
     13851
     13852#undef  VioSetFont
     13853#define VioSetFont _VioSetFont
     13854
     13855inline USHORT APIENTRY16 _VioSetMode(PVIOMODEINFO a, HVIO b)
    1091513856{
    1091613857 USHORT yyrc;
    1091713858 USHORT sel = GetFS();
    1091813859
    10919     yyrc = VioSetFont(a, b);
    10920     SetFS(sel);
    10921 
    10922     return yyrc;
    10923 }
    10924 
    10925 inline USHORT APIENTRY16 VioSetMode(PVIOMODEINFO a, HVIO b)
     13860    yyrc = VIO16SETMODE(a, b);
     13861    SetFS(sel);
     13862
     13863    return yyrc;
     13864}
     13865
     13866#undef  VioSetMode
     13867#define VioSetMode _VioSetMode
     13868
     13869inline USHORT APIENTRY16 _VioSetState(PVOID a, HVIO b)
    1092613870{
    1092713871 USHORT yyrc;
    1092813872 USHORT sel = GetFS();
    1092913873
    10930     yyrc = VioSetMode(a, b);
    10931     SetFS(sel);
    10932 
    10933     return yyrc;
    10934 }
    10935 
    10936 inline USHORT APIENTRY16 VioSetState(PVOID a, HVIO b)
     13874    yyrc = VIO16SETSTATE(a, b);
     13875    SetFS(sel);
     13876
     13877    return yyrc;
     13878}
     13879
     13880#undef  VioSetState
     13881#define VioSetState _VioSetState
     13882
     13883inline USHORT APIENTRY16 _VioShowBuf(USHORT a, USHORT b, HVIO c)
    1093713884{
    1093813885 USHORT yyrc;
    1093913886 USHORT sel = GetFS();
    1094013887
    10941     yyrc = VioSetState(a, b);
    10942     SetFS(sel);
    10943 
    10944     return yyrc;
    10945 }
    10946 
    10947 inline USHORT APIENTRY16 VioShowBuf(USHORT a, USHORT b, HVIO c)
     13888    yyrc = VIO16SHOWBUF(a, b, c);
     13889    SetFS(sel);
     13890
     13891    return yyrc;
     13892}
     13893
     13894#undef  VioShowBuf
     13895#define VioShowBuf _VioShowBuf
     13896
     13897inline USHORT APIENTRY16 _VioWrtCellStr(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
    1094813898{
    1094913899 USHORT yyrc;
    1095013900 USHORT sel = GetFS();
    1095113901
    10952     yyrc = VioShowBuf(a, b, c);
    10953     SetFS(sel);
    10954 
    10955     return yyrc;
    10956 }
    10957 
    10958 inline USHORT APIENTRY16 VioWrtCellStr(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
     13902    yyrc = VIO16WRTCELLSTR(a, b, c, d, e);
     13903    SetFS(sel);
     13904
     13905    return yyrc;
     13906}
     13907
     13908#undef  VioWrtCellStr
     13909#define VioWrtCellStr _VioWrtCellStr
     13910
     13911inline USHORT APIENTRY16 _VioWrtCharStr(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
    1095913912{
    1096013913 USHORT yyrc;
    1096113914 USHORT sel = GetFS();
    1096213915
    10963     yyrc = VioWrtCellStr(a, b, c, d, e);
    10964     SetFS(sel);
    10965 
    10966     return yyrc;
    10967 }
    10968 
    10969 inline USHORT APIENTRY16 VioWrtCharStr(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
     13916    yyrc = VIO16WRTCHARSTR(a, b, c, d, e);
     13917    SetFS(sel);
     13918
     13919    return yyrc;
     13920}
     13921
     13922#undef  VioWrtCharStr
     13923#define VioWrtCharStr _VioWrtCharStr
     13924
     13925inline USHORT APIENTRY16 _VioWrtCharStrAtt(PCH a, USHORT b, USHORT c, USHORT d, PBYTE e, HVIO f)
    1097013926{
    1097113927 USHORT yyrc;
    1097213928 USHORT sel = GetFS();
    1097313929
    10974     yyrc = VioWrtCharStr(a, b, c, d, e);
    10975     SetFS(sel);
    10976 
    10977     return yyrc;
    10978 }
    10979 
    10980 inline USHORT APIENTRY16 VioWrtCharStrAtt(PCH a, USHORT b, USHORT c, USHORT d, PBYTE e, HVIO f)
     13930    yyrc = VIO16WRTCHARSTRATT(a, b, c, d, e, f);
     13931    SetFS(sel);
     13932
     13933    return yyrc;
     13934}
     13935
     13936#undef  VioWrtCharStrAtt
     13937#define VioWrtCharStrAtt _VioWrtCharStrAtt
     13938
     13939inline USHORT APIENTRY16 _VioWrtNAttr(PBYTE a, USHORT b, USHORT c, USHORT d, HVIO e)
    1098113940{
    1098213941 USHORT yyrc;
    1098313942 USHORT sel = GetFS();
    1098413943
    10985     yyrc = VioWrtCharStrAtt(a, b, c, d, e, f);
    10986     SetFS(sel);
    10987 
    10988     return yyrc;
    10989 }
    10990 
    10991 inline USHORT APIENTRY16 VioWrtNAttr(CONST BYTE *a, USHORT b, USHORT c, USHORT d, HVIO e)
     13944    yyrc = VIO16WRTNATTR(a, b, c, d, e);
     13945    SetFS(sel);
     13946
     13947    return yyrc;
     13948}
     13949
     13950#undef  VioWrtNAttr
     13951#define VioWrtNAttr _VioWrtNAttr
     13952
     13953inline USHORT APIENTRY16 _VioWrtNCell(PBYTE a, USHORT b, USHORT c, USHORT d, HVIO e)
    1099213954{
    1099313955 USHORT yyrc;
    1099413956 USHORT sel = GetFS();
    1099513957
    10996     yyrc = VioWrtNAttr(a, b, c, d, e);
    10997     SetFS(sel);
    10998 
    10999     return yyrc;
    11000 }
    11001 
    11002 inline USHORT APIENTRY16 VioWrtNCell(CONST BYTE *a, USHORT b, USHORT c, USHORT d, HVIO e)
     13958    yyrc = VIO16WRTNCELL(a, b, c, d, e);
     13959    SetFS(sel);
     13960
     13961    return yyrc;
     13962}
     13963
     13964#undef  VioWrtNCell
     13965#define VioWrtNCell _VioWrtNCell
     13966
     13967inline USHORT APIENTRY16 _VioWrtNChar(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
    1100313968{
    1100413969 USHORT yyrc;
    1100513970 USHORT sel = GetFS();
    1100613971
    11007     yyrc = VioWrtNCell(a, b, c, d, e);
    11008     SetFS(sel);
    11009 
    11010     return yyrc;
    11011 }
    11012 
    11013 inline USHORT APIENTRY16 VioWrtNChar(PCH a, USHORT b, USHORT c, USHORT d, HVIO e)
     13972    yyrc = VIO16WRTNCHAR(a, b, c, d, e);
     13973    SetFS(sel);
     13974
     13975    return yyrc;
     13976}
     13977
     13978#undef  VioWrtNChar
     13979#define VioWrtNChar _VioWrtNChar
     13980
     13981inline USHORT APIENTRY16 _VioWrtTTY(PCH a, USHORT b, HVIO c)
    1101413982{
    1101513983 USHORT yyrc;
    1101613984 USHORT sel = GetFS();
    1101713985
    11018     yyrc = VioWrtNChar(a, b, c, d, e);
    11019     SetFS(sel);
    11020 
    11021     return yyrc;
    11022 }
    11023 
    11024 inline USHORT APIENTRY16 VioWrtTTY(PCH a, USHORT b, HVIO c)
    11025 {
    11026  USHORT yyrc;
    11027  USHORT sel = GetFS();
    11028 
    11029     yyrc = VioWrtTTY(a, b, c);
    11030     SetFS(sel);
    11031 
    11032     return yyrc;
    11033 }
     13986    yyrc = VIO16WRTTTY(a, b, c);
     13987    SetFS(sel);
     13988
     13989    return yyrc;
     13990}
     13991
     13992#undef  VioWrtTTY
     13993#define VioWrtTTY _VioWrtTTY
    1103413994
    1103513995#endif
    1103613996#ifdef INCL_MOU
    11037 inline USHORT APIENTRY16 MouClose(HMOU a)
     13997inline USHORT APIENTRY16 _MouClose(HMOU a)
    1103813998{
    1103913999 USHORT yyrc;
    1104014000 USHORT sel = GetFS();
    1104114001
    11042     yyrc = MouClose(a);
    11043     SetFS(sel);
    11044 
    11045     return yyrc;
    11046 }
    11047 
    11048 inline USHORT APIENTRY16 MouDeRegister()
     14002    yyrc = MOU16CLOSE(a);
     14003    SetFS(sel);
     14004
     14005    return yyrc;
     14006}
     14007
     14008#undef  MouClose
     14009#define MouClose _MouClose
     14010
     14011inline USHORT APIENTRY16 _MouDeRegister()
    1104914012{
    1105014013 USHORT yyrc;
    1105114014 USHORT sel = GetFS();
    1105214015
    11053     yyrc = MouDeRegister();
    11054     SetFS(sel);
    11055 
    11056     return yyrc;
    11057 }
    11058 
    11059 inline USHORT APIENTRY16 MouDrawPtr(HMOU a)
     14016    yyrc = MOU16DEREGISTER();
     14017    SetFS(sel);
     14018
     14019    return yyrc;
     14020}
     14021
     14022#undef  MouDeRegister
     14023#define MouDeRegister _MouDeRegister
     14024
     14025inline USHORT APIENTRY16 _MouDrawPtr(HMOU a)
    1106014026{
    1106114027 USHORT yyrc;
    1106214028 USHORT sel = GetFS();
    1106314029
    11064     yyrc = MouDrawPtr(a);
    11065     SetFS(sel);
    11066 
    11067     return yyrc;
    11068 }
    11069 
    11070 inline USHORT APIENTRY16 MouFlushQue(HMOU a)
     14030    yyrc = MOU16DRAWPTR(a);
     14031    SetFS(sel);
     14032
     14033    return yyrc;
     14034}
     14035
     14036#undef  MouDrawPtr
     14037#define MouDrawPtr _MouDrawPtr
     14038
     14039inline USHORT APIENTRY16 _MouFlushQue(HMOU a)
    1107114040{
    1107214041 USHORT yyrc;
    1107314042 USHORT sel = GetFS();
    1107414043
    11075     yyrc = MouFlushQue(a);
    11076     SetFS(sel);
    11077 
    11078     return yyrc;
    11079 }
    11080 
    11081 inline USHORT APIENTRY16 MouGetDevStatus(PUSHORT a, HMOU b)
     14044    yyrc = MOU16FLUSHQUE(a);
     14045    SetFS(sel);
     14046
     14047    return yyrc;
     14048}
     14049
     14050#undef  MouFlushQue
     14051#define MouFlushQue _MouFlushQue
     14052
     14053inline USHORT APIENTRY16 _MouGetDevStatus(PUSHORT a, HMOU b)
    1108214054{
    1108314055 USHORT yyrc;
    1108414056 USHORT sel = GetFS();
    1108514057
    11086     yyrc = MouGetDevStatus(a, b);
    11087     SetFS(sel);
    11088 
    11089     return yyrc;
    11090 }
    11091 
    11092 inline USHORT APIENTRY16 MouGetEventMask(PUSHORT a, HMOU b)
     14058    yyrc = MOU16GETDEVSTATUS(a, b);
     14059    SetFS(sel);
     14060
     14061    return yyrc;
     14062}
     14063
     14064#undef  MouGetDevStatus
     14065#define MouGetDevStatus _MouGetDevStatus
     14066
     14067inline USHORT APIENTRY16 _MouGetEventMask(PUSHORT a, HMOU b)
    1109314068{
    1109414069 USHORT yyrc;
    1109514070 USHORT sel = GetFS();
    1109614071
    11097     yyrc = MouGetEventMask(a, b);
    11098     SetFS(sel);
    11099 
    11100     return yyrc;
    11101 }
    11102 
    11103 inline USHORT APIENTRY16 MouGetNumButtons(PUSHORT a, HMOU b)
     14072    yyrc = MOU16GETEVENTMASK(a, b);
     14073    SetFS(sel);
     14074
     14075    return yyrc;
     14076}
     14077
     14078#undef  MouGetEventMask
     14079#define MouGetEventMask _MouGetEventMask
     14080
     14081inline USHORT APIENTRY16 _MouGetNumButtons(PUSHORT a, HMOU b)
    1110414082{
    1110514083 USHORT yyrc;
    1110614084 USHORT sel = GetFS();
    1110714085
    11108     yyrc = MouGetNumButtons(a, b);
    11109     SetFS(sel);
    11110 
    11111     return yyrc;
    11112 }
    11113 
    11114 inline USHORT APIENTRY16 MouGetNumMickeys(PUSHORT a, HMOU b)
     14086    yyrc = MOU16GETNUMBUTTONS(a, b);
     14087    SetFS(sel);
     14088
     14089    return yyrc;
     14090}
     14091
     14092#undef  MouGetNumButtons
     14093#define MouGetNumButtons _MouGetNumButtons
     14094
     14095inline USHORT APIENTRY16 _MouGetNumMickeys(PUSHORT a, HMOU b)
    1111514096{
    1111614097 USHORT yyrc;
    1111714098 USHORT sel = GetFS();
    1111814099
    11119     yyrc = MouGetNumMickeys(a, b);
    11120     SetFS(sel);
    11121 
    11122     return yyrc;
    11123 }
    11124 
    11125 inline USHORT APIENTRY16 MouGetNumQueEl(PMOUQUEINFO a, HMOU b)
     14100    yyrc = MOU16GETNUMMICKEYS(a, b);
     14101    SetFS(sel);
     14102
     14103    return yyrc;
     14104}
     14105
     14106#undef  MouGetNumMickeys
     14107#define MouGetNumMickeys _MouGetNumMickeys
     14108
     14109inline USHORT APIENTRY16 _MouGetNumQueEl(PMOUQUEINFO a, HMOU b)
    1112614110{
    1112714111 USHORT yyrc;
    1112814112 USHORT sel = GetFS();
    1112914113
    11130     yyrc = MouGetNumQueEl(a, b);
    11131     SetFS(sel);
    11132 
    11133     return yyrc;
    11134 }
    11135 
    11136 inline USHORT APIENTRY16 MouGetPtrPos(PPTRLOC a, HMOU b)
     14114    yyrc = MOU16GETNUMQUEEL(a, b);
     14115    SetFS(sel);
     14116
     14117    return yyrc;
     14118}
     14119
     14120#undef  MouGetNumQueEl
     14121#define MouGetNumQueEl _MouGetNumQueEl
     14122
     14123inline USHORT APIENTRY16 _MouGetPtrPos(PPTRLOC a, HMOU b)
    1113714124{
    1113814125 USHORT yyrc;
    1113914126 USHORT sel = GetFS();
    1114014127
    11141     yyrc = MouGetPtrPos(a, b);
    11142     SetFS(sel);
    11143 
    11144     return yyrc;
    11145 }
    11146 
    11147 inline USHORT APIENTRY16 MouGetPtrShape(PBYTE a, PPTRSHAPE b, HMOU c)
     14128    yyrc = MOU16GETPTRPOS(a, b);
     14129    SetFS(sel);
     14130
     14131    return yyrc;
     14132}
     14133
     14134#undef  MouGetPtrPos
     14135#define MouGetPtrPos _MouGetPtrPos
     14136
     14137inline USHORT APIENTRY16 _MouGetPtrShape(PBYTE a, PPTRSHAPE b, HMOU c)
    1114814138{
    1114914139 USHORT yyrc;
    1115014140 USHORT sel = GetFS();
    1115114141
    11152     yyrc = MouGetPtrShape(a, b, c);
    11153     SetFS(sel);
    11154 
    11155     return yyrc;
    11156 }
    11157 
    11158 inline USHORT APIENTRY16 MouGetScaleFact(PSCALEFACT a, HMOU b)
     14142    yyrc = MOU16GETPTRSHAPE(a, b, c);
     14143    SetFS(sel);
     14144
     14145    return yyrc;
     14146}
     14147
     14148#undef  MouGetPtrShape
     14149#define MouGetPtrShape _MouGetPtrShape
     14150
     14151inline USHORT APIENTRY16 _MouGetScaleFact(PSCALEFACT a, HMOU b)
    1115914152{
    1116014153 USHORT yyrc;
    1116114154 USHORT sel = GetFS();
    1116214155
    11163     yyrc = MouGetScaleFact(a, b);
    11164     SetFS(sel);
    11165 
    11166     return yyrc;
    11167 }
    11168 
    11169 inline USHORT APIENTRY16 MouGetThreshold(PTHRESHOLD a, HMOU b)
     14156    yyrc = MOU16GETSCALEFACT(a, b);
     14157    SetFS(sel);
     14158
     14159    return yyrc;
     14160}
     14161
     14162#undef  MouGetScaleFact
     14163#define MouGetScaleFact _MouGetScaleFact
     14164
     14165inline USHORT APIENTRY16 _MouGetThreshold(PTHRESHOLD a, HMOU b)
    1117014166{
    1117114167 USHORT yyrc;
    1117214168 USHORT sel = GetFS();
    1117314169
    11174     yyrc = MouGetThreshold(a, b);
    11175     SetFS(sel);
    11176 
    11177     return yyrc;
    11178 }
    11179 
    11180 inline USHORT APIENTRY16 MouInitReal(PCSZ a)
     14170    yyrc = MOU16GETTHRESHOLD(a, b);
     14171    SetFS(sel);
     14172
     14173    return yyrc;
     14174}
     14175
     14176#undef  MouGetThreshold
     14177#define MouGetThreshold _MouGetThreshold
     14178
     14179inline USHORT APIENTRY16 _MouInitReal(PSZ a)
    1118114180{
    1118214181 USHORT yyrc;
    1118314182 USHORT sel = GetFS();
    1118414183
    11185     yyrc = MouInitReal(a);
    11186     SetFS(sel);
    11187 
    11188     return yyrc;
    11189 }
    11190 
    11191 inline USHORT APIENTRY16 MouOpen(PCSZ a, PHMOU b)
     14184    yyrc = MOU16INITREAL(a);
     14185    SetFS(sel);
     14186
     14187    return yyrc;
     14188}
     14189
     14190#undef  MouInitReal
     14191#define MouInitReal _MouInitReal
     14192
     14193inline USHORT APIENTRY16 _MouOpen(PSZ a, PHMOU b)
    1119214194{
    1119314195 USHORT yyrc;
    1119414196 USHORT sel = GetFS();
    1119514197
    11196     yyrc = MouOpen(a, b);
    11197     SetFS(sel);
    11198 
    11199     return yyrc;
    11200 }
    11201 
    11202 inline USHORT APIENTRY16 MouReadEventQue(PMOUEVENTINFO a, PUSHORT b, HMOU c)
     14198    yyrc = MOU16OPEN(a, b);
     14199    SetFS(sel);
     14200
     14201    return yyrc;
     14202}
     14203
     14204#undef  MouOpen
     14205#define MouOpen _MouOpen
     14206
     14207inline USHORT APIENTRY16 _MouReadEventQue(PMOUEVENTINFO a, PUSHORT b, HMOU c)
    1120314208{
    1120414209 USHORT yyrc;
    1120514210 USHORT sel = GetFS();
    1120614211
    11207     yyrc = MouReadEventQue(a, b, c);
    11208     SetFS(sel);
    11209 
    11210     return yyrc;
    11211 }
    11212 
    11213 inline USHORT APIENTRY16 MouRegister(PCSZ a, PCSZ b, ULONG c)
     14212    yyrc = MOU16READEVENTQUE(a, b, c);
     14213    SetFS(sel);
     14214
     14215    return yyrc;
     14216}
     14217
     14218#undef  MouReadEventQue
     14219#define MouReadEventQue _MouReadEventQue
     14220
     14221inline USHORT APIENTRY16 _MouRegister(PSZ a, PSZ b, ULONG c)
    1121414222{
    1121514223 USHORT yyrc;
    1121614224 USHORT sel = GetFS();
    1121714225
    11218     yyrc = MouRegister(a, b, c);
    11219     SetFS(sel);
    11220 
    11221     return yyrc;
    11222 }
    11223 
    11224 inline USHORT APIENTRY16 MouRemovePtr(PNOPTRRECT a, HMOU b)
     14226    yyrc = MOU16REGISTER(a, b, c);
     14227    SetFS(sel);
     14228
     14229    return yyrc;
     14230}
     14231
     14232#undef  MouRegister
     14233#define MouRegister _MouRegister
     14234
     14235inline USHORT APIENTRY16 _MouRemovePtr(PNOPTRRECT a, HMOU b)
    1122514236{
    1122614237 USHORT yyrc;
    1122714238 USHORT sel = GetFS();
    1122814239
    11229     yyrc = MouRemovePtr(a, b);
    11230     SetFS(sel);
    11231 
    11232     return yyrc;
    11233 }
    11234 
    11235 inline USHORT APIENTRY16 MouSetDevStatus(PUSHORT a, HMOU b)
     14240    yyrc = MOU16REMOVEPTR(a, b);
     14241    SetFS(sel);
     14242
     14243    return yyrc;
     14244}
     14245
     14246#undef  MouRemovePtr
     14247#define MouRemovePtr _MouRemovePtr
     14248
     14249inline USHORT APIENTRY16 _MouSetDevStatus(PUSHORT a, HMOU b)
    1123614250{
    1123714251 USHORT yyrc;
    1123814252 USHORT sel = GetFS();
    1123914253
    11240     yyrc = MouSetDevStatus(a, b);
    11241     SetFS(sel);
    11242 
    11243     return yyrc;
    11244 }
    11245 
    11246 inline USHORT APIENTRY16 MouSetEventMask(PUSHORT a, HMOU b)
     14254    yyrc = MOU16SETDEVSTATUS(a, b);
     14255    SetFS(sel);
     14256
     14257    return yyrc;
     14258}
     14259
     14260#undef  MouSetDevStatus
     14261#define MouSetDevStatus _MouSetDevStatus
     14262
     14263inline USHORT APIENTRY16 _MouSetEventMask(PUSHORT a, HMOU b)
    1124714264{
    1124814265 USHORT yyrc;
    1124914266 USHORT sel = GetFS();
    1125014267
    11251     yyrc = MouSetEventMask(a, b);
    11252     SetFS(sel);
    11253 
    11254     return yyrc;
    11255 }
    11256 
    11257 inline USHORT APIENTRY16 MouSetPtrPos(PPTRLOC a, HMOU b)
     14268    yyrc = MOU16SETEVENTMASK(a, b);
     14269    SetFS(sel);
     14270
     14271    return yyrc;
     14272}
     14273
     14274#undef  MouSetEventMask
     14275#define MouSetEventMask _MouSetEventMask
     14276
     14277inline USHORT APIENTRY16 _MouSetPtrPos(PPTRLOC a, HMOU b)
    1125814278{
    1125914279 USHORT yyrc;
    1126014280 USHORT sel = GetFS();
    1126114281
    11262     yyrc = MouSetPtrPos(a, b);
    11263     SetFS(sel);
    11264 
    11265     return yyrc;
    11266 }
    11267 
    11268 inline USHORT APIENTRY16 MouSetPtrShape(PBYTE a, PPTRSHAPE b, HMOU c)
     14282    yyrc = MOU16SETPTRPOS(a, b);
     14283    SetFS(sel);
     14284
     14285    return yyrc;
     14286}
     14287
     14288#undef  MouSetPtrPos
     14289#define MouSetPtrPos _MouSetPtrPos
     14290
     14291inline USHORT APIENTRY16 _MouSetPtrShape(PBYTE a, PPTRSHAPE b, HMOU c)
    1126914292{
    1127014293 USHORT yyrc;
    1127114294 USHORT sel = GetFS();
    1127214295
    11273     yyrc = MouSetPtrShape(a, b, c);
    11274     SetFS(sel);
    11275 
    11276     return yyrc;
    11277 }
    11278 
    11279 inline USHORT APIENTRY16 MouSetScaleFact(PSCALEFACT a, HMOU b)
     14296    yyrc = MOU16SETPTRSHAPE(a, b, c);
     14297    SetFS(sel);
     14298
     14299    return yyrc;
     14300}
     14301
     14302#undef  MouSetPtrShape
     14303#define MouSetPtrShape _MouSetPtrShape
     14304
     14305inline USHORT APIENTRY16 _MouSetScaleFact(PSCALEFACT a, HMOU b)
    1128014306{
    1128114307 USHORT yyrc;
    1128214308 USHORT sel = GetFS();
    1128314309
    11284     yyrc = MouSetScaleFact(a, b);
    11285     SetFS(sel);
    11286 
    11287     return yyrc;
    11288 }
    11289 
    11290 inline USHORT APIENTRY16 MouSetThreshold(PTHRESHOLD a, HMOU b)
     14310    yyrc = MOU16SETSCALEFACT(a, b);
     14311    SetFS(sel);
     14312
     14313    return yyrc;
     14314}
     14315
     14316#undef  MouSetScaleFact
     14317#define MouSetScaleFact _MouSetScaleFact
     14318
     14319inline USHORT APIENTRY16 _MouSetThreshold(PTHRESHOLD a, HMOU b)
    1129114320{
    1129214321 USHORT yyrc;
    1129314322 USHORT sel = GetFS();
    1129414323
    11295     yyrc = MouSetThreshold(a, b);
    11296     SetFS(sel);
    11297 
    11298     return yyrc;
    11299 }
    11300 
    11301 inline USHORT APIENTRY16 MouSynch(USHORT a)
     14324    yyrc = MOU16SETTHRESHOLD(a, b);
     14325    SetFS(sel);
     14326
     14327    return yyrc;
     14328}
     14329
     14330#undef  MouSetThreshold
     14331#define MouSetThreshold _MouSetThreshold
     14332
     14333inline USHORT APIENTRY16 _MouSynch(USHORT a)
    1130214334{
    1130314335 USHORT yyrc;
    1130414336 USHORT sel = GetFS();
    1130514337
    11306     yyrc = MouSynch(a);
    11307     SetFS(sel);
    11308 
    11309     return yyrc;
    11310 }
     14338    yyrc = MOU16SYNCH(a);
     14339    SetFS(sel);
     14340
     14341    return yyrc;
     14342}
     14343
     14344#undef  MouSynch
     14345#define MouSynch _MouSynch
    1131114346
    1131214347#endif
Note: See TracChangeset for help on using the changeset viewer.