Index   Commented   Search   About

Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

IFileViewer::Show

[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

IFileViewer

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun