Skip to content

Latest commit

 

History

History
63 lines (53 loc) · 1.53 KB

nf-shlobj-ifileviewerw-printto.md

File metadata and controls

63 lines (53 loc) · 1.53 KB
UID title description helpviewer_keywords tech.root ms.assetid ms.date ms.keywords targetos req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi f1_keywords dev_langs topic_type api_type api_location api_name
NF:shlobj.IFileViewerW.PrintTo
IFileViewerW::PrintTo
Prints a file. (Unicode)
IFileViewerW::PrintTo
shell
4a8fd0ed-4a9a-47c7-a0ab-87cf82f507cb
01/30/2019
IFileViewerW::PrintTo
Windows
function
shlobj.h
IFileViewerW::PrintTo
shlobj/IFileViewerW::PrintTo
c++
apiref
COM
shlobj.h
IFileViewerW::PrintTo

-description

Prints a file. The Shell specifies the name of the file to print by calling the file viewer's IPersistFile::Load method.

-parameters

-param pszDriver

A pointer to 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.

-param fSuppressUI

A user interface suppression flag. If this parameter is TRUE, the file viewer should not display any user interface, including error messages, during the print operation. If this parameter is FALSE, the file viewer can show dialog boxes, as needed.

-returns

-remarks

-see-also