58 references to IPropertyBag
System.Windows.Forms (20)
System\Windows\Forms\ActiveX\AxHost.cs (1)
1909using (var propertyBag = ComHelpers.GetComScope<IPropertyBag>(propBag))
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (3)
17internal class PropertyBagStream : IPropertyBag.Interface 64HRESULT IPropertyBag.Interface.Read(PCWSTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog) 90HRESULT IPropertyBag.Interface.Write(PCWSTR pszPropName, VARIANT* pVar)
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
188internal ComScope<IPropertyBag> GetPropBag() 189=> _propertyBag is null ? default : ComHelpers.GetComScope<IPropertyBag>(_propertyBag);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (6)
1032using var propertyBag = ComHelpers.GetComScope<IPropertyBag>(bagStream); 1036/// <inheritdoc cref="IPersistPropertyBag.Load(IPropertyBag*, IErrorLog*)"/> 1037internal unsafe void Load(IPropertyBag* propertyBag, IErrorLog* errorLog) 1485using var propertyBag = ComHelpers.GetComScope<IPropertyBag>(bagStream); 1490/// <inheritdoc cref="IPersistPropertyBag.Save(IPropertyBag*, BOOL, BOOL)"/> 1491internal void Save(IPropertyBag* propertyBag, BOOL clearDirty, BOOL saveAllProperties)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (4)
21private class PropertyBagStream : IPropertyBag.Interface, IManagedWrapper<IPropertyBag> 49HRESULT IPropertyBag.Interface.Read(PCWSTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog) 68HRESULT IPropertyBag.Interface.Write(PCWSTR pszPropName, VARIANT* pVar)
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (4)
380/// <inheritdoc cref="IPersistPropertyBag.Load(IPropertyBag*, IErrorLog*)"/> 381HRESULT IPersistPropertyBag.Interface.Load(IPropertyBag* pPropBag, IErrorLog* pErrorLog) 387/// <inheritdoc cref="IPersistPropertyBag.Save(IPropertyBag*, BOOL, BOOL)"/> 388HRESULT IPersistPropertyBag.Interface.Save(IPropertyBag* pPropBag, BOOL fClearDirty, BOOL fSaveAllProperties)
System.Windows.Forms.Primitives (37)
Windows.Win32.IPersistPropertyBag.g.cs (10)
119 private static winmdroot.Foundation.HRESULT Load(IPersistPropertyBag* pThis, winmdroot.System.Com.StructuredStorage.IPropertyBag* pPropBag, winmdroot.System.Com.IErrorLog* pErrorLog) 144 public unsafe winmdroot.Foundation.HRESULT Load(winmdroot.System.Com.StructuredStorage.IPropertyBag* pPropBag, winmdroot.System.Com.IErrorLog* pErrorLog) 146 return ((delegate *unmanaged [Stdcall]<IPersistPropertyBag*,winmdroot.System.Com.StructuredStorage.IPropertyBag* ,winmdroot.System.Com.IErrorLog* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IPersistPropertyBag*)Unsafe.AsPointer(ref this), pPropBag, pErrorLog); 152 private static winmdroot.Foundation.HRESULT Save(IPersistPropertyBag* pThis, winmdroot.System.Com.StructuredStorage.IPropertyBag* pPropBag, winmdroot.Foundation.BOOL fClearDirty, winmdroot.Foundation.BOOL fSaveAllProperties) 178 public unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.StructuredStorage.IPropertyBag* pPropBag, winmdroot.Foundation.BOOL fClearDirty, winmdroot.Foundation.BOOL fSaveAllProperties) 180 return ((delegate *unmanaged [Stdcall]<IPersistPropertyBag*,winmdroot.System.Com.StructuredStorage.IPropertyBag* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IPersistPropertyBag*)Unsafe.AsPointer(ref this), pPropBag, fClearDirty, fSaveAllProperties); 214 internal delegate *unmanaged [Stdcall]<IPersistPropertyBag*,winmdroot.System.Com.StructuredStorage.IPropertyBag* ,winmdroot.System.Com.IErrorLog* ,winmdroot.Foundation.HRESULT> Load_6; 216 internal delegate *unmanaged [Stdcall]<IPersistPropertyBag*,winmdroot.System.Com.StructuredStorage.IPropertyBag* ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> Save_7; 251 unsafe winmdroot.Foundation.HRESULT Load(winmdroot.System.Com.StructuredStorage.IPropertyBag* pPropBag, winmdroot.System.Com.IErrorLog* pErrorLog); 254 unsafe winmdroot.Foundation.HRESULT Save(winmdroot.System.Com.StructuredStorage.IPropertyBag* pPropBag, winmdroot.Foundation.BOOL fClearDirty, winmdroot.Foundation.BOOL fSaveAllProperties);
Windows.Win32.IPropertyBag.g.cs (19)
25 :IVTable<IPropertyBag,IPropertyBag.Vtbl>,IComIID { 41 return ((delegate *unmanaged [Stdcall]<IPropertyBag*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IPropertyBag*)Unsafe.AsPointer(ref this), riid, ppvObject); 46 return ((delegate *unmanaged [Stdcall]<IPropertyBag*,uint>)lpVtbl[1])((IPropertyBag*)Unsafe.AsPointer(ref this)); 51 return ((delegate *unmanaged [Stdcall]<IPropertyBag*,uint>)lpVtbl[2])((IPropertyBag*)Unsafe.AsPointer(ref this)); 70 private static winmdroot.Foundation.HRESULT Read(IPropertyBag* pThis, winmdroot.Foundation.PCWSTR pszPropName, winmdroot.System.Variant.VARIANT* pVar, winmdroot.System.Com.IErrorLog* pErrorLog) 98 return ((delegate *unmanaged [Stdcall]<IPropertyBag*,winmdroot.Foundation.PCWSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.IErrorLog* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IPropertyBag*)Unsafe.AsPointer(ref this), pszPropName, pVar, pErrorLog); 116 private static winmdroot.Foundation.HRESULT Write(IPropertyBag* pThis, winmdroot.Foundation.PCWSTR pszPropName, winmdroot.System.Variant.VARIANT* pVar) 143 ((delegate *unmanaged [Stdcall]<IPropertyBag*,winmdroot.Foundation.PCWSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IPropertyBag*)Unsafe.AsPointer(ref this), pszPropName, pVar).ThrowOnFailure(); 167 internal delegate *unmanaged [Stdcall]<IPropertyBag*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 169 internal delegate *unmanaged [Stdcall]<IPropertyBag*,uint> AddRef_2; 171 internal delegate *unmanaged [Stdcall]<IPropertyBag*,uint> Release_3; 173 internal delegate *unmanaged [Stdcall]<IPropertyBag*,winmdroot.Foundation.PCWSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.IErrorLog* ,winmdroot.Foundation.HRESULT> Read_4; 175 internal delegate *unmanaged [Stdcall]<IPropertyBag*,winmdroot.Foundation.PCWSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> Write_5;
Windows.Win32.System_Com_StructuredStorage_IPropertyBag_Extensions.g.cs (4)
23 /// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IPropertyBag.Interface.Read(winmdroot.Foundation.PCWSTR, winmdroot.System.Variant.VARIANT*, winmdroot.System.Com.IErrorLog*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT Read(this winmdroot.System.Com.StructuredStorage.IPropertyBag.Interface @this, string pszPropName, ref winmdroot.System.Variant.VARIANT pVar, winmdroot.System.Com.IErrorLog* pErrorLog) 36 /// <inheritdoc cref="winmdroot.System.Com.StructuredStorage.IPropertyBag.Interface.Write(winmdroot.Foundation.PCWSTR, winmdroot.System.Variant.VARIANT*)"/> 37 internal static unsafe winmdroot.Foundation.HRESULT Write(this winmdroot.System.Com.StructuredStorage.IPropertyBag.Interface @this, string pszPropName, in winmdroot.System.Variant.VARIANT pVar)
Windows\Win32\System\Com\StructuredStorage\PropertyBagExtensions.cs (4)
10/// <inheritdoc cref="IPropertyBag.Interface.Read(PCWSTR, VARIANT*, IErrorLog*)"/> 11internal static unsafe HRESULT Read(this IPropertyBag.Interface @this, string pszPropName, VARIANT* pVar, IErrorLog* pErrorLog) 19/// <inheritdoc cref="IPropertyBag.Interface.Write(PCWSTR, VARIANT*)"/> 20internal static unsafe HRESULT Write(this IPropertyBag.Interface @this, string pszPropName, VARIANT* pVar)
System.Windows.Forms.Tests (1)
System\Windows\Forms\AxHost.PropertyBagStreamTests.cs (1)
83IPropertyBag.Interface newBag = new AxHost.PropertyBagStream(stream);