public unsafe int QueryContinue() { IQueryContinue_vtbl ** @this = (IQueryContinue_vtbl **)reference; IQueryContinue_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)); }
public unsafe int QueryInterface(Guid *riid, IUnknown *ppvObject) { IQueryContinue_vtbl ** @this = (IQueryContinue_vtbl **)reference; IQueryContinue_vtbl * vtbl = *@this; if (vtbl == null) { throw new InvalidComObjectException(); } Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_0, typeof(delegate_0)); delegate_0 method = (delegate_0)genericDelegate; return(method(@this, riid, ppvObject)); }