IDot11AdHocInterfaceNotificationSink::OnConnectionStatusChange method

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

Syntax


HRESULT OnConnectionStatusChange(
  DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus
);

Parameters

eStatus

A pointer to a DOT11_ADHOC_NETWORK_CONNECTION_STATUS value that specifies the new connection state.

Return value

Possible return values include, but are not limited to, the following.

Return codeDescription
S_OK

The method completed successfully.

E_FAIL

The method failed.

 

Remarks

This notification is triggered when the connection status changes as a result of connection and disconnection requests issued by the current application. It is also triggered when other applications issue successful connection and disconnection requests using the IDot11AdHocNetwork methods or the Native Wifi functions.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Adhoc.h

IDL

Adhoc.idl

See also

IDot11AdHocInterfaceNotificationSink

 

 

Community Additions

ADD
Show:
© 2014 Microsoft