Secure erase command implementation
-
I read about Secure erase command that has been implemented in HDD firmware after 2006, under T13 commitee authority. Can this command be invoked from a MFC program?
C/C++ programs can call any API exposed either via the OS or other applications. They can also invoke assembly. Even if the MS compilers do not support embedded assembly (I didn't look) one can still invoke assembly via a function pointer cast. So basically if your equipment supports it then it can be called in C/C++. Doesn't mean it is easy though.
-
I read about Secure erase command that has been implemented in HDD firmware after 2006, under T13 commitee authority. Can this command be invoked from a MFC program?
As jschell suggested, you can probably get tricky and get it accomplished one way or another, but by default, you should assume that the functionality will not be easily accessible unless made available by the hardware driver. Look for a drive that supports it and see if they have their own driver (as opposed to a generic HDD driver which is likely not to have this function) and have an API that allows you to access it.