IDebugProcess2::EnumPrograms
Retrieves a list of all the programs contained by this process.
HRESULT EnumPrograms(
IEnumDebugPrograms2** ppEnum
);
int EnumPrograms(
out IEnumDebugPrograms2 ppEnum
);
Parameters
- ppEnum
[out] Returns an IEnumDebugPrograms2 object that contains a list of all the programs in the process.
Return Value
If successful, returns S_OK; otherwise, returns an error code.