Share via


NDIS Upper-Edge Functions

The following table shows the NDIS Upper-Edge driver functions with a description of the purpose of each.

Programming element Description
DriverEntry DriverEntry is a required function that the system calls first in any NDIS driver.
MiniportCancelSendPackets The MiniportCancelSendPackets function is optional.
MiniportCheckForHang This function is an optional function that reports the state of the network adapter or monitors the responsiveness of an underlying device driver.
MiniportDisableInterrupt This function is an optional function, supplied by drivers of network adapters that support dynamic enabling and disabling of interrupts but do not share an IRQ.
MiniportEnableInterrupt MiniportEnableInterrupt is an optional function, supplied by some drivers of network adapters that support dynamic enabling and disabling of interrupts but do not share an IRQ.
MiniportHalt MiniportHalt is a required function that de-allocates resources when the network adapter is removed and halts the network adapter.
MiniportHandleInterrupt This function is a required function if a driver's network adapter generates interrupts.
MiniportInitialize This function is a required function that sets up a network adapter, or virtual network adapter, for network I/O operations, claims all hardware resources necessary to the network adapter in the registry, and allocates resources the driver needs to carry out network I/O operations.
MiniportISR This function is a required function if the driver's network adapter generates interrupts.
MiniportQueryInformation This function is a required function that returns information about the capabilities and status of the driver and/or its network adapter.
MiniportReconfigure Although the NDIS library currently never calls this function, a MiniportInitialize function can call it as an internal driver function.
MiniportReset This function is a required function that issues a hardware reset to the network adapter and/or resets the driver's software state.
MiniportReturnPacket This function is a required function in drivers that indicate receives with NdisMIndicateReceivePacket.
MiniportSend This function transfers a protocol-supplied packet over the network.
MiniportSendPackets MiniportSendPackets is a required function if the driver has no MiniportSend, or MiniportWanSend function.
MiniportSetInformation This function is a required function that allows bound protocol drivers, or NDIS, to request changes in the state information that the miniport maintains for particular object identifiers, such as changes in multicast addresses.
MiniportShutdown MiniportShutdown is an optional function that restores a NIC to its initial state when the system is shut down, whether by the user or because an unrecoverable system error occurred.
MiniportSynchronizeISR MiniportSynchronizeISR is a required function for NIC driver functions that run at less than DIRQL and share resources with that driver's MiniportISR or MiniportDisableInterrupt function.
MiniportTimer MiniportTimer is a required function if a driver's NIC does not generate interrupts.
MiniportTransferData This function is a required function in network adapter drivers that do not indicate multipacket receives and/or media-specific information with NdisMIndicateReceivePackett and in those that do not support WAN media.
MiniportWanSend This function is a required function if the driver controls a WAN network adapter.

See Also

Network Driver Functions

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.