spoolss: add spoolss_DriverAttributes bitmask.
[jra/samba/.git] / librpc / idl / spoolss.idl
index 98760574fb54729dde3f5683f03e0387e60db3d8..5b9f551d26bcca8250045b47cdd1b7f9a75a8076 100644 (file)
@@ -836,6 +836,10 @@ import "misc.idl", "security.idl", "winreg.idl";
                spoolss_StringArray *previous_names;
        } spoolss_AddDriverInfo4;
 
+       typedef [bitmap32bit] bitmap {
+               PRINTER_DRIVER_PACKAGE_AWARE = 0x00000002
+       } spoolss_DriverAttributes;
+
        typedef struct {
                spoolss_DriverOSVersion version;
                [string,charset(UTF16)] uint16 *driver_name;
@@ -843,7 +847,7 @@ import "misc.idl", "security.idl", "winreg.idl";
                [string,charset(UTF16)] uint16 *driver_path;
                [string,charset(UTF16)] uint16 *data_file;
                [string,charset(UTF16)] uint16 *config_file;
-               uint32 driver_attributes;
+               spoolss_DriverAttributes driver_attributes;
                uint32 config_version;
                uint32 driver_version;
        } spoolss_AddDriverInfo5;
@@ -968,7 +972,7 @@ import "misc.idl", "security.idl", "winreg.idl";
                [relative] nstring *driver_path;
                [relative] nstring *data_file;
                [relative] nstring *config_file;
-               uint32 driver_attributes;
+               spoolss_DriverAttributes driver_attributes;
                uint32 config_version;
                uint32 driver_version;
        } spoolss_DriverInfo5;