Directs the preview handler to load data from the source specified in an earlier Initialize method call, and to begin rendering to the previewer window.
HRESULT DoPreview( );
This method has no parameters.
This method can return one of these values.
||The operation completed successfully.|
||Blocked by digital rights management.|
||Blocked by file permissions.|
||Item was not found.|
||Item was corrupt.|
If the previewer window has not yet been created, then it must be created after this method has been called. The preview handler is responsible for painting the area specified in IPreviewHandler::SetWindow or IPreviewHandler::SetRect. If these methods are called while the preview handler is rendering, the window must be reparented/resized without stopping or restarting the rendering of the item.
This method should be called only after IPreviewHandler::SetWindow has been called.
|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|