COpen::NdisRequest (Ndistest again)

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
 
M

Mitesh Desai [MSFT]

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
 
M

Mitesh Desai [MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top