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
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)
IRQL <= DISPATCH_LEVEL

See also

NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES

NET_ADAPTER_LINK_STATE_INIT

NET_ADAPTER_LINK_STATE

NetAdapterSetLinkState