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

/*
* EDBBACK.H
*
* Microsoft Exchange Information Store
* Copyright (C) 1992-1995, Microsoft Corporation
*
* Contains declarations of additional definitions and interfaces
* for the Exchange Online backup Server APIs.
*/
#ifndef _MDBBACK_
#define _MDBBACK_
//
// Useful types.
//
typedef LONG ERR;
// UNDONE: HRESULT should be DWORD (unsigned)
//typedef DWORD HRESULT;
typedef LONG HRESULT;
#define EDBBACK_API __stdcall
#ifdef __cplusplus
extern "C" {
#endif
#define BACKUP_WITH_UUID
ERR
EDBBACK_API
HrBackupRegisterW(
UUID *puuidService,
WCHAR * wszEndpointAnnotation
);
ERR
EDBBACK_API
HrBackupRegisterA(
UUID *puuidService,
char * szEndpointAnnotation
);
#ifdef UNICODE
#define HrBackupRegister HrBackupRegisterW
#else
#define HrBackupRegister HrBackupRegisterA
#endif
ERR
EDBBACK_API
HrBackupUnregister(
);
ERR
EDBBACK_API
ErrRestoreRegisterW(
WCHAR * wszEndpointAnnotation,
WCHAR * wszRestoreDll,
char * szPerformRestore,
char * szQueryDatabaseLocations
);
ERR
EDBBACK_API
ErrRestoreRegisterA(
char * szEndpointAnnotation,
char * szRestoreDll,
char * szPerformRestore,
char * szQueryDatabaseLocations
);
#ifdef UNICODE
#define ErrRestoreRegister ErrRestoreRegisterW
#else
#define ErrRestoreRegister ErrRestoreRegisterA
#endif
ERR
EDBBACK_API
ErrRestoreUnregisterW(
WCHAR * szEndpointAnnotation
);
ERR
EDBBACK_API
ErrRestoreUnregisterA(
char * szEndpointAnnotation
);
#ifdef UNICODE
#define ErrRestoreUnregister ErrRestoreUnregisterW
#else
#define ErrRestoreUnregister ErrRestoreUnregisterA
#endif
ERR
EDBBACK_API
ErrRecoverAfterRestoreW(
WCHAR * szParametersRoot,
WCHAR * wszAnnotation
);
ERR
EDBBACK_API
ErrRecoverAfterRestoreA(
char * szParametersRoot,
char * szAnnotation
);
#ifdef UNICODE
#define ErrRecoverAfterRestore ErrRecoverAfterRestoreW
#else
#define ErrRecoverAfterRestore ErrRecoverAfterRestoreA
#endif
#ifdef __cplusplus
}
#endif
#endif // _MDBBACK_