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.

59 lines
786 B

  1. // oidtst.h
  2. #ifndef _OIDTST_H_
  3. #define _OIDTST_H_
  4. #include <stdio.h>
  5. #include <string.h>
  6. #include <nt.h>
  7. #include <ntrtl.h>
  8. #include <nturtl.h>
  9. #include <windows.h>
  10. #include <ntioapi.h>
  11. int
  12. FsTestDecipherStatus(
  13. IN NTSTATUS Status
  14. );
  15. void
  16. FsTestHexDump (
  17. IN UCHAR *Buffer,
  18. IN ULONG Size
  19. );
  20. void
  21. FsTestHexDumpLongs (
  22. IN ULONG *Buffer,
  23. IN ULONG SizeInBytes
  24. );
  25. int
  26. FsTestSetOid(
  27. IN HANDLE hFile,
  28. IN FILE_OBJECTID_BUFFER ObjectIdBuffer
  29. );
  30. int
  31. FsTestGetOid(
  32. IN HANDLE hFile,
  33. IN FILE_OBJECTID_BUFFER *ObjectIdBuffer
  34. );
  35. int
  36. FsTestOpenByOid (
  37. IN UCHAR *ObjectId,
  38. IN ULONG ArgLength,
  39. IN PWCHAR DriveLetter
  40. );
  41. int
  42. FsTestDeleteOid(
  43. IN HANDLE hFile
  44. );
  45. #endif