Module: wine Branch: master Commit: 360dee625f12cbcaeb246a2f823cb6743db8b272 URL: http://source.winehq.org/git/wine.git/?a=commit;h=360dee625f12cbcaeb246a2f82...
Author: Detlef Riekenberg wine.dev@web.de Date: Sat Jun 2 11:43:30 2007 +0200
include/winspool: Add more flags for printer drivers.
---
include/winspool.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/include/winspool.h b/include/winspool.h index a642eef..47fc113 100644 --- a/include/winspool.h +++ b/include/winspool.h @@ -273,6 +273,22 @@ extern "C" { #define JOB_EXECUTE (STANDARD_RIGHTS_EXECUTE | 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 */ typedef struct _PRINTER_DEFAULTSA { LPSTR pDatatype;