DiskPerfDeviceControl () of diskperf in wdk;
- From: krish <pradeep_bisht@xxxxxxxxx>
- Date: Mon, 12 May 2008 12:59:41 -0700 (PDT)
In the function DiskPerfDeviceControl (), for the control codes that
diskperf does not process it does the following:
...
else {
//
// Set current stack back one.
//
Irp->CurrentLocation++,
Irp->Tail.Overlay.CurrentStackLocation++;
}
I do not what understand what this code is doing? I believe the intent
here is to just pass on the control codes to the next driver. So
shouldn't it be doing IoCopyCurrentIrpStackLocationToNext (), so that
next lower driver gets the same information as diskperf. Also WDK says
that undocumented members of _IRP are for IO manager only, then why
they are being used here.
Please help. Thanks.
.
- Follow-Ups:
- Re: DiskPerfDeviceControl () of diskperf in wdk;
- From: Maxim S. Shatskih
- Re: DiskPerfDeviceControl () of diskperf in wdk;
- Prev by Date: What are the driver signing options in Vista 32bit
- Next by Date: Scatter/gather DMA to a kernel buffer
- Previous by thread: What are the driver signing options in Vista 32bit
- Next by thread: Re: DiskPerfDeviceControl () of diskperf in wdk;
- Index(es):