librpc: fix IDL for spoolss_GetPrinterDriverPackagePath()
authorGünther Deschner <gd@samba.org>
Fri, 19 Aug 2016 22:00:50 +0000 (00:00 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 22 Aug 2016 23:06:24 +0000 (01:06 +0200)
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/idl/spoolss.idl
source3/rpc_server/spoolss/srv_spoolss_nt.c

index 2782c719944f32d594d0244f39961af1f06a5fce..ae10917ce7953f07fb27c4f1054986b0b4413c50 100644 (file)
@@ -3307,7 +3307,7 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
 
        /******************/
        /* Function: 0x68 */
-       WERROR spoolss_GetPrinterDriverPackagePath(
+       HRESULT spoolss_GetPrinterDriverPackagePath(
                [in,unique] [string,charset(UTF16)] uint16 *servername,
                [in,ref] [string,charset(UTF16)] uint16 *architecture,
                [in,unique] [string,charset(UTF16)] uint16 *language,
index 9c82600e72ea8a7420638f8c1fe51cdd482f840f..b54a405ac8090e2f15621f616d51b2c1f580b220 100644 (file)
@@ -11199,11 +11199,11 @@ WERROR _spoolss_67(struct pipes_struct *p,
  _spoolss_GetPrinterDriverPackagePath
 ****************************************************************/
 
-WERROR _spoolss_GetPrinterDriverPackagePath(struct pipes_struct *p,
-                                           struct spoolss_GetPrinterDriverPackagePath *r)
+HRESULT _spoolss_GetPrinterDriverPackagePath(struct pipes_struct *p,
+                                            struct spoolss_GetPrinterDriverPackagePath *r)
 {
        p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
-       return WERR_NOT_SUPPORTED;
+       return HRES_ERROR_NOT_SUPPORTED;
 }
 
 /****************************************************************