ivideoframestep.cs

来自「摄像管理系统」· CS 代码 · 共 30 行

CS
30
字号
namespace dshow.Core
{
	using System;
	using System.Runtime.InteropServices;

	// IVideoFrameStep interface
	//
	[ComImport,
	Guid("E46A9787-2B71-444D-A4B5-1FAB7B708D6A"),
	InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
	public interface IVideoFrameStep
	{
		// Causes the filter graph to step forward by the
		// specified number of frames
		[PreserveSig]
		int Step(
			int dwFrames,
			[In, MarshalAs(UnmanagedType.IUnknown)] object pStepObject);

		// Determines the stepping capabilities of the specified filter
		[PreserveSig]
		int CanStep(
			int bMultiple,
			[In, MarshalAs(UnmanagedType.IUnknown)] object pStepObject);

		// Cancels the previous step operation
		[PreserveSig]
		int CancelStep();
	}
}

⌨️ 快捷键说明

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