Share via


NdisQueryMapRegisterCount

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

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 network adapter, which usually is the type of I/O bus on which the network adapter is connected, as one of the following:

    Value Description
    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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h   Ndislib.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.