Exemple #1
0
 public unsafe int RemoteCopyTo(uint ciidExclude, Guid* rgiidExclude, char** snbExclude, IStorage pstgDest)
 {
     IStorage_vtbl** @this = (IStorage_vtbl**)reference;
     IStorage_vtbl* vtbl = *@this;
     if (vtbl == null)
         throw new InvalidComObjectException();
     Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_7, typeof(delegate_7));
     delegate_7 method = (delegate_7)genericDelegate;
     return method(@this, ciidExclude, rgiidExclude, snbExclude, pstgDest);
 }
Exemple #2
0
 public unsafe int MoveElementTo(char* pwcsName, IStorage pstgDest, char* pwcsNewName, uint grfFlags)
 {
     IStorage_vtbl** @this = (IStorage_vtbl**)reference;
     IStorage_vtbl* vtbl = *@this;
     if (vtbl == null)
         throw new InvalidComObjectException();
     Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_8, typeof(delegate_8));
     delegate_8 method = (delegate_8)genericDelegate;
     return method(@this, pwcsName, pstgDest, pwcsNewName, grfFlags);
 }
Exemple #3
0
 public unsafe int OpenStorage(char* pwcsName, IStorage pstgPriority, uint grfMode, char** snbExclude, uint reserved, IStorage* ppstg)
 {
     IStorage_vtbl** @this = (IStorage_vtbl**)reference;
     IStorage_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, pwcsName, pstgPriority, grfMode, snbExclude, reserved, ppstg);
 }
Exemple #4
0
 public unsafe int CreateStorage(char* pwcsName, uint grfMode, uint reserved1, uint reserved2, IStorage* ppstg)
 {
     IStorage_vtbl** @this = (IStorage_vtbl**)reference;
     IStorage_vtbl* vtbl = *@this;
     if (vtbl == null)
         throw new InvalidComObjectException();
     Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_5, typeof(delegate_5));
     delegate_5 method = (delegate_5)genericDelegate;
     return method(@this, pwcsName, grfMode, reserved1, reserved2, ppstg);
 }