| Previous | Next |
| ERROR_NDIS_UNSUPPORTED_REVISION | ERROR_NDIS_INVALID_PORT_STATE |
ERROR_NDIS_INVALID_PORT
ERROR_NDIS_INVALID_PORT The request names an NDIS port that the adapter does not currently expose. Ports are interface-specific and can disappear after reset, reconfiguration, or a change in virtualization or wireless state.
What to check
- Enumerate current ports before sending a port-specific request.
- Do not assume that a port identifier remains valid after reset or restart.
- For a driver, validate port ownership and lifecycle before accessing port state.
Microsoft: Handling OID requests in a miniport adapter
Looking for a different code? Search another status or error code.