mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
spoolss: make "needed" an out,ref pointer for all the tripple-enumcalls.
Guenther
This commit is contained in:
parent
f157c1a07f
commit
68077a6d64
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user