INativeImageInstallInfo::EnumDependencies Method
Gets an enumerator for the assemblies upon which the current native image is dependent.
HRESULT EnumDependencies (
HCORENUM *phEnum,
INativeImageDependency *rDeps[],
ULONG cMax,
DWORD *pdwCount
);
Parameters
Parameter | Description |
---|---|
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: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in Mscoree.dll
.NET Framework Version: 2.0