idl: add to_null attribute to the spoolss devicename array
[ira/wip.git] / librpc / idl / spoolss.idl
index 4b1f94f4a353b6dfd894ecec210b7975070c4c0b..d888a79ecba9c1ff90db59b1b0519dda8156584f 100644 (file)
@@ -678,7 +678,7 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
        const int MAXDEVICENAME = 32;
 
        typedef [public,gensize] struct {
-               [charset(UTF16)] uint16 devicename[MAXDEVICENAME];
+               [charset(UTF16),to_null] uint16 devicename[MAXDEVICENAME];
                spoolss_DeviceModeSpecVersion specversion;
                uint16 driverversion;
                uint16 size;