CallbackRegistry

Control over registry operations in Windows and .NET applications

CallbackRegistry.FlushNotificationQueue method

Filter:

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

CallbackRegistry     See also    

Overview

Flushes the queue of pending notifications.

Declaration

[Pascal]
    procedure FlushNotificationQueue(Timeout : integer);

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

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

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

[C#]
    void FlushNotificationQueue(UInt32 Timeout);

[VB.NET]
    Sub FlushNotificationQueue(ByVal Timeout As UInt32)

Description

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    

Back to top