IEnumDot11AdHocInterfaces interface (adhoc.h)

This interface represents the collection of currently visible 802.11 ad hoc network interfaces. 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 IEnumDot11AdHocInterfaces interface inherits from the IUnknown interface. IEnumDot11AdHocInterfaces also has these types of members:

Methods

The IEnumDot11AdHocInterfaces interface has these methods.

 
IEnumDot11AdHocInterfaces::Clone

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

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

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

Skips over the next specified number of elements in the enumeration sequence. (IEnumDot11AdHocInterfaces.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