| Previous | Next |
| WSA_QOS_BAD_STYLE | WSA_QOS_TRAFFIC_CTRL_ERROR |
WSA_QOS_BAD_OBJECT
The provider rejected a structured QoS object, not ordinary payload data
WSA_QOS_BAD_OBJECT is a broad structural failure involving a FILTERSPEC or another object in the QOS.ProviderSpecific buffer. That buffer is a sequence of typed objects, each beginning with a QOS_OBJECT_HDR; one incorrect type, length, alignment, or nested pointer can prevent the RSVP provider from walking the sequence safely.
Dump the buffer as bytes together with its total WSABUF.len, then validate objects from the first header through the end-of-list marker. Do not rely on C structure size alone when the object contains variable data or architecture-dependent pointers. If a FILTERSPEC is involved, verify its address family, filter type, and matching union member. More specific WSA QoS errors should take precedence when available, so retain the provider extended status rather than replacing it with this generic code.
Structural fields to validate
- ProviderSpecific base address and byte length.
- Every object type and ObjectLength.
- FILTERSPEC family, subtype, and payload.
- Presence and position of the end-of-list object.
References
Looking for a different code? Search another status or error code.