Geoff Chappell - Software Analyst
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:
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.
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.
The Printers class is implemented in SHELL32 version 4.00 and higher.