Tracking and killing 16 bit apps
Hi,
now for the heavy stuff!
I need to implement a program that keeps track of 16bit/DOS programs on an NT box. This program must kill them when the user quits it. Microsoft recommends to kill NTVDM.exe, but I find that is cheating.
I know I need to use VDMEnumTaskWOWEx() and VDMTerminateTaskWOW() from vdmdbg.h.
Any piece of working code that I can use would be appreciated.
Thanks.
|