summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/spoolss.idl54
1 files changed, 48 insertions, 6 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index dbb324d396..0bcb53de84 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -7,6 +7,22 @@
pointer_default(unique)
] interface spoolss
{
+ typedef struct {
+ uint32 flags;
+ unistr description;
+ unistr name;
+ unistr comment;
+ } spoolss_PrinterInfo1;
+
+ typedef union {
+ case(1) spoolss_PrinterInfo1 info1;
+ } spoolssPrinterInfo;
+
+ typedef struct {
+ uint32 len;
+ spoolssPrinterInfo *info;
+ } spoolss_PrinterInfoBuffer;
+
/******************/
/* Function: 0x00 */
NTSTATUS spoolss_EnumPrinters(
@@ -36,7 +52,15 @@
/******************/
/* Function: 0x04 */
- NTSTATUS spoolss_04(
+ NTSTATUS spoolss_EnumJobs(
+ [in,ref] policy_handle *handle,
+ [in] uint32 firstjob,
+ [in] uint32 numjobs,
+ [in] uint32 level,
+ [in,out] uint8_buf *buffer,
+ [in] uint32 offered,
+ [out] uint32 needed,
+ [out] uint32 numjobs
);
/******************/
@@ -56,7 +80,13 @@
/******************/
/* Function: 0x08 */
- NTSTATUS spoolss_08(
+ NTSTATUS spoolss_GetPrinter(
+ [in,ref] policy_handle *handle,
+ [in] uint32 level,
+ [in,out] uint8_buf *buffer,
+ [in] uint32 offered,
+ [out] uint32 needed,
+ [out] uint32 returned
);
/******************/
@@ -106,7 +136,8 @@
/******************/
/* Function: 0x12 */
- NTSTATUS spoolss_12(
+ NTSTATUS spoolss_StartPagePrinter(
+ [in,ref] policy_handle *handle
);
/******************/
@@ -116,7 +147,8 @@
/******************/
/* Function: 0x14 */
- NTSTATUS spoolss_14(
+ NTSTATUS spoolss_EndPagePrinter(
+ [in,ref] policy_handle *handle
);
/******************/
@@ -131,7 +163,7 @@
/******************/
/* Function: 0x17 */
- NTSTATUS spoolss_17(
+ NTSTATUS spoolss_EndDocPrinter(
);
/******************/
@@ -407,7 +439,17 @@
/******************/
/* Function: 0x48 */
- NTSTATUS spoolss_48(
+ NTSTATUS spoolss_EnumPrinterData(
+ [in,ref] policy_handle *handle,
+ [in] uint32 enum_index,
+ [in] uint32 value_offered,
+ [in] uint32 data_offered,
+ [out] uint32 value_len,
+ [out] unistr value_name,
+ [out] uint32 value_needed,
+ [out] uint32 printerdata_type,
+ [out] uint8_buf printerdata,
+ [out] uint32 data_needed
);
/******************/