CreateAssemblyEnum Function

Gets a pointer to an IAssemblyEnum instance that can enumerate the objects in the assembly with the specified IAssemblyName.

Syntax

HRESULT CreateAssemblyEnum (  
    [out] IAssemblyEnum  **pEnum,  
    [in]  IUnknown       *pUnkReserved,  
    [in]  IAssemblyName  *pName,  
    [in]  DWORD          dwFlags,  
    [in]  LPVOID         pvReserved  
 );  

Parameters

pEnum
[out] Pointer to a memory location that contains the requested IAssemblyEnum pointer.

pUnkReserved
[in] Reserved for future extensibility. pUnkReserved must be a null reference.

pName
[in] The IAssemblyName of the requested assembly. This name is used to filter the enumeration. It can be null to enumerate all assemblies in the global assembly cache.

dwFlags
[in] Flags for modifying the enumerator's behavior. This parameter contains exactly one bit from the ASM_CACHE_FLAGS enumeration.

pvReserved
[in] Reserved for future extensibility. pvReserved must be a null reference.

Remarks

The dwFlags parameter contains exactly one bit from the ASM_CACHE_FLAGS enumeration.

Requirements

Platforms: See System Requirements.

Header: Fusion.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 2.0

See also