Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
Specifies the caching of a handle for a printer opened with OpenPrinter2.
Syntax
typedef enum tagPRINTER_OPTION_FLAGS {
PRINTER_OPTION_NO_CACHE,
PRINTER_OPTION_CACHE,
PRINTER_OPTION_CLIENT_CHANGE
} PRINTER_OPTION_FLAGS;
Constants
-
PRINTER_OPTION_NO_CACHE
-
The handle is not cached. All functions applied to a handle returned by OpenPrinter2 will go to the remote computer.
-
PRINTER_OPTION_CACHE
-
The handle is cached. All functions applied to a handle returned by OpenPrinter2 will go to the local cache.
-
PRINTER_OPTION_CLIENT_CHANGE
-
The handle returned by OpenPrinter2 can be used by SetPrinter to rename the printer connection.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |
| Header |
|