ienumpins.cs
来自「摄像管理系统」· CS 代码 · 共 37 行
CS
37 行
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IEnumPins interface
//
// Enumerates pins on a filter
//
[ComImport,
Guid("56A86892-0AD4-11CE-B03A-0020AF0BA770"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IEnumPins
{
// Retrieves a specified number of pins
[PreserveSig]
int Next(
[In] int cPins,
[Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0)] IPin[] ppPins,
[Out] out int pcFetched);
// Skips over a specified number of pins
[PreserveSig]
int Skip(
[In] int cPins);
// Resets the enumeration sequence to the beginning
[PreserveSig]
int Reset();
// Makes a copy of the enumerator with the same enumeration state
[PreserveSig]
void Clone(
[Out] out IEnumPins ppEnum);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?