Backup/dshow/Core/IMediaSeeking.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IMediaSeeking interface
//
// Contains methods for seeking to a position within a stream,
// and for setting the playback rate
//
[ComImport,
Guid("36B73880-C2C8-11CF-8B46-00805F6CEF60"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMediaSeeking
{
// Retrieves all the seeking capabilities of the stream
[PreserveSig]
int GetCapabilities(
out SeekingCapabilities pCapabilities);
// Queries whether a stream has specified seeking capabilities
[PreserveSig]
int CheckCapabilities(
[In, Out] ref SeekingCapabilities pCapabilities);
// Determines whether a specified time format is supported
[PreserveSig]
int IsFormatSupported(
[In] ref Guid pFormat);
// Retrieves the preferred time format for the stream
[PreserveSig]
int QueryPreferredFormat(
[Out] out Guid pFormat);
// Retrieves the current time format
[PreserveSig]
int GetTimeFormat(
[Out] out Guid pFormat);
// Determines whether a specified time format
// is the format currently in use
[PreserveSig]
int IsUsingTimeFormat(
[In] ref Guid pFormat);
// Sets the time format
[PreserveSig]
int SetTimeFormat(
[In] ref Guid pFormat);
// Retrieves the duration of the stream
[PreserveSig]
int GetDuration(
out long pDuration);
// Retrieves the time at which the playback will stop,
// relative to the duration of the stream
[PreserveSig]
int GetStopPosition(
后面还有 54 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。