r3287: The devicename and formname fields in a device mode are fixed length
authorTim Potter <tpot@samba.org>
Wed, 27 Oct 2004 07:45:52 +0000 (07:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:04:50 +0000 (13:04 -0500)
strings.  Not sure how to write this as idl which maps to a char * but
at least devicemodes can be pulled off the wire sucessfully.
(This used to be commit dd20730a09935b0783b020a020ed9283ca1e4608)

source4/librpc/idl/spoolss.idl

index a22c39e64df477a659f3eb433f7f3ebe67bf52d9..272415493596a1581aa49763fd0b77d5b38340fb 100644 (file)
@@ -55,7 +55,7 @@
        } spoolss_PrinterInfo0;
 
        typedef struct {
-               nstring devicename;
+               uint16 devicename[32];
                uint16 specversion;
                uint16 driverversion;
                uint16 size;
@@ -74,7 +74,7 @@
                uint16 yresolution;
                uint16 ttoption;
                uint16 collate;
-               nstring formname;
+               uint16 formname[32];
                uint16 logpixels;
                uint32 bitsperpel;
                uint32 pelswidth;