TASKENUMPROCEX callback function (vdmdbg.h)
[This function is not supported and may be altered or unavailable in the future.]
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
TASKENUMPROCEX Taskenumprocex;
BOOL Taskenumprocex(
[out] DWORD dwThreadId,
[out] WORD hMod16,
[out] WORD hTask16,
[out] PSZ pszModName,
[out] PSZ pszFileName,
[out] LPARAM lpUserDefined
)
{...}
Parameters
[out] dwThreadId
The thread ID.
[out] hMod16
The module handle.
[out] hTask16
The task handle.
[out] pszModName
The module name.
[out] pszFileName
The file name.
[out] lpUserDefined
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | vdmdbg.h |