메소드 | 설명 | |
---|---|---|
NotificationsMonitor ( |
Initializes a new instance of the NotificationsMonitor class. The real buffer allocated will be bigger, than the bufferSize specified, because every notification should also contain DriverNotificationHeader structure. So we add it to the buffer to make sure it'll be large enough to store both header and data. |
메소드 | 설명 | |
---|---|---|
CancelIo ( |
Cancels the pending I/O on the filter port.
|
|
DoWork ( ) : void | ||
GetNextNotification ( |
||
ProcessNotification ( |
public NotificationsMonitor ( |
||
token | Cancellation token. | |
bufferSize | int | The desired size of the buffer used to store notification structures received from the driver into. |
handler | object>.Func | User-defined notification handler. |
filterPortHandle | Driver port handle. | |
completionPortHandle | Driver I/O completion port handle. | |
리턴 | System |