public unsafe int SetIconInfo(IntPtr hIcon, char *pszToolTip) { IUserNotification_vtbl ** @this = (IUserNotification_vtbl **)reference; IUserNotification_vtbl * vtbl = *@this; if (vtbl == null) throw new InvalidComObjectException(); }
public unsafe int SetBalloonRetry(uint dwShowTime, uint dwInterval, uint cRetryCount) { IUserNotification_vtbl ** @this = (IUserNotification_vtbl **)reference; IUserNotification_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, dwShowTime, dwInterval, cRetryCount)); }
public unsafe uint Release() { IUserNotification_vtbl ** @this = (IUserNotification_vtbl **)reference; IUserNotification_vtbl * vtbl = *@this; if (vtbl == null) { throw new InvalidComObjectException(); } Delegate genericDelegate = Marshal.GetDelegateForFunctionPointer(vtbl->method_2, typeof(delegate_2)); delegate_2 method = (delegate_2)genericDelegate; return(method(@this)); }
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 QueryInterface(Guid *riid, IUnknown *ppvObject) { IUserNotification_vtbl ** @this = (IUserNotification_vtbl **)reference; IUserNotification_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)); }