CallbackFilter.FlushNotificationQueue method


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CallbackFilter     See also    


Flushes the queue of pending notifications.


    procedure FlushNotificationQueue(Timeout : integer);

[C++ (Lib)]
    void FlushNotificationQueue(int Timeout);

[C++ (VCL)]
    void __fastcall FlushNotificationQueue(int Timeout);

[C++ (.NET)]
    void FlushNotificationQueue(UInt32 Timeout);

    void FlushNotificationQueue(UInt32 Timeout);

    Sub FlushNotificationQueue(ByVal Timeout As UInt32)


This synchronous method remembers, which records in the asynchronous notification callbacks exist in the queue, lets them all be processed (in worker threads) and returns when all these notifications are processed. While this method works, new notifications can be added to the queue, but the method won't wait for them.

See also

Callback types