IOCTL_NDISUIO_OPEN_WRITE_DEVICE (Windows CE 5.0)
This IOCTL allows an application to associate a file handle with a network adapter that could not associate through IOCTL_NDISUIO_OPEN_DEVICE. Once this association is made, the application is then allowed to call WriteFile.
Parameters
- lpInBuffer
[in] Points to the adapter name that will be associated with the file handle. - nInBufferSize
[in] Size, in bytes, of the buffer pointed to by lpInBuffer.
Remarks
An adapter can be associated more than once using the IOCTL_NDISUIO_OPEN_WRITE_DEVICE IOCTL. The application that calls this IOCTL must open a handle to NDISUIO by calling CreateFile with GENERIC_WRITE access only. The application can then use IOCTL_NDISUIO_OPEN_WRITE_DEVICE to associate with the adapter. The resulting association can only be used to write to the adapter.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Nuiouser.h, Ntddndis.h.
See Also
IOCTL_NDISUIO_OPEN_DEVICE | WriteFile
Send Feedback on this topic to the authors