Пример #1
0
 public unsafe int RemoteEnumElements(uint reserved1, uint cbReserved2, byte* reserved2, uint reserved3, IEnumSTATSTG* ppenum)
 {
     IStorage_vtbl** @this = (IStorage_vtbl**)reference;
     IStorage_vtbl* vtbl = *@this;
     if (vtbl == null)
         throw new InvalidComObjectException();
     Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_11, typeof(delegate_11));
     delegate_11 method = (delegate_11)genericDelegate;
     return method(@this, reserved1, cbReserved2, reserved2, reserved3, ppenum);
 }
Пример #2
0
 public unsafe int Clone(IEnumSTATSTG* ppenum)
 {
     IEnumSTATSTG_vtbl** @this = (IEnumSTATSTG_vtbl**)reference;
     IEnumSTATSTG_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, ppenum);
 }