IFileViewerW::ShowInitialize method (shlobj.h)
Allows a file viewer to determine whether it can display a file and, if it can, to perform initialization operations before showing the file.
Syntax
HRESULT ShowInitialize(
LPFILEVIEWERSITE lpfsi
);
Parameters
lpfsi
A pointer to an IFileViewerSite interface. A file viewer uses this interface to retrieve the handle to the current pinned window or to specify a new pinned window.
Return value
The Shell calls this method before the IFileViewerW::Show method. The Shell specifies the name of the file to display by calling the file viewer's IPersistFile::Load method.
Requirements
Requirement | Value |
---|---|
Header | shlobj.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for