diff options
author | Jim McDonough <jmcd@samba.org> | 2002-12-13 19:01:27 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-12-13 19:01:27 +0000 |
commit | d57bddc9b22e809c79294c7eacbd5d0f115fe990 (patch) | |
tree | 8fb74469528ee3bc096206e7a8e9798fbed81e38 /source/include | |
parent | f49de4c5176bf635ac080e082fda412066b466c8 (diff) | |
download | samba-d57bddc9b22e809c79294c7eacbd5d0f115fe990.tar.gz samba-d57bddc9b22e809c79294c7eacbd5d0f115fe990.tar.xz samba-d57bddc9b22e809c79294c7eacbd5d0f115fe990.zip |
More printer publishing code.
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
Diffstat (limited to 'source/include')
-rwxr-xr-x | source/include/rpc_spoolss.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/include/rpc_spoolss.h b/source/include/rpc_spoolss.h index 3a6d6eb9ec6..249053403d1 100755 --- a/source/include/rpc_spoolss.h +++ b/source/include/rpc_spoolss.h @@ -371,6 +371,7 @@ PRINTER_MESSAGE_INFO; #define PRINTER_ATTRIBUTE_ENABLE_BIDI 0x00000800 #define PRINTER_ATTRIBUTE_RAW_ONLY 0x00001000 +#define PRINTER_ATTRIBUTE_PUBLISHED 0x00002000 #define NO_PRIORITY 0 #define MAX_PRIORITY 99 @@ -991,8 +992,8 @@ PRINTER_INFO_5; #define SPOOL_DS_PUBLISH 1 #define SPOOL_DS_UPDATE 2 -#define SPOOL_DS_UNPUBLISH 3 -#define SPOOL_DS_REPUBLISH 4 +#define SPOOL_DS_UNPUBLISH 4 +#define SPOOL_DS_PENDING 0x80000000 typedef struct printer_info_7 { |