IDot11AdHocNetworkNotificationSink interface (adhoc.h)
The IDot11AdHocNetworkNotificationSink interface defines the notifications supported by the IDot11AdHocNetwork interface. To register for notifications, call the Advise method on an instantiated IDot11AdHocManager object with the IDot11AdHocNetworkNotificationSink 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 IDot11AdHocNetworkNotificationSink interface inherits from the IUnknown interface. IDot11AdHocNetworkNotificationSink also has these types of members:
Methods
The IDot11AdHocNetworkNotificationSink interface has these methods.
IDot11AdHocNetworkNotificationSink::OnConnectFail Notifies the client that a connection attempt failed. |
IDot11AdHocNetworkNotificationSink::OnStatusChange Notifies the client that the connection status of the network 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 |