summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/rap.idl19
1 files changed, 19 insertions, 0 deletions
diff --git a/librpc/idl/rap.idl b/librpc/idl/rap.idl
index b9bdae9b43..8035327fee 100644
--- a/librpc/idl/rap.idl
+++ b/librpc/idl/rap.idl
@@ -470,6 +470,13 @@ interface rap
uint16 PrinterNameOffsetHigh;
} rap_PrintJobInfo3;
+ typedef [public,nodiscriminant] union {
+ [case(0)] rap_PrintJobInfo0 info0;
+ [case(1)] rap_PrintJobInfo1 info1;
+ [case(2)] rap_PrintJobInfo2 info2;
+ [case(3)] rap_PrintJobInfo3 info3;
+ } rap_printj_info;
+
typedef [public] enum {
PRQ_ACTIVE = 0x0000,
PRQ_PAUSE = 0x0001,
@@ -609,6 +616,18 @@ interface rap
[out] uint16 convert
);
+ /* not documented in MS-RAP */
+ [public] void rap_NetPrintJobEnum(
+ [in] astring PrintQueueName,
+ [in] uint16 level,
+ [in] uint16 bufsize,
+ [out] rap_status status,
+ [out] uint16 convert,
+ [out] uint16 count,
+ [out] uint16 available,
+ [out,switch_is(level)] rap_printj_info info[count]
+ );
+
/* Parameter description strings for RAP calls */
/* Names are defined name for RAP call with _REQ */
/* appended to end. */