From 4926b8f5c0a180caf4f965cf927cb270f263401f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 22 Feb 2005 08:04:52 +0000 Subject: r5498: fix OpenPrinter() idl and torture test metze (This used to be commit fd7950abe62e91108157619ace8e96e99110b668) --- source4/librpc/idl/spoolss.idl | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index 0ac941190b..9a9495b046 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -187,12 +187,21 @@ /******************/ /* Function: 0x01 */ + typedef struct { + uint32 foo; + } spoolss_Devmode; + + typedef struct { + uint32 size; + spoolss_Devmode *devmode; + } spoolss_DevmodeContainer; + WERROR spoolss_OpenPrinter( - [in] unistr *server, - [in] unistr *printer, - [in] DATA_BLOB *buffer, + [in] unistr *printername, + [in] unistr *datatype, + [in] spoolss_DevmodeContainer devmode_ctr, [in] uint32 access_mask, - [out,ref] policy_handle *handle + [out,ref] policy_handle *handle ); /******************/ @@ -735,15 +744,6 @@ WERROR spoolss_44( ); - typedef struct { - uint32 foo; - } spoolss_Devmode; - - typedef struct { - uint32 size; - spoolss_Devmode *devmode; - } spoolss_DevmodeContainer; - typedef struct { uint32 size; unistr *client; -- cgit