Hi, I'm writing a network driver based on passthru sample. I want to
add ReadFile function. I saw a sollution in the other sample (called
ndisuio) so I try to do it in the same way. But in ...ServiceReads
funtion Irp->MdlAddress is NULL. I don't have any idea why. I checked
that in Ndisuio there's no function like MmBuildMdlForNonPagedPool or
MmProbeAndLockPages, is it ok (I read DDK and they seem to be
necessary) ? Second question : Irp->UserBuffer isn't NULL - can I use
it instead of MdlAddress?