IDot11AdHocManagerNotificationSink::OnInterfaceAdd method

Notifies the client that a new network interface card (NIC) is active.

Syntax


HRESULT OnInterfaceAdd(
  [in] IDot11AdHocInterface *pIAdHocInterface
);

Parameters

pIAdHocInterface [in]

A pointer to an IDot11AdHocInterface interface that represents the activated NIC.

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.

 

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

IDot11AdHocManagerNotificationSink

 

 

Show: