[Now Supported on Windows NT]
Displays a file.
The shell specifies the name of the file to display by calling the file viewer's IPersistFile::Load member function.
IFileViewer::Show can fail only if IFileViewer::ShowInitialize was not called first, and the return value must be E_UNEXPECTED in that case. Otherwise, IFileViewer::Show must return NOERROR.
HRESULT Show(
IFileViewer FAR *pFileViewer, | |
LPFVSHOWINFO pvsi | |
); |
Parameters
pFileViewer
Address of the IFileViewer interface. In C++, this parameter is implicit.
pvsi
Address of an FVSHOWINFO structure containing information that the file viewer uses to display the file. A file viewer can return information to the shell by modifying the members of the structure.
Return Values
Returns the NOERROR value if successful or the E_UNEXPECTED value if the IFileViewer::ShowInitialize member function was not called before IFileViewer::Show.
See Also