iwmpcdromcollection.cs

来自「自己做的一个浏览器~~大家请看看~如果合意给个彩头」· CS 代码 · 共 22 行

CS
22
字号
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;

namespace APLib.Native.WMP
{
	[ComImport, Guid("EE4C8FE2-34B2-11D3-A3BF-006097C9B344"), TypeLibType((short)0x1040)]
	public interface IWMPCdromCollection
	{
		[DispId(0x12d)]
		int count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x12d)] get; }
		[return: MarshalAs(UnmanagedType.Interface)]
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x12e)]
		IWMPCdrom Item([In] int lIndex);
		[return: MarshalAs(UnmanagedType.Interface)]
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x12f)]
		IWMPCdrom getByDriveSpecifier([In, MarshalAs(UnmanagedType.BStr)] string bstrDriveSpecifier);
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?