PRINTER_OPTION_FLAGS enumeration
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 |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for