IFileViewerA::Show method (shlobj.h)
Displays a file. The Shell specifies the name of the file to display by calling the file viewer's IPersistFile::Load method.
Syntax
HRESULT Show(
LPFVSHOWINFO pvsi
);
Parameters
pvsi
A pointer to an FVSHOWINFO structure to contain 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 value
Returns S_OK if successful, or E_UNEXPECTED if the ShowInitialize method was not called before IFileViewerA::Show.
Requirements
Requirement | Value |
---|---|
Header | shlobj.h |