📄 iwmpplaylistcollection.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -