From f028d37c37c5321d90942df7610905277eed8053 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 7 Jun 2005 10:22:57 +0000 Subject: r7357: some minor updates metze (This used to be commit a547f2c2a190ec5cfaa6a3b3917159b3aa616f59) --- source4/librpc/idl/spoolss.idl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source4') diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index 3cbd7fd080..db86337848 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -178,7 +178,7 @@ [relative] nstring *drivername; [relative] nstring *comment; [relative] nstring *location; - [relative] spoolss_DeviceMode *devmode; + [relative,subcontext(0)] spoolss_DeviceMode *devmode; [relative] nstring *sepfile; [relative] nstring *printprocessor; [relative] nstring *datatype; @@ -627,7 +627,10 @@ } spoolss_DocumentInfo1; typedef [switch_type(uint32)] union { - [case(1)] spoolss_DocumentInfo1 *info1; + [case(1)] spoolss_DocumentInfo1 *info1; + [case(2)]; /* TODO */ + [case(3)]; /* TODO */ + [default]; } spoolss_DocumentInfo; WERROR spoolss_StartDocPrinter( @@ -784,7 +787,7 @@ spoolss_FormArea area; } spoolss_AddFormInfo1; - typedef union { + typedef [switch_type(uint32)] union { [case(1)] spoolss_AddFormInfo1 *info1; } spoolss_AddFormInfo; @@ -826,7 +829,7 @@ spoolss_FormArea area; } spoolss_SetFormInfo1; - typedef union { + typedef [switch_type(uint32)] union { [case(1)] spoolss_SetFormInfo1 *info1; } spoolss_SetFormInfo; -- cgit