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.

67 lines
1.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1992, Microsoft Corporation.
  4. //
  5. // File: testsup.h
  6. //
  7. // Contents: This file defines function prototypes for routines
  8. // which are useful for testing the DsFs driver.
  9. //
  10. // Functions: DsfsCleanup
  11. // DsfsDefineLogicalRoot, public
  12. // DsfsDefineProvider, public
  13. // DsfsReadStruct, public
  14. // DfsCreateSymbolicLink, public
  15. // DfsCreateLogicalRootName, public
  16. //
  17. // Notes: A selected set of these routines should be moved into
  18. // a more public place.
  19. //
  20. // History: 04 Feb 92 alanw Created.
  21. //
  22. //--------------------------------------------------------------------------
  23. #ifndef _TESTSUP_
  24. #define _TESTSUP_
  25. extern HANDLE DsfsFile;
  26. extern PWSTR DsfsDeviceName;
  27. extern PWSTR DsfsLogicalRootName;
  28. VOID
  29. DsfsCleanup (void);
  30. NTSTATUS
  31. DsfsDefineLogicalRoot(
  32. IN PWSTR LogicalRoot
  33. );
  34. NTSTATUS
  35. DsfsDefineProvider(
  36. IN PWSTR ProviderName,
  37. IN USHORT eProviderId,
  38. IN USHORT fProvCapability
  39. );
  40. #ifdef _DSFSCTL_
  41. NTSTATUS
  42. DsfsReadStruct(
  43. PFILE_DFS_READ_STRUCT_PARAM pRsParam,
  44. PUCHAR pucData
  45. );
  46. #endif // _DSFSCTL_
  47. NTSTATUS
  48. DfsCreateSymbolicLink(
  49. IN PWSTR Local,
  50. IN PWSTR DestStr
  51. );
  52. BOOLEAN
  53. DfsCreateLogicalRootName (
  54. PWSTR Name,
  55. PUNICODE_STRING Dest
  56. );
  57. #endif // _TESTSUP_