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.

87 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. srio.h
  5. Abstract:
  6. Contains the prototypes for the routines in srio.c.
  7. Author:
  8. Molly Brown (MollyBro) 07-Nov-2000
  9. Revision History:
  10. --*/
  11. #ifndef __SRIO_H__
  12. #define __SRIO_H__
  13. NTSTATUS
  14. SrSyncIoCompletion (
  15. IN PDEVICE_OBJECT DeviceObject,
  16. IN PIRP Irp,
  17. IN PKEVENT SynchronizingEvent
  18. );
  19. NTSTATUS
  20. SrQueryInformationFile (
  21. IN PDEVICE_OBJECT NextDeviceObject,
  22. IN PFILE_OBJECT FileObject,
  23. OUT PVOID FileInformation,
  24. IN ULONG Length,
  25. IN FILE_INFORMATION_CLASS FileInformationClass,
  26. OUT PULONG LengthReturned OPTIONAL
  27. );
  28. NTSTATUS
  29. SrSetInformationFile (
  30. IN PDEVICE_OBJECT NextDeviceObject,
  31. IN PFILE_OBJECT FileObject,
  32. IN PVOID FileInformation,
  33. IN ULONG Length,
  34. IN FILE_INFORMATION_CLASS FileInformationClass
  35. );
  36. NTSTATUS
  37. SrQueryVolumeInformationFile (
  38. IN PDEVICE_OBJECT NextDeviceObject,
  39. IN PFILE_OBJECT FileObject,
  40. OUT PVOID FsInformation,
  41. IN ULONG Length,
  42. IN FS_INFORMATION_CLASS FsInformationClass,
  43. OUT PULONG LengthReturned OPTIONAL
  44. );
  45. NTSTATUS
  46. SrQueryEaFile (
  47. IN PDEVICE_OBJECT NextDeviceObject,
  48. IN PFILE_OBJECT FileObject,
  49. OUT PVOID Buffer,
  50. IN ULONG Length,
  51. OUT PULONG LengthReturned OPTIONAL
  52. );
  53. NTSTATUS
  54. SrQuerySecurityObject (
  55. IN PDEVICE_OBJECT NextDeviceObject,
  56. IN PFILE_OBJECT FileObject,
  57. IN SECURITY_INFORMATION SecurityInformation,
  58. OUT PSECURITY_DESCRIPTOR SecurityDescriptor,
  59. IN ULONG Length,
  60. OUT PULONG LengthNeeded
  61. );
  62. NTSTATUS
  63. SrFlushBuffers (
  64. PDEVICE_OBJECT NextDeviceObject,
  65. PFILE_OBJECT FileObject
  66. );
  67. #endif /* __SRIO_H__ */