IEnumDot11AdHocNetworks interface (adhoc.h)

This interface represents the collection of currently visible 802.11 ad hoc networks. It is a standard enumerator.

Note  Ad hoc mode might not be available in future versions of Windows. Starting with Windows 8.1 and Windows Server 2012 R2, use Wi-Fi Direct instead.
 

Inheritance

The IEnumDot11AdHocNetworks interface inherits from the IUnknown interface. IEnumDot11AdHocNetworks also has these types of members:

Methods

The IEnumDot11AdHocNetworks interface has these methods.

 
IEnumDot11AdHocNetworks::Clone

Creates a new enumeration interface. (IEnumDot11AdHocNetworks.Clone)
IEnumDot11AdHocNetworks::Next

Gets the specified number of elements from the sequence and advances the current position by the number of items retrieved. (IEnumDot11AdHocNetworks.Next)
IEnumDot11AdHocNetworks::Reset

Resets to the beginning of the enumeration sequence. (IEnumDot11AdHocNetworks.Reset)
IEnumDot11AdHocNetworks::Skip

Skips over the next specified number of elements in the enumeration sequence. (IEnumDot11AdHocNetworks.Skip)

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header adhoc.h