共用方式為


OID_DOT11_ENUM_PEER_INFO

Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.

 

When queried, the OID_DOT11_ENUM_PEER_INFO object identifier (OID) requests that the miniport driver return information on all peer stations within an infrastructure basic service set (BSS) network. The miniport driver must fill in the members of a DOT11_PEER_INFO_LIST structure.

Note  Support for this OID is mandatory.

 

The data type for this OID is the DOT11_PEER_INFO_LIST structure.

The miniport driver must also verify that the input buffer is large enough to hold all the data in the DOT11_PEER_INFO_LIST structure.

If the input buffer is not large enough, in the call to the NDIS MiniportOidRequest function, set OidRequest . Data . BytesNeeded to the number of bytes required and return the status indication NDIS_STATUS_INVALID_LENGTH so that the 802.11 framework can allocate a buffer of sufficient size before it makes the next function call.

If the input buffer is large enough to hold all the data in the DOT11_PEER_INFO_LIST structure, the miniport driver must return a list of DOT11_PEER_INFO structures and set OidRequest.Data.BytesNeeded to the number of bytes that the miniport driver returns.

Requirements

Version

Available in Windows 7 and later versions of the Windows operating systems.

Header

Windot11.h (include Ndis.h)

See also

Native 802.11 Wireless LAN OIDs