summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-01-31 11:30:36 +0000
committerTim Potter <tpot@samba.org>2002-01-31 11:30:36 +0000
commit2c906ff77d81bc7097129d3f34be48857ce3a48b (patch)
tree321e2b1e2fb648fdd0e3893be90ad08422ac97d1
parente4c13c51fa559d24da73f57b348cfe7d711b3c7d (diff)
downloadsamba-2c906ff77d81bc7097129d3f34be48857ce3a48b.tar.gz
Added some constants for the flags field in the FORM_1 structure.
The level2 field in SPOOL_Q_ADDFORM is probably part of the FORM structure as a discriminated union.
-rwxr-xr-xsource/include/rpc_spoolss.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/include/rpc_spoolss.h b/source/include/rpc_spoolss.h
index 3975f3580f5..f41a656fa67 100755
--- a/source/include/rpc_spoolss.h
+++ b/source/include/rpc_spoolss.h
@@ -1253,6 +1253,10 @@ typedef struct spool_r_enumprinterdrivers
}
SPOOL_R_ENUMPRINTERDRIVERS;
+#define FORM_USER 0
+#define FORM_BUILTIN 1
+#define FORM_PRINTER 2
+
typedef struct spool_form_1
{
uint32 flag;
@@ -1759,7 +1763,7 @@ typedef struct spool_q_addform
{
POLICY_HND handle;
uint32 level;
- uint32 level2;
+ uint32 level2; /* This should really be part of the FORM structure */
FORM form;
}
SPOOL_Q_ADDFORM;