Help on HrESERestoreAddDatabase() function of ESE api

This is a discussion on Help on HrESERestoreAddDatabase() function of ESE api within the Microsoft Exchange forums in Microsoft Tools category; Hi, I'm currently writing a backup agent for exchange with the ESE api. The backup is working but i have a problem with the restore process. As mentionned in the documentation, i should call this function HrESERestoreAddDatabase(HCCX phccxRestoreContext, wchar* wszDatabaseDisplayName, GUID guidDatabase, wchar* wszDatabaseStreamsS, wchar** wszDatabaseStreamsD ); For the wszDatabaseDisplayName i use the one provided from the DATABASE_BACKUP_INFO structure in the backup process. idem for the guid The function return C7FF07D1 which is "Invalid parameters". I've tried different parameters without succes. Any idea ? Thanks in advance. Nasif...

Go Back   Application Development Forum > Microsoft Tools > Microsoft Exchange

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-23-2008, 05:56 AM
Nasif
Guest
 
Default Help on HrESERestoreAddDatabase() function of ESE api

Hi,

I'm currently writing a backup agent for exchange with the ESE api.
The backup is working but i have a problem with the restore process.

As mentionned in the documentation, i should call this function

HrESERestoreAddDatabase(HCCX phccxRestoreContext,
wchar* wszDatabaseDisplayName,
GUID guidDatabase,
wchar* wszDatabaseStreamsS,
wchar** wszDatabaseStreamsD
);

For the wszDatabaseDisplayName i use the one provided from the
DATABASE_BACKUP_INFO structure in the backup process. idem for the
guid

The function return C7FF07D1 which is "Invalid parameters".

I've tried different parameters without succes.

Any idea ?

Thanks in advance.
Nasif
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 02:09 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.