Partager via


NdisMQueryAdapterResources (Compact 2013)

3/26/2014

This function returns a list of hardware resources for a NIC.

Syntax

VOID NdisMQueryAdapterResources(
  PNDIS_STATUS Status,
  NDIS_HANDLE WrapperConfigurationContext,
  PNDIS_RESOURCE_LIST ResourceList,
  PUINT BufferSize
);

Parameters

  • Status
    [out] Points to a caller-supplied variable in which this function returns the status of the call.
  • ResourceList
    [out] Points to a caller-allocated buffer in which this function returns a set of hardware resources for the caller's NIC.
  • BufferSize
    [in] Points to a variable that specifies the size in bytes of the caller-allocated buffer on input and the number of bytes of information returned by this call.

Return Value

None.

Remarks

To get bus-configuration hardware configuration parameters for their NICs, drivers can call NdisMQueryAdapterResources from their MiniportInitialize functions.

Requirements

Header

ndis.h

Library

ndis.dll

See Also

Reference

NDIS 5.x Legacy Functions
MiniportInitialize
NdisOpenConfiguration
NdisReadConfiguration
NdisWriteConfiguration