diff --git a/sdk-api-src/content/ioapiset/nf-ioapiset-getqueuedcompletionstatus.md b/sdk-api-src/content/ioapiset/nf-ioapiset-getqueuedcompletionstatus.md index 291fbdbc4c50..55095c6413b4 100644 --- a/sdk-api-src/content/ioapiset/nf-ioapiset-getqueuedcompletionstatus.md +++ b/sdk-api-src/content/ioapiset/nf-ioapiset-getqueuedcompletionstatus.md @@ -62,39 +62,28 @@ To dequeue multiple I/O completion packets at once, use the CreateIoCompletionPort function. - ### -param lpNumberOfBytesTransferred -TBD - +A pointer to a variable that receives the number of bytes transferred in a completed I/O operation. ### -param lpCompletionKey [out] A pointer to a variable that receives the completion key value associated with the file handle whose I/O operation has completed. A completion key is a per-file key that is specified in a call to CreateIoCompletionPort. - ### -param lpOverlapped [out] A pointer to a variable that receives the address of the OVERLAPPED structure that was specified when the completed I/O operation was started. - - - - Even if you have passed the function a file handle associated with a completion port and a valid OVERLAPPED structure, an application can prevent completion port notification. This is done by specifying a valid event handle for the hEvent member of the OVERLAPPED structure, and setting its low-order bit. A valid event handle whose low-order bit is set keeps I/O completion from being queued to the completion port. - ### -param dwMilliseconds [in] The number of milliseconds that the caller is willing to wait for a completion packet to appear at the completion port. If a completion packet does not appear within the specified time, the function times out, returns FALSE, and sets *lpOverlapped to NULL. @@ -102,29 +91,17 @@ The number of milliseconds that the caller is willing to wait for a completion p If dwMilliseconds is INFINITE, the function will never time out. If dwMilliseconds is zero and there is no I/O operation to dequeue, the function will time out immediately. -#### - lpNumberOfBytes [out] - -A pointer to a variable that receives the number of bytes transferred during an I/O operation that has completed. - - ## -returns - - Returns nonzero (TRUE) if successful or zero (FALSE) otherwise. - To get extended error information, call +To get extended error information, call GetLastError. For more information, see the Remarks section. - - - ## -remarks - - This function associates a thread with the specified completion port. A thread can be associated with at most one completion port. If a call to GetQueuedCompletionStatus fails because the completion port handle associated with it is closed while the call is outstanding, the function returns FALSE, *lpOverlapped will be NULL, and GetLastError will return ERROR_ABANDONED_WAIT_0. @@ -200,16 +177,9 @@ Yes -  - - - ## -see-also - - - ConnectNamedPipe