diff options
author | Günther Deschner <gd@samba.org> | 2013-01-16 00:04:41 +0100 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2013-01-17 17:11:37 +0100 |
commit | e8feca012e7b2ff29de58cef80c7511f33989a84 (patch) | |
tree | 7c61dc531c45c4325351a65a447aa3b1c0d37945 /librpc/idl | |
parent | e1d50a6b24012b42f9987b439a4b94cd8db79999 (diff) | |
download | samba-e8feca012e7b2ff29de58cef80c7511f33989a84.tar.gz samba-e8feca012e7b2ff29de58cef80c7511f33989a84.tar.bz2 samba-e8feca012e7b2ff29de58cef80c7511f33989a84.zip |
spoolss: make spoolss deal with ndr64 ULONG_PTR of devmode_ptr and secdesc_ptr.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/spoolss.idl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 7d8e8de3ad..e55bfff40b 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -1011,9 +1011,9 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") [string,charset(UTF16)] uint16 *print_processor; [string,charset(UTF16)] uint16 *parameters; [string,charset(UTF16)] uint16 *driver_name; - uint32 _devmode_ptr; /* pointer to truncated devicemode */ + uint32 *_devmode_ptr; /* pointer to truncated devicemode */ [string,charset(UTF16)] uint16 *text_status; - uint32 _secdesc_ptr; + uint32 *_secdesc_ptr; spoolss_JobStatus status; [range(0,99)] uint32 priority; uint32 position; @@ -1037,9 +1037,9 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") [string,charset(UTF16)] uint16 *print_processor; [string,charset(UTF16)] uint16 *parameters; [string,charset(UTF16)] uint16 *driver_name; - uint32 _devmode_ptr; /* pointer to truncated devicemode */ + uint32 *_devmode_ptr; /* pointer to truncated devicemode */ [string,charset(UTF16)] uint16 *text_status; - uint32 _secdesc_ptr; + uint32 *_secdesc_ptr; spoolss_JobStatus status; [range(0,99)] uint32 priority; uint32 position; @@ -1200,12 +1200,12 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") [string,charset(UTF16)] uint16 *drivername; [string,charset(UTF16)] uint16 *comment; [string,charset(UTF16)] uint16 *location; - uint32 devmode_ptr; + uint32 *devmode_ptr; [string,charset(UTF16)] uint16 *sepfile; [string,charset(UTF16)] uint16 *printprocessor; [string,charset(UTF16)] uint16 *datatype; [string,charset(UTF16)] uint16 *parameters; - uint32 secdesc_ptr; + uint32 *secdesc_ptr; spoolss_PrinterAttributes attributes; [range(0,99)] uint32 priority; uint32 defaultpriority; @@ -1217,7 +1217,7 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") } spoolss_SetPrinterInfo2; typedef struct { - uint32 sec_desc_ptr; + uint32 *sec_desc_ptr; } spoolss_SetPrinterInfo3; typedef struct { @@ -1244,11 +1244,11 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") } spoolss_SetPrinterInfo7; typedef struct { - uint32 devmode_ptr; + uint32 *devmode_ptr; } spoolss_SetPrinterInfo8; typedef struct { - uint32 devmode_ptr; + uint32 *devmode_ptr; } spoolss_SetPrinterInfo9; typedef [switch_type(uint32)] union { |