Re: SHFormatDrive()
"Earnie Boyd" <[email protected]> Sun, 14 Aug 2005 13:03:49 +0000
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
On 1:30:40 pm 2005-08-13 "Martin Fuchs" <[email protected]> wrote: > 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=/library/en-us/shell > cc/platform/shell/reference/functions/shformatdrive.asp > > > Index: shlobj.h > =================================================================== > 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 > } > Thanks Martin. Please be kind and submit this to the patch tracker. See the link in my sig. Earnie -- MinGW - http://www.mingw.org/ Wiki - http://www.mingw.org/MinGWiki/ Bug Report - http://sourceforge.net/tracker/?group_id=2435&atid=102435 Submit Patch - http://sourceforge.net/tracker/?group_id=2435&atid=302435 SF Project - http://sourceforge.net/projects/mingw Job Listing - http://sf.net/people/viewjob.php?group_id=2435&job_id=21643 Job Listing - http://sf.net/people/viewjob.php?group_id=46778&job_id=22223 ------------------------------------------------------- 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