VOID
NdisMQueryAdapterResources(
OUT PNDIS_STATUS Status,
IN NDIS_HANDLE WrapperConfigurationContext,
OUT PNDIS_RESOURCE_LIST ResourceList,
IN OUT PUINT BufferSize
);
NdisMQueryAdapterResources either returns a list of hardware resources for a PCMCIA NIC, or it returns NDIS_STATUS_NOT_SUPPORTED.
To get hardware configuration parameters for PCMCIA NICs, drivers that are binary-compatible across Microsoft operating systems that support Win32 applications can call NdisMQueryAdapterResources from their MiniportInitialize functions.
If NdisMQueryAdapterResources returns NDIS_STATUS_NOT_SUPPORTED, the MiniportInitialize function then gets the configuration parameters for its NIC from the registry with calls to the Ndis..Configuration functions.
Callers of NdisMQueryAdapterResources run at IRQL PASSIVE_LEVEL.
MiniportInitialize, NdisOpenConfiguration, NdisReadConfiguration, NdisWriteConfiguration