IDot11AdHocInterfaceNotificationSink interface (adhoc.h)

The IDot11AdHocInterfaceNotificationSink interface defines the notifications supported by IDot11AdHocInterface. To register for notifications, call the Advise method on an instantiated IDot11AdHocManager object with the IDot11AdHocInterfaceNotificationSink interface passed as the pUnk parameter. To terminate notifications, call the Unadvise method.

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

Methods

The IDot11AdHocInterfaceNotificationSink interface has these methods.

 
IDot11AdHocInterfaceNotificationSink::OnConnectionStatusChange

Notifies the client that the connection status of the network associated with the NIC has changed.

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

See also

IDot11AdHocInterface