iwmpplaylistcollection.cs

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

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

namespace APLib.Native.WMP
{
	[ComImport, Guid("10A13217-23A7-439B-B1C0-D847C79B7774"), TypeLibType((short)0x1040)]
	public interface IWMPPlaylistCollection
	{
		[return: MarshalAs(UnmanagedType.Interface)]
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x228)]
		IWMPPlaylist newPlaylist([In, MarshalAs(UnmanagedType.BStr)] string bstrName);
		[return: MarshalAs(UnmanagedType.Interface)]
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x229)]
		IWMPPlaylistArray getAll();
		[return: MarshalAs(UnmanagedType.Interface)]
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x22a)]
		IWMPPlaylistArray getByName([In, MarshalAs(UnmanagedType.BStr)] string bstrName);
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x22c)]
		void remove([In, MarshalAs(UnmanagedType.Interface)] IWMPPlaylist pItem);
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(560)]
		void setDeleted([In, MarshalAs(UnmanagedType.Interface)] IWMPPlaylist pItem, [In] bool varfIsDeleted);
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x231)]
		bool isDeleted([In, MarshalAs(UnmanagedType.Interface)] IWMPPlaylist pItem);
		[return: MarshalAs(UnmanagedType.Interface)]
		[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x232)]
		IWMPPlaylist importPlaylist([In, MarshalAs(UnmanagedType.Interface)] IWMPPlaylist pItem);
	}
}

⌨️ 快捷键说明

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