IOCTL_NDISUIO_OPEN_DEVICE

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

Header ntddndis.h, nuiouser.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

DeviceIoControl
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

Other Resources

CreateFile
WriteFile
ReadFile