sector information required

Hi

I am using diskperf driver example given with ddk 2000. How do i know
the sector number for which the data is meant for. i.e On which sector
data will be written when request is orignated for IRP_MJ_WRITE IRP.

Thanks
rahul

Read/write operations (with volume offsets) arriving at the disk.sys
partition PDO device objects are translated into read/write operations
with physical disk offsets rather than volume offsets and redirected to
their related disk.sys physical disk FDO. Disk.sys then further
translates these physical disk read/write requests into some number of
IRP_MJ_SCSI SRB READ/WRITE data requests with LBA and length information
and sends those down to the related port driver.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rahul Pandey
Sent: Monday, July 11, 2005 8:03 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] sector information required

Hi

I am using diskperf driver example given with ddk 2000. How do i know
the sector number for which the data is meant for. i.e On which sector
data will be written when request is orignated for IRP_MJ_WRITE IRP.

Thanks
rahul


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

IoGetCurrentIrpStackLocation(Irp)->Parameters.Write.ByteOffset

Divide this by the disk’s sector size.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Rahul Pandey”
To: “Windows System Software Devs Interest List”
Sent: Monday, July 11, 2005 4:02 PM
Subject: [ntdev] sector information required

Hi

I am using diskperf driver example given with ddk 2000. How do i know
the sector number for which the data is meant for. i.e On which sector
data will be written when request is orignated for IRP_MJ_WRITE IRP.

Thanks
rahul


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com