mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
spoolss: fill in spoolss_SetPort IDL.
Guenther
This commit is contained in:
parent
2ff1c9eb30
commit
279e0c9610
@ -2831,7 +2831,10 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
|
||||
|
||||
/******************/
|
||||
/* Function: 0x47 */
|
||||
[todo] WERROR spoolss_47(
|
||||
WERROR spoolss_SetPort(
|
||||
[in,unique] [string,charset(UTF16)] uint16 *servername,
|
||||
[in,unique] [string,charset(UTF16)] uint16 *port_name,
|
||||
[in,ref] spoolss_SetPortInfoContainer *port_ctr
|
||||
);
|
||||
|
||||
/******************/
|
||||
|
@ -10294,11 +10294,11 @@ WERROR _spoolss_44(struct pipes_struct *p,
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
_spoolss_47
|
||||
_spoolss_SetPort
|
||||
****************************************************************/
|
||||
|
||||
WERROR _spoolss_47(struct pipes_struct *p,
|
||||
struct spoolss_47 *r)
|
||||
WERROR _spoolss_SetPort(struct pipes_struct *p,
|
||||
struct spoolss_SetPort *r)
|
||||
{
|
||||
p->rng_fault_state = true;
|
||||
return WERR_NOT_SUPPORTED;
|
||||
|
@ -1305,10 +1305,10 @@ static WERROR dcesrv_spoolss_AddPrinterEx(struct dcesrv_call_state *dce_call, TA
|
||||
|
||||
|
||||
/*
|
||||
spoolss_47
|
||||
spoolss_SetPort
|
||||
*/
|
||||
static WERROR dcesrv_spoolss_47(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_47 *r)
|
||||
static WERROR dcesrv_spoolss_SetPort(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_SetPort *r)
|
||||
{
|
||||
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user