Share via


NdisMQueryAdapterResources (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
MiniportInitialize
NdisOpenConfiguration
NdisReadConfiguration
NdisWriteConfiguration