| Previous | Next |
| STATUS_NDIS_INVALID_PORT | STATUS_NDIS_LOW_POWER_STATE |
STATUS_NDIS_INVALID_PORT_STATE
The port identity is valid, but its lifecycle state is not
STATUS_NDIS_INVALID_PORT_STATE means NDIS found the named port but its allocated, activated, or deactivated state is incompatible with the requested operation. It is therefore different from an invalid port number.
A documented example is deactivating a port that is already deactivated. For the default port, that state also affects bindings between upper protocol drivers and the miniport, so changing port state without tracking bindings can create secondary failures.
Evidence that narrows it
- Record the port state immediately before the request and the previous PnP port activation or deactivation events.
- Drain status and receive indications associated with a port before deactivation, as required by the miniport contract.
- Separate an invalid state from a missing port and from an adapter-level Paused or low-power state.
References
- Microsoft: Deactivating an NDIS port
- Microsoft: Miniport adapter states and operations
- Microsoft: NDIS driver stack
Looking for a different code? Search another status or error code.