Click here to Skip to main content
15,895,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionT13 Secure Erase Pin
RomTibi5-Apr-13 11:46
RomTibi5-Apr-13 11:46 
AnswerRe: T13 Secure Erase Pin
dusty_dex5-Apr-13 21:08
dusty_dex5-Apr-13 21:08 
GeneralRe: T13 Secure Erase Pin
RomTibi6-Apr-13 2:18
RomTibi6-Apr-13 2:18 
GeneralRe: T13 Secure Erase Pin
dusty_dex6-Apr-13 7:53
dusty_dex6-Apr-13 7:53 
GeneralRe: T13 Secure Erase Pin
RomTibi6-Apr-13 8:39
RomTibi6-Apr-13 8:39 
AnswerRe: T13 Secure Erase Pin
Randor 6-Apr-13 17:56
professional Randor 6-Apr-13 17:56 
GeneralRe: T13 Secure Erase Pin
RomTibi7-Apr-13 6:34
RomTibi7-Apr-13 6:34 
GeneralRe: T13 Secure Erase Pin
Joe Marley9-Apr-13 11:32
Joe Marley9-Apr-13 11:32 
David's pointing you to the spec is an excellent answer.

A few things I will add to the mix:

* You will need multiple commands ( SECURITY ERASE PREPARE, SECURITY ERASE UNIT, and possibly other SECURITY commands ) from the spec in order to accomplish a secure erase.

* Sending (single-sector) ATA passthru commands from uesr mode applications is possible on Windows (XP SP2 and newer, IIRC), assuming you have Admin privileges on the system. You will need do some Googling on IOCTL_ATA_PASSTHRU_DIRECT in order to find relevant information.

* That being said, you will still be at the mercy of the system BIOS and possibly the O/S. Once a SECURITY FREEZE LOCK is sent to the drive, it is *generally* difficult or impossible to send SECURITY ERASE to the drive. Some motherboard BIOSs send the SECURITY FREEZE LOCK prior to start of boot just to ensure a drive is not accidentally or maliciously erased.

All of this is from my memory, which is several years old at this point.
QuestionScreen Lock for MFC App Pin
Donguy19765-Apr-13 11:31
Donguy19765-Apr-13 11:31 
AnswerRe: Screen Lock for MFC App Pin
André Kraak5-Apr-13 12:29
André Kraak5-Apr-13 12:29 
AnswerRe: Screen Lock for MFC App Pin
Randor 6-Apr-13 18:18
professional Randor 6-Apr-13 18:18 
QuestionPlaySound method doesn't function in a Win7 Srvany Service Pin
rhfritz15-Apr-13 5:48
rhfritz15-Apr-13 5:48 
AnswerRe: PlaySound method doesn't function in a Win7 Srvany Service Pin
MicroVirus10-Apr-13 0:23
MicroVirus10-Apr-13 0:23 
QuestionOnFileOpen crashing Pin
_Flaviu4-Apr-13 22:31
_Flaviu4-Apr-13 22:31 
AnswerRe: OnFileOpen crashing Pin
CPallini4-Apr-13 22:40
mveCPallini4-Apr-13 22:40 
AnswerRe: OnFileOpen crashing Pin
Jochen Arndt4-Apr-13 22:42
professionalJochen Arndt4-Apr-13 22:42 
GeneralRe: OnFileOpen crashing Pin
_Flaviu4-Apr-13 23:07
_Flaviu4-Apr-13 23:07 
GeneralRe: OnFileOpen crashing Pin
_Flaviu4-Apr-13 23:26
_Flaviu4-Apr-13 23:26 
GeneralRe: OnFileOpen crashing Pin
Jochen Arndt4-Apr-13 23:35
professionalJochen Arndt4-Apr-13 23:35 
GeneralRe: OnFileOpen crashing Pin
_Flaviu4-Apr-13 23:46
_Flaviu4-Apr-13 23:46 
GeneralRe: OnFileOpen crashing Pin
Jochen Arndt5-Apr-13 0:12
professionalJochen Arndt5-Apr-13 0:12 
GeneralRe: OnFileOpen crashing Pin
_Flaviu5-Apr-13 0:27
_Flaviu5-Apr-13 0:27 
GeneralRe: OnFileOpen crashing Pin
Jochen Arndt5-Apr-13 0:31
professionalJochen Arndt5-Apr-13 0:31 
GeneralRe: OnFileOpen crashing Pin
_Flaviu5-Apr-13 0:32
_Flaviu5-Apr-13 0:32 
GeneralRe: OnFileOpen crashing Pin
SoMad5-Apr-13 0:51
professionalSoMad5-Apr-13 0:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.