Beispiel #1
0
 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);
 }
Beispiel #2
0
 public unsafe int PutFieldNoCopy(uint wFlags, void* pvData, char* szFieldName, VARIANT* pvarField)
 {
     IRecordInfo_vtbl** @this = (IRecordInfo_vtbl**)reference;
     IRecordInfo_vtbl* vtbl = *@this;
     if (vtbl == null)
         throw new InvalidComObjectException();
     Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_13, typeof(delegate_13));
     delegate_13 method = (delegate_13)genericDelegate;
     return method(@this, wFlags, pvData, szFieldName, pvarField);
 }
Beispiel #3
0
 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);
 }