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.

56 lines
975 B

  1. #if !defined(_IO_OBJECT_)
  2. #define _IO_OBJECT_
  3. DECLARE_CLASS( MEM );
  4. DECLARE_CLASS( LOG_IO_DP_DRIVE );
  5. DECLARE_CLASS( IO_OBJECT );
  6. class IO_OBJECT {
  7. public:
  8. NONVIRTUAL
  9. IO_OBJECT(
  10. ) {};
  11. VIRTUAL
  12. ~IO_OBJECT(
  13. );
  14. VIRTUAL
  15. BOOLEAN
  16. Setup(
  17. IN PMEM Mem,
  18. IN PLOG_IO_DP_DRIVE Drive,
  19. IN HANDLE Application,
  20. IN HWND WindowHandle,
  21. OUT PBOOLEAN Error
  22. );
  23. VIRTUAL
  24. BOOLEAN
  25. Read(
  26. OUT PULONG pError
  27. );
  28. VIRTUAL
  29. BOOLEAN
  30. Write(
  31. );
  32. VIRTUAL
  33. PVOID
  34. GetBuf(
  35. OUT PULONG Size DEFAULT NULL
  36. );
  37. VIRTUAL
  38. PTCHAR
  39. GetHeaderText(
  40. );
  41. };
  42. #endif