HrESERestoreGetEnvironment Function
Topic Last Modified: 2006-06-12
The HrESERestoreGetEnvironment function returns a pointer to the structure that holds information about the restore environment.
Applies To
ESEbcli2 DLL Functions Interface
HRESULT HrESERestoreGetEnvironment
(
HCCX phccxRestoreContext,
RESTORE_ENVIRONMENT** ppRestoreEnvironment
);
- phccxRestoreContext
-
Input parameter. A handle to a restore context. The handle is passed to the various restore functions, and contains information about the current restore operations.
- ppRestoreEnvironment
-
Output parameter. A pointer to the restore environment information, stored in a RESTORE_ENVIRONMENT Structure.
The following return codes can be returned. To retrieve the error string for an Exchange Storage Engine (ESE) error, use the standard FormatMessage function. For the general errors hrErrorFromESECall and hrErrorFromCallbackCall, more information about the error is available using the standard GetLastError function.
|
S_OK |
Success. |
|
ESE-specific error codes |
ESE-specific error codes, as defined in esebkmsg.h. |
|
Other |
Other Microsoft® Win32® or remote procedure call (RPC) errors. |