mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
spoolss: add spoolss_DriverInfo101 to IDL.
Note that the size_is of the spoolss_DriverFileInfo is not reflected on the ndr. It is just used as pidl cannot handle a relative pointer to a static array of structs. Guenther
This commit is contained in:
parent
0449d5c285
commit
b8b3a6f1fc
@ -628,7 +628,7 @@ import "misc.idl", "security.idl", "winreg.idl";
|
||||
[string,charset(UTF16)] uint16 *driver_name;
|
||||
} spoolss_AddDriverInfo1;
|
||||
|
||||
typedef [v1_enum] enum {
|
||||
typedef [v1_enum,public] enum {
|
||||
SPOOLSS_DRIVER_VERSION_9X = 0,
|
||||
SPOOLSS_DRIVER_VERSION_NT35 = 1,
|
||||
SPOOLSS_DRIVER_VERSION_NT4 = 2,
|
||||
@ -859,6 +859,37 @@ import "misc.idl", "security.idl", "winreg.idl";
|
||||
hyper min_inbox_driver_ver_version;
|
||||
} spoolss_DriverInfo8;
|
||||
|
||||
typedef [v1_enum] enum {
|
||||
SPOOLSS_DRIVER_FILE_TYPE_RENDERING = 0x00000000,
|
||||
SPOOLSS_DRIVER_FILE_TYPE_CONFIGURATION = 0x00000001,
|
||||
SPOOLSS_DRIVER_FILE_TYPE_DATA = 0x00000002,
|
||||
SPOOLSS_DRIVER_FILE_TYPE_HELP = 0x00000003,
|
||||
SPOOLSS_DRIVER_FILE_TYPE_OTHER = 0x00000004
|
||||
} spoolss_DriverFileType;
|
||||
|
||||
typedef [public] struct {
|
||||
[relative] nstring *file_name;
|
||||
spoolss_DriverFileType file_type;
|
||||
uint32 file_version;
|
||||
} spoolss_DriverFileInfo;
|
||||
|
||||
typedef [public,gensize,nopush,nopull] struct {
|
||||
spoolss_DriverOSVersion version;
|
||||
[relative] nstring *driver_name;
|
||||
[relative] nstring *architecture;
|
||||
[relative] [size_is(file_count)] spoolss_DriverFileInfo *file_info;
|
||||
uint32 file_count;
|
||||
[relative] nstring *monitor_name;
|
||||
[relative] nstring *default_datatype;
|
||||
[relative] nstring_array *previous_names;
|
||||
NTTIME driver_date;
|
||||
hyper driver_version;
|
||||
[relative] nstring *manufacturer_name;
|
||||
[relative] nstring *manufacturer_url;
|
||||
[relative] nstring *hardware_id;
|
||||
[relative] nstring *provider;
|
||||
} spoolss_DriverInfo101;
|
||||
|
||||
typedef [nodiscriminant,relative_base,public] union {
|
||||
[case(1)] spoolss_DriverInfo1 info1;
|
||||
[case(2)] spoolss_DriverInfo2 info2;
|
||||
@ -867,6 +898,7 @@ import "misc.idl", "security.idl", "winreg.idl";
|
||||
[case(5)] spoolss_DriverInfo5 info5;
|
||||
[case(6)] spoolss_DriverInfo6 info6;
|
||||
[case(8)] spoolss_DriverInfo8 info8;
|
||||
[case(101)] spoolss_DriverInfo101 info101;
|
||||
[default];
|
||||
} spoolss_DriverInfo;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user