SHFormatDrive()

"Martin Fuchs" <[email protected]> Sat, 13 Aug 2005 14:30:40 +0100
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
Changelog:

2005-08-13  Martin Fuchs <[email protected]>

	* include/shlobj.h (SHFormatDrive): Declaration of function
		and associated constants.


For documentation see
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/shellcc/=
platform/shell/reference/functions/shformatdrive.asp


Index: shlobj.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/src/src/winsup/w32api/include/shlobj.h,v
retrieving revision 1.38
diff -u -p -d -r1.38 shlobj.h
--- shlobj.h	29 Dec 2004 12:15:19 -0000	1.38
+++ shlobj.h	13 Aug 2005 13:29:39 -0000
@@ -1474,6 +1500,15 @@ typedef BROWSEINFOA BROWSEINFO,*PBROWSEI
 #define LPFILEGROUPDESCRIPTOR LPFILEGROUPDESCRIPTORA
 #endif /* UNICODE */
 
+DWORD WINAPI SHFormatDrive(HWND,UINT,UINT,UINT);
+
+#define SHFMT_ID_DEFAULT	0xFFFF
+#define SHFMT_OPT_FULL		1
+#define SHFMT_OPT_SYSONLY	2
+#define SHFMT_ERROR	0xFFFFFFFF
+#define SHFMT_CANCEL	0xFFFFFFFE
+#define SHFMT_NOFORMAT	0xFFFFFFFD
+
 #pragma pack(pop)
 #ifdef __cplusplus
 }



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf