Can someone show me how to setup and use the DeviceIoControl
IOCTL_DISK_FORMAT_TRACKS_EX
Operation
This IOCTL is similar to IOCTL_DISK_FORMAT_TRACKS except that it allows the
caller to specify several more parameters. The additional extended
parameters are the format gap length, the number of sectors per track, and
an array whose element size is equal to the number of sectors per track.
This array represents the track layout.

I'm particularly interested in the additional extended parameters, format
gap length and the track layout array.

Any help will be appreciated.

John




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Re: Need help with I/O request for disk drivers by David

David
Thu Dec 11 22:11:18 CST 2003

Did you read the source to the floppy disk driver? I see the code doesn't
permit more than 255 sectors per track or a gap length larger than 255. If
the floppy driver can mount one of those modified floppies is a good
question. Create one using DOS and then see if it can be mounted. If not
you will have to grab a handle to _T("\\\\.\\A:") and do your own simple
reads and see if it can be read. This is a fairly esoteric area of Windows
and USB floppy drives confuse the issues since you have even less control in
that environment. Microsoft has, the last time I heard, outside firms
handle the floppy drivers - or at least they did when the floppy driver was
broken into two pieces. You do have the option with drivers to have a
driver connect to the FDC driver and you then have a lot more control since
you create the low level commands yourself. Getting it to mount will be a
problem, but this is not supported on NT4.

"John Collyer" <johncollyer@zoominternet.net> wrote in message
news:3fd8957c_4@corp.newsgroups.com...
> Can someone show me how to setup and use the DeviceIoControl
> IOCTL_DISK_FORMAT_TRACKS_EX
> Operation
> This IOCTL is similar to IOCTL_DISK_FORMAT_TRACKS except that it allows
the
> caller to specify several more parameters. The additional extended
> parameters are the format gap length, the number of sectors per track, and
> an array whose element size is equal to the number of sectors per track.
> This array represents the track layout.
>
> I'm particularly interested in the additional extended parameters, format
> gap length and the track layout array.
>
> Any help will be appreciated.
>
> John
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----



Re: Need help with I/O request for disk drivers by Maxim

Maxim
Sat Dec 13 03:54:43 CST 2003

> Can someone show me how to setup and use the DeviceIoControl
> IOCTL_DISK_FORMAT_TRACKS_EX

Look at FORMAT_EX_PARAMETERS

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