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.

87 lines
1.9 KiB

  1. #if !defined( _FRS_EDIT_ )
  2. #define _FRS_EDIT_
  3. #include "vscroll.hxx"
  4. #include "untfs.hxx"
  5. DECLARE_CLASS( FRS_EDIT );
  6. DECLARE_CLASS( LOG_IO_DP_DRIVE );
  7. class FRS_EDIT : public VERTICAL_TEXT_SCROLL {
  8. public:
  9. NONVIRTUAL
  10. FRS_EDIT(
  11. ) { _drive = NULL; };
  12. VIRTUAL
  13. BOOLEAN
  14. Initialize(
  15. IN HWND WindowHandle,
  16. IN INT ClientHeight,
  17. IN INT ClientWidth,
  18. IN PLOG_IO_DP_DRIVE Drive
  19. );
  20. VIRTUAL
  21. VOID
  22. SetBuf(
  23. IN HWND WindowHandle,
  24. IN OUT PVOID Buffer,
  25. IN ULONG Size DEFAULT 0
  26. );
  27. VIRTUAL
  28. VOID
  29. Paint(
  30. IN HDC DeviceContext,
  31. IN RECT InvalidRect,
  32. IN HWND WindowHandle
  33. );
  34. VIRTUAL
  35. VOID
  36. KeyUp(
  37. IN HWND WindowHandle
  38. );
  39. VIRTUAL
  40. VOID
  41. KeyDown(
  42. IN HWND WindowHandle
  43. );
  44. private:
  45. NONVIRTUAL VOID
  46. DisplayStandardInformation(
  47. IN PATTRIBUTE_RECORD_HEADER pRec,
  48. IN HDC DeviceContext,
  49. IN OUT INT& CurrentLine
  50. );
  51. NONVIRTUAL VOID
  52. DisplayFileName(
  53. IN PATTRIBUTE_RECORD_HEADER pRec,
  54. IN HDC DeviceContext,
  55. IN OUT INT& CurrentLine
  56. );
  57. NONVIRTUAL VOID
  58. DisplayAttrList(
  59. IN PATTRIBUTE_RECORD_HEADER pRec,
  60. IN HDC DeviceContext,
  61. IN OUT INT& CurrentLine
  62. );
  63. PVOID _buffer;
  64. ULONG _size;
  65. PLOG_IO_DP_DRIVE _drive;
  66. ULONG _cluster_factor;
  67. ULONG _frs_size;
  68. };
  69. #endif