IMimeMessageTree::HandsOffStorage method
Forces the object to release storage objects that it does not own.
Syntax
HRESULT HandsOffStorage();
Parameters
This method has no parameters.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that an unknown error has occurred. |
|
Indicates that an attempt to allocate memory failed. |
|
Indicates that not enough disk space or memory is available to save the message. |
Remarks
When a message is loaded through IPersistStreamInit or IPersistFile, MimeOLE keeps a reference on the IStream or file, respectively, therefore keeping those resources open. A client can use this method to force the message object to release those resources.
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|
DLL |
|