summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-04 15:38:18 +0100
committerGünther Deschner <gd@samba.org>2010-03-05 15:17:59 +0100
commit0e779b573bf5c27bf08ceefa09a7e2b07691f948 (patch)
tree377cefb23c3f61e796a44d569ace5be2e0f85c9e /librpc/idl
parentca319bfff2f2e73fb83587d032fd78553314eae0 (diff)
downloadsamba-0e779b573bf5c27bf08ceefa09a7e2b07691f948.tar.gz
samba-0e779b573bf5c27bf08ceefa09a7e2b07691f948.tar.bz2
samba-0e779b573bf5c27bf08ceefa09a7e2b07691f948.zip
spoolss: rollback GetPrinterData[Ex] IDL.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/spoolss.idl33
1 files changed, 4 insertions, 29 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 6a53cb8c5c..6bf563f3c6 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1925,24 +1925,12 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
const string SPOOL_REG_URL = "url";
const string SPOOL_REG_VERSIONNUMBER = "versionNumber";
- [noopnum,noprint,public] WERROR _spoolss_GetPrinterData(
+ WERROR spoolss_GetPrinterData(
[in,ref] policy_handle *handle,
[in] [string,charset(UTF16)] uint16 value_name[],
- [in] uint32 offered,
[out,ref] winreg_Type *type,
- [out,ref] DATA_BLOB *data,
- [out,ref] uint32 *needed
- );
- [noopnum,noprint,public] void __spoolss_GetPrinterData(
- [in] winreg_Type type,
- [out,ref,switch_is(type)] spoolss_PrinterData *data
- );
- [nopull,nopush,public] WERROR spoolss_GetPrinterData(
- [in,ref] policy_handle *handle,
- [in] [string,charset(UTF16)] uint16 value_name[],
+ [out,ref,size_is(offered)] uint8 *data,
[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
);
@@ -2849,26 +2837,13 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
/******************/
/* Function: 0x4e */
- [noopnum,noprint,public] WERROR _spoolss_GetPrinterDataEx(
+ 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] 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[],
+ [out,ref,size_is(offered)] uint8 *data,
[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
);