Compartilhar via


IDebugProgram2::EnumModules

Retrieves a list of the modules that this program has loaded and is executing.

HRESULT EnumModules( 
   IEnumDebugModules2** ppEnum
);
int EnumModules( 
   out IEnumDebugModules2 ppEnum
);

Parameters

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

A module is a DLL or assembly and is typically listed in the Modules debug window.

See Also

Reference

IDebugProgram2

IEnumDebugModules2