示例#1
0
 public unsafe int RemoteFindName(char* szNameBuf, uint lHashVal, ITypeInfo* ppTInfo, int* rgMemId, ushort* pcFound, char** pBstrLibName)
 {
     ITypeLib_vtbl** @this = (ITypeLib_vtbl**)reference;
     ITypeLib_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, szNameBuf, lHashVal, ppTInfo, rgMemId, pcFound, pBstrLibName);
 }
示例#2
0
 public unsafe int GetTypeInfoOfGuid(Guid* guid, ITypeInfo* ppTinfo)
 {
     ITypeLib_vtbl** @this = (ITypeLib_vtbl**)reference;
     ITypeLib_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, guid, ppTinfo);
 }
示例#3
0
 public unsafe int GetTypeInfo(uint index, ITypeInfo* ppTInfo)
 {
     ITypeLib_vtbl** @this = (ITypeLib_vtbl**)reference;
     ITypeLib_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, index, ppTInfo);
 }
示例#4
0
 public unsafe int RemoteBindType(char* szName, uint lHashVal, ITypeInfo* ppTInfo)
 {
     ITypeComp_vtbl** @this = (ITypeComp_vtbl**)reference;
     ITypeComp_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, szName, lHashVal, ppTInfo);
 }
示例#5
0
 public unsafe int RemoteBind(char* szName, uint lHashVal, ushort wFlags, ITypeInfo* ppTInfo, DESCKIND* pDescKind, FUNCDESC** ppFuncDesc, VARDESC** ppVarDesc, ITypeComp* ppTypeComp, CLEANLOCALSTORAGE* pDummy)
 {
     ITypeComp_vtbl** @this = (ITypeComp_vtbl**)reference;
     ITypeComp_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, szName, lHashVal, wFlags, ppTInfo, pDescKind, ppFuncDesc, ppVarDesc, ppTypeComp, pDummy);
 }
示例#6
0
 public unsafe int GetTypeInfo(ITypeInfo* ppTypeInfo)
 {
     IRecordInfo_vtbl** @this = (IRecordInfo_vtbl**)reference;
     IRecordInfo_vtbl* vtbl = *@this;
     if (vtbl == null)
         throw new InvalidComObjectException();
     Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_9, typeof(delegate_9));
     delegate_9 method = (delegate_9)genericDelegate;
     return method(@this, ppTypeInfo);
 }