Raw ATA commands

Is there an example in the DDK that shows how to send PATA/SATA commands to
a hard drive?

----- Original Message -----
From: “Maxim S. Shatskih”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, November 17, 2004 11:19 AM
Subject: Re: [ntfsd] stdlib.h _MAX_PATH problem.

> Use \?\ style paths, they are not converted to native NT paths inside
> kernel32 and so the limit is not applicable to them. This is documented
> somewhere in MSDN.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Joe Stivaletta”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Wednesday, November 17, 2004 8:05 PM
> Subject: [ntfsd] stdlib.h _MAX_PATH problem.
>
>
> > I am seeing truncated file path strings in a user mode application that
uses
> > _MAX_PATH defined in stdlib.h to set the buffer sizes.
> >
> > Microsoft documents the Path Field Limits here:
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt_path_field_limits.asp
> >
> > However, my preliminary investigation at the kernel mode level is
showing
> > file paths that exceed this 260 character _MAX_PATH limit. Since I am a
> > kernel mode developer and not a user mode developer, I am not
experienced in
> > these user mode limitations. Do I need to increase the size of my user
mode
> > buffers or will that be opening a can of worms at the user level if I
do?
> > Any suggestion are welcome. I suspect it is a DOS legacy limitation.
> >
> > Best Regards,
> > Joe
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>