..msdn Add comment W32 Constants Translate this page
The SHFormatDrive API provides access to the Shell"s format dialog box. This allows applications that want to format disks to bring up the same dialog box that the Shell uses for disk formatting.|
DWORD WINAPI SHFormatDrive(
DECLARE INTEGER SHFormatDrive IN shell32;
[in] The window handle of the window that will own the dialog.
[in] The 0 based (A: == 0) drive number of the drive to format.
[in] Currently must be set to SHFMT_ID_DEFAULT.
[in] Predefined options.
|The return is either one of the SHFMT_* values, or if the returned DWORD value is not == to one of these values, then the return is the physical format ID of the last successful format.|
|This function looks some undocumented. Though there is a MSDN link describing it, it is not really a regular description as it is for other Shell functions.|
HOWTO: Call SHFormatDrive in Windows 95/98/Me and Windows NT/2000/XP.
The undocumented SHFormatDrive function.
Disk in drive A:.
Formatting a drive under Win32 - by Borland Developer Support Staff.
|Word Index links for the SHFormatDrive :|
|Translate this page:|
Visited in last 7 days: 13
|Created: ||2002-07-23 22:37:15|
|Modified: ||2002-07-23 22:56:10|