VDMEnumTaskWOWEx function (vdmdbg.h)

[This function is not supported and may be altered or unavailable in the future.]

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

Syntax

INT VDMEnumTaskWOWEx(
  [in] DWORD          dwProcessId,
  [in] TASKENUMPROCEX fp,
  [in] LPARAM         lparam
);

Parameters

[in] dwProcessId

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

[in] fp

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

[in] lparam

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

Requirement Value
Target Platform Windows
Header vdmdbg.h
Library VdmDbg.lib
DLL VdmDbg.dll