Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > filter driver getting physical sector size of device?

Reply
Thread Tools Display Modes

filter driver getting physical sector size of device?

 
 
David F.
Guest
Posts: n/a

 
      06-08-2010
Hi,

Where would a filter driver for disk drives find the physical sector size of
the device? Checking the pdo SectorSize field has zero.

TIA!!

 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      06-08-2010
IOCTL_DISK_GET_DRIVE_GEOMETRY(_EX)

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

"David F." <> wrote in message news:4BAA535D-38E0-4B06-A9B7-...
> Hi,
>
> Where would a filter driver for disk drives find the physical sector size of
> the device? Checking the pdo SectorSize field has zero.
>
> TIA!!
>

 
Reply With Quote
 
David F.
Guest
Posts: n/a

 
      06-08-2010
thanks - seems to work doing the ioctl in AddDevice - but - should the
driver wait until IRP_MN_START_DEVICE to send the ioctl?


"Maxim S. Shatskih" <> wrote in message
news:...
IOCTL_DISK_GET_DRIVE_GEOMETRY(_EX)

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

"David F." <> wrote in message
news:4BAA535D-38E0-4B06-A9B7-...
> Hi,
>
> Where would a filter driver for disk drives find the physical sector size
> of
> the device? Checking the pdo SectorSize field has zero.
>
> TIA!!
>


 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      06-08-2010
> driver wait until IRP_MN_START_DEVICE to send the ioctl?

I think yes.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Game Compatibility BCurrey Windows Vista Games 6 11-29-2007 08:11 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM
americas army stuttering under vista premium ernie Windows Vista Games 0 02-27-2007 10:20 PM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 09:49 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59