Windows Dev Center

IDot11AdHocManager interface

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.
 

The IDot11AdHocManager coclass implements the IConnectionPoint interface. The Advise method can be used to register for network manager, network, and interface-related notifications. Notifications are implemented by the IDot11AdHocManagerNotificationSink interface. To register for notifications, call the Advise method with the appropriate notification sink interface as the pUnk parameter.

Members

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

Methods

The IDot11AdHocManager interface has these methods.

MethodDescription
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Adhoc.h

IDL

Adhoc.idl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft