| Previous | Next |
| ERROR_NDIS_ADAPTER_NOT_READY | ERROR_NDIS_INVALID_DATA |
ERROR_NDIS_INVALID_LENGTH
ERROR_NDIS_INVALID_LENGTH The buffer length does not match the size required by the target NDIS request. It can be shorter or longer than allowed, or inconsistent with a versioned structure header.
What to check
- Check the required input and output size for the OID or NDIS structure revision in use.
- Populate BytesRead, BytesWritten, and BytesNeeded accurately in driver completion paths.
- Avoid assuming a fixed structure size when a newer revision can add fields.
Microsoft: Handling OID requests in a miniport adapter
Looking for a different code? Search another status or error code.