summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-05 00:50:18 +0100
committerGünther Deschner <gd@samba.org>2009-12-07 14:42:12 +0100
commit08823166a13d5ec3027b0c5a0db5e684b8e3c3b6 (patch)
tree6d79085b5872d5624ddc1e7f7e56543a5a436e40 /librpc/idl
parenta367b2b5df30b92ccacc4fc15c07c1fd955c7d5b (diff)
downloadsamba-08823166a13d5ec3027b0c5a0db5e684b8e3c3b6.tar.gz
samba-08823166a13d5ec3027b0c5a0db5e684b8e3c3b6.tar.bz2
samba-08823166a13d5ec3027b0c5a0db5e684b8e3c3b6.zip
spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/spoolss.idl41
1 files changed, 33 insertions, 8 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 154a4efdaf..725166f2a6 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -2525,24 +2525,49 @@ import "misc.idl", "security.idl", "winreg.idl";
/******************/
/* Function: 0x4d */
- WERROR spoolss_SetPrinterDataEx(
+ [noopnum,nopull,noprint,public] WERROR _spoolss_SetPrinterDataEx(
[in,ref] policy_handle *handle,
- [in] [string,charset(UTF16)] uint16 key_name[],
- [in] [string,charset(UTF16)] uint16 value_name[],
- [in] winreg_Type type,
- [in,ref] [size_is(offered)] uint8 *buffer,
- [in] uint32 offered
+ [in] [string,charset(UTF16)] uint16 key_name[],
+ [in] [string,charset(UTF16)] uint16 value_name[],
+ [in] winreg_Type type,
+ [in] DATA_BLOB data,
+ [in] uint32 _offered
+ );
+ [noopnum,nopull,noprint,public] void __spoolss_SetPrinterDataEx(
+ [in] winreg_Type type,
+ [out,ref,switch_is(type)] spoolss_PrinterData *data
+ );
+ [nopush] WERROR spoolss_SetPrinterDataEx(
+ [in,ref] policy_handle *handle,
+ [in] [string,charset(UTF16)] uint16 key_name[],
+ [in] [string,charset(UTF16)] uint16 value_name[],
+ [in] winreg_Type type,
+ [in,subcontext(4),switch_is(type)] spoolss_PrinterData data,
+ [in,value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] uint32 _offered
);
/******************/
/* Function: 0x4e */
- WERROR spoolss_GetPrinterDataEx(
+ [noopnum,noprint,public] WERROR _spoolss_GetPrinterDataEx(
[in,ref] policy_handle *handle,
[in] [string,charset(UTF16)] uint16 key_name[],
[in] [string,charset(UTF16)] uint16 value_name[],
+ [in] uint32 offered,
[out,ref] winreg_Type *type,
- [out,ref] [size_is(offered)] uint8 *buffer,
+ [out,ref] DATA_BLOB *data,
+ [out,ref] uint32 *needed
+ );
+ [noopnum,noprint,public] void __spoolss_GetPrinterDataEx(
+ [in] winreg_Type type,
+ [out,ref,switch_is(type)] spoolss_PrinterData *data
+ );
+ [nopull,nopush,public] WERROR spoolss_GetPrinterDataEx(
+ [in,ref] policy_handle *handle,
+ [in] [string,charset(UTF16)] uint16 key_name[],
+ [in] [string,charset(UTF16)] uint16 value_name[],
[in] uint32 offered,
+ [out,ref] winreg_Type *type,
+ [out,ref,subcontext(4),subcontext_size(offered),switch_is(*type)] spoolss_PrinterData *data,
[out,ref] uint32 *needed
);