Share via


NET_PHYSICAL_LOCATION (Compact 2013)

3/26/2014

This structure provides NDIS with information about the physical location of a registered network interface.

Syntax

typedef struct _NET_PHYSICAL_LOCATION {
  ULONG  BusNumber;
  ULONG  SlotNumber;
  ULONG  FunctionNumber;
} NET_PHYSICAL_LOCATION, *PNET_PHYSICAL_LOCATION;

Members

  • BusNumber
    The bus number of the physical location for hardware. If the physical location is unknown, set this member to NIIF_BUS_NUMBER_UNKNOWN. Other values are reserved for NDIS.
  • SlotNumber
    The slot number of the physical location for hardware. If the physical location is unknown, set this member to NIIF_SLOT_NUMBER_UNKNOWN. Other values are reserved for NDIS.
  • FunctionNumber
    The function number of the physical location for hardware. If the physical location is unknown, set this member to NIIF_FUNCTION_NUMBER_UNKNOWN. Other values are reserved for NDIS.

Remarks

A network interface provider initializes a NET_IF_INFORMATION structure to provide NDIS with information about each registered interface. The NET_PHYSICAL_LOCATION structure is included in the PhysicalLocation member of the NET_IF_INFORMATION structure.

NET_PHYSICAL_LOCATION contains information that remains constant during the lifetime of the interface. To register an interface, a provider passes a pointer to a provider-initialized NET_IF_INFORMATION structure to the NdisIfRegisterInterface function.

Requirements

Header

ifdef.h,
ndis.h

See Also

Reference

NDIS Network Interface Structures
NdisIfRegisterInterface
NET_IF_INFORMATION