IDot11AdHocInterface interface (adhoc.h)

Represents a wireless network interface card (NIC).

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 IDot11AdHocInterface interface inherits from the IUnknown interface. IDot11AdHocInterface also has these types of members:

Methods

The IDot11AdHocInterface interface has these methods.

 
IDot11AdHocInterface::GetActiveNetwork

Gets the network that is currently active on the interface.
IDot11AdHocInterface::GetDeviceSignature

Gets the signature of the NIC.
IDot11AdHocInterface::GetFriendlyName

Gets the friendly name of the NIC.
IDot11AdHocInterface::GetIEnumDot11AdHocNetworks

Gets the collection of networks associated with this NIC.
IDot11AdHocInterface::GetIEnumSecuritySettings

Gets the collection of security settings associated with this NIC.
IDot11AdHocInterface::GetStatus

Gets the connection status of the active network associated with this NIC.
IDot11AdHocInterface::IsAdHocCapable

Specifies whether a NIC supports the creation or use of an ad hoc network.
IDot11AdHocInterface::IsDot11d

Specifies whether the NIC is 802.11d compliant.
IDot11AdHocInterface::IsRadioOn

Specifies whether the radio is on.

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