From 68077a6d641bc115dfe821fa02552ce10ce5c153 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 6 Feb 2009 17:07:16 +0100 Subject: spoolss: make "needed" an out,ref pointer for all the tripple-enumcalls. Guenther --- librpc/idl/spoolss.idl | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'librpc/idl') diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index df8ce32453..2709f6c9a0 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -258,7 +258,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique] DATA_BLOB *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); [public,noopnum,noprint] void __spoolss_EnumPrinters( @@ -276,7 +276,7 @@ import "misc.idl", "security.idl", "winreg.idl"; * and the array has no size in front */ [out,unique,switch_is(level),size_is(count)] spoolss_PrinterInfo *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); @@ -364,7 +364,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique] DATA_BLOB *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); [public,noopnum,noprint] void __spoolss_EnumJobs( @@ -380,7 +380,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique,switch_is(level),size_is(count)] spoolss_JobInfo *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); @@ -544,7 +544,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique] DATA_BLOB *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); [public,noopnum,noprint] void __spoolss_EnumPrinterDrivers( @@ -559,7 +559,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique,switch_is(level),size_is(count)] spoolss_DriverInfo *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); @@ -624,7 +624,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique] DATA_BLOB *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); [public,noopnum,noprint] void __spoolss_EnumPrintProcessors( @@ -639,7 +639,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique,switch_is(level),size_is(count)] spoolss_PrintProcessorInfo *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); @@ -769,7 +769,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in] uint32 offered, [out] spoolss_PrinterDataType type, [out] DATA_BLOB data, - [out] uint32 needed + [out,ref] uint32 *needed ); [noopnum,noprint,public] void __spoolss_GetPrinterData( [in] spoolss_PrinterDataType type, @@ -781,7 +781,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in] uint32 offered, [out] spoolss_PrinterDataType type, [out,subcontext(4),subcontext_size(offered),switch_is(type)] spoolss_PrinterData data, - [out] uint32 needed + [out,ref] uint32 *needed ); /******************/ @@ -901,7 +901,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique] DATA_BLOB *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); [public,noopnum,noprint] void __spoolss_EnumForms( @@ -915,7 +915,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique,switch_is(level),size_is(count)] spoolss_FormInfo *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); @@ -953,7 +953,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique] DATA_BLOB *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); [public,noopnum,noprint] void __spoolss_EnumPorts( @@ -967,7 +967,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique,switch_is(level),size_is(count)] spoolss_PortInfo *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); @@ -995,7 +995,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique] DATA_BLOB *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); [public,noopnum,noprint] void __spoolss_EnumMonitors( @@ -1009,7 +1009,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [in,unique] DATA_BLOB *buffer, [in] uint32 offered, [out,unique,switch_is(level),size_is(count)] spoolss_MonitorInfo *info, - [out] uint32 needed, + [out,ref] uint32 *needed, [out] uint32 count ); -- cgit