Just adding the http://www.cs.uofs.edu/~beidler/Ada/...32-vdmdbg.html text here to feed the search engine in case other people are searching for these APIs as theres hardly any documentation on the web about them, but its the only real way to enumerate/terminate/etc 16-bit processes in WinNT/2K
All text including copyright is complete and unmodified, I hope this is ok to post
[removed by administrator due to copyright concerns]
Announcement
Collapse
No announcement yet.
Win32api.inc support for Win32.Vdmdbg (Virtual DOS Machine API for NT/2K)
Collapse
X
-
Win32api.inc support for Win32.Vdmdbg (Virtual DOS Machine API for NT/2K)
I wasn't surprised when I couldnt find the PB declarations for these as it's hard enough just trying to find information on them with Google and MSDN! But in a future release of Win32api.inc I would like to see support for it
Here is the most complete reference I found:
http://www.cs.uofs.edu/~beidler/Ada/...32-vdmdbg.html
I've got a few of the calls working in VB6 allowing me to enumerate and terminate 16-bit processes (which aren't 'visible' in psapi.dll, even though they are with Win9x ToolHelp):
Code:Public Declare Function VDMEnumProcessWOW Lib "VDMDBG.dll" _ (ByVal fp As Long, lParam As Long) As Integer Public Declare Function VDMTerminateTaskWOW Lib "VDMDBG.dll" _ (ByVal NTVDM As Long, ByVal TaskID As Long) As Integer Public Declare Function VDMEnumTaskWOWEx Lib "VDMDBG.dll " _ (dwProcessId As Long, ByVal fp As Long, lParam As Long) As Integer
------------------
Tags: None
Leave a comment: