|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IFileViewer::PrintTo
[Now Supported on Windows NT]
Prints a file.
The shell specifies the name of the file to print by calling the file viewer's IPersistFile::Load member function.
HRESULT PrintTo(
IFileViewer FAR *pFileViewer,
|
| LPSTR pszDriver,
|
| BOOL fSuppressUI
|
| );
|
|
Parameters
pFileViewer
Address of the IFileViewer interface. In C++, this parameter is implicit.
pszDriver
Address of a buffer that contains the name of the printer device driver that
should print the file. If this parameter is NULL, the file viewer determines
which device driver to use.
fSuppressUI
User interface suppression flag. If this parameter TRUE, the file viewer
should not display any UI whatsoever, including error messages, during the print
operation. If this parameter FALSE, the file viewer can show dialog boxes, as
needed.
Return Values
Returns the NOERROR value if successful or an OLE-defined error value
otherwise.
See Also
IFileViewer
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|