VDMEnumTaskWOWEx function (Windows)

Switch View :
ScriptFree
VDMEnumTaskWOWEx function

Applies to: desktop apps only

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

Syntax

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

Header

VdmDbg.h

Library

VdmDbg.lib

DLL

VdmDbg.dll

 

 

Send comments about this topic to Microsoft

Build date: 4/6/2012