Partager via


NDIS_MINIPORT_INIT_PARAMETERS (Compact 2013)

3/26/2014

This 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
    [in] 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
    [in] Reserved for NDIS.
  • AllocatedResources
    [in] 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.
  • IMDeviceInstanceContext
    [in] 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
    [in] A handle for a driver-allocated context area, or NULL. The miniport driver specifies this handle, if any, in the MiniportAddDevice function.
  • IfIndex
    [in] The network interface index that is associated with the miniport adapter.
  • NetLuid
    [in] The NET_LUID value that is associated with the miniport adapter.
  • DefaultPortAuthStates
    [in] A pointer to a 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
    [in] A pointer to a NDIS_PCI_DEVICE_CUSTOM_PROPERTIES structure that defines the PCI custom properties for the miniport adapter.

Remarks

NDIS passes a pointer to an NDIS_MINIPORT_INIT_PARAMETERS structure in the MiniportInitParameters parameter of the MiniportInitializeEx function. NDIS initializes the members that are identified in the structure definition with the IN decoration.

Requirements

Header

ndis.h

See Also

Reference

Miniport Driver Structures
MiniportInitializeEx
NDIS_OBJECT_HEADER
NdisIMInitializeDeviceInstanceEx
OID_GEN_PORT_AUTHENTICATION_PARAMETERS

Other Resources

NET_LUID