diff options
author | Günther Deschner <gd@samba.org> | 2009-02-18 17:01:37 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-18 20:18:56 +0100 |
commit | 890226c11271375eaa4b5938c6d1ada16f2db6c0 (patch) | |
tree | 634de1cdd03138835f0f367ebc233f0de1ca179e /librpc | |
parent | 1cd34565d0ae07dfba773bc9e5679668137b724f (diff) | |
download | samba-890226c11271375eaa4b5938c6d1ada16f2db6c0.tar.gz samba-890226c11271375eaa4b5938c6d1ada16f2db6c0.tar.bz2 samba-890226c11271375eaa4b5938c6d1ada16f2db6c0.zip |
spoolss: add spoolss_AddDriverInfo8 (used by vista for adding drivers).
Guenther
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/spoolss.idl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 4c428f8953..14cf417044 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -708,12 +708,45 @@ import "misc.idl", "security.idl", "winreg.idl"; [string,charset(UTF16)] uint16 *provider; } spoolss_AddDriverInfo6; + typedef struct { + spoolss_DriverOSVersion version; + [string,charset(UTF16)] uint16 *driver_name; + [string,charset(UTF16)] uint16 *architecture; + [string,charset(UTF16)] uint16 *driver_path; + [string,charset(UTF16)] uint16 *data_file; + [string,charset(UTF16)] uint16 *config_file; + [string,charset(UTF16)] uint16 *help_file; + [string,charset(UTF16)] uint16 *monitor_name; + [string,charset(UTF16)] uint16 *default_datatype; + [value(((ndr_size_spoolss_StringArray(dependent_files, ndr->iconv_convenience, ndr->flags)-4)/2))] uint32 _ndr_size_dependent_files; + spoolss_StringArray *dependent_files; + [value(((ndr_size_spoolss_StringArray(previous_names, ndr->iconv_convenience, ndr->flags)-4)/2))] uint32 _ndr_size_previous_names; + spoolss_StringArray *previous_names; + NTTIME driver_data; + hyper driver_version; + [string,charset(UTF16)] uint16 *manufacturer_name; + [string,charset(UTF16)] uint16 *manufacturer_url; + [string,charset(UTF16)] uint16 *hardware_id; + [string,charset(UTF16)] uint16 *provider; + [string,charset(UTF16)] uint16 *print_processor; + [string,charset(UTF16)] uint16 *vendor_setup; + [value(((ndr_size_spoolss_StringArray(color_profiles, ndr->iconv_convenience, ndr->flags)-4)/2))] uint32 _ndr_size_color_profiles; + spoolss_StringArray *color_profiles; + [string,charset(UTF16)] uint16 *inf_path; + uint32 printer_driver_attributes; + [value(((ndr_size_spoolss_StringArray(core_driver_dependencies, ndr->iconv_convenience, ndr->flags)-4)/2))] uint32 _ndr_size_core_driver_dependencies; + spoolss_StringArray *core_driver_dependencies; + NTTIME min_inbox_driver_ver_date; + hyper min_inbox_driver_ver_version; + } spoolss_AddDriverInfo8; + typedef [switch_type(uint32)] union { [case(1)] spoolss_AddDriverInfo1 *info1; [case(2)] spoolss_AddDriverInfo2 *info2; [case(3)] spoolss_AddDriverInfo3 *info3; [case(4)] spoolss_AddDriverInfo4 *info4; [case(6)] spoolss_AddDriverInfo6 *info6; + [case(8)] spoolss_AddDriverInfo8 *info8; } spoolss_AddDriverInfo; WERROR spoolss_AddPrinterDriver( @@ -829,6 +862,7 @@ import "misc.idl", "security.idl", "winreg.idl"; [case(4)] spoolss_DriverInfo4 info4; [case(5)] spoolss_DriverInfo5 info5; [case(6)] spoolss_DriverInfo6 info6; + [case(8)] spoolss_DriverInfo8 info8; [default]; } spoolss_DriverInfo; |