mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
spoolss: fill in PerMachineConnections add and delete IDL.
Guenther
This commit is contained in:
parent
2516338023
commit
1b293c90be
@ -2986,17 +2986,23 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
|
||||
|
||||
/******************/
|
||||
/* Function: 0x55 */
|
||||
[todo] WERROR spoolss_55(
|
||||
WERROR spoolss_AddPerMachineConnection(
|
||||
[in,unique] [string,charset(UTF16)] uint16 *server,
|
||||
[in,ref] [string,charset(UTF16)] uint16 *printername,
|
||||
[in,ref] [string,charset(UTF16)] uint16 *printserver,
|
||||
[in,ref] [string,charset(UTF16)] uint16 *provider
|
||||
);
|
||||
|
||||
/******************/
|
||||
/* Function: 0x56 */
|
||||
[todo] WERROR spoolss_56(
|
||||
WERROR spoolss_DeletePerMachineConnection(
|
||||
[in,unique] [string,charset(UTF16)] uint16 *server,
|
||||
[in,ref] [string,charset(UTF16)] uint16 *printername
|
||||
);
|
||||
|
||||
/******************/
|
||||
/* Function: 0x57 */
|
||||
[todo] WERROR spoolss_57(
|
||||
[todo] WERROR spoolss_EnumPerMachineConnections(
|
||||
);
|
||||
|
||||
/******************/
|
||||
|
@ -10388,33 +10388,33 @@ WERROR _spoolss_53(struct pipes_struct *p,
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
_spoolss_55
|
||||
_spoolss_AddPerMachineConnection
|
||||
****************************************************************/
|
||||
|
||||
WERROR _spoolss_55(struct pipes_struct *p,
|
||||
struct spoolss_55 *r)
|
||||
WERROR _spoolss_AddPerMachineConnection(struct pipes_struct *p,
|
||||
struct spoolss_AddPerMachineConnection *r)
|
||||
{
|
||||
p->rng_fault_state = true;
|
||||
return WERR_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
_spoolss_56
|
||||
_spoolss_DeletePerMachineConnection
|
||||
****************************************************************/
|
||||
|
||||
WERROR _spoolss_56(struct pipes_struct *p,
|
||||
struct spoolss_56 *r)
|
||||
WERROR _spoolss_DeletePerMachineConnection(struct pipes_struct *p,
|
||||
struct spoolss_DeletePerMachineConnection *r)
|
||||
{
|
||||
p->rng_fault_state = true;
|
||||
return WERR_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
_spoolss_57
|
||||
_spoolss_EnumPerMachineConnections
|
||||
****************************************************************/
|
||||
|
||||
WERROR _spoolss_57(struct pipes_struct *p,
|
||||
struct spoolss_57 *r)
|
||||
WERROR _spoolss_EnumPerMachineConnections(struct pipes_struct *p,
|
||||
struct spoolss_EnumPerMachineConnections *r)
|
||||
{
|
||||
p->rng_fault_state = true;
|
||||
return WERR_NOT_SUPPORTED;
|
||||
|
@ -1445,30 +1445,30 @@ static WERROR dcesrv_spoolss_DeletePrinterDriverEx(struct dcesrv_call_state *dce
|
||||
|
||||
|
||||
/*
|
||||
spoolss_55
|
||||
spoolss_AddPerMachineConnection
|
||||
*/
|
||||
static WERROR dcesrv_spoolss_55(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_55 *r)
|
||||
static WERROR dcesrv_spoolss_AddPerMachineConnection(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_AddPerMachineConnection *r)
|
||||
{
|
||||
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
spoolss_56
|
||||
spoolss_DeletePerMachineConnection
|
||||
*/
|
||||
static WERROR dcesrv_spoolss_56(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_56 *r)
|
||||
static WERROR dcesrv_spoolss_DeletePerMachineConnection(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_DeletePerMachineConnection *r)
|
||||
{
|
||||
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
spoolss_57
|
||||
spoolss_EnumPerMachineConnections
|
||||
*/
|
||||
static WERROR dcesrv_spoolss_57(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_57 *r)
|
||||
static WERROR dcesrv_spoolss_EnumPerMachineConnections(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
|
||||
struct spoolss_EnumPerMachineConnections *r)
|
||||
{
|
||||
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user