SAMPLE: Printers.exe - Using Printers with Windows 95 Shell

ID: Q153751


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows NT 4.0
  • Microsoft Windows 98
  • Microsoft Windows 95
  • Microsoft Windows 2000


SUMMARY

The Printers.exe sample demonstrates how to programmatically manipulate printer items in the Windows 95 shell. The sample demonstrates how to enumerate installed printers, how to programmatically launch the Add New Printer Wizard, and how to create shortcuts to installed printers and the Add New Printer Wizard on the desktop. This is accomplished by using combinations of shell functions and OLE.


MORE INFORMATION

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

Printers.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words:

Keywords : kbfile kbole kbprint kbsample kbLib kbNTOS400 kbWinOS2000 kbSDKWin32 kbWinOS95 kbWinOS98 kbGrpShell
Version : WINDOWS:95; winnt:4.0
Platform : WINDOWS winnt
Issue type :


Last Reviewed: February 3, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.