Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
818 B

  1. How to add a new thunk table for a new 16-bit thunk DLL:
  2. - modify wow16\kernel31\kernel.def and add an export similar to __MOD_KERNEL
  3. rebuild the 16-bit libraries (nmake in mvdm\wow16\lib)
  4. - modify the Thunk macro in inc\wow.h and add another externA
  5. update the MOD_ constants in wow.h, the profiling code still uses them.
  6. regenerate wow.inc
  7. - update kernel31\kdata.asm and add another MOD_ variable
  8. - declare and make public a new __MOD_ value for exporting (ldboot.asm)
  9. - create the table (.h file) for inclusion into wowtbl.c
  10. - wowtbl.h - add a field to the tableoffsets structure
  11. - wowtbl.c - #include the table into aw32WOW and update apszModNames,
  12. InitThunkTableOffsets, ModFromCallID, and TableOffsetFromName
  13. - update makefile.inc with the new dependency