| Previous | Next |
| STATUS_PORT_CONNECTION_REFUSED | STATUS_SHARING_VIOLATION |
STATUS_INVALID_PORT_HANDLE
The operation used the wrong kind of port handle
Verify that the handle names an active native port object and belongs to the expected process context. A stale or wrong object handle cannot be repaired by changing network port settings.
This status means the handle value exists in the process, but it is not the type of port handle required by the operation or it no longer represents a usable port endpoint.
What to inspect
- Trace where the handle was obtained.
- Check duplication and inheritance paths.
- Avoid using a client communication-port handle where a connection-port handle is required.
References for STATUS_INVALID_PORT_HANDLE
Looking for a different code? Search another status or error code.