Cmdlets/src/XpandPwsh.Cmdlets/Gac/IAssemblyEnum.cs

using System;
using System.Runtime.InteropServices;
 
namespace XpandPwsh.Cmdlets.Gac{
    [ComImport]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("21b8916c-f28e-11d2-a473-00c04f8ef448")]
    internal interface IAssemblyEnum{
        [PreserveSig]
        int GetNextAssembly(
            IntPtr pvReserved,
            out IAssemblyName ppName,
            int flags);
 
        [PreserveSig]
        int Reset();
 
        [PreserveSig]
        int Clone(out IAssemblyEnum ppEnum);
    }
}