VDMEnumTaskWOWEx Function

Enumerates tasks within a particular virtual DOS machine (VDM).

Syntax

C++
INT WINAPI VDMEnumTaskWOWEx(
  __in  DWORD dwProcessId,
  __in  TASKENUMPROC fp,
  __in  LPARAM lparam
);

Parameters

dwProcessId [in]

The process identifier of the VDM. This should be the process identifier that the VDMEnumProcessWOW function returns.

fp [in]

A pointer to a callback function. The function is called for each enumerated task. For details, see the ProcessTask callback function.

lparam [in]

A user-defined value that is passed to the callback function.

Return Value

The number of tasks running within the specified VDM, or the number enumerated before enumeration was terminated.

Remarks

VdmDbg.dll contains many functions that are useful for working with 16-bit applications. For more details on using some of the VDM debug functions, see knowledge base article KB182559.

Examples

For an example, see VDMEnumProcessWOW.

Requirements

HeaderVdmDbg.h
LibraryVdmDbg.lib
DLLVdmDbg.dll

Build date: 11/12/2009

Tags :


Page view tracker