public unsafe int SetBalloonInfo(char *pszTitle, char *pszText, uint dwInfoFlags) { IUserNotification_vtbl ** @this = (IUserNotification_vtbl **)reference; IUserNotification_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, pszTitle, pszText, dwInfoFlags)); }
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)); }