public unsafe int Read(uint cProperties, PROPBAG2* pPropBag, IErrorLog pErrLog, VARIANT* pvarValue, int* phrError) { IPropertyBag2_vtbl** @this = (IPropertyBag2_vtbl**)reference; IPropertyBag2_vtbl* vtbl = *@this; if (vtbl == null) throw new InvalidComObjectException(); Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_3, typeof(delegate_3)); delegate_3 method = (delegate_3)genericDelegate; return method(@this, cProperties, pPropBag, pErrLog, pvarValue, phrError); }
public unsafe int Write(uint cProperties, PROPBAG2* pPropBag, VARIANT* pvarValue) { IPropertyBag2_vtbl** @this = (IPropertyBag2_vtbl**)reference; IPropertyBag2_vtbl* vtbl = *@this; if (vtbl == null) throw new InvalidComObjectException(); Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_4, typeof(delegate_4)); delegate_4 method = (delegate_4)genericDelegate; return method(@this, cProperties, pPropBag, pvarValue); }
public unsafe int GetPropertyInfo(uint iProperty, uint cProperties, PROPBAG2* pPropBag, uint* pcProperties) { IPropertyBag2_vtbl** @this = (IPropertyBag2_vtbl**)reference; IPropertyBag2_vtbl* vtbl = *@this; if (vtbl == null) throw new InvalidComObjectException(); Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_6, typeof(delegate_6)); delegate_6 method = (delegate_6)genericDelegate; return method(@this, iProperty, cProperties, pPropBag, pcProperties); }