diff options
-rw-r--r-- | librpc/idl/spoolss.idl | 20 | ||||
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 44 | ||||
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.c | 37 |
3 files changed, 101 insertions, 0 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 5b8db72339..06a0935f81 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -3207,4 +3207,24 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") /* Function: 0x6d */ [todo] WERROR spoolss_6d( ); + + /******************/ + /* Function: 0x6e */ + [todo] WERROR spoolss_RpcGetJobNamedPropertyValue( + ); + + /******************/ + /* Function: 0x6f */ + [todo] WERROR spoolss_RpcSetJobNamedProperty( + ); + + /******************/ + /* Function: 0x70 */ + [todo] WERROR spoolss_RpcDeleteJobNamedProperty( + ); + + /******************/ + /* Function: 0x71 */ + [todo] WERROR spoolss_RpcEnumJobNamedProperties( + ); } diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 531b2898ab..28ef836b41 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -10951,3 +10951,47 @@ WERROR _spoolss_6d(struct pipes_struct *p, p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; return WERR_NOT_SUPPORTED; } + +/**************************************************************** + _spoolss_RpcGetJobNamedPropertyValue +****************************************************************/ + +WERROR _spoolss_RpcGetJobNamedPropertyValue(struct pipes_struct *p, + struct spoolss_RpcGetJobNamedPropertyValue *r) +{ + p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; + return WERR_NOT_SUPPORTED; +} + +/**************************************************************** + _spoolss_RpcSetJobNamedProperty +****************************************************************/ + +WERROR _spoolss_RpcSetJobNamedProperty(struct pipes_struct *p, + struct spoolss_RpcSetJobNamedProperty *r) +{ + p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; + return WERR_NOT_SUPPORTED; +} + +/**************************************************************** + _spoolss_RpcDeleteJobNamedProperty +****************************************************************/ + +WERROR _spoolss_RpcDeleteJobNamedProperty(struct pipes_struct *p, + struct spoolss_RpcDeleteJobNamedProperty *r) +{ + p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; + return WERR_NOT_SUPPORTED; +} + +/**************************************************************** + _spoolss_RpcEnumJobNamedProperties +****************************************************************/ + +WERROR _spoolss_RpcEnumJobNamedProperties(struct pipes_struct *p, + struct spoolss_RpcEnumJobNamedProperties *r) +{ + p->fault_state = DCERPC_FAULT_OP_RNG_ERROR; + return WERR_NOT_SUPPORTED; +} diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c index 7227baaeb4..76035f3ce9 100644 --- a/source4/rpc_server/spoolss/dcesrv_spoolss.c +++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c @@ -1722,6 +1722,43 @@ static WERROR dcesrv_spoolss_6d(struct dcesrv_call_state *dce_call, TALLOC_CTX * } +/* + spoolss_RpcGetJobNamedPropertyValue +*/ +static WERROR dcesrv_spoolss_RpcGetJobNamedPropertyValue(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcGetJobNamedPropertyValue *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + spoolss_RpcSetJobNamedProperty +*/ +static WERROR dcesrv_spoolss_RpcSetJobNamedProperty(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcSetJobNamedProperty *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + + +/* + spoolss_RpcDeleteJobNamedProperty +*/ +static WERROR dcesrv_spoolss_RpcDeleteJobNamedProperty(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcDeleteJobNamedProperty *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} + +/* + spoolss_RpcEnumJobNamedProperties +*/ +static WERROR dcesrv_spoolss_RpcEnumJobNamedProperties(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_RpcEnumJobNamedProperties *r) +{ + DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); +} /* include the generated boilerplate */ #include "librpc/gen_ndr/ndr_spoolss_s.c" |