IFileViewer::ShowInitialize
[Now
Supported on Windows NT]
Allows a file
viewer to determine whether it can display a file and, if it can, to perform
initialization operations before showing the file.
The shell
calls this member function before the IFileViewer::Show
IFileViewer::ShowInitialize must perform all operations that are prone to failure
so that if it succeeds, IFileViewer::Show will not fail.
HRESULT ShowInitialize(
IFileViewer FAR *pFileViewer, |
|
LPFILEVIEWERSITE lpfsi |
|
); |
|
Parameters
pFileViewer
Address of
the IFileViewer
lpfsi
Address of a IFileViewerSite
Return Values
Returns the
NOERROR value if successful or an OLE-defined error value otherwise.
See Also