IOCTL_NDISUIO_OPEN_DEVICE (Windows CE 5.0)
This IOCTL associates a file handle obtained through a CreateFile call to a network adapter.
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. This value should be the size of the adapter name only. The NULL character should be disregarded.
Remarks
NDISUIO associates one network adapter instance with only one application. The application that successfully associates with this adapter can perform all operations supported by NDISUIO.
For sending files, an application can also call IOCTL_NDISUIO_OPEN_WRITE_DEVICE.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Nuiouser.h, Ntddndis.h.
See Also
CreateFile | DeviceIoControl | WriteFile | ReadFile | IOCTL_CANCEL_READ | IOCTL_NDISUIO_CANCEL_NOTIFICATION | IOCTL_NDISUIO_NIC_STATISTICS | IOCTL_NDISUIO_OPEN_WRITE_DEVICE | IOCTL_NDISUIO_QUERY_OID_VALUE | IOCTL_NDISUIO_REQUEST_NOTIFICATION | IOCTL_NDISUIO_SET_ETHER_TYPE | IOCTL_NDISUIO_SET_OID_VALUE
Send Feedback on this topic to the authors