Help Center

AfxOpenPrintersFolderfunction

Opens an instance of Explorer with the Printers and Faxes folder selected.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxOpenPrintersFolder () AS HINSTANCE

Return value

If the function succeeds, it returns a value greater than 32. If the function fails, it returns an error value that indicates the cause of the failure. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. It is not a true HINSTANCE, however. It can be cast only to an INT_PTR and compared to either 32 or the following error codes: See ShellExecuteW.

Description

Opens an instance of Explorer with the Printers and Faxes folder selected.

Reference

  • Include file AfxPrinter.inc
  • Defined in AfxNova/AfxPrinter.inc:147
  • Documented in Printing/Printer Functions.md
  • Topic: Printer Functions