Source code of Windows XP (NT5)
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( _RESTART_AREA_EDIT_ )
  2. #define _RESTART_AREA_EDIT_
  3. #include "edit.hxx"
  4. #include "vscroll.hxx"
  5. extern "C" {
  6. #include "lfs.h"
  7. #include "lfsdisk.h"
  8. };
  9. DECLARE_CLASS( RESTART_AREA_EDIT );
  10. class RESTART_AREA_EDIT : public VERTICAL_TEXT_SCROLL {
  11. public:
  12. NONVIRTUAL
  13. RESTART_AREA_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 // _RESTART_AREA_EDIT_