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.

81 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. udfvol.hxx
  5. Abstract:
  6. This class implements Universal Data Format only VOLUME items.
  7. Author:
  8. Centis Biks (cbiks) 05-May-2000
  9. --*/
  10. #pragma once
  11. #include "volume.hxx"
  12. #include "udfsa.hxx"
  13. DECLARE_CLASS( UDF_VOL );
  14. DECLARE_CLASS( MESSAGE );
  15. class UDF_VOL : public VOL_LIODPDRV {
  16. public:
  17. UUDF_EXPORT
  18. DECLARE_CONSTRUCTOR( UDF_VOL );
  19. VIRTUAL
  20. UUDF_EXPORT
  21. ~UDF_VOL(
  22. );
  23. NONVIRTUAL
  24. UUDF_EXPORT
  25. FORMAT_ERROR_CODE
  26. Initialize(
  27. IN PCWSTRING NtDriveName,
  28. IN OUT PMESSAGE Message DEFAULT NULL,
  29. IN BOOLEAN ExclusiveWrite DEFAULT FALSE,
  30. IN USHORT FormatUDFRevision DEFAULT UDF_VERSION_201
  31. );
  32. NONVIRTUAL
  33. PVOL_LIODPDRV
  34. QueryDupVolume(
  35. IN PCWSTRING NtDriveName,
  36. IN OUT PMESSAGE Message DEFAULT NULL,
  37. IN BOOLEAN ExclusiveWrite DEFAULT FALSE,
  38. IN BOOLEAN FormatMedia DEFAULT FALSE,
  39. IN MEDIA_TYPE MediaType DEFAULT Unknown
  40. ) CONST;
  41. NONVIRTUAL
  42. BOOLEAN
  43. Extend(
  44. IN OUT PMESSAGE Message,
  45. IN BOOLEAN Verify,
  46. IN BIG_INT nsecOldSize
  47. );
  48. private:
  49. NONVIRTUAL
  50. VOID
  51. Construct (
  52. );
  53. NONVIRTUAL
  54. VOID
  55. Destroy(
  56. );
  57. UDF_SA _UdfSa;
  58. };