IFileViewer interface
Exposes methods that designate an interface that allows a registered file viewer to be notified when it must show or print a file.
Members
The IFileViewer interface inherits from the IUnknown interface. IFileViewer also has these types of members:
Methods
The IFileViewer interface has these methods.
| Method | Description |
|---|---|
| PrintTo |
Prints a file. The Shell specifies the name of the file to print by calling the file viewer's IPersistFile::Load method. |
| Show |
Displays a file. The Shell specifies the name of the file to display by calling the file viewer's IPersistFile::Load method. |
| ShowInitialize |
Allows a file viewer to determine whether it can display a file and, if it can, to perform initialization operations before showing the file. |
Remarks
Implement this interface to provide a means for your registered file types to be viewed and/or printed.
You do not typically use this interface. The Shell calls the interface when the user chooses the Quick View command from a file's shortcut menu and the file is a type that the file viewer recognizes.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|