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.

61 lines
1.2 KiB

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