Backup/dshow/Core/IPropertyBag.cs

(完整代码) 853B

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);
	}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。