about irp->UserBuffer in Ndis Intermediate Driver

When I send a io-request to Ndis Intermediate driver on Windos 2000, How
can I make the irp->UserBuffer not NULL?

And now I can processing the io-request and get inBuffer content, but I can
not get anything from irp->AssociateIrp.SystemBuffer.

How do you think about it?

Thank you.

Best regards.
Zhao.

The buffering method you select (BufferedIo, DirectIo, or NeitherIo) will
determine which buffer fields in the IRP to use
(Irp->AssociatedIrp.SystemBuffer, Irp->MdlAddress, Irp->UserBuffer
respectively).

HTH UKO.