include/winspool: Add more flags for printer drivers.

This commit is contained in:
Detlef Riekenberg 2007-06-02 11:43:30 +02:00 committed by Alexandre Julliard
parent ccad96578d
commit 360dee625f
1 changed files with 16 additions and 0 deletions

View File

@ -273,6 +273,22 @@ extern "C" {
#define JOB_EXECUTE (STANDARD_RIGHTS_EXECUTE | JOB_ACCESS_ADMINISTER) #define JOB_EXECUTE (STANDARD_RIGHTS_EXECUTE | JOB_ACCESS_ADMINISTER)
#define JOB_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | JOB_ACCESS_ADMINISTER) #define JOB_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | JOB_ACCESS_ADMINISTER)
/* Flags for printer drivers */
#define DRIVER_KERNELMODE 0x00000001
#define DRIVER_USERMODE 0x00000002
#define APD_STRICT_UPGRADE 0x00000001
#define APD_STRICT_DOWNGRADE 0x00000002
#define APD_COPY_ALL_FILES 0x00000004
#define APD_COPY_NEW_FILES 0x00000008
#define APD_COPY_FROM_DIRECTORY 0x00000010
#define DPD_DELETE_UNUSED_FILES 0x00000001
#define DPD_DELETE_SPECIFIC_VERSION 0x00000002
#define DPD_DELETE_ALL_FILES 0x00000004
/* TYPES */ /* TYPES */
typedef struct _PRINTER_DEFAULTSA { typedef struct _PRINTER_DEFAULTSA {
LPSTR pDatatype; LPSTR pDatatype;