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.

68 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. srvsnap.h
  5. Abstract:
  6. This module implements making SnapShots availible over the network
  7. Author:
  8. David Kruse (dkruse) 22-March-2001
  9. Revision History:
  10. --*/
  11. #ifndef _SRVSNAP_
  12. #define _SRVSNAP_
  13. typedef struct _SRV_SNAPSHOT_ARRAY
  14. {
  15. ULONG NumberOfSnapShots; // The number of SnapShots for the volume
  16. ULONG NumberOfSnapShotsReturned; // The number of SnapShots being returned
  17. ULONG SnapShotArraySize; // The size (in bytes) needed for the array
  18. WCHAR SnapShotMultiSZ[1]; // The multiSZ array of SnapShot names
  19. } SRV_SNAPSHOT_ARRAY, *PSRV_SNAPSHOT_ARRAY;
  20. NTSTATUS
  21. SrvSnapRefreshSnapShotsForShare(
  22. IN PSHARE Share
  23. );
  24. NTSTATUS
  25. SrvSnapRemoveShare(
  26. IN PSHARE_SNAPSHOT SnapShare
  27. );
  28. NTSTATUS
  29. SrvSnapEnumerateSnapShots(
  30. IN PWORK_CONTEXT WorkContext
  31. );
  32. NTSTATUS
  33. SrvSnapGetRootHandle(
  34. IN PWORK_CONTEXT WorkContext,
  35. OUT HANDLE* RootHandle
  36. );
  37. NTSTATUS
  38. SrvSnapGetNameString(
  39. IN PWORK_CONTEXT WorkContext,
  40. OUT PUNICODE_STRING* pathName,
  41. OUT BOOLEAN* FreePath
  42. );
  43. BOOLEAN
  44. SrvSnapParseToken(
  45. IN PWSTR Source,
  46. OUT PLARGE_INTEGER TimeStamp
  47. );
  48. #endif // _SRVSNAP_