IOCTL_DISK_SET_SECURE_WIPE_FLAG (Windows Embedded CE 6.0)
1/6/2010
This IOCTL sets a flag indicating a secure wipe is to be performed on the next reboot. The handle is a handle to the file system volume.
Parameters
- dwIoControlCode
[in] Set to IOCTL_DISK_SET_SECURE_WIPE_FLAG
- lpInBuf
[in] Not used
- nInBufSize
[in] Not used
- lpOutBuf
[out] Not used
- nOutBufSize
[out] Not used
- lpBytesReturned
[out] Not used
Return Values
If the call succeeds, the return value is nonzero. If the function fails, the return value is zero. To obtain extended error information, call GetLastError.
Remarks
**After the flag is set, the call returns. When the calling application reboots the system, the secure wipe is performed. After the reboot, EXFAT passes the FATUTIL_SECURE_WIPE flag to the FORMAT_OPTIONS structure.
The following example shows how to obtain a handle to the file system volume:
h = CreateFile ( "<MountPoint>\VOL:", ...)
Requirements
Header | diskio.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
See Also
Reference
Block Driver IOCTLs
DELETE_SECTOR_INFO