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.

62 lines
726 B

  1. #include "ulib.hxx"
  2. #include "io.hxx"
  3. STATIC TCHAR HeaderText[] = { 'D', 'i', 's', 'k', 'E', 'd', 'i', 't', 0 };
  4. IO_OBJECT::~IO_OBJECT(
  5. )
  6. {
  7. }
  8. BOOLEAN
  9. IO_OBJECT::Setup(
  10. IN PMEM Mem,
  11. IN PLOG_IO_DP_DRIVE Drive,
  12. IN HANDLE Application,
  13. IN HWND WindowHandle,
  14. OUT PBOOLEAN Error
  15. )
  16. {
  17. *Error = FALSE;
  18. return TRUE;
  19. }
  20. BOOLEAN
  21. IO_OBJECT::Read(
  22. OUT PULONG pError
  23. )
  24. {
  25. return TRUE;
  26. }
  27. BOOLEAN
  28. IO_OBJECT::Write(
  29. )
  30. {
  31. return TRUE;
  32. }
  33. PVOID
  34. IO_OBJECT::GetBuf(
  35. OUT PULONG Size
  36. )
  37. {
  38. if (Size) {
  39. *Size = 0;
  40. }
  41. return NULL;
  42. }
  43. PTCHAR
  44. IO_OBJECT::GetHeaderText(
  45. )
  46. {
  47. return HeaderText;
  48. }