다음을 통해 공유


IOCTL_NDISUIO_OPEN_DEVICE (Windows Embedded CE 6.0)

1/6/2010

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

Network Driver IOCTLs
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