diff options
author | Günther Deschner <gd@samba.org> | 2008-02-18 01:32:29 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-18 01:38:29 +0100 |
commit | 6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c (patch) | |
tree | a8a679bfc1aae1ac627dc315b10e2d6c86d56cc7 /source3/rpc_server/srv_ntsvcs.c | |
parent | 4149868f8567a6735fde4b4fae807845e72473eb (diff) | |
download | samba-6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c.tar.gz samba-6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c.tar.xz samba-6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c.zip |
Use pidl for _PNP_GetHwProfInfo().
Guenther
(This used to be commit 7b7ce50e4bd8bc1ac94e882acf412e69b652f7d0)
Diffstat (limited to 'source3/rpc_server/srv_ntsvcs.c')
-rw-r--r-- | source3/rpc_server/srv_ntsvcs.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/rpc_server/srv_ntsvcs.c b/source3/rpc_server/srv_ntsvcs.c index 31d7408df0..12fffc3e96 100644 --- a/source3/rpc_server/srv_ntsvcs.c +++ b/source3/rpc_server/srv_ntsvcs.c @@ -120,23 +120,7 @@ static bool api_ntsvcs_get_device_reg_property(pipes_struct *p) static bool api_ntsvcs_get_hw_profile_info(pipes_struct *p) { - NTSVCS_Q_GET_HW_PROFILE_INFO q_u; - NTSVCS_R_GET_HW_PROFILE_INFO 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_get_hw_profile_info("", &q_u, data, 0)) - return False; - - r_u.status = _ntsvcs_get_hw_profile_info(p, &q_u, &r_u); - - if(!ntsvcs_io_r_get_hw_profile_info("", &r_u, rdata, 0)) - return False; - - return True; + return proxy_ntsvcs_call(p, NDR_PNP_GETHWPROFINFO); } /******************************************************************* |