Partager via


NDISUIO_QUERY_OID (Windows Embedded CE 6.0)

1/6/2010

This structure is used by IOCTL_NDISUIO_QUERY_OID_VALUE to query an NDIS object identifier.

Syntax

typedef struct _NDISUIO_QUERY_OID {
  NDIS_OID Oid;
  #ifdef UNDER_CE
  PTCHAR ptcDeviceName;
  #endif
  UCHAR Data[sizeof(ULONG)];
} NDISUIO_QUERY_OID, *PNDISUIO_QUERY_OID;

Members

  • Oid
    NDIS object identifier (OID) to query.
  • 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_QUERY_OID_VALUE on passing the total size in its nInBufferSize parameter.

Remarks

An application is allowed to query without having to do IOCTL_NDISUIO_OPEN_DEVICE. Hence, this query 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_QUERY_OID_VALUE
IOCTL_NDISUIO_OPEN_DEVICE
NDISUIO_SET_OID

Concepts

NDIS Objects