Share via


CreateAssemblyEnum Function

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

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 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 enumeration.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Fusion.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0

See Also

Reference

IAssemblyEnum Interface
IAssemblyName Interface

Other Resources

Fusion Global Static Functions