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.

62 lines
1.1 KiB

  1. #if !defined( _FRS_IO_ )
  2. #define _FRS_IO_
  3. #include "io.hxx"
  4. #include "frsstruc.hxx"
  5. #include "attrib.hxx"
  6. #include "hmem.hxx"
  7. DECLARE_CLASS( FRS_IO );
  8. class FRS_IO : public IO_OBJECT {
  9. public:
  10. NONVIRTUAL
  11. FRS_IO(
  12. ) { _drive = NULL; };
  13. VIRTUAL
  14. BOOLEAN
  15. Setup(
  16. IN PMEM Mem,
  17. IN PLOG_IO_DP_DRIVE Drive,
  18. IN HANDLE Application,
  19. IN HWND WindowHandle,
  20. OUT PBOOLEAN Error
  21. );
  22. VIRTUAL
  23. BOOLEAN
  24. Read(
  25. OUT PULONG pError
  26. );
  27. VIRTUAL
  28. BOOLEAN
  29. Write(
  30. );
  31. VIRTUAL
  32. PVOID
  33. GetBuf(
  34. OUT PULONG Size DEFAULT NULL
  35. );
  36. VIRTUAL
  37. PTCHAR
  38. GetHeaderText(
  39. );
  40. private:
  41. PLOG_IO_DP_DRIVE _drive;
  42. NTFS_ATTRIBUTE _mftdata;
  43. NTFS_FRS_STRUCTURE _frs;
  44. TCHAR _header_text[64];
  45. };
  46. #endif