summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_ntsvcs_nt.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-18 01:32:29 +0100
committerGünther Deschner <gd@samba.org>2008-02-18 01:38:29 +0100
commit6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c (patch)
treea8a679bfc1aae1ac627dc315b10e2d6c86d56cc7 /source3/rpc_server/srv_ntsvcs_nt.c
parent4149868f8567a6735fde4b4fae807845e72473eb (diff)
downloadsamba-6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c.tar.gz
samba-6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c.tar.bz2
samba-6dfca8485dd6f8cfa1f6079c092f45ac79f5b86c.zip
Use pidl for _PNP_GetHwProfInfo().
Guenther (This used to be commit 7b7ce50e4bd8bc1ac94e882acf412e69b652f7d0)
Diffstat (limited to 'source3/rpc_server/srv_ntsvcs_nt.c')
-rw-r--r--source3/rpc_server/srv_ntsvcs_nt.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/source3/rpc_server/srv_ntsvcs_nt.c b/source3/rpc_server/srv_ntsvcs_nt.c
index 3215f73f79..11ea5d0cd1 100644
--- a/source3/rpc_server/srv_ntsvcs_nt.c
+++ b/source3/rpc_server/srv_ntsvcs_nt.c
@@ -153,12 +153,12 @@ WERROR _PNP_ValidateDeviceInstance(pipes_struct *p,
/********************************************************************
********************************************************************/
-WERROR _ntsvcs_get_hw_profile_info( pipes_struct *p, NTSVCS_Q_GET_HW_PROFILE_INFO *q_u, NTSVCS_R_GET_HW_PROFILE_INFO *r_u )
+WERROR _PNP_GetHwProfInfo(pipes_struct *p,
+ struct PNP_GetHwProfInfo *r)
{
/* steal the incoming buffer */
- r_u->buffer_size = q_u->buffer_size;
- r_u->buffer = q_u->buffer;
+ r->out.info = r->in.info;
/* Take the 5th Ammentment */
@@ -549,16 +549,6 @@ WERROR _PNP_RequestEjectPC(pipes_struct *p,
/****************************************************************
****************************************************************/
-WERROR _PNP_GetHwProfInfo(pipes_struct *p,
- struct PNP_GetHwProfInfo *r)
-{
- p->rng_fault_state = true;
- return WERR_NOT_SUPPORTED;
-}
-
-/****************************************************************
-****************************************************************/
-
WERROR _PNP_AddEmptyLogConf(pipes_struct *p,
struct PNP_AddEmptyLogConf *r)
{