I've created a program that looks at disks.
I'd like it to be able to detect HPA (Host Protected Area) and DCO's (Device Configuration Overlay) when disks that have either of those is examined. I can and have coded the solution for my Linux version simply by calling hdparm and the -N switch (as also discussed here:
http://superuser.com/a/642765. However, to my knowledge, Windows has no such native abilities without third party drivers and so on. And all the Windows tools I know of that can do this use some kind of special DLL, presumebly propriatory and not free (as in free beer).
And so my question is whether there is in fact a way that I might be missing, perhaps using part of the Windows API or whatever, to detect HPA\DCO using Freepascal?
Thanks