When specifying target directories within INF files, directory identifiers (
dirids) should be used. For more information, see Using Dirids.
The following table lists printer-specific
dirids and the purpose of each.
Represents the directory path returned by the GetPrinterDriverDirectory function.
Driver files and dependent files.
Represents the directory path returned by the GetPrintProcessorDirectory function.
Print processor files.
Represents the directory path to additional files to be copied to \System32 of the local system. See the paragraph following this table.
Print monitor files.
Represents the directory path returned by the GetColorDirectory function.
ICM color profile files.
Represents the directory path to which printer type-specific ASP files are copied.
ASP files and associated files.
Files in the directory assigned to
dirid 66002 are copied to the System32 subdirectory when printer drivers for the native architecture are being installed on the local system, such as when x86 drivers are installed locally on a x86 system. Files in this directory are ignored if a driver is being installed to a remote system.
A printer driver is installed when the printer class installer calls the spooler's AddPrinterDriverEx function. This function requires all driver files to be located in the directory that is returned by the GetPrinterDriverDirectory function.