summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-26 06:26:18 +0000
committerTim Potter <tpot@samba.org>2003-11-26 06:26:18 +0000
commitee67d68f1c6d71d4d3fbe86899d5ea9f271cfbc8 (patch)
treeb32ba1f52dcb30c43a92af8db823c36f7d9b1feb /source4/librpc/idl
parent2edb73fbe9c33b26c3b3b892cbce56eb2e498abf (diff)
downloadsamba-ee67d68f1c6d71d4d3fbe86899d5ea9f271cfbc8.tar.gz
samba-ee67d68f1c6d71d4d3fbe86899d5ea9f271cfbc8.tar.bz2
samba-ee67d68f1c6d71d4d3fbe86899d5ea9f271cfbc8.zip
Implemented EnumForms and GetForm.
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/spoolss.idl24
1 files changed, 20 insertions, 4 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index 14cb3ed441..2c318ce4a1 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -58,6 +58,17 @@
} spoolss_PrinterInfo1;
typedef struct {
+ uint32 flags;
+ [relative] nstring *name;
+ uint32 width;
+ uint32 length;
+ uint32 left;
+ uint32 top;
+ uint32 right;
+ uint32 bottom;
+ } spoolss_FormInfo1;
+
+ typedef struct {
[relative] nstring *servername;
[relative] nstring *printername;
[relative] nstring *sharename;
@@ -309,7 +320,8 @@
[in,ref] policy_handle *handle,
[in] unistr formname,
[in] uint32 level,
- [out,subcontext(4),switch_is(level)] spoolss_PrinterInfo *info,
+ [in] DATA_BLOB *buffer,
+ [out,subcontext(4),switch_is(level)] spoolss_FormInfo *info,
[in,out,ref] uint32 *buf_size
);
@@ -318,14 +330,18 @@
WERROR spoolss_21(
);
+ typedef [nodiscriminant,public] union {
+ [case(1)] spoolss_FormInfo1 info1;
+ } spoolss_FormInfo;
+
/******************/
/* Function: 0x22 */
WERROR spoolss_EnumForms(
[in,ref] policy_handle *handle,
[in] uint32 level,
- [in] DATA_BLOB *buffer,
- [out,subcontext(4),switch_is(level)] spoolss_PrinterInfo *info,
- [in,out,ref] uint32 *buf_size
+ [in,out] DATA_BLOB *buffer,
+ [in,out,ref] uint32 *buf_size,
+ [out] uint32 count
);
/******************/