dshow/Core/IVideoWindow.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IVideoWindow interface
//
// The IVideoWindow interface sets properties on the video window.
// Applications can use it to set the window owner, the position
// and dimensions of the window, and other properties.
//
[ComImport,
Guid("56A868B4-0AD4-11CE-B03A-0020AF0BA770"),
InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface IVideoWindow
{
// Sets the text caption on the playback window
[PreserveSig]
int put_Caption(
string caption);
// Retrieves the text caption on the playback window
[PreserveSig]
int get_Caption(
[Out] out string caption);
// Sets the playback window style
[PreserveSig]
int put_WindowStyle(
int windowStyle);
// Retrieves the window style of the video window
[PreserveSig]
int get_WindowStyle(
out int windowStyle);
// Sets the style of the control window
[PreserveSig]
int put_WindowStyleEx(
int windowStyleEx);
// Retrieves the extended style of the video window
[PreserveSig]
int get_WindowStyleEx(
out int windowStyleEx);
// Specifies if the window will be automatically shown on
// the first state change
[PreserveSig]
int put_AutoShow(
[In, MarshalAs(UnmanagedType.Bool)] bool autoShow);
// Retrieves information about whether the window
// will be automatically shown
[PreserveSig]
int get_AutoShow(
[Out, MarshalAs(UnmanagedType.Bool)] out bool autoShow);
// Sets the current window state (such as visible or minimized)
[PreserveSig]
int put_WindowState(
int windowState);
// Retrieves the current window state (such as visible or minimized)
[PreserveSig]
后面还有 158 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。