IDot11AdHocManagerNotificationSink::OnInterfaceAdd method (adhoc.h)
Notifies the client that a new network interface card (NIC) is active.
Syntax
HRESULT OnInterfaceAdd(
[in] IDot11AdHocInterface *pIAdHocInterface
);
Parameters
[in] pIAdHocInterface
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 code | Description |
---|---|
|
The method completed successfully. |
|
The method failed. |
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 |