Changeset 484


Ignore:
Timestamp:
Aug 12, 1999, 12:27:56 AM (26 years ago)
Author:
phaller
Message:

Fix: update

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/changelog

    r478 r484  
    1  /* $Id: changelog,v 1.77 1999-08-11 17:16:03 sandervl Exp $ */
     1 /* $Id: changelog,v 1.78 1999-08-11 22:24:17 phaller Exp $ */
     2 99-08-11: Patrick Haller <phaller@gmx.net>
     3        - ODINCRT: ordinal exports
     4        - ADVAPI32:odinwrap macros (partially)
     5        - LZ32:    odinwrap macros
     6
    27 99-08-10: Sander van Leeuwen <sandervl@xs4all.nl>
    38        - USER32/NEW: Fixed makefile (link with odincrt)
  • TabularUnified trunk/include/odincrt.h

    r470 r484  
    1 /* $Id: odincrt.h,v 1.2 1999-08-10 13:52:09 phaller Exp $ */
     1/* $Id: odincrt.h,v 1.3 1999-08-11 22:25:50 phaller Exp $ */
    22
    33/*
     
    9797 ****************************************************************************/
    9898
    99 void*  ODINAPI  __nw__FUi         ( void* p1 );              // operator new()
     99void*  ODINAPI  __nw__FUi         ( unsigned int i );        // operator new()
    100100
    101101//@@@PH ODIN_new(myClass, ##myParams) new ....
  • TabularUnified trunk/include/odinwrap.h

    r476 r484  
    1 /* $Id: odinwrap.h,v 1.3 1999-08-11 14:59:36 phaller Exp $ */
     1/* $Id: odinwrap.h,v 1.4 1999-08-11 22:25:50 phaller Exp $ */
    22
    33/*
     
    1919 ****************************************************************************/
    2020
    21 #define ODIN_INTERNAL _Optlink
     21#define ODIN_INTERNAL _Optlink _Export
    2222
    2323
     
    3737/* ---------- 0 parameters ---------- */
    3838#define ODINFUNCTION0(cRet,cName)             \
    39   cRet ODIN_INTERNAL cName (void);            \
    40   cRet WINAPI ODIN_##cName(void)              \
     39  cRet ODIN_INTERNAL ODIN_##cName (void);            \
     40  cRet WINAPI cName(void)              \
    4141  {                                           \
    4242    unsigned short sel = RestoreOS2FS();      \
     
    5151  }                                           \
    5252                                              \
    53   cRet ODIN_INTERNAL cName (void)
     53  cRet ODIN_INTERNAL ODIN_##cName (void)
    5454
    5555
    5656#define ODINPROCEDURE0(cName)                 \
    57   void ODIN_INTERNAL cName (void);            \
    58   void WINAPI ODIN_##cName(void)              \
     57  void ODIN_INTERNAL ODIN_##cName (void);            \
     58  void WINAPI cName(void)              \
    5959  {                                           \
    6060    unsigned short sel = RestoreOS2FS();      \
     
    6767  }                                           \
    6868                                              \
    69   void ODIN_INTERNAL cName (void)
     69  void ODIN_INTERNAL ODIN_##cName (void)
    7070
    7171
    7272/* ---------- 1 parameters ---------- */
    7373#define ODINFUNCTION1(cRet,cName,t1,a1)       \
    74   cRet ODIN_INTERNAL cName (t1 a1);           \
    75   cRet WINAPI ODIN_##cName(t1 a1)             \
     74  cRet ODIN_INTERNAL ODIN_##cName (t1 a1);           \
     75  cRet WINAPI cName(t1 a1)             \
    7676  {                                           \
    7777    unsigned short sel = RestoreOS2FS();      \
     
    8787  }                                           \
    8888                                              \
    89   cRet ODIN_INTERNAL cName (t1 a1)
     89  cRet ODIN_INTERNAL ODIN_##cName (t1 a1)
    9090
    9191#define ODINPROCEDURE1(cName,t1,a1)           \
    92   void ODIN_INTERNAL cName (t1 a1);           \
    93   void WINAPI ODIN_##cName(t1 a1)             \
     92  void ODIN_INTERNAL ODIN_##cName (t1 a1);           \
     93  void WINAPI cName(t1 a1)             \
    9494  {                                           \
    9595    unsigned short sel = RestoreOS2FS();      \
     
    103103  }                                           \
    104104                                              \
    105   void ODIN_INTERNAL cName (t1 a1)
     105  void ODIN_INTERNAL ODIN_##cName (t1 a1)
    106106
    107107
    108108/* ---------- 2 parameters ---------- */
    109109#define ODINFUNCTION2(cRet,cName,t1,a1,t2,a2)  \
    110   cRet ODIN_INTERNAL cName (t1 a1,t2 a2);      \
    111   cRet WINAPI ODIN_##cName(t1 a1,t2 a2)        \
     110  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2);      \
     111  cRet WINAPI cName(t1 a1,t2 a2)        \
    112112  {                                            \
    113113    unsigned short sel = RestoreOS2FS();       \
     
    123123  }                                           \
    124124                                              \
    125   cRet ODIN_INTERNAL cName (t1 a1,t2 a2)
     125  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2)
    126126
    127127#define ODINPROCEDURE2(cName,t1,a1,t2,a2)     \
    128   void ODIN_INTERNAL cName (t1 a1,t2 a2);     \
    129   void WINAPI ODIN_##cName(t1 a1,t2 a2)       \
     128  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2);     \
     129  void WINAPI cName(t1 a1,t2 a2)       \
    130130  {                                           \
    131131    unsigned short sel = RestoreOS2FS();      \
     
    139139  }                                           \
    140140                                              \
    141   void ODIN_INTERNAL cName (t1 a1,t2 a2)
     141  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2)
    142142
    143143
    144144/* ---------- 3 parameters ---------- */
    145145#define ODINFUNCTION3(cRet,cName,t1,a1,t2,a2,t3,a3)  \
    146   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3);      \
    147   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3)        \
     146  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3);      \
     147  cRet WINAPI cName(t1 a1,t2 a2,t3 a3)        \
    148148  {                               \
    149149    unsigned short sel = RestoreOS2FS();  \
     
    159159  }                               \
    160160                                  \
    161   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)
     161  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3)
    162162
    163163#define ODINPROCEDURE3(cName,t1,a1,t2,a2,t3,a3)  \
    164   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3);  \
    165   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3)    \
     164  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3);  \
     165  void WINAPI cName(t1 a1,t2 a2,t3 a3)    \
    166166  {                               \
    167167    unsigned short sel = RestoreOS2FS();  \
     
    175175  }                               \
    176176                                  \
    177   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)
     177  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3)
    178178
    179179
    180180/* ---------- 4 parameters ---------- */
    181181#define ODINFUNCTION4(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4)  \
    182   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4);      \
    183   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4)        \
     182  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4);      \
     183  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4)        \
    184184  {                               \
    185185    unsigned short sel = RestoreOS2FS();  \
     
    195195  }                               \
    196196                                  \
    197   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4)
     197  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4)
    198198
    199199#define ODINPROCEDURE4(cName,t1,a1,t2,a2,t3,a3,t4,a4)  \
    200   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4);  \
    201   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4)    \
     200  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4);  \
     201  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4)    \
    202202  {                               \
    203203    unsigned short sel = RestoreOS2FS();  \
     
    211211  }                               \
    212212                                  \
    213   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4)
     213  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4)
    214214
    215215
    216216/* ---------- 5 parameters ---------- */
    217217#define ODINFUNCTION5(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5)  \
    218   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);      \
    219   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)        \
     218  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);      \
     219  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)        \
    220220  {                               \
    221221    unsigned short sel = RestoreOS2FS();  \
     
    232232  }                               \
    233233                                  \
    234   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
     234  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
    235235
    236236#define ODINPROCEDURE5(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5)  \
    237   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);  \
    238   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)    \
     237  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);  \
     238  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)    \
    239239  {                               \
    240240    unsigned short sel = RestoreOS2FS();  \
     
    249249  }                               \
    250250                                  \
    251   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
     251  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
    252252
    253253
    254254/* ---------- 6 parameters ---------- */
    255255#define ODINFUNCTION6(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6)  \
    256   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);      \
    257   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)        \
     256  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);      \
     257  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)        \
    258258  {                               \
    259259    unsigned short sel = RestoreOS2FS();  \
     
    270270  }                               \
    271271                                  \
    272   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
     272  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
    273273
    274274#define ODINPROCEDURE6(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6)  \
    275   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);  \
    276   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)    \
     275  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);  \
     276  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)    \
    277277  {                               \
    278278    unsigned short sel = RestoreOS2FS();  \
     
    287287  }                               \
    288288                                  \
    289   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
     289  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
    290290
    291291
    292292/* ---------- 7 parameters ---------- */
    293293#define ODINFUNCTION7(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7)  \
    294   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);      \
    295   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)        \
     294  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);      \
     295  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)        \
    296296  {                               \
    297297    unsigned short sel = RestoreOS2FS();  \
     
    308308  }                               \
    309309                                  \
    310   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
     310  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
    311311
    312312#define ODINPROCEDURE7(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7)  \
    313   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);  \
    314   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)    \
     313  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);  \
     314  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)    \
    315315  {                               \
    316316    unsigned short sel = RestoreOS2FS();  \
     
    325325  }                               \
    326326                                  \
    327   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
     327  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
    328328
    329329
    330330/* ---------- 8 parameters ---------- */
    331331#define ODINFUNCTION8(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8)  \
    332   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);      \
    333   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)        \
     332  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);      \
     333  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)        \
    334334  {                               \
    335335    unsigned short sel = RestoreOS2FS();  \
     
    347347  }                               \
    348348                                  \
    349   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8)
     349  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)
    350350
    351351#define ODINPROCEDURE8(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8)  \
    352   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);  \
    353   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)    \
     352  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);  \
     353  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)    \
    354354  {                               \
    355355    unsigned short sel = RestoreOS2FS();  \
     
    365365  }                               \
    366366                                  \
    367   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)
     367  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)
    368368
    369369
    370370/* ---------- 9 parameters ---------- */
    371371#define ODINFUNCTION9(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9)  \
    372   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);      \
    373   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)        \
     372  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);      \
     373  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)        \
    374374  {                               \
    375375    unsigned short sel = RestoreOS2FS();  \
     
    387387  }                               \
    388388                                  \
    389   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
     389  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
    390390
    391391#define ODINPROCEDURE9(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9)  \
    392   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);  \
    393   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)    \
     392  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);  \
     393  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)    \
    394394  {                               \
    395395    unsigned short sel = RestoreOS2FS();  \
     
    405405  }                               \
    406406                                  \
    407   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
     407  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
    408408
    409409
    410410/* ---------- 10 parameters ---------- */
    411411#define ODINFUNCTION10(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10)  \
    412   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);      \
    413   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)        \
     412  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);      \
     413  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)        \
    414414  {                               \
    415415    unsigned short sel = RestoreOS2FS();  \
     
    427427  }                               \
    428428                                  \
    429   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
     429  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
    430430
    431431#define ODINPROCEDURE10(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10)  \
    432   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);  \
    433   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)    \
     432  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);  \
     433  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)    \
    434434  {                               \
    435435    unsigned short sel = RestoreOS2FS();  \
     
    445445  }                               \
    446446                                  \
    447   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
     447  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
    448448
    449449
    450450/* ---------- 11 parameters ---------- */
    451451#define ODINFUNCTION11(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11)  \
    452   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);      \
    453   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)        \
     452  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);      \
     453  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)        \
    454454  {                               \
    455455    unsigned short sel = RestoreOS2FS();  \
     
    467467  }                               \
    468468                                  \
    469   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
     469  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
    470470
    471471#define ODINPROCEDURE11(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11)  \
    472   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);  \
    473   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)    \
     472  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);  \
     473  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)    \
    474474  {                               \
    475475    unsigned short sel = RestoreOS2FS();  \
     
    485485  }                               \
    486486                                  \
    487   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
     487  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
    488488
    489489
    490490/* ---------- 12 parameters ---------- */
    491491#define ODINFUNCTION12(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12)  \
    492   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);      \
    493   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)        \
     492  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);      \
     493  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)        \
    494494  {                               \
    495495    unsigned short sel = RestoreOS2FS();  \
     
    508508  }                               \
    509509                                  \
    510   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
     510  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
    511511
    512512#define ODINPROCEDURE12(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12)  \
    513   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);  \
    514   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)    \
     513  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);  \
     514  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)    \
    515515  {                               \
    516516    unsigned short sel = RestoreOS2FS();  \
     
    527527  }                               \
    528528                                  \
    529   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
     529  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
    530530
    531531
     
    538538/* ---------- 0 parameters ---------- */
    539539#define ODINFUNCTION0(cRet,cName) \
    540   cRet ODIN_INTERNAL cName (void);\
    541   cRet WINAPI ODIN_##cName(void)  \
     540  cRet ODIN_INTERNAL ODIN_##cName (void);\
     541  cRet WINAPI cName(void)  \
    542542  {                               \
    543543    unsigned short sel = RestoreOS2FS();  \
     
    547547  }                               \
    548548                                  \
    549   cRet ODIN_INTERNAL cName (void)
     549  cRet ODIN_INTERNAL ODIN_##cName (void)
    550550
    551551
    552552#define ODINPROCEDURE0(cName)     \
    553   void ODIN_INTERNAL cName (void);\
    554   void WINAPI ODIN_##cName(void)  \
     553  void ODIN_INTERNAL ODIN_##cName (void);\
     554  void WINAPI cName(void)  \
    555555  {                               \
    556556    unsigned short sel = RestoreOS2FS();  \
     
    559559  }                               \
    560560                                  \
    561   void ODIN_INTERNAL cName (void)
     561  void ODIN_INTERNAL ODIN_##cName (void)
    562562
    563563
    564564/* ---------- 1 parameters ---------- */
    565565#define ODINFUNCTION1(cRet,cName,t1,a1)  \
    566   cRet ODIN_INTERNAL cName (t1 a1);\
    567   cRet WINAPI ODIN_##cName(t1 a1) \
     566  cRet ODIN_INTERNAL ODIN_##cName (t1 a1);\
     567  cRet WINAPI cName(t1 a1) \
    568568  {                               \
    569569    unsigned short sel = RestoreOS2FS();  \
     
    573573  }                               \
    574574                                  \
    575   cRet ODIN_INTERNAL cName (t1 a1)
     575  cRet ODIN_INTERNAL ODIN_##cName (t1 a1)
    576576
    577577#define ODINPROCEDURE1(cName,t1,a1)  \
    578   void ODIN_INTERNAL cName (t1 a1);\
    579   void WINAPI ODIN_##cName(t1 a1) \
     578  void ODIN_INTERNAL ODIN_##cName (t1 a1);\
     579  void WINAPI cName(t1 a1) \
    580580  {                               \
    581581    unsigned short sel = RestoreOS2FS();  \
     
    584584  }                               \
    585585                                  \
    586   void ODIN_INTERNAL cName (t1 a1)
     586  void ODIN_INTERNAL ODIN_##cName (t1 a1)
    587587
    588588
    589589/* ---------- 2 parameters ---------- */
    590590#define ODINFUNCTION2(cRet,cName,t1,a1,t2,a2)  \
    591   cRet ODIN_INTERNAL cName (t1 a1,t2 a2);      \
    592   cRet WINAPI ODIN_##cName(t1 a1,t2 a2)        \
     591  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2);      \
     592  cRet WINAPI cName(t1 a1,t2 a2)        \
    593593  {                               \
    594594    unsigned short sel = RestoreOS2FS();  \
     
    598598  }                               \
    599599                                  \
    600   cRet ODIN_INTERNAL cName (t1 a1,t2 a2)
     600  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2)
    601601
    602602#define ODINPROCEDURE2(cName,t1,a1,t2,a2)  \
    603   void ODIN_INTERNAL cName (t1 a1,t2 a2);\
    604   void WINAPI ODIN_##cName(t1 a1,t2 a2) \
     603  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2);\
     604  void WINAPI cName(t1 a1,t2 a2) \
    605605  {                               \
    606606    unsigned short sel = RestoreOS2FS();  \
     
    609609  }                               \
    610610                                  \
    611   void ODIN_INTERNAL cName (t1 a1,t2 a2)
     611  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2)
    612612
    613613
    614614/* ---------- 3 parameters ---------- */
    615615#define ODINFUNCTION3(cRet,cName,t1,a1,t2,a2,t3,a3)  \
    616   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3);      \
    617   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3)        \
     616  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3);      \
     617  cRet WINAPI cName(t1 a1,t2 a2,t3 a3)        \
    618618  {                               \
    619619    unsigned short sel = RestoreOS2FS();  \
     
    623623  }                               \
    624624                                  \
    625   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)
     625  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3)
    626626
    627627#define ODINPROCEDURE3(cName,t1,a1,t2,a2,t3,a3)  \
    628   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3);  \
    629   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3)    \
     628  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3);  \
     629  void WINAPI cName(t1 a1,t2 a2,t3 a3)    \
    630630  {                               \
    631631    unsigned short sel = RestoreOS2FS();  \
     
    634634  }                               \
    635635                                  \
    636   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)
     636  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3)
    637637
    638638
    639639/* ---------- 4 parameters ---------- */
    640640#define ODINFUNCTION4(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4)  \
    641   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4);      \
    642   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4)        \
     641  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4);      \
     642  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4)        \
    643643  {                               \
    644644    unsigned short sel = RestoreOS2FS();  \
     
    648648  }                               \
    649649                                  \
    650   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4)
     650  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4)
    651651
    652652#define ODINPROCEDURE4(cName,t1,a1,t2,a2,t3,a3,t4,a4)  \
    653   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4);  \
    654   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4)    \
     653  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4);  \
     654  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4)    \
    655655  {                               \
    656656    unsigned short sel = RestoreOS2FS();  \
     
    659659  }                               \
    660660                                  \
    661   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4)
     661  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4)
    662662
    663663
    664664/* ---------- 5 parameters ---------- */
    665665#define ODINFUNCTION5(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5)  \
    666   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);      \
    667   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)        \
     666  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);      \
     667  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)        \
    668668  {                               \
    669669    unsigned short sel = RestoreOS2FS();  \
     
    673673  }                               \
    674674                                  \
    675   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
     675  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
    676676
    677677#define ODINPROCEDURE5(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5)  \
    678   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);  \
    679   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)    \
     678  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5);  \
     679  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)    \
    680680  {                               \
    681681    unsigned short sel = RestoreOS2FS();  \
     
    684684  }                               \
    685685                                  \
    686   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
     686  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5)
    687687
    688688
    689689/* ---------- 6 parameters ---------- */
    690690#define ODINFUNCTION6(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6)  \
    691   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);      \
    692   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)        \
     691  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);      \
     692  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)        \
    693693  {                               \
    694694    unsigned short sel = RestoreOS2FS();  \
     
    698698  }                               \
    699699                                  \
    700   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
     700  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
    701701
    702702#define ODINPROCEDURE6(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6)  \
    703   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);  \
    704   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)    \
     703  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6);  \
     704  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)    \
    705705  {                               \
    706706    unsigned short sel = RestoreOS2FS();  \
     
    709709  }                               \
    710710                                  \
    711   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
     711  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6)
    712712
    713713
    714714/* ---------- 7 parameters ---------- */
    715715#define ODINFUNCTION7(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7)  \
    716   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);      \
    717   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)        \
     716  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);      \
     717  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)        \
    718718  {                               \
    719719    unsigned short sel = RestoreOS2FS();  \
     
    723723  }                               \
    724724                                  \
    725   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
     725  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
    726726
    727727#define ODINPROCEDURE7(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7)  \
    728   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);  \
    729   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)    \
     728  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7);  \
     729  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)    \
    730730  {                               \
    731731    unsigned short sel = RestoreOS2FS();  \
     
    734734  }                               \
    735735                                  \
    736   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
     736  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7)
    737737
    738738
    739739/* ---------- 8 parameters ---------- */
    740740#define ODINFUNCTION8(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8)  \
    741   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);      \
    742   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)        \
     741  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);      \
     742  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)        \
    743743  {                               \
    744744    unsigned short sel = RestoreOS2FS();  \
     
    748748  }                               \
    749749                                  \
    750   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8)
     750  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8)
    751751
    752752#define ODINPROCEDURE8(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8)  \
    753   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);  \
    754   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)    \
     753  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8);  \
     754  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)    \
    755755  {                               \
    756756    unsigned short sel = RestoreOS2FS();  \
     
    759759  }                               \
    760760                                  \
    761   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)
     761  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8)
    762762
    763763
    764764/* ---------- 9 parameters ---------- */
    765765#define ODINFUNCTION9(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9)  \
    766   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);      \
    767   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)        \
     766  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);      \
     767  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)        \
    768768  {                               \
    769769    unsigned short sel = RestoreOS2FS();  \
     
    773773  }                               \
    774774                                  \
    775   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
     775  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
    776776
    777777#define ODINPROCEDURE9(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9)  \
    778   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);  \
    779   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)    \
     778  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9);  \
     779  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)    \
    780780  {                               \
    781781    unsigned short sel = RestoreOS2FS();  \
     
    784784  }                               \
    785785                                  \
    786   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
     786  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9)
    787787
    788788
    789789/* ---------- 10 parameters ---------- */
    790790#define ODINFUNCTION10(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10)  \
    791   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);      \
    792   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)        \
     791  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);      \
     792  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)        \
    793793  {                               \
    794794    unsigned short sel = RestoreOS2FS();  \
     
    798798  }                               \
    799799                                  \
    800   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
     800  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
    801801
    802802#define ODINPROCEDURE10(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10)  \
    803   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);  \
    804   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)    \
     803  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10);  \
     804  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)    \
    805805  {                               \
    806806    unsigned short sel = RestoreOS2FS();  \
     
    809809  }                               \
    810810                                  \
    811   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
     811  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10)
    812812
    813813
    814814/* ---------- 11 parameters ---------- */
    815815#define ODINFUNCTION11(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11)  \
    816   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);      \
    817   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)        \
     816  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);      \
     817  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)        \
    818818  {                               \
    819819    unsigned short sel = RestoreOS2FS();  \
     
    823823  }                               \
    824824                                  \
    825   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
     825  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
    826826
    827827#define ODINPROCEDURE11(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11)  \
    828   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);  \
    829   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)    \
     828  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11);  \
     829  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)    \
    830830  {                               \
    831831    unsigned short sel = RestoreOS2FS();  \
     
    834834  }                               \
    835835                                  \
    836   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
     836  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11)
    837837
    838838
    839839/* ---------- 12 parameters ---------- */
    840840#define ODINFUNCTION12(cRet,cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12)  \
    841   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);      \
    842   cRet WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)        \
     841  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);      \
     842  cRet WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)        \
    843843  {                               \
    844844    unsigned short sel = RestoreOS2FS();  \
     
    848848  }                               \
    849849                                  \
    850   cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
     850  cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4,a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
    851851
    852852#define ODINPROCEDURE12(cName,t1,a1,t2,a2,t3,a3,t4,a4,t5,a5,t6,a6,t7,a7,t8,a8,t9,a9,t10,a10,t11,a11,t12,a12)  \
    853   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);  \
    854   void WINAPI ODIN_##cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)    \
     853  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12);  \
     854  void WINAPI cName(t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)    \
    855855  {                               \
    856856    unsigned short sel = RestoreOS2FS();  \
     
    859859  }                               \
    860860                                  \
    861   void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
     861  void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12)
    862862
    863863
  • TabularUnified trunk/src/NTDLL/reg.cpp

    r97 r484  
    1 /* $Id: reg.cpp,v 1.2 1999-06-10 17:06:46 phaller Exp $ */
     1/* $Id: reg.cpp,v 1.3 1999-08-11 22:23:47 phaller Exp $ */
    22
    33/*
     
    1111 */
    1212
    13 #include "winreg.h"
     13#include <os2win.h>
     14#include <winnt.h>
     15#include <ntdef.h>
     16#include <winreg.h>
    1417
    1518#include "ntdll.h"
  • TabularUnified trunk/src/advapi32/ADVAPI32.DEF

    r480 r484  
    1 ; $Id: ADVAPI32.DEF,v 1.3 1999-08-11 21:19:49 phaller Exp $
     1; $Id: ADVAPI32.DEF,v 1.4 1999-08-11 22:22:30 phaller Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    132132     ReadEventLogA              = _ReadEventLogA@28                  @125
    133133     ReadEventLogW              = _ReadEventLogW@28                  @126
    134      RegCloseKey                = _ODIN_RegCloseKey@4                     @127
    135      RegConnectRegistryA        = _ODIN_RegConnectRegistryA@12            @128
    136      RegConnectRegistryW        = _ODIN_RegConnectRegistryW@12            @129
    137      RegCreateKeyA              = _ODIN_RegCreateKeyA@12                  @130
    138      RegCreateKeyExA            = _ODIN_RegCreateKeyExA@36                @131
    139      RegCreateKeyExW            = _ODIN_RegCreateKeyExW@36                @132
    140      RegCreateKeyW              = _ODIN_RegCreateKeyW@12                  @133
    141      RegDeleteKeyA              = _ODIN_RegDeleteKeyA@8                   @134
    142      RegDeleteKeyW              = _ODIN_RegDeleteKeyW@8                   @135
    143      RegDeleteValueA            = _ODIN_RegDeleteValueA@8                 @136
    144      RegDeleteValueW            = _ODIN_RegDeleteValueW@8                 @137
    145      RegEnumKeyA                = _ODIN_RegEnumKeyA@16                    @138
    146      RegEnumKeyExA              = _ODIN_RegEnumKeyExA@32                  @139
    147      RegEnumKeyExW              = _ODIN_RegEnumKeyExW@32                  @140
    148      RegEnumKeyW                = _ODIN_RegEnumKeyW@16                    @141
    149      RegEnumValueA              = _ODIN_RegEnumValueA@32                  @142
    150      RegEnumValueW              = _ODIN_RegEnumValueW@32                  @143
    151      RegFlushKey                = _ODIN_RegFlushKey@4                     @144
    152      RegGetKeySecurity          = _ODIN_RegGetKeySecurity@16              @145
    153      RegLoadKeyA                = _ODIN_RegLoadKeyA@12                    @146
    154      RegLoadKeyW                = _ODIN_RegLoadKeyW@12                    @147
    155      RegNotifyChangeKeyValue    = _ODIN_RegNotifyChangeKeyValue@20        @148
    156      RegOpenKeyA                = _ODIN_RegOpenKeyA@12                    @149
    157      RegOpenKeyExA              = _ODIN_RegOpenKeyExA@20                  @150
    158      RegOpenKeyExW              = _ODIN_RegOpenKeyExW@20                  @151
    159      RegOpenKeyW                = _ODIN_RegOpenKeyW@12                    @152
    160      RegQueryInfoKeyA           = _ODIN_RegQueryInfoKeyA@48               @153
    161      RegQueryInfoKeyW           = _ODIN_RegQueryInfoKeyW@48               @154
    162      RegQueryMultipleValuesA    = _ODIN_RegQueryMultipleValuesA@20        @155
    163      RegQueryMultipleValuesW    = _ODIN_RegQueryMultipleValuesW@20        @156
    164      RegQueryValueA             = _ODIN_RegQueryValueA@16                 @157
    165      RegQueryValueExA           = _ODIN_RegQueryValueExA@24               @158
    166      RegQueryValueExW           = _ODIN_RegQueryValueExW@24               @159
    167      RegQueryValueW             = _ODIN_RegQueryValueW@16                 @160
    168 ;    RegRemapPreDefKey          = _ODIN_RegRemapPreDefKey@4               @161
    169      RegReplaceKeyA             = _ODIN_RegReplaceKeyA@16                 @162
    170      RegReplaceKeyW             = _ODIN_RegReplaceKeyW@16                 @163
    171      RegRestoreKeyA             = _ODIN_RegRestoreKeyA@12                 @164
    172      RegRestoreKeyW             = _ODIN_RegRestoreKeyW@12                 @165
    173      RegSaveKeyA                = _ODIN_RegSaveKeyA@12                    @166
    174      RegSaveKeyW                = _ODIN_RegSaveKeyW@12                    @167
    175      RegSetKeySecurity          = _ODIN_RegSetKeySecurity@12              @168
    176      RegSetValueA               = _ODIN_RegSetValueA@20                   @169
    177      RegSetValueExA             = _ODIN_RegSetValueExA@24                 @170
    178      RegSetValueExW             = _ODIN_RegSetValueExW@24                 @171
    179      RegSetValueW               = _ODIN_RegSetValueW@20                   @172
    180      RegUnLoadKeyA              = _ODIN_RegUnLoadKeyA@8                   @173
    181      RegUnLoadKeyW              = _ODIN_RegUnLoadKeyW@8                   @174
     134     RegCloseKey                = _RegCloseKey@4                     @127
     135     RegConnectRegistryA        = _RegConnectRegistryA@12            @128
     136     RegConnectRegistryW        = _RegConnectRegistryW@12            @129
     137     RegCreateKeyA              = _RegCreateKeyA@12                  @130
     138     RegCreateKeyExA            = _RegCreateKeyExA@36                @131
     139     RegCreateKeyExW            = _RegCreateKeyExW@36                @132
     140     RegCreateKeyW              = _RegCreateKeyW@12                  @133
     141     RegDeleteKeyA              = _RegDeleteKeyA@8                   @134
     142     RegDeleteKeyW              = _RegDeleteKeyW@8                   @135
     143     RegDeleteValueA            = _RegDeleteValueA@8                 @136
     144     RegDeleteValueW            = _RegDeleteValueW@8                 @137
     145     RegEnumKeyA                = _RegEnumKeyA@16                    @138
     146     RegEnumKeyExA              = _RegEnumKeyExA@32                  @139
     147     RegEnumKeyExW              = _RegEnumKeyExW@32                  @140
     148     RegEnumKeyW                = _RegEnumKeyW@16                    @141
     149     RegEnumValueA              = _RegEnumValueA@32                  @142
     150     RegEnumValueW              = _RegEnumValueW@32                  @143
     151     RegFlushKey                = _RegFlushKey@4                     @144
     152     RegGetKeySecurity          = _RegGetKeySecurity@16              @145
     153     RegLoadKeyA                = _RegLoadKeyA@12                    @146
     154     RegLoadKeyW                = _RegLoadKeyW@12                    @147
     155     RegNotifyChangeKeyValue    = _RegNotifyChangeKeyValue@20        @148
     156     RegOpenKeyA                = _RegOpenKeyA@12                    @149
     157     RegOpenKeyExA              = _RegOpenKeyExA@20                  @150
     158     RegOpenKeyExW              = _RegOpenKeyExW@20                  @151
     159     RegOpenKeyW                = _RegOpenKeyW@12                    @152
     160     RegQueryInfoKeyA           = _RegQueryInfoKeyA@48               @153
     161     RegQueryInfoKeyW           = _RegQueryInfoKeyW@48               @154
     162     RegQueryMultipleValuesA    = _RegQueryMultipleValuesA@20        @155
     163     RegQueryMultipleValuesW    = _RegQueryMultipleValuesW@20        @156
     164     RegQueryValueA             = _RegQueryValueA@16                 @157
     165     RegQueryValueExA           = _RegQueryValueExA@24               @158
     166     RegQueryValueExW           = _RegQueryValueExW@24               @159
     167     RegQueryValueW             = _RegQueryValueW@16                 @160
     168;    RegRemapPreDefKey          = _RegRemapPreDefKey@4               @161
     169     RegReplaceKeyA             = _RegReplaceKeyA@16                 @162
     170     RegReplaceKeyW             = _RegReplaceKeyW@16                 @163
     171     RegRestoreKeyA             = _RegRestoreKeyA@12                 @164
     172     RegRestoreKeyW             = _RegRestoreKeyW@12                 @165
     173     RegSaveKeyA                = _RegSaveKeyA@12                    @166
     174     RegSaveKeyW                = _RegSaveKeyW@12                    @167
     175     RegSetKeySecurity          = _RegSetKeySecurity@12              @168
     176     RegSetValueA               = _RegSetValueA@20                   @169
     177     RegSetValueExA             = _RegSetValueExA@24                 @170
     178     RegSetValueExW             = _RegSetValueExW@24                 @171
     179     RegSetValueW               = _RegSetValueW@20                   @172
     180     RegUnLoadKeyA              = _RegUnLoadKeyA@8                   @173
     181     RegUnLoadKeyW              = _RegUnLoadKeyW@8                   @174
    182182     RegisterEventSourceA       = _RegisterEventSourceA@8            @175
    183183     RegisterEventSourceW       = _RegisterEventSourceW@8            @176
  • TabularUnified trunk/src/advapi32/advapi32.h

    r91 r484  
    1 /* $Id: advapi32.h,v 1.3 1999-06-10 14:23:34 phaller Exp $ */
     1/* $Id: advapi32.h,v 1.4 1999-08-11 22:22:31 phaller Exp $ */
    22
    33/*
     
    4141
    4242
     43/*****************************************************************************
     44 * Prototypes                                                                *
     45 *****************************************************************************/
     46
     47LONG      ODIN_INTERNAL ODIN_RegConnectRegistryA(LPCSTR,HKEY,LPHKEY);
     48LONG      ODIN_INTERNAL ODIN_RegConnectRegistryW(LPCWSTR,HKEY,LPHKEY);
     49DWORD     ODIN_INTERNAL ODIN_RegEnumKeyExA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPSTR,LPDWORD,LPFILETIME);
     50DWORD     ODIN_INTERNAL ODIN_RegEnumKeyExW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPWSTR,LPDWORD,LPFILETIME);
     51LONG      ODIN_INTERNAL ODIN_RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,LPDWORD);
     52LONG      ODIN_INTERNAL ODIN_RegLoadKeyA(HKEY,LPCSTR,LPCSTR);
     53LONG      ODIN_INTERNAL ODIN_RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR);
     54LONG      ODIN_INTERNAL ODIN_RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL);
     55DWORD     ODIN_INTERNAL ODIN_RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,LPHKEY);
     56DWORD     ODIN_INTERNAL ODIN_RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,LPHKEY);
     57DWORD     ODIN_INTERNAL ODIN_RegQueryInfoKeyW(HKEY,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPFILETIME);
     58DWORD     ODIN_INTERNAL ODIN_RegQueryInfoKeyA(HKEY,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPFILETIME);
     59LONG      ODIN_INTERNAL ODIN_RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR);
     60LONG      ODIN_INTERNAL ODIN_RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR);
     61LONG      ODIN_INTERNAL ODIN_RegRestoreKeyA(HKEY,LPCSTR,DWORD);
     62LONG      ODIN_INTERNAL ODIN_RegRestoreKeyW(HKEY,LPCWSTR,DWORD);
     63LONG      ODIN_INTERNAL ODIN_RegUnLoadKeyA(HKEY,LPCSTR);
     64LONG      ODIN_INTERNAL ODIN_RegUnLoadKeyW(HKEY,LPCWSTR);
     65DWORD     ODIN_INTERNAL ODIN_RegCloseKey(HKEY);
     66DWORD     ODIN_INTERNAL ODIN_RegFlushKey(HKEY);
     67DWORD     ODIN_INTERNAL ODIN_RegCreateKeyA(HKEY,LPCSTR,LPHKEY);
     68DWORD     ODIN_INTERNAL ODIN_RegCreateKeyW(HKEY,LPCWSTR,LPHKEY);
     69DWORD     ODIN_INTERNAL ODIN_RegDeleteKeyA(HKEY,LPCSTR);
     70DWORD     ODIN_INTERNAL ODIN_RegDeleteKeyW(HKEY,LPWSTR);
     71DWORD     ODIN_INTERNAL ODIN_RegDeleteValueA(HKEY,LPSTR);
     72DWORD     ODIN_INTERNAL ODIN_RegDeleteValueW(HKEY,LPWSTR);
     73DWORD     ODIN_INTERNAL ODIN_RegEnumKeyA(HKEY,DWORD,LPSTR,DWORD);
     74DWORD     ODIN_INTERNAL ODIN_RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD);
     75DWORD     ODIN_INTERNAL ODIN_RegEnumValueA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
     76DWORD     ODIN_INTERNAL ODIN_RegEnumValueW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
     77DWORD     ODIN_INTERNAL ODIN_RegOpenKeyA(HKEY,LPCSTR,LPHKEY);
     78DWORD     ODIN_INTERNAL ODIN_RegOpenKeyW(HKEY,LPCWSTR,LPHKEY);
     79DWORD     ODIN_INTERNAL ODIN_RegQueryValueA(HKEY,LPCSTR,LPSTR,LPLONG);
     80DWORD     ODIN_INTERNAL ODIN_RegQueryValueW(HKEY,LPCWSTR,LPWSTR,LPLONG);
     81DWORD     ODIN_INTERNAL ODIN_RegQueryValueExA(HKEY,LPSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
     82DWORD     ODIN_INTERNAL ODIN_RegQueryValueExW(HKEY,LPWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
     83DWORD     ODIN_INTERNAL ODIN_RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD);
     84DWORD     ODIN_INTERNAL ODIN_RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD);
     85DWORD     ODIN_INTERNAL ODIN_RegSetValueExA(HKEY,LPSTR,DWORD,DWORD,LPBYTE,DWORD);
     86DWORD     ODIN_INTERNAL ODIN_RegSetValueExW(HKEY,LPWSTR,DWORD,DWORD,LPBYTE,DWORD);
     87DWORD     ODIN_INTERNAL ODIN_RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD);
     88DWORD     ODIN_INTERNAL ODIN_RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD);
     89
     90
    4391#endif
  • TabularUnified trunk/src/advapi32/makefile

    r480 r484  
    1 # $Id: makefile,v 1.6 1999-08-11 21:19:50 phaller Exp $
     1# $Id: makefile,v 1.7 1999-08-11 22:22:31 phaller Exp $
    22
    33#
     
    3838
    3939
    40 advapi32.obj: advapi32.cpp advapi32.h
    41 registry.obj: registry.cpp
     40advapi32.obj: advapi32.cpp advapi32.h $(PDWIN32_INCLUDE)\odinwrap.h
     41registry.obj: registry.cpp $(PDWIN32_INCLUDE)\odinwrap.h
    4242initterm.obj: initterm.cpp
    4343
  • TabularUnified trunk/src/kernel32/winimage.cpp

    r461 r484  
    1 /* $Id: winimage.cpp,v 1.6 1999-08-09 22:10:09 phaller Exp $ */
     1/* $Id: winimage.cpp,v 1.7 1999-08-11 22:27:56 phaller Exp $ */
    22
    33/*
     
    2727#include <odincrt.h>
    2828
    29 #include <iostream.h>
    30 #include <fstream.h>
     29//#include <iostream.h>
     30//#include <fstream.h>
    3131#include <assert.h>
    3232#include "misc.h"
     
    10781078               0L);                            /* No extended attribute */
    10791079
    1080   if (rc != NO_ERROR) {
    1081     fout << "isPEImage: DosOpen returned " << rc << endl;
    1082         return(FALSE);
     1080  if (rc != NO_ERROR)
     1081  {
     1082    dprintf(("KERNEL32:Win32Image::isPEImage(%s) failed with %u\n",
     1083             szFileName,
     1084             rc));
     1085    return(FALSE);
    10831086  }
    10841087
  • TabularUnified trunk/src/kernel32/wprocess.cpp

    r461 r484  
    1 /* $Id: wprocess.cpp,v 1.17 1999-08-09 22:10:09 phaller Exp $ */
     1/* $Id: wprocess.cpp,v 1.18 1999-08-11 22:27:56 phaller Exp $ */
    22
    33/*
     
    1515#include <string.h>
    1616#include <odincrt.h>
     17#include <odinwrap.h>
    1718
    1819#include "unicode.h"
     
    4142
    4243extern "C" ULONG QueryExceptionChain();
     44
     45
     46ODINDEBUGCHANNEL(KERNEL32-WPROCESS)
    4347
    4448//******************************************************************************
     
    421425
    422426
    423 HINSTANCE WIN32API LoadLibraryA(LPCTSTR lpszLibFile)
     427ODINFUNCTION1(HINSTANCE,LoadLibraryA,LPCTSTR,lpszLibFile)
     428//HINSTANCE WIN32API LoadLibraryA(LPCTSTR lpszLibFile)
    424429{
    425430  HINSTANCE hDll;
  • TabularUnified trunk/src/lz32/lz32.cpp

    r477 r484  
    1 /* $Id: lz32.cpp,v 1.3 1999-08-11 16:46:27 phaller Exp $ */
     1/* $Id: lz32.cpp,v 1.4 1999-08-11 22:22:44 phaller Exp $ */
    22
    33/*
     
    1414#include <string.h>
    1515#include <ctype.h>
     16#include <odin.h>
    1617#include <odincrt.h>
    1718#include <odinwrap.h>
    1819#include <windef.h>
    1920#include <winbase.h>
    20 
    21 #define WIN32API WINAPI
    2221#include <heap.h>
    2322#include <heapstring.h>
     
    9392 * Internal Prototypes                                                      *
    9493 ****************************************************************************/
    95 
    96 #define ODIN_INTERNAL _Optlink
    97 
    98 // internal interface
    99 VOID        ODIN_INTERNAL LZDone(void);
    100 LONG        ODIN_INTERNAL CopyLZFile(HFILE,HFILE);
    101 HFILE       ODIN_INTERNAL LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
    102 HFILE       ODIN_INTERNAL LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
    103 INT         ODIN_INTERNAL LZRead(HFILE,LPVOID,UINT);
    104 INT         ODIN_INTERNAL LZStart(void);
    105 void        ODIN_INTERNAL LZClose(HFILE);
    106 LONG        ODIN_INTERNAL LZCopy(HFILE,HFILE);
    107 HFILE       ODIN_INTERNAL LZInit(HFILE);
    108 LONG        ODIN_INTERNAL LZSeek(HFILE,LONG,INT);
    109 INT         ODIN_INTERNAL GetExpandedNameA(LPCSTR,LPSTR);
    110 INT         ODIN_INTERNAL GetExpandedNameW(LPCWSTR,LPWSTR);
    11194
    11295static int _lzget(struct lzstate *lzs,BYTE *b);
  • TabularUnified trunk/src/lz32/lz32.def

    r474 r484  
    1212
    1313EXPORTS
    14        LZCopy                = _ODIN_LZCopy@8           @0
    15        LZOpenFileA           = _ODIN_LZOpenFileA@12     @1
    16        LZInit                = _ODIN_LZInit@4           @2
    17        LZSeek                = _ODIN_LZSeek@12          @3
    18        LZRead                = _ODIN_LZRead@12          @4
    19        LZClose               = _ODIN_LZClose@4          @5
    20        LZStart               = _ODIN_LZStart@0          @6
    21        CopyLZFile            = _ODIN_CopyLZFile@8       @7
    22        LZDone                = _ODIN_LZDone@0           @8
    23        GetExpandedNameA      = _ODIN_GetExpandedNameA@8 @9
    24        LZOpenFileW           = _ODIN_LZOpenFileW@12     @10
    25        GetExpandedNameW      = _ODIN_GetExpandedNameW@8 @11
     14       LZCopy                = _LZCopy@8           @0
     15       LZOpenFileA           = _LZOpenFileA@12     @1
     16       LZInit                = _LZInit@4           @2
     17       LZSeek                = _LZSeek@12          @3
     18       LZRead                = _LZRead@12          @4
     19       LZClose               = _LZClose@4          @5
     20       LZStart               = _LZStart@0          @6
     21       CopyLZFile            = _CopyLZFile@8       @7
     22       LZDone                = _LZDone@0           @8
     23       GetExpandedNameA      = _GetExpandedNameA@8 @9
     24       LZOpenFileW           = _LZOpenFileW@12     @10
     25       GetExpandedNameW      = _GetExpandedNameW@8 @11
    2626
  • TabularUnified trunk/src/lz32/lz32.h

    r474 r484  
    1 /* $Id: lz32.h,v 1.2 1999-08-11 12:49:22 phaller Exp $ */
     1/* $Id: lz32.h,v 1.3 1999-08-11 22:22:44 phaller Exp $ */
    22
    33/*
     
    5656
    5757// external interface
    58 VOID        WINAPI ODIN_LZDone(void);
    59 LONG        WINAPI ODIN_CopyLZFile(HFILE,HFILE);
    60 HFILE       WINAPI ODIN_LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
    61 HFILE       WINAPI ODIN_LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
    62 INT         WINAPI ODIN_LZRead(HFILE,LPVOID,UINT);
    63 INT         WINAPI ODIN_LZStart(void);
    64 void        WINAPI ODIN_LZClose(HFILE);
    65 LONG        WINAPI ODIN_LZCopy(HFILE,HFILE);
    66 HFILE       WINAPI ODIN_LZInit(HFILE);
    67 LONG        WINAPI ODIN_LZSeek(HFILE,LONG,INT);
    68 INT         WINAPI ODIN_GetExpandedNameA(LPCSTR,LPSTR);
    69 INT         WINAPI ODIN_GetExpandedNameW(LPCWSTR,LPWSTR);
     58VOID        WIN32API LZDone(void);
     59LONG        WIN32API CopyLZFile(HFILE,HFILE);
     60HFILE       WIN32API LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
     61HFILE       WIN32API LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
     62INT         WIN32API LZRead(HFILE,LPVOID,UINT);
     63INT         WIN32API LZStart(void);
     64void        WIN32API LZClose(HFILE);
     65LONG        WIN32API LZCopy(HFILE,HFILE);
     66HFILE       WIN32API LZInit(HFILE);
     67LONG        WIN32API LZSeek(HFILE,LONG,INT);
     68INT         WIN32API GetExpandedNameA(LPCSTR,LPSTR);
     69INT         WIN32API GetExpandedNameW(LPCWSTR,LPWSTR);
    7070
     71// internal interface
     72VOID        ODIN_INTERNAL ODIN_LZDone(void);
     73LONG        ODIN_INTERNAL ODIN_CopyLZFile(HFILE,HFILE);
     74HFILE       ODIN_INTERNAL ODIN_LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
     75HFILE       ODIN_INTERNAL ODIN_LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
     76INT         ODIN_INTERNAL ODIN_LZRead(HFILE,LPVOID,UINT);
     77INT         ODIN_INTERNAL ODIN_LZStart(void);
     78void        ODIN_INTERNAL ODIN_LZClose(HFILE);
     79LONG        ODIN_INTERNAL ODIN_LZCopy(HFILE,HFILE);
     80HFILE       ODIN_INTERNAL ODIN_LZInit(HFILE);
     81LONG        ODIN_INTERNAL ODIN_LZSeek(HFILE,LONG,INT);
     82INT         ODIN_INTERNAL ODIN_GetExpandedNameA(LPCSTR,LPSTR);
     83INT         ODIN_INTERNAL ODIN_GetExpandedNameW(LPCWSTR,LPWSTR);
    7184
    7285#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.