NdisPciAssignResources

VOID
NdisPciAssignResources(
IN NDIS_HANDLE
NdisWrapperHandle
IN NDIS_HANDLE WrapperConfigurationContext
IN ULONG SlotNumber
OUT PNDIS_RESOURCE_LIST * AssignedResources
);

NdisPciAssignResources returns a list of resources (such as IRQs, I/O ports, memory ranges) that the PCI device is using. These resources have been set by the system so that the resources used by the PCI device do not conflict with other devices on the PCI bus.

NdisWrapperHandle

For netcard drivers, this handle is passed to MacAddAdapter. For miniport drivers, it is passed to MiniportInitialize or MiniportReconfigure.

WrapperConfigurationContext

The handle passed to MacAddAdapter.

SlotNumber

The slot number of the PCI device owning the resources.

AssignedResources

A pointer to a list of resources owned by the PCI device.

See Also

MacAddAdapter, MiniportInitialize, MiniportReconfigure