NetAdapterSetLinkState function (netadapter.h)
Sets the link state of the of the network adapter.
Syntax
void NetAdapterSetLinkState(
[_In_] NETADAPTER Adapter,
[_In_] NET_ADAPTER_LINK_STATE *State
);
Parameters
[_In_] Adapter
The network adapter object that the client created in a prior call to NetAdapterCreate.
[_In_] State
A pointer to an allocated and initialized NET_ADAPTER_LINK_STATE structure that describes the link state of the adapter.
Return value
None
Remarks
The client driver calls NetAdapterSetLinkState when starting a net adapter, before it calls NetAdapterStart. It can also call this function later when it needs to change the current link state.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.29 |
Header | netadapter.h (include netadaptercx.h) |
IRQL | <= DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for