IDot11AdHocManager interface (adhoc.h)
The IDot11AdHocManager interface creates and manages 802.11 ad hoc networks. It is the top-level 802.11 ad hoc interface and the only ad hoc interface with a coclass. As such, it is the only ad hoc interface that can be instantiated by CoCreateInstance.
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 IDot11AdHocManager interface inherits from the IUnknown interface. IDot11AdHocManager also has these types of members:
Methods
The IDot11AdHocManager interface has these methods.
IDot11AdHocManager::CommitCreatedNetwork Initializes a created network and optionally commits the network's profile to the profile store. |
IDot11AdHocManager::CreateNetwork Creates a wireless ad hoc network. |
IDot11AdHocManager::GetIEnumDot11AdHocInterfaces Returns the set of wireless network interface cards (NICs) available on the machine. |
IDot11AdHocManager::GetIEnumDot11AdHocNetworks Returns a list of available ad hoc network destinations within connection range. |
IDot11AdHocManager::GetNetwork Returns the network associated with a signature. |
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 |