Detecting Applications

I need to make a device driver that treat the messages of a specific
application. But this application run in a MS-DOS box. So, if I pick the
process id, it will be the NTDVM.exe, instead the application. How can I
detect the specific application running under MS-DOS?


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> process id, it will be the NTDVM.exe, instead the application. How can I

detect the specific application running under MS-DOS?

Parse the DOS’s memory block chain inside the NTVDM’s address space.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Take a look at the “Virtual DOS Machine Debug API.” (VDMDBG.H in your include directory)

It may have the functionality you are looking for.

Rick


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com