summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_ntsvcs.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-11-19 15:06:05 -0800
committerJeremy Allison <jra@samba.org>2008-11-19 15:06:05 -0800
commit804e63909bc3c9e4e2ca67f67eb56a1422f85fba (patch)
tree32a567b8ecfbafbe5938fd9a99a3565c2eeb77e6 /source3/rpc_server/srv_ntsvcs.c
parent31a8c4df1305b63729e49a61e27bc9e1825af0d0 (diff)
parentf9d691d9d808ec2f91f3f469fe2201b0909a8552 (diff)
downloadsamba-804e63909bc3c9e4e2ca67f67eb56a1422f85fba.tar.gz
samba-804e63909bc3c9e4e2ca67f67eb56a1422f85fba.tar.bz2
samba-804e63909bc3c9e4e2ca67f67eb56a1422f85fba.zip
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Diffstat (limited to 'source3/rpc_server/srv_ntsvcs.c')
-rw-r--r--source3/rpc_server/srv_ntsvcs.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/rpc_server/srv_ntsvcs.c b/source3/rpc_server/srv_ntsvcs.c
index 5010990b58..840da3eec4 100644
--- a/source3/rpc_server/srv_ntsvcs.c
+++ b/source3/rpc_server/srv_ntsvcs.c
@@ -97,23 +97,7 @@ static bool api_ntsvcs_validate_device_instance(pipes_struct *p)
static bool api_ntsvcs_get_device_reg_property(pipes_struct *p)
{
- NTSVCS_Q_GET_DEVICE_REG_PROPERTY q_u;
- NTSVCS_R_GET_DEVICE_REG_PROPERTY 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_device_reg_property("", &q_u, data, 0))
- return False;
-
- r_u.status = _ntsvcs_get_device_reg_property(p, &q_u, &r_u);
-
- if(!ntsvcs_io_r_get_device_reg_property("", &r_u, rdata, 0))
- return False;
-
- return True;
+ return proxy_ntsvcs_call(p, NDR_PNP_GETDEVICEREGPROP);
}
/*******************************************************************