PROCESSENUMPROC callback function (vdmdbg.h)

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

Implement this function to receive information for each virtual DOS machine (VDM) that VDMEnumProcessWOW enumerates.

The PROCESSENUMPROC type defines a pointer to this callback function. ProcessVDMs is a placeholder for the application-defined function name.

Syntax

PROCESSENUMPROC Processenumproc;

BOOL Processenumproc(
  [out] DWORD dwProcessId,
  [out] DWORD dwAttributes,
  [out] LPARAM lpUserDefined
)
{...}

Parameters

[out] dwProcessId

The process ID of the NTVDM.exe process. Use this ID when calling other VDM debug functions.

[out] dwAttributes

The process attributes.

[out] lpUserDefined

The user-defined data that was passed to the VDMEnumProcessWOW function.

Return value

Return TRUE to stop the enumeration and FALSE to continue.

Requirements

Requirement Value
Target Platform Windows
Header vdmdbg.h