NDIS_MINIPORT_INIT_PARAMETERS structure

The NDIS_MINIPORT_INIT_PARAMETERS structure defines the initialization parameters for a miniport adapter.

Syntax


typedef struct _NDIS_MINIPORT_INIT_PARAMETERS {
  NDIS_OBJECT_HEADER                   Header;
  ULONG                                Flags;
  PNDIS_RESOURCE_LIST                  AllocatedResources;
  NDIS_HANDLE                          IMDeviceInstanceContext;
  NDIS_HANDLE                          MiniportAddDeviceContext;
  NET_IFINDEX                          IfIndex;
  NET_LUID                             NetLuid;
  PNDIS_PORT_AUTHENTICATION_PARAMETERS DefaultPortAuthStates;
  PNDIS_PCI_DEVICE_CUSTOM_PROPERTIES   PciDeviceCustomProperties;
} NDIS_MINIPORT_INIT_PARAMETERS, *PNDIS_MINIPORT_INIT_PARAMETERS;

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_MINIPORT_INIT_PARAMETERS structure. NDIS sets the Type member of the structure that Header specified to NDIS_OBJECT_TYPE_MINIPORT_INIT_PARAMETERS, the Revision member to NDIS_MINIPORT_INIT_PARAMETERS_REVISION_1, and the Size member to NDIS_SIZEOF_MINIPORT_INIT_PARAMETER_REVISION_1.

Flags

Reserved for NDIS.

AllocatedResources

A pointer to an NDIS_RESOURCE_LIST-type structure that lists the hardware resources that the Plug and Play Manager assigned to the miniport adapter. The NDIS_RESOURCE_LIST is type definition that is equivalent to the CM_PARTIAL_RESOURCE_LIST on Windows 2000 and later platforms.

IMDeviceInstanceContext

A pointer to the context area for a virtual device that an intermediate driver supports. The driver passed this pointer to the NdisIMInitializeDeviceInstanceEx function at the DeviceContext parameter. If the miniport driver is not an intermediate driver, IMDeviceInstanceContext is NULL.

MiniportAddDeviceContext

A handle for a driver-allocated context area, or NULL. The miniport driver specifies this handle, if any, in the MiniportAddDevice function.

IfIndex

The network interface index that is associated with the miniport adapter.

NetLuid

The NET_LUID value that is associated with the miniport adapter.

DefaultPortAuthStates

A pointer to an NDIS_PORT_AUTHENTICATION_PARAMETERS structure that defines the default port authentication parameters for the miniport adapter. For more information about port authentication parameters, see OID_GEN_PORT_AUTHENTICATION_PARAMETERS.

PciDeviceCustomProperties

A pointer to an NDIS_PCI_DEVICE_CUSTOM_PROPERTIES structure that defines the PCI custom properties for the miniport adapter.

Remarks

NDIS passes a pointer to an initialized NDIS_MINIPORT_INIT_PARAMETERS structure in the MiniportInitParameters parameter of the MiniportInitializeEx function.

Requirements

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

See also

CM_PARTIAL_RESOURCE_LIST
MiniportAddDevice
MiniportInitializeEx
NDIS_OBJECT_HEADER
NDIS_PCI_DEVICE_CUSTOM_PROPERTIES
NDIS_PORT_AUTHENTICATION_PARAMETERS
NdisIMInitializeDeviceInstanceEx
NET_LUID
OID_GEN_PORT_AUTHENTICATION_PARAMETERS

 

 

Send comments about this topic to Microsoft

Show: