次の方法で共有


CompleteAsyncIo (Compact 2013)

3/26/2014

This function signals completion of asynchronous I/O and updates the final count of bytes that were completed by asynchronous I/O.

Syntax

BOOL CompleteAsyncIo(
  HANDLE ioHandle,
  DWORD dwCompletedBytes,
  DWORD dwFinalStatus
);

Parameters

  • ioHandle
    [in] Handle for the asynchronous I/O operation. This handle is the return value of CreateAsyncIoHandle.
  • dwCompletedBytes
    [in] Final number of bytes transferred during the asynchronous I/O operation.
  • dwFinalStatus
    [in] Final status returned in the asynchronous I/O operation.

Return Value

Nonzero indicates success. Zero indicates failure. For extended error information, call GetLastError.

Remarks

Calling this function invalidates all of the arguments returned by the CreateAsyncIoHandle function.

Requirements

Header

pkfuncs.h

See Also

Reference

Device Manager Functions