Managing an NDIS Port

Interested NDIS drivers and user-mode applications can manage NDIS ports. NDIS provides services to help manage ports.

NDIS notifies the interested NDIS drivers and user mode applications of port state changes by issuing the associated status indications, and PnP events.

The port number that is passed to send and receive functions identifies the target port of a send operation or the source port of a receive indication. Similarly, the port number in the associated structures identifies the port for status indications, OID requests, and PnP events. For more information about port numbers, see NDIS Ports Introduction.

To help manage NDIS ports, the following structures include the port number:

NDIS_OID_REQUEST
Describes OID requests.

NDIS_STATUS_INDICATION
Describes NDIS status indications.

NET_PNP_EVENT_NOTIFICATION
Describes PnP event notifications.

This section includes:

NDIS Port Send and Receive Operations

NDIS Port OID Requests

Handling NDIS Ports Status Indications

Handling NDIS Ports PnP Event Notifications