Поделиться через


IOCTL_NDISUIO_OPEN_WRITE_DEVICE (Windows Embedded CE 6.0)

1/6/2010

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

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

See Also

Reference

Network Driver IOCTLs
IOCTL_NDISUIO_OPEN_DEVICE

Other Resources

WriteFile