Directs the preview handler to cease rendering a preview and to release all resources that have been allocated based on the item passed in during the initialization.
HRESULT Unload( );
This method has no parameters.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
When called, the preview window will be destroyed.
This method should be called only after Initialize, Initialize, or Initialize has been called. All resources associated with this initialization will be released. Prior to calling IPreviewHandler::DoPreview, this preview handler will be re-initialized with a call to one of the initialization interfaces and a call to IPreviewHandler::SetWindow.
|Minimum supported client||Windows Vista, Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|
|Redistributable||Windows Search 4 or later|