NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED function (netadapter.h)
Initializes a NET_ADAPTER_LINK_STATE structure for an adapter that is disconnected from the network.
Syntax
void NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED(
[_Out_] NET_ADAPTER_LINK_STATE *LinkState
);
Parameters
[_Out_] LinkState
A pointer to a driver-allocated NET_ADAPTER_LINK_STATE structure.
Return value
None
Remarks
Call NET_ADAPTER_LINK_STATE_INIT or NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED to initialize a NET_ADAPTER_LINK_STATE structure.
An initialized NET_ADAPTER_LINK_STATE structure is an input parameter value to NetAdapterSetLinkState.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Minimum KMDF version | 1.21 |
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