Partager via


NDIS Lower-Edge Functions (Windows Embedded CE 6.0)

1/6/2010

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

Programming element Description

ProtocolBindAdapter

This function is a required driver function to support Plug and Play.

ProtocolCloseAdapterComplete

This function is a required driver function that completes processing for an unbinding operation for which NdisCloseAdapter returned NDIS_STATUS_PENDING.

ProtocolOpenAdapterComplete

This function is a required driver function that completes processing of a binding operation for which NdisOpenAdapter returned NDIS_STATUS_PENDING.

ProtocolPnPEvent

ProtocolPnPEvent is a required function in any protocol driver to support Plug and Play and/or Power Management.

ProtocolReceive

This function is a required driver function in NDIS protocols that bind themselves to connectionless network adapter drivers.

ProtocolReceiveComplete

This function is a required driver function in any protocol.

ProtocolReceivePacket

ProtocolReceivePacket is an optional driver function that processes receive indications made by underlying connectionless NIC driver(s) that call either NdisMIndicateReceivePacket with packet arrays because the underlying driver supports multipacket receive indications or with individual packets that have associated out-of-band information.

ProtocolRequestComplete

This function is a required driver function that completes the processing of a protocol-initiated query or set for which NdisRequest returned NDIS_STATUS_PENDING.

ProtocolResetComplete

This function is a required driver function that completes a protocol-initiated reset operation for which NdisReset returned NDIS_STATUS_PENDING.

ProtocolSendComplete

This function is a required driver function that completes the processing of a protocol-initiated send previously passed to NdisSendPackets or NdisSend, which returned NDIS_STATUS_PENDING.

ProtocolStatus

This function is a required driver function that handles status-change notifications raised by an underlying connectionless network adapter driver or by NDIS.

ProtocolStatusComplete

This function is a required driver function that completes a status-change operation initiated when the underlying driver called NdisMIndicateStatus.

ProtocolTransferDataComplete

This function is a required driver function if the protocol might bind itself to an underlying connectionless network adapter driver that does not indicate full-packet receives with NdisMIndicateReceivePacket.

ProtocolUnbindAdapter

This function is a required function to support Plug and Play.

XXX_Init (NDIS)

When an NDIS Protocol Driver is loaded, either during initialization or through a device call, the driver-supplied function xxx_Init (Services.exe) is called.

See Also

Reference

Network Driver Functions