NDIS Upper-Edge Functions (Windows Embedded CE 6.0)
1/6/2010
The following table shows the NDIS Upper-Edge driver functions with a description of the purpose of each.
Programming element | Description |
---|---|
DriverEntry is a required function that the system calls first in any NDIS driver. |
|
The MiniportCancelSendPackets function is optional. |
|
This function is an optional function that reports the state of the network adapter or monitors the responsiveness of an underlying device driver. |
|
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 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 is a required function that de-allocates resources when the network adapter is removed and halts the network adapter. |
|
This function is a required function if a driver's network adapter generates interrupts. |
|
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. |
|
This function is a required function if the driver's network adapter generates interrupts. |
|
This function is a required function that returns information about the capabilities and status of the driver and/or its network adapter. |
|
Although the NDIS library currently never calls this function, a MiniportInitialize function can call it as an internal driver function. |
|
This function is a required function that issues a hardware reset to the network adapter and/or resets the driver's software state. |
|
This function is a required function in drivers that indicate receives with NdisMIndicateReceivePacket. |
|
This function transfers a protocol-supplied packet over the network. |
|
MiniportSendPackets is a required function if the driver has no MiniportSend, or MiniportWanSend function. |
|
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 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 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 is a required function if a driver's NIC does not generate interrupts. |
|
This function is a required function in network adapter drivers that do not indicate multipacket receives and/or media-specific information with NdisMIndicateReceivePacket and in those that do not support WAN media. |
|
This function is a required function if the driver controls a WAN network adapter. |