NDIS_SWITCH_PORT_DESTINATION_AT_ARRAY_INDEX - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

void NDIS_SWITCH_PORT_DESTINATION_AT_ARRAY_INDEX(
  _DestArray_,
  _Index_
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndis_switch_port_destination_at_array_index)

NDIS_SWITCH_PORT_DESTINATION_AT_ARRAY_INDEX macro

Description

Hyper-V extensible switch extensions use the NDIS_SWITCH_PORT_DESTINATION_AT_ARRAY_INDEX macro to access an NDIS_SWITCH_PORT_DESTINATION element inside an NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY structure.

Parameters

_DestArray_

A pointer to an NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY structure.

_Index_

A USHORT value that specifies the zero-based index of the NDIS_SWITCH_PORT_DESTINATION element inside the NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY.

[!NOTE] This value must be less than the value of the NumElements member of the NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY structure.

Return value

The NDIS_SWITCH_PORT_DESTINATION_AT_ARRAY_INDEX macro returns a pointer to the specified NDIS_SWITCH_PORT_DESTINATION element inside the NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY.

Remarks

See also

NDIS_SWITCH_PORT_DESTINATION

NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY