COpen::NdisRequest (Ndistest again)

  • Thread starter Thread starter Pavel A.
  • Start date Start date
P

Pavel A.

Why COpen::NdisRequest method returns failure (pbResult = FALSE) if the driver returns data of zero
length and STATUS_SUCCESS?
It is absolutely legal to return zero length. For example, multicast list can be empty, then
MiniportQueryInfo returns success and zero length buffer.
But most of ndistest scripts check this boolean result and fail with message "failed to query OID"
even though request succeeded.

Regards,
- PA
 
The Open::NdisRequest command returns FALSE only if there was an internal
error in making the request. You can look at the debugger spew to see if
anything went wrong internally. If you post the NDISTest version, OS, script
name, OID and the BytesWritten returned I can investigate if there is any
reason it returned FALSE.

Thanks
Mitesh
 
The Open::NdisRequest command returns FALSE only if there was an internal
error in making the request. You can look at the debugger spew to see if
anything went wrong internally. If you post the NDISTest version, OS, script
name, OID and the BytesWritten returned I can investigate if there is any
reason it returned FALSE.

Thanks
Mitesh
 
Back
Top