IFileViewerSite

Designates an interface that allows a file viewer to retrieve the handle of the current pinned window or to set a new pinned window. The pinned window is the window in which the current file viewer is displaying 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 to create a new window.

The IFileViewerSite interface has the following member functions.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IFileViewerSite Methods Description
GetPinnedWindow Retrives the handle of the current pinned window.
SetPinnedWindow Sets a new pinned window.