Click to See Complete Forum and Search --> : Did anyone know the VB-Syntax for the VDMEnumTaskWOW function???


August 24th, 1999, 02:17 AM
Hello,

in some MSDN article they speak from the VDMEnumTaskWOW function, but nowhere is the declaration in VB Code!

Did anyone know where can i find it???

Thx!

Lothar Haensler
August 24th, 1999, 02:24 AM
since it is declared a
INT
WINAPI
VDMEnumTaskWOW(
DWORD dwProcessId,
TASKENUMPROC fp,
LPARAM lparam
);

the VB declare should probably look like this:

Declare function VDMEnumTaskWOW lib "Vdmdbg.dll" ( byval pid as long, byval a as long, byval lparam as long) as long

August 24th, 1999, 02:48 AM
Thx,

but in the MSDN article "Howto: use vdmdbg Functions on Windows NT" says under "Terminating 16-Bit Tasks", that I need for the VDMTerminateTaskWOW function the variable hTask.

Further it says i become the hTask from the VDMEnumTaskWOW, but where can I find it in your Declare Function???

And what is the variable "a"????