static List <NOTIFYITEM> getTrayItemsWin7(TrayNotify instance) { var notifier = (ITrayNotifyWin7)instance; var callback = new NotificationCb(); notifier.RegisterCallback(callback); notifier.RegisterCallback(null); return(callback.items); }
private static List <NOTIFYITEM> getTrayItemsWin7(TrayNotify instance) { NotificationCb callback = new NotificationCb(); ITrayNotifyWin7 win1 = (ITrayNotifyWin7)instance; win1.RegisterCallback(callback); win1.RegisterCallback(null); return(callback.items); }
static List <NOTIFYITEM> getTrayItems(TrayNotify instance) { var notifier = (ITrayNotify)instance; var callback = new NotificationCb(); var handle = default(ulong); notifier.RegisterCallback(callback, out handle); notifier.UnregisterCallback(handle); return(callback.items); }
private static List <NOTIFYITEM> getTrayItems(TrayNotify instance) { NotificationCb callback = new NotificationCb(); ulong handle = 0UL; ITrayNotify notify1 = (ITrayNotify)instance; notify1.RegisterCallback(callback, out handle); notify1.UnregisterCallback(handle); return(callback.items); }
static List<NOTIFYITEM> getTrayItemsWin7(TrayNotify instance) { var notifier = (ITrayNotifyWin7)instance; var callback = new NotificationCb(); notifier.RegisterCallback(callback); notifier.RegisterCallback(null); return callback.items; }
static List<NOTIFYITEM> getTrayItems(TrayNotify instance) { var notifier = (ITrayNotify)instance; var callback = new NotificationCb(); var handle = default(ulong); notifier.RegisterCallback(callback, out handle); notifier.UnregisterCallback(handle); return callback.items; }