diff options
Diffstat (limited to '')
-rw-r--r-- | private/mvdm/wow32/thunkdll.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/private/mvdm/wow32/thunkdll.txt b/private/mvdm/wow32/thunkdll.txt new file mode 100644 index 000000000..18b6a2283 --- /dev/null +++ b/private/mvdm/wow32/thunkdll.txt @@ -0,0 +1,22 @@ + +How to add a new thunk table for a new 16-bit thunk DLL: + + - modify wow16\kernel31\kernel.def and add an export similar to __MOD_KERNEL + rebuild the 16-bit libraries (nmake in mvdm\wow16\lib) + + - modify the Thunk macro in inc\wow.h and add another externA + update the MOD_ constants in wow.h, the profiling code still uses them. + regenerate wow.inc + + - update kernel31\kdata.asm and add another MOD_ variable + + - declare and make public a new __MOD_ value for exporting (ldboot.asm) + + - create the table (.h file) for inclusion into wowtbl.c + + - wowtbl.h - add a field to the tableoffsets structure + + - wowtbl.c - #include the table into aw32WOW and update apszModNames, + InitThunkTableOffsets, ModFromCallID, and TableOffsetFromName + + - update makefile.inc with the new dependency |