次の方法で共有


ProcessTasks callback function

[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

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

Header

VdmDbg.h