IDot11AdHocManagerNotificationSink interface (adhoc.h)
The IDot11AdHocManagerNotificationSink interface defines the notifications supported by the IDot11AdHocManager interface. To register for notifications, call the Advise method on an instantiated IDot11AdHocManager object with the IDot11AdHocManagerNotificationSink 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 IDot11AdHocManagerNotificationSink interface inherits from the IUnknown interface. IDot11AdHocManagerNotificationSink also has these types of members:
Methods
The IDot11AdHocManagerNotificationSink interface has these methods.
IDot11AdHocManagerNotificationSink::OnInterfaceAdd Notifies the client that a new network interface card (NIC) is active. |
IDot11AdHocManagerNotificationSink::OnInterfaceRemove Notifies the client that a network interface card (NIC) has become inactive. |
IDot11AdHocManagerNotificationSink::OnNetworkAdd Notifies the client that a new wireless ad hoc network destination is in range and available for connection. |
IDot11AdHocManagerNotificationSink::OnNetworkRemove Notifies the client that a wireless ad hoc network destination is no longer available for connection. |
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 |