Microsoft Windows CE 3.0  

NdisQueryMapRegisterCount

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 NIC, which usually is the type of I/O bus on which the NIC 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 MapRegisterCountis 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    
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

© 2004 Microsoft Corporation. All rights reserved.