What does HRESULT 0x80340014 (ERROR_NDIS_INVALID_LENGTH) mean?

 
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: NDIS status values

Microsoft: Handling OID requests in a miniport adapter

Microsoft: !ndiskd.netadapter


Looking for a different code? Search another status or error code.