Microsoft Internet Security and
Acceleration Server 2004 SDK
IFWXExternalIOCompletion::CompleteAsyncIO
IFWXExternalIOCompletion::CompleteAsyncIO is the
I/O completion notification used with asynchronous I/O for
operating system files. If the Microsoft Firewall service has a
handle for an operating system file, and needs to read the file or
write to it, this operation will be asynchronous, so that it can
take place in the background. An example of an asynchronous I/O
operation for operating system files is writing to or reading from
a disk.
There are four sequential steps to this process:
The Firewall service calls IFWXFirewall::HookToCompletionPort,
which connects the file handle to the service completion port. This
step takes place once per connection.
IFWXExternalIOCompletion::CompleteAsyncIO
receives the notification, including a succeed or fail message,
information regarding the user, and the number of bytes
transferred.
The following figure summarizes the process of asynchronous I/O
for operating system files.