dshow/Core/IFileSourceFilter.cs
(完整代码) 861Bnamespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IFileSourceFilter interface
//
// The IFileSourceFilter interface is exposed by source filters
// to set the file name and media type of the media file that
// they are to render
//
[ComImport,
Guid("56A868A6-0Ad4-11CE-B03A-0020AF0BA770"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IFileSourceFilter
{
// Load a file and assign it the given media type
[PreserveSig]
int Load(
[In, MarshalAs(UnmanagedType.LPWStr)] string pszFileName,
[In, MarshalAs(UnmanagedType.LPStruct)] AMMediaType pmt);
// Get the currently loaded file name
[PreserveSig]
int GetCurFile(
[Out, MarshalAs(UnmanagedType.LPWStr)] out string pszFileName,
[Out, MarshalAs(UnmanagedType.LPStruct)] AMMediaType pmt);
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。