ipropertybag.cs
来自「摄像管理系统」· CS 代码 · 共 30 行
CS
30 行
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IPropertyBag
//
// The IPropertyBag interface provides an object with a property
// bag in which the object can persistently save its properties
//
[ComImport,
Guid("55272A00-42CB-11CE-8135-00AA004BB851"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPropertyBag
{
// Asks the property bag to read the named property
[PreserveSig]
int Read(
[In, MarshalAs(UnmanagedType.LPWStr)] string pszPropName,
[In, Out, MarshalAs(UnmanagedType.Struct)] ref object pVar,
[In] IntPtr pErrorLog);
// Asks the property bag to save the named property
[PreserveSig]
int Write(
[In, MarshalAs(UnmanagedType.LPWStr)] string pszPropName,
[In, MarshalAs(UnmanagedType.Struct)] ref object pVar);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?