次の方法で共有


IOCTL_NDISUIO_SET_ETHER_TYPE (Windows Embedded CE 6.0)

1/6/2010

This IOCTL allows the application to set the type of Ethernet packet for NDISUIO to filter. By default, the NDISUIO only queues for Ethernet type 0x8001 in the Ethernet header of the received packets.

Parameters

  • lpInBuffer
    [in] Points to the USHORT buffer containing the new Ethernet type.
  • nInBufferSize
    [in] Size, in bytes, of lpInBuffer. Should be the size of USHORT.

Remarks

Only an application that has successfully performed IOCTL_NDISUIO_OPEN_DEVICE is allowed to perform IOCTL_NDISUIO_SET_ETHER_TYPE.

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