IOCTL_CANCEL_READ

This IOCTL allows a pending ReadFile to be canceled.

Parameters

None.

Remarks

An application uses this IOCTL when it exits. Note that the cancel request is persistent; that is, if the application is not already in ReadFile, the next attempt to ReadFile will return 0 byte read.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Nuiouser.h, Ntddndis.h_.

See Also

CreateFile | DeviceIoControl | ReadFile

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.