summaryrefslogtreecommitdiff
path: root/librpc/idl/spoolss.idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-09 13:01:13 +0100
committerKarolin Seeger <kseeger@samba.org>2010-05-06 14:08:31 +0200
commitac05dad71365b66a9050802b43ec070867051971 (patch)
tree2d28cc91eff88822623d416e1417c17ee178775d /librpc/idl/spoolss.idl
parent0e640cf9deaed68aa7aba88ce7481b0013afd701 (diff)
downloadsamba-ac05dad71365b66a9050802b43ec070867051971.tar.gz
spoolss: rollback SetPrinterData{Ex} IDL.
Guenther (cherry picked from commit 8c00f95c8d86f2c3c73ce84d3cc0f038d8e0ceb2)
Diffstat (limited to 'librpc/idl/spoolss.idl')
-rw-r--r--librpc/idl/spoolss.idl23
1 files changed, 6 insertions, 17 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 0201cba61e3..b06f252065d 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1351,23 +1351,12 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
/******************/
/* Function: 0x1b */
- [noopnum,nopull,noprint,public] WERROR _spoolss_SetPrinterData(
+ WERROR spoolss_SetPrinterData(
[in,ref] policy_handle *handle,
- [in] [string,charset(UTF16)] uint16 value_name[],
- [in] winreg_Type type,
- [in] DATA_BLOB data,
- [in] uint32 _offered
- );
- [noopnum,nopull,noprint,public] void __spoolss_SetPrinterData(
- [in] winreg_Type type,
- [out,ref,switch_is(type)] spoolss_PrinterData *data
- );
- [nopush] WERROR spoolss_SetPrinterData(
- [in,ref] policy_handle *handle,
- [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
+ [in] [string,charset(UTF16)] uint16 value_name[],
+ [in] winreg_Type type,
+ [in,ref] [size_is(offered)] uint8 *data,
+ [in] uint32 offered
);
/******************/
@@ -2252,7 +2241,7 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
[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,ref] [size_is(offered)] uint8 *data,
[in] uint32 offered
);