Delen via


INativeImageInstallInfo::EnumDependencies Method

Gets an enumerator for the assemblies upon which the current native image is dependent.

HRESULT EnumDependencies (
   [in, out] HCORENUM            *phEnum,
   [out] INativeImageDependency  *rDeps[],
   [in]  ULONG                   cMax,
   [out] DWORD                   *pdwCount
);

Parameters

  • phEnum
    [in, out] A pointer to the enumerator.

  • rDeps
    [out] An array that contains the dependencies to enumerate.

  • cMax
    [in] The maximum number of dependencies to place in rDeps.

  • pdwCount
    [out] The number of dependencies placed in rDeps.

Return Value

HRESULT

Description

S_OK

EnumDependencies returned successfully.

S_FALSE

rDeps has no members to enumerate. In this case, pdwCount is set to zero.

Remarks

The native image is valid only if its dependencies have not changed.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

INativeImageInstallInfo Interface