Click to Rate and Give Feedback
MSDN
MSDN Library
Development Guides
Developer Notes
Debugging
 ProcessTasks Callback Function
ProcessTasks Callback Function

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

C++
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

HeaderVdmDbg.h

Build date: 10/22/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker