IFileViewerA interface (shlobj.h)
Exposes methods that designate an interface that allows a registered file viewer to be notified when it must show or print a file.
Methods
The IFileViewerA interface has these methods.
IFileViewerA::PrintTo Prints a file. (ANSI) |
IFileViewerA::Show Displays a file. (ANSI) |
IFileViewerA::ShowInitialize Allows a file viewer to determine whether it can display a file. (ANSI) |
Remarks
File viewers are not supported by Windows 2000 and later systems.
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.
Note
The shlobj.h header defines IFileViewer as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Header | shlobj.h |