You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
#if NETFX
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.InteropServices.CustomMarshalers;
|
|
|
|
namespace IWshRuntimeLibrary
|
|
{
|
|
// Token: 0x02000026 RID: 38
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
[Guid("C7C3F5B2-88A3-11D0-ABCB-00A0C90FFFC0")]
|
|
[ComImport]
|
|
internal class DrivesClass : IDriveCollection, Drives, IEnumerable
|
|
{
|
|
//// Token: 0x06000111 RID: 273
|
|
//[MethodImpl(MethodImplOptions.InternalCall)]
|
|
//internal extern DrivesClass();
|
|
|
|
// Token: 0x17000068 RID: 104
|
|
[DispId(0)]
|
|
public virtual extern Drive this[[MarshalAs(UnmanagedType.Struct)] [In] object Key]
|
|
{
|
|
[DispId(0)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
[return: MarshalAs(UnmanagedType.Interface)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x06000113 RID: 275
|
|
[TypeLibFunc(65)]
|
|
[DispId(-4)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(EnumeratorToEnumVariantMarshaler))]
|
|
public virtual extern IEnumerator GetEnumerator();
|
|
|
|
// Token: 0x17000069 RID: 105
|
|
// (get) Token: 0x06000114 RID: 276
|
|
[DispId(1)]
|
|
public virtual extern int Count { [DispId(1)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|