[comp.windows.ms.programmer] Windows and TSRs and INT 2F

ed@odi.com (Ed Schwalenberg) (03/23/91)

In the referenced note, I explained how I was having trouble running PC-NFS
in a TSR through the Windows INT 2F mechanism.  I've since found out that I
was being faked out, and in fact the PSP at the time the TSR is called is
not reliably set up by Windows.  By using the TSR's own PSP, I'm able to
make it work consistently.  But standard DOS calls like read and close
don't work, because they don't go through my TSR.

How does Windows manage PSP's?  Does each Winapp get its own?  When I do
an INT 2F, does Windows set up the PSP?  Am I being screwed by the fact that
my INT 2F calls are in a DLL, not in the application EXE?  And, what about
Naomi?