NET_ADAPTER_LINK_STATE_INIT_DISCONNECTED function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

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

This method does not return a value.

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