summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_spoolss.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/ndr/ndr_spoolss.h')
-rw-r--r--source4/librpc/ndr/ndr_spoolss.h65
1 files changed, 50 insertions, 15 deletions
diff --git a/source4/librpc/ndr/ndr_spoolss.h b/source4/librpc/ndr/ndr_spoolss.h
index dcacef337a..c05f3d7494 100644
--- a/source4/librpc/ndr/ndr_spoolss.h
+++ b/source4/librpc/ndr/ndr_spoolss.h
@@ -1,17 +1,24 @@
/* header auto-generated by pidl */
+struct spoolss_PrinterEnum1 {
+ uint32 flags;
+ const char * name;
+ const char * description;
+ const char * comment;
+};
+
struct spoolss_EnumPrinters {
struct {
uint32 flags;
const char *server;
uint32 level;
- struct uint8_buf *buffer;
+ uint8 *buf;
uint32 offered;
} in;
struct {
- struct uint8_buf *buffer;
- uint32 needed;
+ union spoolss_PrinterEnum *info;
+ uint32 *needed;
uint32 returned;
NTSTATUS result;
} out;
@@ -48,11 +55,20 @@ struct spoolss_03 {
};
-struct spoolss_04 {
+struct spoolss_EnumJobs {
struct {
+ struct policy_handle *handle;
+ uint32 firstjob;
+ uint32 numjobs;
+ uint32 level;
+ struct uint8_buf *buffer;
+ uint32 offered;
} in;
struct {
+ struct uint8_buf *buffer;
+ uint32 needed;
+ uint32 numjobs;
NTSTATUS result;
} out;
@@ -88,11 +104,18 @@ struct spoolss_07 {
};
-struct spoolss_08 {
+struct spoolss_GetPrinter {
struct {
+ struct policy_handle *handle;
+ uint32 level;
+ struct uint8_buf *buffer;
+ uint32 offered;
} in;
struct {
+ struct uint8_buf *buffer;
+ uint32 needed;
+ uint32 returned;
NTSTATUS result;
} out;
@@ -188,8 +211,9 @@ struct spoolss_11 {
};
-struct spoolss_12 {
+struct spoolss_StartPagePrinter {
struct {
+ struct policy_handle *handle;
} in;
struct {
@@ -208,8 +232,9 @@ struct spoolss_13 {
};
-struct spoolss_14 {
+struct spoolss_EndPagePrinter {
struct {
+ struct policy_handle *handle;
} in;
struct {
@@ -238,7 +263,7 @@ struct spoolss_16 {
};
-struct spoolss_17 {
+struct spoolss_EndDocPrinter {
struct {
} in;
@@ -760,11 +785,21 @@ struct spoolss_47 {
};
-struct spoolss_48 {
+struct spoolss_EnumPrinterData {
struct {
+ struct policy_handle *handle;
+ uint32 enum_index;
+ uint32 value_offered;
+ uint32 data_offered;
} in;
struct {
+ uint32 value_len;
+ const char *value_name;
+ uint32 value_needed;
+ uint32 printerdata_type;
+ struct uint8_buf printerdata;
+ uint32 data_needed;
NTSTATUS result;
} out;
@@ -1004,11 +1039,11 @@ struct spoolss_5f {
#define DCERPC_SPOOLSS_01 1
#define DCERPC_SPOOLSS_02 2
#define DCERPC_SPOOLSS_03 3
-#define DCERPC_SPOOLSS_04 4
+#define DCERPC_SPOOLSS_ENUMJOBS 4
#define DCERPC_SPOOLSS_05 5
#define DCERPC_SPOOLSS_06 6
#define DCERPC_SPOOLSS_07 7
-#define DCERPC_SPOOLSS_08 8
+#define DCERPC_SPOOLSS_GETPRINTER 8
#define DCERPC_SPOOLSS_09 9
#define DCERPC_SPOOLSS_0A 10
#define DCERPC_SPOOLSS_0B 11
@@ -1018,12 +1053,12 @@ struct spoolss_5f {
#define DCERPC_SPOOLSS_0F 15
#define DCERPC_SPOOLSS_10 16
#define DCERPC_SPOOLSS_11 17
-#define DCERPC_SPOOLSS_12 18
+#define DCERPC_SPOOLSS_STARTPAGEPRINTER 18
#define DCERPC_SPOOLSS_13 19
-#define DCERPC_SPOOLSS_14 20
+#define DCERPC_SPOOLSS_ENDPAGEPRINTER 20
#define DCERPC_SPOOLSS_15 21
#define DCERPC_SPOOLSS_16 22
-#define DCERPC_SPOOLSS_17 23
+#define DCERPC_SPOOLSS_ENDDOCPRINTER 23
#define DCERPC_SPOOLSS_18 24
#define DCERPC_SPOOLSS_19 25
#define DCERPC_SPOOLSS_1A 26
@@ -1072,7 +1107,7 @@ struct spoolss_5f {
#define DCERPC_SPOOLSS_OPENPRINTEREX 69
#define DCERPC_SPOOLSS_46 70
#define DCERPC_SPOOLSS_47 71
-#define DCERPC_SPOOLSS_48 72
+#define DCERPC_SPOOLSS_ENUMPRINTERDATA 72
#define DCERPC_SPOOLSS_49 73
#define DCERPC_SPOOLSS_4A 74
#define DCERPC_SPOOLSS_4B 75