Partager via


CancelIoEx (Compact 2013)

3/26/2014

This function cancels an asynchronous I/O request.

Syntax

BOOL CancelIoEx(
   HANDLE hFile,
   LPOVERLAPPED lpOverlapped
);

Parameters

  • hFile
    [in] A handle to the file or communications device.
  • lpOverlapped
    [in] Pointer to an OVERLAPPED structure that is used with the cancellation request.

Return Value

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

Requirements

Header

winbase.h

See Also

Reference

Device Manager Functions