1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

spoolss: fix some PRINTER_CHANGE_ defines (and add a new windows 7 flag).

Guenther
This commit is contained in:
Günther Deschner 2009-02-21 23:11:49 +01:00
parent cd6ae0de52
commit 672eb22bc1

View File

@ -1530,21 +1530,16 @@ import "misc.idl", "security.idl", "winreg.idl";
PRINTER_CHANGE_DELETE_PORT = 0x00400000, PRINTER_CHANGE_DELETE_PORT = 0x00400000,
PRINTER_CHANGE_ADD_PRINT_PROCESSOR = 0x01000000, PRINTER_CHANGE_ADD_PRINT_PROCESSOR = 0x01000000,
PRINTER_CHANGE_DELETE_PRINT_PROCESSOR = 0x04000000, PRINTER_CHANGE_DELETE_PRINT_PROCESSOR = 0x04000000,
PRINTER_CHANGE_SERVER = 0x08000000,
PRINTER_CHANGE_ADD_PRINTER_DRIVER = 0x10000000, PRINTER_CHANGE_ADD_PRINTER_DRIVER = 0x10000000,
PRINTER_CHANGE_SET_PRINTER_DRIVER = 0x20000000, PRINTER_CHANGE_SET_PRINTER_DRIVER = 0x20000000,
PRINTER_CHANGE_DELETE_PRINTER_DRIVER = 0x40000000, PRINTER_CHANGE_DELETE_PRINTER_DRIVER = 0x40000000,
PRINTER_CHANGE_TIMEOUT = 0x80000000 PRINTER_CHANGE_TIMEOUT = 0x80000000
} spoolss_PrinterChangeFlags; } spoolss_PrinterChangeFlags;
const int PRINTER_CHANGE_PRINTER = (PRINTER_CHANGE_ADD_PRINTER | const int PRINTER_CHANGE_PRINTER = 0x000000FF;
PRINTER_CHANGE_SET_PRINTER |
PRINTER_CHANGE_DELETE_PRINTER |
PRINTER_CHANGE_FAILED_CONNECTION_PRINTER); /* 0x000000FF */
const int PRINTER_CHANGE_JOB = (PRINTER_CHANGE_ADD_JOB | const int PRINTER_CHANGE_JOB = 0x0000FF00;
PRINTER_CHANGE_SET_JOB |
PRINTER_CHANGE_DELETE_JOB |
PRINTER_CHANGE_WRITE_JOB); /* 0x0000FF00 */
const int PRINTER_CHANGE_FORM = (PRINTER_CHANGE_ADD_FORM | const int PRINTER_CHANGE_FORM = (PRINTER_CHANGE_ADD_FORM |
PRINTER_CHANGE_SET_FORM | PRINTER_CHANGE_SET_FORM |
@ -1554,14 +1549,14 @@ import "misc.idl", "security.idl", "winreg.idl";
PRINTER_CHANGE_CONFIGURE_PORT | PRINTER_CHANGE_CONFIGURE_PORT |
PRINTER_CHANGE_DELETE_PORT); /* 0x00700000 */ PRINTER_CHANGE_DELETE_PORT); /* 0x00700000 */
const int PRINTER_CHANGE_PRINT_PROCESSOR = (PRINTER_CHANGE_ADD_PRINT_PROCESSOR | const int PRINTER_CHANGE_PRINT_PROCESSOR = 0x07000000;
PRINTER_CHANGE_DELETE_PRINT_PROCESSOR); /* 0x07000000 */
const int PRINTER_CHANGE_PRINTER_DRIVER = (PRINTER_CHANGE_ADD_PRINTER_DRIVER | const int PRINTER_CHANGE_PRINTER_DRIVER = (PRINTER_CHANGE_ADD_PRINTER_DRIVER |
PRINTER_CHANGE_SET_PRINTER_DRIVER | PRINTER_CHANGE_SET_PRINTER_DRIVER |
PRINTER_CHANGE_DELETE_PRINTER_DRIVER); /* 0x70000000 */ PRINTER_CHANGE_DELETE_PRINTER_DRIVER); /* 0x70000000 */
const int PRINTER_CHANGE_ALL = (PRINTER_CHANGE_JOB | const int PRINTER_CHANGE_ALL = (PRINTER_CHANGE_PRINTER |
PRINTER_CHANGE_JOB |
PRINTER_CHANGE_FORM | PRINTER_CHANGE_FORM |
PRINTER_CHANGE_PORT | PRINTER_CHANGE_PORT |
PRINTER_CHANGE_PRINT_PROCESSOR | PRINTER_CHANGE_PRINT_PROCESSOR |