IFileViewerSite interface

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.

Members

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

Methods

The IFileViewerSite interface has these methods.

MethodDescription
GetPinnedWindow

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

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 4.0 or later)

 

 

Show: