IFileViewerSite interface (shlobj.h)

Exposes methods that designate an interface that allows a file viewer to retrieve the handle to the current pinned window, or to set a new pinned window. The pinned window is the window in which the current file viewer displays a file. When the user selects a new file to view, the Shell directs the file viewer to display the new file in the pinned window rather than create a new window.

Inheritance

The IFileViewerSite interface inherits from the IUnknown interface. IFileViewerSite also has these types of members:

Methods

The IFileViewerSite interface has these methods.

 
IFileViewerSite::GetPinnedWindow

Gets the handle to the current pinned window, if one exists.
IFileViewerSite::SetPinnedWindow

Sets the pinned window. When the user selects a new file to view, the Shell directs the file viewer to display the new file in the pinned window instead of creating a new window.

Remarks

Note  File viewers are not supported by Windows 2000 and later systems.
 
You do not typically implement this interface. The Shell implements this interface to provide a pinned window for the file viewer.

You use this interface to obtain or set the window for a file viewer.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj.h