Partager via


NDISUIO_SET_OID (Windows Embedded CE 6.0)

1/6/2010

This structure is used by IOCTL_NDISUIO_SET_OID_VALUE.

Syntax

typedef struct _NDISUIO_SET_OID {
  NDIS_OID Oid;
  #ifdef UNDER_CE
  PTCHAR ptcDeviceName;
  #endif
  UCHAR Data[sizeof(ULONG)];
} NDISUIO_SET_OID, *PNDISUIO_SET_OID;

Members

  • Oid
    The NDIS object identifier (OID) to set.
  • ptcDeviceName
    Pointer to the buffer containing the adapter instance name to set the OID. If the adapter has been associated with a file handle through IOCTL_NDISUIO_OPEN_DEVICE, ptcDeviceName may be NULL.
  • Data
    Extra bytes required for the query return. See IOCTL_NDISUIO_SET_OID_VALUE on passing the total size in nInBufferSize.

Remarks

An application is allowed to set without having to do IOCTL_NDISUIO_OPEN_DEVICE. Hence, this set requires the device name as an argument.

For an application that uses IOCTL_NDISUIO_OPEN_DEVICE, this argument is not necessary.

Requirements

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

See Also

Reference

NDIS Structures
IOCTL_NDISUIO_SET_OID_VALUE
IOCTL_NDISUIO_OPEN_DEVICE

Concepts

General NDIS Objects