HasOverlappedIoCompleted
[New
- Windows NT]
The HasOverlappedIoCompleted
macro provides a high performance test operation that can be used to poll for
the completion of an outstanding I/O operation.
BOOL
HasOverlappedIoCompleted(
LPOVERLAPPED lpOverlapped |
|
); |
|
Parameters
lpOverlapped
Points to an OVERLAPPED
Return Value
Returns TRUE
if the I/O operation has completed, and FALSE otherwise.
Remarks
To cancel all
pending asynchronous I/O operations, use the CancelIO
To get more
details about a completed I/O operation, call the GetOverlappedResult
The HasOverlappedIoCompleted
macro is defined as follows:
#define HasOverlappedIoCompleted(lpOverlapped) \
((lpOverlapped)->Internal
!= STATUS_PENDING)
See Also