Beispiel #1
0
        static List <NOTIFYITEM> getTrayItemsWin7(TrayNotify instance)
        {
            var notifier = (ITrayNotifyWin7)instance;
            var callback = new NotificationCb();

            notifier.RegisterCallback(callback);
            notifier.RegisterCallback(null);
            return(callback.items);
        }
Beispiel #2
0
        private static List <NOTIFYITEM> getTrayItemsWin7(TrayNotify instance)
        {
            NotificationCb  callback = new NotificationCb();
            ITrayNotifyWin7 win1     = (ITrayNotifyWin7)instance;

            win1.RegisterCallback(callback);
            win1.RegisterCallback(null);
            return(callback.items);
        }
Beispiel #3
0
        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);
        }
Beispiel #4
0
        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);
        }
Beispiel #5
0
        static List<NOTIFYITEM> getTrayItemsWin7(TrayNotify instance)
        {
            var notifier = (ITrayNotifyWin7)instance;
            var callback = new NotificationCb();

            notifier.RegisterCallback(callback);
            notifier.RegisterCallback(null);
            return callback.items;
        }
Beispiel #6
0
        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;
        }