Partager via


SetIoProgress (Compact 2013)

3/26/2014

This function is used by an asynchronous device driver to update the status and progress on an asynchronous I/O request.

Syntax

BOOL SetIoProgress(
  HANDLE ioHandle,
  DWORD dwBytesTransfered
);

Parameters

  • ioHandle
    [in] Handle of the asynchronous I/O operation. This handle is returned from the call toCreateAsyncIoHandle.
  • dwBytesTransfered
    [in] Current number of completed bytes.

Return Value

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

Remarks

This function can be called multiple times in any thread to update the current actual number of I/O bytes transferred.

Requirements

Header

pkfuncs.h

See Also

Reference

Device Manager Functions