Based on PE Import Entry, you can not completely hook text in whole system,
because windows95/98 is not pure 32 system, it strongly relies on 16 system
(user.exe, kernel.exe, gdi.exe...).
I have developed one hook textout software based on 16-dll technique.
Key point is to use AllocCStoDSAlias for writing JMP **** code of beginning
of TextOut(W) and ExtTextOut(W). Furthmore, you should deal with the case
that firstly textout to memory DC, then BitBlt/StretchBlt to screen.
Communication with 16 dll and 32 exe, you can use Thunk technique or WM_COPYDATA
message.