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.

64 lines
1.2 KiB

  1. #if !defined( _RECORD_PAGE_EDIT_ )
  2. #define _RECORD_PAGE_EDIT_
  3. #include "edit.hxx"
  4. #include "vscroll.hxx"
  5. extern "C" {
  6. #include "lfs.h"
  7. #include "lfsdisk.h"
  8. };
  9. DECLARE_CLASS( RECORD_PAGE_EDIT );
  10. class RECORD_PAGE_EDIT : public VERTICAL_TEXT_SCROLL {
  11. public:
  12. NONVIRTUAL
  13. RECORD_PAGE_EDIT() {};
  14. VIRTUAL
  15. VOID
  16. SetBuf(
  17. IN HWND WindowHandle,
  18. IN OUT PVOID Buffer,
  19. IN ULONG Size DEFAULT 0
  20. );
  21. VIRTUAL
  22. VOID
  23. Paint(
  24. IN HDC DeviceContext,
  25. IN RECT InvalidRect,
  26. IN HWND WindowHandle
  27. );
  28. NONVIRTUAL
  29. BOOLEAN
  30. Initialize(
  31. IN HWND WindowHandle,
  32. IN INT ClientHeight,
  33. IN INT ClientWidth,
  34. IN PLOG_IO_DP_DRIVE Drive
  35. );
  36. VIRTUAL
  37. VOID
  38. KeyUp(
  39. IN HWND WindowHandle
  40. );
  41. VIRTUAL
  42. VOID
  43. KeyDown(
  44. IN HWND WindowHandle
  45. );
  46. private:
  47. PVOID _buffer;
  48. ULONG _size;
  49. };
  50. #endif // _RECORD_PAGE_EDIT_