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.

101 lines
2.6 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. sisbackup.h
  5. Abstract:
  6. External interface for the SIS Backup dll.
  7. Revision History:
  8. --*/
  9. #ifndef __SISBKUP_H__
  10. #define __SISBKUP_H__
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif // __cplusplus
  17. BOOL __stdcall
  18. SisCreateBackupStructure(
  19. IN PWCHAR volumeRoot,
  20. OUT PVOID *sisBackupStructure,
  21. OUT PWCHAR *commonStoreRootPathname,
  22. OUT PULONG countOfCommonStoreFilesToBackup,
  23. OUT PWCHAR **commonStoreFilesToBackup);
  24. BOOL __stdcall
  25. SisCSFilesToBackupForLink(
  26. IN PVOID sisBackupStructure,
  27. IN PVOID reparseData,
  28. IN ULONG reparseDataSize,
  29. IN PVOID thisFileContext OPTIONAL,
  30. OUT PVOID *matchingFileContext OPTIONAL,
  31. OUT PULONG countOfCommonStoreFilesToBackup,
  32. OUT PWCHAR **commonStoreFilesToBackup);
  33. BOOL __stdcall
  34. SisFreeBackupStructure(
  35. IN PVOID sisBackupStructure);
  36. BOOL __stdcall
  37. SisCreateRestoreStructure(
  38. IN PWCHAR volumeRoot,
  39. OUT PVOID *sisRestoreStructure,
  40. OUT PWCHAR *commonStoreRootPathname,
  41. OUT PULONG countOfCommonStoreFilesToRestore,
  42. OUT PWCHAR **commonStoreFilesToRestore);
  43. BOOL __stdcall
  44. SisRestoredLink(
  45. IN PVOID sisRestoreStructure,
  46. IN PWCHAR restoredFileName,
  47. IN PVOID reparseData,
  48. IN ULONG reparseDataSize,
  49. OUT PULONG countOfCommonStoreFilesToRestore,
  50. OUT PWCHAR **commonStoreFilesToRestore);
  51. BOOL __stdcall
  52. SisRestoredCommonStoreFile(
  53. IN PVOID sisRestoreStructure,
  54. IN PWCHAR commonStoreFileName);
  55. BOOL __stdcall
  56. SisFreeRestoreStructure(
  57. IN PVOID sisRestoreStructure);
  58. VOID __stdcall
  59. SisFreeAllocatedMemory(
  60. IN PVOID allocatedSpace);
  61. //
  62. // SIS entry function typedefs
  63. //
  64. typedef BOOL ( FAR __stdcall *PF_SISCREATEBACKUPSTRUCTURE )( PWCHAR, PVOID *, PWCHAR *, PULONG, PWCHAR ** );
  65. typedef BOOL ( FAR __stdcall *PF_SISCSFILESTOBACKUPFORLINK ) (PVOID, PVOID, ULONG, PVOID, PVOID *, PULONG, PWCHAR ** ) ;
  66. typedef BOOL ( FAR __stdcall *PF_SISFREEBACKUPSTRUCTURE ) ( PVOID ) ;
  67. typedef BOOL ( FAR __stdcall *PF_SISCREATERESTORESTRUCTURE) ( PWCHAR, PVOID *, PWCHAR *, PULONG, PWCHAR ** );
  68. typedef BOOL ( FAR __stdcall *PF_SISRESTOREDLINK ) ( PVOID, PWCHAR, PVOID, ULONG, PULONG, PWCHAR ** ) ;
  69. typedef BOOL ( FAR __stdcall *PF_SISRESTOREDCOMMONSTORFILE) ( PVOID, PWCHAR ) ;
  70. typedef BOOL ( FAR __stdcall *PF_SISFREERESTORESTRUCTURE )( PVOID ) ;
  71. typedef BOOL ( FAR __stdcall *PF_SISFREEALLOCATEDMEMORY )( PVOID ) ;
  72. #ifdef __cplusplus
  73. }
  74. #endif // __cplusplus
  75. #endif // __SISBKUP_H__