Changeset 484
- Timestamp:
- Aug 12, 1999, 12:27:56 AM (26 years ago)
- 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 2 7 99-08-10: Sander van Leeuwen <sandervl@xs4all.nl> 3 8 - 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:09phaller Exp $ */1 /* $Id: odincrt.h,v 1.3 1999-08-11 22:25:50 phaller Exp $ */ 2 2 3 3 /* … … 97 97 ****************************************************************************/ 98 98 99 void* ODINAPI __nw__FUi ( void* p1 );// operator new()99 void* ODINAPI __nw__FUi ( unsigned int i ); // operator new() 100 100 101 101 //@@@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:36phaller Exp $ */1 /* $Id: odinwrap.h,v 1.4 1999-08-11 22:25:50 phaller Exp $ */ 2 2 3 3 /* … … 19 19 ****************************************************************************/ 20 20 21 #define ODIN_INTERNAL _Optlink 21 #define ODIN_INTERNAL _Optlink _Export 22 22 23 23 … … 37 37 /* ---------- 0 parameters ---------- */ 38 38 #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) \ 41 41 { \ 42 42 unsigned short sel = RestoreOS2FS(); \ … … 51 51 } \ 52 52 \ 53 cRet ODIN_INTERNAL cName (void)53 cRet ODIN_INTERNAL ODIN_##cName (void) 54 54 55 55 56 56 #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) \ 59 59 { \ 60 60 unsigned short sel = RestoreOS2FS(); \ … … 67 67 } \ 68 68 \ 69 void ODIN_INTERNAL cName (void)69 void ODIN_INTERNAL ODIN_##cName (void) 70 70 71 71 72 72 /* ---------- 1 parameters ---------- */ 73 73 #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) \ 76 76 { \ 77 77 unsigned short sel = RestoreOS2FS(); \ … … 87 87 } \ 88 88 \ 89 cRet ODIN_INTERNAL cName (t1 a1)89 cRet ODIN_INTERNAL ODIN_##cName (t1 a1) 90 90 91 91 #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) \ 94 94 { \ 95 95 unsigned short sel = RestoreOS2FS(); \ … … 103 103 } \ 104 104 \ 105 void ODIN_INTERNAL cName (t1 a1)105 void ODIN_INTERNAL ODIN_##cName (t1 a1) 106 106 107 107 108 108 /* ---------- 2 parameters ---------- */ 109 109 #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) \ 112 112 { \ 113 113 unsigned short sel = RestoreOS2FS(); \ … … 123 123 } \ 124 124 \ 125 cRet ODIN_INTERNAL cName (t1 a1,t2 a2)125 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2) 126 126 127 127 #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) \ 130 130 { \ 131 131 unsigned short sel = RestoreOS2FS(); \ … … 139 139 } \ 140 140 \ 141 void ODIN_INTERNAL cName (t1 a1,t2 a2)141 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2) 142 142 143 143 144 144 /* ---------- 3 parameters ---------- */ 145 145 #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) \ 148 148 { \ 149 149 unsigned short sel = RestoreOS2FS(); \ … … 159 159 } \ 160 160 \ 161 cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)161 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3) 162 162 163 163 #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) \ 166 166 { \ 167 167 unsigned short sel = RestoreOS2FS(); \ … … 175 175 } \ 176 176 \ 177 void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)177 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3) 178 178 179 179 180 180 /* ---------- 4 parameters ---------- */ 181 181 #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) \ 184 184 { \ 185 185 unsigned short sel = RestoreOS2FS(); \ … … 195 195 } \ 196 196 \ 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) 198 198 199 199 #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) \ 202 202 { \ 203 203 unsigned short sel = RestoreOS2FS(); \ … … 211 211 } \ 212 212 \ 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) 214 214 215 215 216 216 /* ---------- 5 parameters ---------- */ 217 217 #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) \ 220 220 { \ 221 221 unsigned short sel = RestoreOS2FS(); \ … … 232 232 } \ 233 233 \ 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) 235 235 236 236 #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) \ 239 239 { \ 240 240 unsigned short sel = RestoreOS2FS(); \ … … 249 249 } \ 250 250 \ 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) 252 252 253 253 254 254 /* ---------- 6 parameters ---------- */ 255 255 #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) \ 258 258 { \ 259 259 unsigned short sel = RestoreOS2FS(); \ … … 270 270 } \ 271 271 \ 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) 273 273 274 274 #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) \ 277 277 { \ 278 278 unsigned short sel = RestoreOS2FS(); \ … … 287 287 } \ 288 288 \ 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) 290 290 291 291 292 292 /* ---------- 7 parameters ---------- */ 293 293 #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) \ 296 296 { \ 297 297 unsigned short sel = RestoreOS2FS(); \ … … 308 308 } \ 309 309 \ 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) 311 311 312 312 #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) \ 315 315 { \ 316 316 unsigned short sel = RestoreOS2FS(); \ … … 325 325 } \ 326 326 \ 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) 328 328 329 329 330 330 /* ---------- 8 parameters ---------- */ 331 331 #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) \ 334 334 { \ 335 335 unsigned short sel = RestoreOS2FS(); \ … … 347 347 } \ 348 348 \ 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) 350 350 351 351 #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) \ 354 354 { \ 355 355 unsigned short sel = RestoreOS2FS(); \ … … 365 365 } \ 366 366 \ 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) 368 368 369 369 370 370 /* ---------- 9 parameters ---------- */ 371 371 #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) \ 374 374 { \ 375 375 unsigned short sel = RestoreOS2FS(); \ … … 387 387 } \ 388 388 \ 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) 390 390 391 391 #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) \ 394 394 { \ 395 395 unsigned short sel = RestoreOS2FS(); \ … … 405 405 } \ 406 406 \ 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) 408 408 409 409 410 410 /* ---------- 10 parameters ---------- */ 411 411 #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) \ 414 414 { \ 415 415 unsigned short sel = RestoreOS2FS(); \ … … 427 427 } \ 428 428 \ 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) 430 430 431 431 #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) \ 434 434 { \ 435 435 unsigned short sel = RestoreOS2FS(); \ … … 445 445 } \ 446 446 \ 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) 448 448 449 449 450 450 /* ---------- 11 parameters ---------- */ 451 451 #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) \ 454 454 { \ 455 455 unsigned short sel = RestoreOS2FS(); \ … … 467 467 } \ 468 468 \ 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) 470 470 471 471 #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) \ 474 474 { \ 475 475 unsigned short sel = RestoreOS2FS(); \ … … 485 485 } \ 486 486 \ 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) 488 488 489 489 490 490 /* ---------- 12 parameters ---------- */ 491 491 #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) \ 494 494 { \ 495 495 unsigned short sel = RestoreOS2FS(); \ … … 508 508 } \ 509 509 \ 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) 511 511 512 512 #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) \ 515 515 { \ 516 516 unsigned short sel = RestoreOS2FS(); \ … … 527 527 } \ 528 528 \ 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) 530 530 531 531 … … 538 538 /* ---------- 0 parameters ---------- */ 539 539 #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) \ 542 542 { \ 543 543 unsigned short sel = RestoreOS2FS(); \ … … 547 547 } \ 548 548 \ 549 cRet ODIN_INTERNAL cName (void)549 cRet ODIN_INTERNAL ODIN_##cName (void) 550 550 551 551 552 552 #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) \ 555 555 { \ 556 556 unsigned short sel = RestoreOS2FS(); \ … … 559 559 } \ 560 560 \ 561 void ODIN_INTERNAL cName (void)561 void ODIN_INTERNAL ODIN_##cName (void) 562 562 563 563 564 564 /* ---------- 1 parameters ---------- */ 565 565 #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) \ 568 568 { \ 569 569 unsigned short sel = RestoreOS2FS(); \ … … 573 573 } \ 574 574 \ 575 cRet ODIN_INTERNAL cName (t1 a1)575 cRet ODIN_INTERNAL ODIN_##cName (t1 a1) 576 576 577 577 #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) \ 580 580 { \ 581 581 unsigned short sel = RestoreOS2FS(); \ … … 584 584 } \ 585 585 \ 586 void ODIN_INTERNAL cName (t1 a1)586 void ODIN_INTERNAL ODIN_##cName (t1 a1) 587 587 588 588 589 589 /* ---------- 2 parameters ---------- */ 590 590 #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) \ 593 593 { \ 594 594 unsigned short sel = RestoreOS2FS(); \ … … 598 598 } \ 599 599 \ 600 cRet ODIN_INTERNAL cName (t1 a1,t2 a2)600 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2) 601 601 602 602 #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) \ 605 605 { \ 606 606 unsigned short sel = RestoreOS2FS(); \ … … 609 609 } \ 610 610 \ 611 void ODIN_INTERNAL cName (t1 a1,t2 a2)611 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2) 612 612 613 613 614 614 /* ---------- 3 parameters ---------- */ 615 615 #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) \ 618 618 { \ 619 619 unsigned short sel = RestoreOS2FS(); \ … … 623 623 } \ 624 624 \ 625 cRet ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)625 cRet ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3) 626 626 627 627 #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) \ 630 630 { \ 631 631 unsigned short sel = RestoreOS2FS(); \ … … 634 634 } \ 635 635 \ 636 void ODIN_INTERNAL cName (t1 a1,t2 a2,t3 a3)636 void ODIN_INTERNAL ODIN_##cName (t1 a1,t2 a2,t3 a3) 637 637 638 638 639 639 /* ---------- 4 parameters ---------- */ 640 640 #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) \ 643 643 { \ 644 644 unsigned short sel = RestoreOS2FS(); \ … … 648 648 } \ 649 649 \ 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) 651 651 652 652 #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) \ 655 655 { \ 656 656 unsigned short sel = RestoreOS2FS(); \ … … 659 659 } \ 660 660 \ 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) 662 662 663 663 664 664 /* ---------- 5 parameters ---------- */ 665 665 #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) \ 668 668 { \ 669 669 unsigned short sel = RestoreOS2FS(); \ … … 673 673 } \ 674 674 \ 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) 676 676 677 677 #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) \ 680 680 { \ 681 681 unsigned short sel = RestoreOS2FS(); \ … … 684 684 } \ 685 685 \ 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) 687 687 688 688 689 689 /* ---------- 6 parameters ---------- */ 690 690 #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) \ 693 693 { \ 694 694 unsigned short sel = RestoreOS2FS(); \ … … 698 698 } \ 699 699 \ 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) 701 701 702 702 #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) \ 705 705 { \ 706 706 unsigned short sel = RestoreOS2FS(); \ … … 709 709 } \ 710 710 \ 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) 712 712 713 713 714 714 /* ---------- 7 parameters ---------- */ 715 715 #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) \ 718 718 { \ 719 719 unsigned short sel = RestoreOS2FS(); \ … … 723 723 } \ 724 724 \ 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) 726 726 727 727 #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) \ 730 730 { \ 731 731 unsigned short sel = RestoreOS2FS(); \ … … 734 734 } \ 735 735 \ 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) 737 737 738 738 739 739 /* ---------- 8 parameters ---------- */ 740 740 #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) \ 743 743 { \ 744 744 unsigned short sel = RestoreOS2FS(); \ … … 748 748 } \ 749 749 \ 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) 751 751 752 752 #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) \ 755 755 { \ 756 756 unsigned short sel = RestoreOS2FS(); \ … … 759 759 } \ 760 760 \ 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) 762 762 763 763 764 764 /* ---------- 9 parameters ---------- */ 765 765 #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) \ 768 768 { \ 769 769 unsigned short sel = RestoreOS2FS(); \ … … 773 773 } \ 774 774 \ 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) 776 776 777 777 #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) \ 780 780 { \ 781 781 unsigned short sel = RestoreOS2FS(); \ … … 784 784 } \ 785 785 \ 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) 787 787 788 788 789 789 /* ---------- 10 parameters ---------- */ 790 790 #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) \ 793 793 { \ 794 794 unsigned short sel = RestoreOS2FS(); \ … … 798 798 } \ 799 799 \ 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) 801 801 802 802 #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) \ 805 805 { \ 806 806 unsigned short sel = RestoreOS2FS(); \ … … 809 809 } \ 810 810 \ 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) 812 812 813 813 814 814 /* ---------- 11 parameters ---------- */ 815 815 #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) \ 818 818 { \ 819 819 unsigned short sel = RestoreOS2FS(); \ … … 823 823 } \ 824 824 \ 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) 826 826 827 827 #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) \ 830 830 { \ 831 831 unsigned short sel = RestoreOS2FS(); \ … … 834 834 } \ 835 835 \ 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) 837 837 838 838 839 839 /* ---------- 12 parameters ---------- */ 840 840 #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) \ 843 843 { \ 844 844 unsigned short sel = RestoreOS2FS(); \ … … 848 848 } \ 849 849 \ 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) 851 851 852 852 #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) \ 855 855 { \ 856 856 unsigned short sel = RestoreOS2FS(); \ … … 859 859 } \ 860 860 \ 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) 862 862 863 863 -
TabularUnified trunk/src/NTDLL/reg.cpp ¶
r97 r484 1 /* $Id: reg.cpp,v 1. 2 1999-06-10 17:06:46phaller Exp $ */1 /* $Id: reg.cpp,v 1.3 1999-08-11 22:23:47 phaller Exp $ */ 2 2 3 3 /* … … 11 11 */ 12 12 13 #include "winreg.h" 13 #include <os2win.h> 14 #include <winnt.h> 15 #include <ntdef.h> 16 #include <winreg.h> 14 17 15 18 #include "ntdll.h" -
TabularUnified trunk/src/advapi32/ADVAPI32.DEF ¶
r480 r484 1 ; $Id: ADVAPI32.DEF,v 1. 3 1999-08-11 21:19:49phaller Exp $1 ; $Id: ADVAPI32.DEF,v 1.4 1999-08-11 22:22:30 phaller Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 132 132 ReadEventLogA = _ReadEventLogA@28 @125 133 133 ReadEventLogW = _ReadEventLogW@28 @126 134 RegCloseKey = _ ODIN_RegCloseKey@4 @127135 RegConnectRegistryA = _ ODIN_RegConnectRegistryA@12 @128136 RegConnectRegistryW = _ ODIN_RegConnectRegistryW@12 @129137 RegCreateKeyA = _ ODIN_RegCreateKeyA@12 @130138 RegCreateKeyExA = _ ODIN_RegCreateKeyExA@36 @131139 RegCreateKeyExW = _ ODIN_RegCreateKeyExW@36 @132140 RegCreateKeyW = _ ODIN_RegCreateKeyW@12 @133141 RegDeleteKeyA = _ ODIN_RegDeleteKeyA@8 @134142 RegDeleteKeyW = _ ODIN_RegDeleteKeyW@8 @135143 RegDeleteValueA = _ ODIN_RegDeleteValueA@8 @136144 RegDeleteValueW = _ ODIN_RegDeleteValueW@8 @137145 RegEnumKeyA = _ ODIN_RegEnumKeyA@16 @138146 RegEnumKeyExA = _ ODIN_RegEnumKeyExA@32 @139147 RegEnumKeyExW = _ ODIN_RegEnumKeyExW@32 @140148 RegEnumKeyW = _ ODIN_RegEnumKeyW@16 @141149 RegEnumValueA = _ ODIN_RegEnumValueA@32 @142150 RegEnumValueW = _ ODIN_RegEnumValueW@32 @143151 RegFlushKey = _ ODIN_RegFlushKey@4 @144152 RegGetKeySecurity = _ ODIN_RegGetKeySecurity@16 @145153 RegLoadKeyA = _ ODIN_RegLoadKeyA@12 @146154 RegLoadKeyW = _ ODIN_RegLoadKeyW@12 @147155 RegNotifyChangeKeyValue = _ ODIN_RegNotifyChangeKeyValue@20 @148156 RegOpenKeyA = _ ODIN_RegOpenKeyA@12 @149157 RegOpenKeyExA = _ ODIN_RegOpenKeyExA@20 @150158 RegOpenKeyExW = _ ODIN_RegOpenKeyExW@20 @151159 RegOpenKeyW = _ ODIN_RegOpenKeyW@12 @152160 RegQueryInfoKeyA = _ ODIN_RegQueryInfoKeyA@48 @153161 RegQueryInfoKeyW = _ ODIN_RegQueryInfoKeyW@48 @154162 RegQueryMultipleValuesA = _ ODIN_RegQueryMultipleValuesA@20 @155163 RegQueryMultipleValuesW = _ ODIN_RegQueryMultipleValuesW@20 @156164 RegQueryValueA = _ ODIN_RegQueryValueA@16 @157165 RegQueryValueExA = _ ODIN_RegQueryValueExA@24 @158166 RegQueryValueExW = _ ODIN_RegQueryValueExW@24 @159167 RegQueryValueW = _ ODIN_RegQueryValueW@16 @160168 ; RegRemapPreDefKey = _ ODIN_RegRemapPreDefKey@4 @161169 RegReplaceKeyA = _ ODIN_RegReplaceKeyA@16 @162170 RegReplaceKeyW = _ ODIN_RegReplaceKeyW@16 @163171 RegRestoreKeyA = _ ODIN_RegRestoreKeyA@12 @164172 RegRestoreKeyW = _ ODIN_RegRestoreKeyW@12 @165173 RegSaveKeyA = _ ODIN_RegSaveKeyA@12 @166174 RegSaveKeyW = _ ODIN_RegSaveKeyW@12 @167175 RegSetKeySecurity = _ ODIN_RegSetKeySecurity@12 @168176 RegSetValueA = _ ODIN_RegSetValueA@20 @169177 RegSetValueExA = _ ODIN_RegSetValueExA@24 @170178 RegSetValueExW = _ ODIN_RegSetValueExW@24 @171179 RegSetValueW = _ ODIN_RegSetValueW@20 @172180 RegUnLoadKeyA = _ ODIN_RegUnLoadKeyA@8 @173181 RegUnLoadKeyW = _ ODIN_RegUnLoadKeyW@8 @174134 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 182 182 RegisterEventSourceA = _RegisterEventSourceA@8 @175 183 183 RegisterEventSourceW = _RegisterEventSourceW@8 @176 -
TabularUnified trunk/src/advapi32/advapi32.h ¶
r91 r484 1 /* $Id: advapi32.h,v 1. 3 1999-06-10 14:23:34phaller Exp $ */1 /* $Id: advapi32.h,v 1.4 1999-08-11 22:22:31 phaller Exp $ */ 2 2 3 3 /* … … 41 41 42 42 43 /***************************************************************************** 44 * Prototypes * 45 *****************************************************************************/ 46 47 LONG ODIN_INTERNAL ODIN_RegConnectRegistryA(LPCSTR,HKEY,LPHKEY); 48 LONG ODIN_INTERNAL ODIN_RegConnectRegistryW(LPCWSTR,HKEY,LPHKEY); 49 DWORD ODIN_INTERNAL ODIN_RegEnumKeyExA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPSTR,LPDWORD,LPFILETIME); 50 DWORD ODIN_INTERNAL ODIN_RegEnumKeyExW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPWSTR,LPDWORD,LPFILETIME); 51 LONG ODIN_INTERNAL ODIN_RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,LPDWORD); 52 LONG ODIN_INTERNAL ODIN_RegLoadKeyA(HKEY,LPCSTR,LPCSTR); 53 LONG ODIN_INTERNAL ODIN_RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR); 54 LONG ODIN_INTERNAL ODIN_RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL); 55 DWORD ODIN_INTERNAL ODIN_RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,LPHKEY); 56 DWORD ODIN_INTERNAL ODIN_RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,LPHKEY); 57 DWORD ODIN_INTERNAL ODIN_RegQueryInfoKeyW(HKEY,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPFILETIME); 58 DWORD ODIN_INTERNAL ODIN_RegQueryInfoKeyA(HKEY,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPFILETIME); 59 LONG ODIN_INTERNAL ODIN_RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR); 60 LONG ODIN_INTERNAL ODIN_RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR); 61 LONG ODIN_INTERNAL ODIN_RegRestoreKeyA(HKEY,LPCSTR,DWORD); 62 LONG ODIN_INTERNAL ODIN_RegRestoreKeyW(HKEY,LPCWSTR,DWORD); 63 LONG ODIN_INTERNAL ODIN_RegUnLoadKeyA(HKEY,LPCSTR); 64 LONG ODIN_INTERNAL ODIN_RegUnLoadKeyW(HKEY,LPCWSTR); 65 DWORD ODIN_INTERNAL ODIN_RegCloseKey(HKEY); 66 DWORD ODIN_INTERNAL ODIN_RegFlushKey(HKEY); 67 DWORD ODIN_INTERNAL ODIN_RegCreateKeyA(HKEY,LPCSTR,LPHKEY); 68 DWORD ODIN_INTERNAL ODIN_RegCreateKeyW(HKEY,LPCWSTR,LPHKEY); 69 DWORD ODIN_INTERNAL ODIN_RegDeleteKeyA(HKEY,LPCSTR); 70 DWORD ODIN_INTERNAL ODIN_RegDeleteKeyW(HKEY,LPWSTR); 71 DWORD ODIN_INTERNAL ODIN_RegDeleteValueA(HKEY,LPSTR); 72 DWORD ODIN_INTERNAL ODIN_RegDeleteValueW(HKEY,LPWSTR); 73 DWORD ODIN_INTERNAL ODIN_RegEnumKeyA(HKEY,DWORD,LPSTR,DWORD); 74 DWORD ODIN_INTERNAL ODIN_RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD); 75 DWORD ODIN_INTERNAL ODIN_RegEnumValueA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); 76 DWORD ODIN_INTERNAL ODIN_RegEnumValueW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); 77 DWORD ODIN_INTERNAL ODIN_RegOpenKeyA(HKEY,LPCSTR,LPHKEY); 78 DWORD ODIN_INTERNAL ODIN_RegOpenKeyW(HKEY,LPCWSTR,LPHKEY); 79 DWORD ODIN_INTERNAL ODIN_RegQueryValueA(HKEY,LPCSTR,LPSTR,LPLONG); 80 DWORD ODIN_INTERNAL ODIN_RegQueryValueW(HKEY,LPCWSTR,LPWSTR,LPLONG); 81 DWORD ODIN_INTERNAL ODIN_RegQueryValueExA(HKEY,LPSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); 82 DWORD ODIN_INTERNAL ODIN_RegQueryValueExW(HKEY,LPWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); 83 DWORD ODIN_INTERNAL ODIN_RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); 84 DWORD ODIN_INTERNAL ODIN_RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD); 85 DWORD ODIN_INTERNAL ODIN_RegSetValueExA(HKEY,LPSTR,DWORD,DWORD,LPBYTE,DWORD); 86 DWORD ODIN_INTERNAL ODIN_RegSetValueExW(HKEY,LPWSTR,DWORD,DWORD,LPBYTE,DWORD); 87 DWORD ODIN_INTERNAL ODIN_RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); 88 DWORD ODIN_INTERNAL ODIN_RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD); 89 90 43 91 #endif -
TabularUnified trunk/src/advapi32/makefile ¶
r480 r484 1 # $Id: makefile,v 1. 6 1999-08-11 21:19:50phaller Exp $1 # $Id: makefile,v 1.7 1999-08-11 22:22:31 phaller Exp $ 2 2 3 3 # … … 38 38 39 39 40 advapi32.obj: advapi32.cpp advapi32.h 41 registry.obj: registry.cpp 40 advapi32.obj: advapi32.cpp advapi32.h $(PDWIN32_INCLUDE)\odinwrap.h 41 registry.obj: registry.cpp $(PDWIN32_INCLUDE)\odinwrap.h 42 42 initterm.obj: initterm.cpp 43 43 -
TabularUnified trunk/src/kernel32/winimage.cpp ¶
r461 r484 1 /* $Id: winimage.cpp,v 1. 6 1999-08-09 22:10:09phaller Exp $ */1 /* $Id: winimage.cpp,v 1.7 1999-08-11 22:27:56 phaller Exp $ */ 2 2 3 3 /* … … 27 27 #include <odincrt.h> 28 28 29 #include <iostream.h>30 #include <fstream.h>29 //#include <iostream.h> 30 //#include <fstream.h> 31 31 #include <assert.h> 32 32 #include "misc.h" … … 1078 1078 0L); /* No extended attribute */ 1079 1079 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); 1083 1086 } 1084 1087 -
TabularUnified trunk/src/kernel32/wprocess.cpp ¶
r461 r484 1 /* $Id: wprocess.cpp,v 1.1 7 1999-08-09 22:10:09phaller Exp $ */1 /* $Id: wprocess.cpp,v 1.18 1999-08-11 22:27:56 phaller Exp $ */ 2 2 3 3 /* … … 15 15 #include <string.h> 16 16 #include <odincrt.h> 17 #include <odinwrap.h> 17 18 18 19 #include "unicode.h" … … 41 42 42 43 extern "C" ULONG QueryExceptionChain(); 44 45 46 ODINDEBUGCHANNEL(KERNEL32-WPROCESS) 43 47 44 48 //****************************************************************************** … … 421 425 422 426 423 HINSTANCE WIN32API LoadLibraryA(LPCTSTR lpszLibFile) 427 ODINFUNCTION1(HINSTANCE,LoadLibraryA,LPCTSTR,lpszLibFile) 428 //HINSTANCE WIN32API LoadLibraryA(LPCTSTR lpszLibFile) 424 429 { 425 430 HINSTANCE hDll; -
TabularUnified trunk/src/lz32/lz32.cpp ¶
r477 r484 1 /* $Id: lz32.cpp,v 1. 3 1999-08-11 16:46:27phaller Exp $ */1 /* $Id: lz32.cpp,v 1.4 1999-08-11 22:22:44 phaller Exp $ */ 2 2 3 3 /* … … 14 14 #include <string.h> 15 15 #include <ctype.h> 16 #include <odin.h> 16 17 #include <odincrt.h> 17 18 #include <odinwrap.h> 18 19 #include <windef.h> 19 20 #include <winbase.h> 20 21 #define WIN32API WINAPI22 21 #include <heap.h> 23 22 #include <heapstring.h> … … 93 92 * Internal Prototypes * 94 93 ****************************************************************************/ 95 96 #define ODIN_INTERNAL _Optlink97 98 // internal interface99 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);111 94 112 95 static int _lzget(struct lzstate *lzs,BYTE *b); -
TabularUnified trunk/src/lz32/lz32.def ¶
r474 r484 12 12 13 13 EXPORTS 14 LZCopy = _ ODIN_LZCopy@8 @015 LZOpenFileA = _ ODIN_LZOpenFileA@12 @116 LZInit = _ ODIN_LZInit@4 @217 LZSeek = _ ODIN_LZSeek@12 @318 LZRead = _ ODIN_LZRead@12 @419 LZClose = _ ODIN_LZClose@4 @520 LZStart = _ ODIN_LZStart@0 @621 CopyLZFile = _ ODIN_CopyLZFile@8 @722 LZDone = _ ODIN_LZDone@0 @823 GetExpandedNameA = _ ODIN_GetExpandedNameA@8 @924 LZOpenFileW = _ ODIN_LZOpenFileW@12 @1025 GetExpandedNameW = _ ODIN_GetExpandedNameW@8 @1114 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 26 26 -
TabularUnified trunk/src/lz32/lz32.h ¶
r474 r484 1 /* $Id: lz32.h,v 1. 2 1999-08-11 12:49:22phaller Exp $ */1 /* $Id: lz32.h,v 1.3 1999-08-11 22:22:44 phaller Exp $ */ 2 2 3 3 /* … … 56 56 57 57 // external interface 58 VOID WIN API ODIN_LZDone(void);59 LONG WIN API ODIN_CopyLZFile(HFILE,HFILE);60 HFILE WIN API ODIN_LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);61 HFILE WIN API ODIN_LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);62 INT WIN API ODIN_LZRead(HFILE,LPVOID,UINT);63 INT WIN API ODIN_LZStart(void);64 void WIN API ODIN_LZClose(HFILE);65 LONG WIN API ODIN_LZCopy(HFILE,HFILE);66 HFILE WIN API ODIN_LZInit(HFILE);67 LONG WIN API ODIN_LZSeek(HFILE,LONG,INT);68 INT WIN API ODIN_GetExpandedNameA(LPCSTR,LPSTR);69 INT WIN API ODIN_GetExpandedNameW(LPCWSTR,LPWSTR);58 VOID WIN32API LZDone(void); 59 LONG WIN32API CopyLZFile(HFILE,HFILE); 60 HFILE WIN32API LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT); 61 HFILE WIN32API LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT); 62 INT WIN32API LZRead(HFILE,LPVOID,UINT); 63 INT WIN32API LZStart(void); 64 void WIN32API LZClose(HFILE); 65 LONG WIN32API LZCopy(HFILE,HFILE); 66 HFILE WIN32API LZInit(HFILE); 67 LONG WIN32API LZSeek(HFILE,LONG,INT); 68 INT WIN32API GetExpandedNameA(LPCSTR,LPSTR); 69 INT WIN32API GetExpandedNameW(LPCWSTR,LPWSTR); 70 70 71 // internal interface 72 VOID ODIN_INTERNAL ODIN_LZDone(void); 73 LONG ODIN_INTERNAL ODIN_CopyLZFile(HFILE,HFILE); 74 HFILE ODIN_INTERNAL ODIN_LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT); 75 HFILE ODIN_INTERNAL ODIN_LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT); 76 INT ODIN_INTERNAL ODIN_LZRead(HFILE,LPVOID,UINT); 77 INT ODIN_INTERNAL ODIN_LZStart(void); 78 void ODIN_INTERNAL ODIN_LZClose(HFILE); 79 LONG ODIN_INTERNAL ODIN_LZCopy(HFILE,HFILE); 80 HFILE ODIN_INTERNAL ODIN_LZInit(HFILE); 81 LONG ODIN_INTERNAL ODIN_LZSeek(HFILE,LONG,INT); 82 INT ODIN_INTERNAL ODIN_GetExpandedNameA(LPCSTR,LPSTR); 83 INT ODIN_INTERNAL ODIN_GetExpandedNameW(LPCWSTR,LPWSTR); 71 84 72 85 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.