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.

70 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. fatofs.hxx
  5. Abstract:
  6. Export for FAT->OFS Conversion
  7. Author:
  8. Srikanth Shoroff (srikants) August 22, 1995
  9. Notes:
  10. --*/
  11. #if !defined(__FATOFS_HXX__)
  12. #define __FATOFS_HXX__
  13. extern "C"
  14. {
  15. class MESSAGE;
  16. #if !defined(_AUTOCHECK_)
  17. #define FAT_TO_OFS_DLL_NAME L"OFSUTIL"
  18. #else
  19. #define FAT_TO_OFS_DLL_NAME L"AOFSUTIL"
  20. #endif // _AUTOCHECK
  21. #define FAT_TO_OFS_FUNCTION_NAME L"ConvertFatToOfs"
  22. #define FAT_TO_OFS_RESTART_FUNCTION_NAME L"IsFatToOfsRestart"
  23. typedef enum _FAT_OFS_CONVERT_STATUS
  24. {
  25. FAT_OFS_CONVERT_SUCCESS = 1,
  26. FAT_OFS_CONVERT_FAILED
  27. } FAT_OFS_CONVERT_STATUS, *PFAT_OFS_CONVERT_STATUS;
  28. BOOLEAN
  29. FAR APIENTRY
  30. ConvertFatToOfs(
  31. IN PCWSTR pwszNtDriveName,
  32. IN OUT MESSAGE * pMessage,
  33. IN BOOLEAN fVerbose,
  34. IN BOOLEAN fInSetup,
  35. OUT PFAT_OFS_CONVERT_STATUS pStatus
  36. );
  37. typedef BOOLEAN(FAR APIENTRY * FAT_OFS_CONVERT_FN)( PCWSTR,
  38. MESSAGE *,
  39. BOOLEAN,
  40. BOOLEAN,
  41. PFAT_OFS_CONVERT_STATUS );
  42. BOOLEAN
  43. FAR APIENTRY
  44. IsFatToOfsRestart(
  45. IN PCWSTR pwszNtDriveName
  46. );
  47. typedef BOOLEAN(FAR APIENTRY * FAT_OFS_RESTART_FN) ( PCWSTR );
  48. }
  49. #endif // __FATOFS_HXX__