IDatabase::CopyStream method
[CopyStream is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Copies a stream to the specified database and stream.
Syntax
HRESULT CopyStream(
[in] IDatabase iDest,
[in] FILEADDRESS faStream,
[out] LPFILEADDRESS pfaNew
);
Parameters
-
iDest [in]
-
Type: IDatabase
Specifies the database to copy the stream to.
-
faStream [in]
-
Type: FILEADDRESS
Identifies the stream to be copied from the database.
-
pfaNew [out]
-
Type: LPFILEADDRESS
On success, contains the stream identifier for the new stream in the database specified by pDest.
Return value
Type: HRESULT
Use the SUCCEEDED macro to determine whether the operation succeeded.
Return code | Description |
---|---|
|
The index successfully deleted. |
|
Indicates that too many streams are already open. |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
IDL |
|
DLL |
|