Share via


NDISUIO_QUERY_OID

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Nuiouser.h.

See Also

NDIS Objects | IOCTL_NDISUIO_QUERY_OID_VALUE | IOCTL_NDISUIO_OPEN_DEVICE | NDISUIO_SET_OID

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.