Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
731 B

  1. /*************************************************************
  2. The header for SHFormatDrive API call
  3. *************************************************************/
  4. #if !defined(SHFMT_OPT_FULL)
  5. #if defined (__cplusplus)
  6. extern "C" {
  7. #endif
  8. DWORD WINAPI SHFormatDrive(HWND hwnd,
  9. UINT drive,
  10. UINT fmtID,
  11. UINT options);
  12. // Special value of fmtID
  13. #define SHFMT_ID_DEFAULT 0xFFFF
  14. // Option bits for options parameter
  15. #define SHFMT_OPT_FULL 0x0001
  16. #define SHFMT_OPT_SYSONLY 0x0002
  17. // Special return values, DWORD values
  18. #define SHFMT_ERROR 0xFFFFFFFFL
  19. #define SHFMT_CANCEL 0xFFFFFFFEL
  20. #define SHFMT_NOFORMAT 0xFFFFFFFDL
  21. #if defined (__cplusplus)
  22. }
  23. #endif
  24. #endif