NdisQueryMapRegisterCount

This function returns the maximum number of available map registers in the current platform.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

NDIS_STATUS NdisQueryMapRegisterCount(
IN NDIS_INTERFACE_TYPE
BusType, OUT PUINT MapRegisterCount );

Parameters

BusType
Specifies the I/O bus interface type of the caller’s busmaster DMA NIC, which usually is the type of I/O bus on which the NIC is connected, as one of the following:
NdisInterfaceInternal
Specifies a host-specific internal interface.
NdisInterfaceIsa
Specifies the ISA interface.
NdisInterfacePci
Specifies the Peripheral Component Interconnect ( PCI ) interface.
NdisInterfacePcMcia
Specifies the Personal Computer Memory Card International Association ( PCMCIA ) interface.
MapRegisterCount
Pointer to a caller-supplied variable in which this function returns the maximum number of map registers available to the caller.

Return Values

Returns NDIS_STATUS_SUCCESS if the value at MapRegisterCount is valid. Otherwise, it returns NDIS_STATUS_NOT_SUPPORTED.

Remarks

Currently, Windows CE does not support direct memory access ( DMA ). The Windows CE version of this function is a stub that does no work. When Windows CE does support DMA, this function will be more fully developed.