spoolss: fix string types in spoolss_JTEXP.
authorGünther Deschner <gd@samba.org>
Wed, 30 Jan 2013 14:55:18 +0000 (15:55 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 20 May 2013 16:50:00 +0000 (18:50 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
librpc/idl/spoolss.idl

index 57e6b4979807e8ea29ae93bb51def5327703c2c0..0a3e27a0f4b5fd409dd77c42410d7ce34bbc4eff 100644 (file)
@@ -428,9 +428,9 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
                [value(SPOOLSS_DM_SIGNATURE_JTEXP)] spoolss_DM_Signature dwSignature;
                [value(0)] uint32 dwVersion;
                [value(16)] uint16 wJTHdrSize;
-               uint16 wCoreMFOSize;
-               [string,charset(UTF16)] uint16 *ModelName;
-               nstring_array FeatureOptionPairs;
+               uint16 wCoreMFOSize; /* must be sizeof the two following elements, must be dwSize - 16*/
+               nstring ModelName;
+               [flag(STR_UTF8|STR_NULLTERM|NDR_REMAINING)] string_array FeatureOptionPairs;
        } spoolss_JTEXP;
 
        /* Device Mode Extra Data: OEM_DMEXTRA */