IOCTL_NDISUIO_OPEN_DEVICE

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.

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

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.