summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorJustin Stephenson <jstephen@redhat.com>2018-09-17 11:19:02 -0400
committerBjoern Jacke <bjacke@samba.org>2019-01-28 15:44:18 +0100
commit5c1514e677f9b6abc91be9dcf94375fbece9fdcc (patch)
tree102afd71fa830da9dfeb7b5633465cc434df5109 /librpc
parent8f240b12f95fa9a1cf91f7403347abec84997dd6 (diff)
downloadsamba-5c1514e677f9b6abc91be9dcf94375fbece9fdcc.tar.gz
librpc:idl: Fix pszDestInfPath winspool parameter type
The in/out type of pszDestInfPath needs to be a string type for RPC call UploadPrinterDriverPackage. Per the Spec: [in, out, unique, size_is(*pcchDestInfPath)] wchar_t* pszDestInfPath, pszDestInfPath: A pointer to a buffer that receives a string that specifies the full path of the directory to which the driver installation control file was copied. Signed-off-by: Justin Stephenson <jstephen@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/winspool.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/winspool.idl b/librpc/idl/winspool.idl
index dfb45a128d4..5497a67d34c 100644
--- a/librpc/idl/winspool.idl
+++ b/librpc/idl/winspool.idl
@@ -761,7 +761,7 @@ import "misc.idl", "security.idl", "winreg.idl", "spoolss.idl";
[in] [string,charset(UTF16)] uint16 *pszInfPath,
[in] [string,charset(UTF16)] uint16 *pszEnvironment,
[in] winspool_UploadPrinterDriverPackageFlags dwFlags,
- [in, out, unique, size_is(*pcchDestInfPath)] uint16 *pszDestInfPath,
+ [in, out, unique, size_is(*pcchDestInfPath)] [charset(UTF16)] uint16 *pszDestInfPath,
[in, out] uint32 *pcchDestInfPath
);