In the process of developing your NDIS miniport driver, you must implement the NDIS miniport driver functions.
These functions are either required for implementation or optional. The NDIS_MINIPORT_CHARACTERISTICS structure contains function pointers to the required and optional NDIS miniport driver functions.
Microsoft recommends replacing the Miniport prefix with a prefix that describes your network adapter.
The following table shows the NDIS miniport driver functions to implement and indicates whether they are required or optional.
Function | Description |
---|---|
DllMain | Required. |
DriverEntry | Required. |
Install_Driver | Required for PC Card drivers.
Create NDIS miniport driver and network adapter registry keys in this function. For more information, see NDIS Plug and Play Support. |
MiniportCancelSendPackets | Optional. |
MiniportCheckForHang | Optional. |
MiniportDisableInterrupt | Optional. |
MiniportEnableInterrupt | Optional. |
MiniportHalt | Required. |
MiniportHandleInterrupt | Required if the network adapter generates interrupts. |
MiniportInitialize | Required |
MiniportISR | Required if the network adapter generates interrupts |
MiniportQueryInformation | Required. |
MiniportReconfigure | Optional. |
MiniportReset | Required. |
MiniportReturnPacket | Required. |
MiniportSend | Required if the driver does not implement MiniportSendPackets or MiniportWanSend. |
MiniportSendPackets | Required if the driver does not implement MiniportSend or MiniportWanSend. |
MiniportSetInformation | Required. |
MiniportShutdown | Optional. |
MiniportSynchronizeISR | Required if the miniport driver shares resources with the MiniportISR or MiniportDisableInterrupt functions. |
MiniportTimer | Required if the network adapter does not generate interrupts. |
MiniportTransferData | Required if the network adapter does not indicate multipacket receives, media-specific information, or both with NdisMIndicateReceivePacket
Required for drivers that do not support WAN media. |
MiniportWanSend | Required if the NDIS miniport driver controls a WAN network adapter. |
See Also
Send Feedback on this topic to the authors