NDIS_MINIPORT_PNP_CHARACTERISTICS structure (ndis.h)

The NDIS_MINIPORT_PNP_CHARACTERISTICS structure specifies entry points for functions that allow a miniport driver to process some Plug and Play (PnP) I/O request packets (IRPs).

Syntax

typedef struct _NDIS_MINIPORT_PNP_CHARACTERISTICS {
  NDIS_OBJECT_HEADER                            Header;
  MINIPORT_ADD_DEVICE_HANDLER                   MiniportAddDeviceHandler;
  MINIPORT_REMOVE_DEVICE_HANDLER                MiniportRemoveDeviceHandler;
  MINIPORT_FILTER_RESOURCE_REQUIREMENTS_HANDLER MiniportFilterResourceRequirementsHandler;
  MINIPORT_START_DEVICE_HANDLER                 MiniportStartDeviceHandler;
  ULONG                                         Flags;
} NDIS_MINIPORT_PNP_CHARACTERISTICS, *PNDIS_MINIPORT_PNP_CHARACTERISTICS;

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_MINIPORT_PNP_CHARACTERISTICS structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_MINIPORT_PNP_CHARACTERISTICS, the Revision member to NDIS_MINIPORT_PNP_CHARACTERISTICS_REVISION_1, and the Size member to NDIS_SIZEOF_MINIPORT_PNP_CHARACTERISTICS_REVISION_1.

MiniportAddDeviceHandler

The entry point of the caller's MiniportAddDevice function.

MiniportRemoveDeviceHandler

The entry point of the caller's MiniportRemoveDevice function.

MiniportFilterResourceRequirementsHandler

The entry point of the caller's MiniportFilterResourceRequirements function.

MiniportStartDeviceHandler

The entry point of the caller's MiniportStartDevice function, if any. If this function is not required, set this member to NULL.

Flags

Reserved.

Remarks

Miniport drivers that support MSI-X and will change the interrupt affinity for each MSI-X message register functions that are defined in the NDIS_MINIPORT_PNP_CHARACTERISTICS structure. To register these functions, call the NdisSetOptionalHandlers function from the MiniportSetOptions function and specify an NDIS_MINIPORT_PNP_CHARACTERISTICS structure at the OptionalHandlers parameter of NdisSetOptionalHandlers.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Header ndis.h (include Ndis.h)

See also

MiniportAddDevice

MiniportFilterResourceRequirements

MiniportRemoveDevice

MiniportSetOptions

MiniportStartDevice

NDIS_OBJECT_HEADER

NdisSetOptionalHandlers