summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-06 21:48:01 +0100
committerGünther Deschner <gd@samba.org>2009-03-07 00:23:13 +0100
commit2545a75b9a78d56766224cc0c20c795d0f5498c2 (patch)
tree683cecf514350727c07babaed0abf6850d45ca0b /librpc
parentbf85a14182f0dfe6d21cda2039c7ccb961419328 (diff)
downloadsamba-2545a75b9a78d56766224cc0c20c795d0f5498c2.tar.gz
samba-2545a75b9a78d56766224cc0c20c795d0f5498c2.tar.bz2
samba-2545a75b9a78d56766224cc0c20c795d0f5498c2.zip
spoolss: fill in spoolss_EnumPrintProcDataTypes IDL.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/spoolss.idl35
1 files changed, 34 insertions, 1 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index e1402f2afb..71fa7f88c4 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1714,7 +1714,40 @@ import "misc.idl", "security.idl", "winreg.idl";
/******************/
/* Function: 0x33 */
- [todo] WERROR spoolss_EnumPrintProcDataTypes(
+
+ typedef [public,gensize] struct {
+ [relative] nstring *name_array;
+ } spoolss_PrintProcDataTypesInfo1;
+
+ typedef [nodiscriminant,relative_base,public] union {
+ [case(1)] spoolss_PrintProcDataTypesInfo1 info1;
+ [default];
+ } spoolss_PrintProcDataTypesInfo;
+
+ [public,noopnum,noprint] WERROR _spoolss_EnumPrintProcDataTypes(
+ [in,unique] [string,charset(UTF16)] uint16 *servername,
+ [in,unique] [string,charset(UTF16)] uint16 *print_processor_name,
+ [in] uint32 level,
+ [in,unique] DATA_BLOB *buffer,
+ [in] uint32 offered,
+ [out,unique] DATA_BLOB *info,
+ [out,ref] uint32 *needed,
+ [out,ref] uint32 *count
+ );
+ [public,noopnum,noprint] void __spoolss_EnumPrintProcDataTypes(
+ [in] uint32 level,
+ [in] uint32 count,
+ [out,switch_is(level)] spoolss_PrintProcDataTypesInfo info[count]
+ );
+ [nopull,nopush] WERROR spoolss_EnumPrintProcDataTypes(
+ [in,unique] [string,charset(UTF16)] uint16 *servername,
+ [in,unique] [string,charset(UTF16)] uint16 *print_processor_name,
+ [in] uint32 level,
+ [in,unique] DATA_BLOB *buffer,
+ [in] uint32 offered,
+ [out,ref] uint32 *count,
+ [out,ref,switch_is(level),size_is(,*count)] spoolss_PrintProcDataTypesInfo **info,
+ [out,ref] uint32 *needed
);
/******************/