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.

127 lines
2.0 KiB

  1. /*
  2. * EDBBACK.H
  3. *
  4. * Microsoft Exchange Information Store
  5. * Copyright (C) 1992-1995, Microsoft Corporation
  6. *
  7. * Contains declarations of additional definitions and interfaces
  8. * for the Exchange Online backup Server APIs.
  9. */
  10. #ifndef _MDBBACK_
  11. #define _MDBBACK_
  12. //
  13. // Useful types.
  14. //
  15. typedef LONG ERR;
  16. // UNDONE: HRESULT should be DWORD (unsigned)
  17. //typedef DWORD HRESULT;
  18. typedef LONG HRESULT;
  19. #define EDBBACK_API __stdcall
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. #define BACKUP_WITH_UUID
  24. ERR
  25. EDBBACK_API
  26. HrBackupRegisterW(
  27. UUID *puuidService,
  28. WCHAR * wszEndpointAnnotation
  29. );
  30. ERR
  31. EDBBACK_API
  32. HrBackupRegisterA(
  33. UUID *puuidService,
  34. char * szEndpointAnnotation
  35. );
  36. #ifdef UNICODE
  37. #define HrBackupRegister HrBackupRegisterW
  38. #else
  39. #define HrBackupRegister HrBackupRegisterA
  40. #endif
  41. ERR
  42. EDBBACK_API
  43. HrBackupUnregister(
  44. );
  45. ERR
  46. EDBBACK_API
  47. ErrRestoreRegisterW(
  48. WCHAR * wszEndpointAnnotation,
  49. WCHAR * wszRestoreDll,
  50. char * szPerformRestore,
  51. char * szQueryDatabaseLocations
  52. );
  53. ERR
  54. EDBBACK_API
  55. ErrRestoreRegisterA(
  56. char * szEndpointAnnotation,
  57. char * szRestoreDll,
  58. char * szPerformRestore,
  59. char * szQueryDatabaseLocations
  60. );
  61. #ifdef UNICODE
  62. #define ErrRestoreRegister ErrRestoreRegisterW
  63. #else
  64. #define ErrRestoreRegister ErrRestoreRegisterA
  65. #endif
  66. ERR
  67. EDBBACK_API
  68. ErrRestoreUnregisterW(
  69. WCHAR * szEndpointAnnotation
  70. );
  71. ERR
  72. EDBBACK_API
  73. ErrRestoreUnregisterA(
  74. char * szEndpointAnnotation
  75. );
  76. #ifdef UNICODE
  77. #define ErrRestoreUnregister ErrRestoreUnregisterW
  78. #else
  79. #define ErrRestoreUnregister ErrRestoreUnregisterA
  80. #endif
  81. ERR
  82. EDBBACK_API
  83. ErrRecoverAfterRestoreW(
  84. WCHAR * szParametersRoot,
  85. WCHAR * wszAnnotation
  86. );
  87. ERR
  88. EDBBACK_API
  89. ErrRecoverAfterRestoreA(
  90. char * szParametersRoot,
  91. char * szAnnotation
  92. );
  93. #ifdef UNICODE
  94. #define ErrRecoverAfterRestore ErrRecoverAfterRestoreW
  95. #else
  96. #define ErrRecoverAfterRestore ErrRecoverAfterRestoreA
  97. #endif
  98. #ifdef __cplusplus
  99. }
  100. #endif
  101. #endif // _MDBBACK_
  102.