Implement this function to receive information for each task that VDMEnumTaskWOWEx enumerates.
The TASKENUMPROCEX type defines a pointer to this callback function. ProcessTasks is a placeholder for the application-defined function name.
Syntax
BOOL WINAPI ProcessTasks(
__out DWORD dwThreadId,
__out WORD hMod16,
__out WORD hTask16,
__out PSZ pszModName,
__out PSZ pszFileName,
__out LPARAM lpUserDefined
);
Parameters
- dwThreadId [out]
-
The thread ID.
- hMod16 [out]
-
The module handle.
- hTask16 [out]
-
The task handle.
- pszModName [out]
-
The module name.
- pszFileName [out]
-
The file name.
- lpUserDefined [out]
-
The user-defined data that was passed to the VDMEnumTaskWOWEx function.
Return Value
Return TRUE to stop the enumeration and FALSE to continue.
Remarks
You can use the value of the hTask16 parameter in a call to terminate the task.
Requirements
Build date: 1/22/2009