spoolss: fix type pointer in spoolss_GetPrinterData and related functions.
authorGünther Deschner <gd@samba.org>
Fri, 6 Feb 2009 17:31:46 +0000 (18:31 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 6 Feb 2009 17:36:40 +0000 (18:36 +0100)
Guenther

librpc/idl/spoolss.idl

index 2709f6c9a00818a7e2b59b52ae9efbbb52e49f96..5bac2d824122ce7c15174738347d6b8dab79d78b 100644 (file)
@@ -767,7 +767,7 @@ import "misc.idl", "security.idl", "winreg.idl";
                [in,ref] policy_handle *handle,
                [in]     [string,charset(UTF16)] uint16 value_name[],
                [in]     uint32 offered,
-               [out]    spoolss_PrinterDataType type,
+               [out,ref] spoolss_PrinterDataType *type,
                [out]    DATA_BLOB data,
                [out,ref] uint32 *needed
        );
@@ -779,8 +779,8 @@ import "misc.idl", "security.idl", "winreg.idl";
                [in,ref] policy_handle *handle,
                [in]     [string,charset(UTF16)] uint16 value_name[],
                [in]     uint32 offered,
-               [out]    spoolss_PrinterDataType type,
-               [out,subcontext(4),subcontext_size(offered),switch_is(type)] spoolss_PrinterData data,
+               [out,ref] spoolss_PrinterDataType *type,
+               [out,subcontext(4),subcontext_size(offered),switch_is(*type)] spoolss_PrinterData data,
                [out,ref] uint32 *needed
        );