diff options
author | Günther Deschner <gd@samba.org> | 2008-02-18 01:09:34 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-18 01:37:31 +0100 |
commit | 1ce176c2b905b30c14ecde53e0898c343fe96cf9 (patch) | |
tree | 19cd23a94ed550a17bf7568dbe9e0a5b4292151f /source3 | |
parent | 57814bccfbb936849488a0b46a7dcd65247856e1 (diff) | |
download | samba-1ce176c2b905b30c14ecde53e0898c343fe96cf9.tar.gz samba-1ce176c2b905b30c14ecde53e0898c343fe96cf9.tar.bz2 samba-1ce176c2b905b30c14ecde53e0898c343fe96cf9.zip |
Use pidl for _PNP_HwProfFlags().
Guenther
(This used to be commit b30d812b30b5a5b286db68fc94b09fff38db5306)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_ntsvcs.c | 18 | ||||
-rw-r--r-- | source3/rpc_server/srv_ntsvcs_nt.c | 17 |
2 files changed, 5 insertions, 30 deletions
diff --git a/source3/rpc_server/srv_ntsvcs.c b/source3/rpc_server/srv_ntsvcs.c index 73d4b4f4ed..31d7408df0 100644 --- a/source3/rpc_server/srv_ntsvcs.c +++ b/source3/rpc_server/srv_ntsvcs.c @@ -144,23 +144,7 @@ static bool api_ntsvcs_get_hw_profile_info(pipes_struct *p) static bool api_ntsvcs_hw_profile_flags(pipes_struct *p) { - NTSVCS_Q_HW_PROFILE_FLAGS q_u; - NTSVCS_R_HW_PROFILE_FLAGS r_u; - prs_struct *data = &p->in_data.data; - prs_struct *rdata = &p->out_data.rdata; - - ZERO_STRUCT(q_u); - ZERO_STRUCT(r_u); - - if(!ntsvcs_io_q_hw_profile_flags("", &q_u, data, 0)) - return False; - - r_u.status = _ntsvcs_hw_profile_flags(p, &q_u, &r_u); - - if(!ntsvcs_io_r_hw_profile_flags("", &r_u, rdata, 0)) - return False; - - return True; + return proxy_ntsvcs_call(p, NDR_PNP_HWPROFFLAGS); } /******************************************************************* diff --git a/source3/rpc_server/srv_ntsvcs_nt.c b/source3/rpc_server/srv_ntsvcs_nt.c index 76bc24e7ba..3215f73f79 100644 --- a/source3/rpc_server/srv_ntsvcs_nt.c +++ b/source3/rpc_server/srv_ntsvcs_nt.c @@ -168,10 +168,11 @@ WERROR _ntsvcs_get_hw_profile_info( pipes_struct *p, NTSVCS_Q_GET_HW_PROFILE_INF /******************************************************************** ********************************************************************/ -WERROR _ntsvcs_hw_profile_flags( pipes_struct *p, NTSVCS_Q_HW_PROFILE_FLAGS *q_u, NTSVCS_R_HW_PROFILE_FLAGS *r_u ) -{ +WERROR _PNP_HwProfFlags(pipes_struct *p, + struct PNP_HwProfFlags *r) +{ /* just nod your head */ - + return WERR_OK; } @@ -548,16 +549,6 @@ WERROR _PNP_RequestEjectPC(pipes_struct *p, /**************************************************************** ****************************************************************/ -WERROR _PNP_HwProfFlags(pipes_struct *p, - struct PNP_HwProfFlags *r) -{ - p->rng_fault_state = true; - return WERR_NOT_SUPPORTED; -} - -/**************************************************************** -****************************************************************/ - WERROR _PNP_GetHwProfInfo(pipes_struct *p, struct PNP_GetHwProfInfo *r) { |