diff options
author | Günther Deschner <gd@samba.org> | 2008-02-17 23:17:51 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-17 23:29:56 +0100 |
commit | 3758f06d0f56a1ff86073e91c584e0153d53fd9e (patch) | |
tree | a1280c00a401ffcad9c40f1543bed0519e38321d /source3/rpc_server/srv_ntsvcs_nt.c | |
parent | e99f740b0ab5eef11cb3ae1f432dc9669b0a753a (diff) | |
download | samba-3758f06d0f56a1ff86073e91c584e0153d53fd9e.tar.gz samba-3758f06d0f56a1ff86073e91c584e0153d53fd9e.tar.bz2 samba-3758f06d0f56a1ff86073e91c584e0153d53fd9e.zip |
Use pidl for _PNP_GetVersion().
Guenther
(This used to be commit 5300ff01b9098ccd78cb38b4d6abc85b2d340a55)
Diffstat (limited to 'source3/rpc_server/srv_ntsvcs_nt.c')
-rw-r--r-- | source3/rpc_server/srv_ntsvcs_nt.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/source3/rpc_server/srv_ntsvcs_nt.c b/source3/rpc_server/srv_ntsvcs_nt.c index c7ca0df097..0cf2e5cc19 100644 --- a/source3/rpc_server/srv_ntsvcs_nt.c +++ b/source3/rpc_server/srv_ntsvcs_nt.c @@ -34,10 +34,11 @@ static char* get_device_path(TALLOC_CTX *mem_ctx, const char *device ) /******************************************************************** ********************************************************************/ -WERROR _ntsvcs_get_version( pipes_struct *p, NTSVCS_Q_GET_VERSION *q_u, NTSVCS_R_GET_VERSION *r_u ) +WERROR _PNP_GetVersion(pipes_struct *p, + struct PNP_GetVersion *r) { - r_u->version = 0x00000400; /* no idea what this means */ - + *r->out.version = 0x0400; /* no idea what this means */ + return WERR_OK; } @@ -197,16 +198,6 @@ WERROR _PNP_Connect(pipes_struct *p, /**************************************************************** ****************************************************************/ -WERROR _PNP_GetVersion(pipes_struct *p, - struct PNP_GetVersion *r) -{ - p->rng_fault_state = true; - return WERR_NOT_SUPPORTED; -} - -/**************************************************************** -****************************************************************/ - WERROR _PNP_GetGlobalState(pipes_struct *p, struct PNP_GetGlobalState *r) { |