Share via


ProcessVDMs callback function

[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

BOOL WINAPI ProcessVDMs(
  _Out_ DWORD  dwProcessId,
  _Out_ DWORD  dwAttributes,
  _Out_ LPARAM lpUserDefined
);

Parameters

  • dwProcessId [out]
    The process ID of the NTVDM.exe process. Use this ID when calling other VDM debug functions.

  • dwAttributes [out]
    The process attributes.

  • lpUserDefined [out]
    The user-defined data that was passed to the VDMEnumProcessWOW function.

Return value

Return TRUE to stop the enumeration and FALSE to continue.

Requirements

Header

VdmDbg.h