Printers

The Printers class is one of many that SHELL32 exposes through its exported DllGetClass function. Instances can therefore be created using such well-documented COM functions as CoCreateInstance, by anyone who knows the CLSID:

CLSID_Printers {2227A280-3AEA-1069-A2DE-08002B30309D}

The class implements the following interfaces (in the SHELL32 version 6.00 from Windows Vista):

 Note that several of these interfaces are acquired by aggregating a RegFolder object.

Namespace

As a registry folder, the Printers object has its namespace built from a standard pattern. Items in the namespace are loaded from registry keys in the following order:

in which session is a decimal representation of the current session ID.

Availability

The Printers class is implemented in SHELL32 version 4.00 and higher.