NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED function

Initializes a NET_ADAPTER_LINK_STATE structure for an adapter that is disconnected from the network.

Syntax

void NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED(
  NET_ADAPTER_LINK_STATE *LinkState
);

Parameters

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

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Minimum KMDF version 1.21
Header netadapter.h
IRQL <= DISPATCH_LEVEL

See also

NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES

NET_ADAPTER_LINK_STATE_INIT

NET_ADAPTER_LINK_STATE

NetAdapterSetLinkState