1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

librpc: fix spoolss_GetCorePrinterDrivers IDL.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2016-08-19 23:26:34 +02:00 committed by Jeremy Allison
parent 4b75b49816
commit bb8267ce49
2 changed files with 5 additions and 5 deletions

View File

@ -3288,10 +3288,10 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
GUID core_driver_guid;
NTTIME driver_date;
hyper driver_version;
[charset(UTF8)] uint8 formname[520];
[charset(UTF16)] uint16 szPackageID[260];
} spoolss_CorePrinterDriver;
[public] WERROR spoolss_GetCorePrinterDrivers(
[public] HRESULT spoolss_GetCorePrinterDrivers(
[in,unique] [string,charset(UTF16)] uint16 *servername,
[in,ref] [string,charset(UTF16)] uint16 *architecture,
[in] uint32 core_driver_size,

View File

@ -11177,11 +11177,11 @@ WERROR _spoolss_65(struct pipes_struct *p,
_spoolss_GetCorePrinterDrivers
****************************************************************/
WERROR _spoolss_GetCorePrinterDrivers(struct pipes_struct *p,
struct spoolss_GetCorePrinterDrivers *r)
HRESULT _spoolss_GetCorePrinterDrivers(struct pipes_struct *p,
struct spoolss_GetCorePrinterDrivers *r)
{
p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
return HRES_ERROR_NOT_SUPPORTED;
}
/****************************************************************