summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_ntsvcs.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-26 11:35:44 +0100
committerGünther Deschner <gd@samba.org>2008-03-26 12:17:17 +0100
commit300cd87ce18fd1560d34b0ecae920312cba6ba83 (patch)
tree050accd96b822f79ab45902935e1aa53fdd17fac /source3/librpc/gen_ndr/cli_ntsvcs.c
parent82ab936f6a0282004c936da6d3721290a1e4f539 (diff)
downloadsamba-300cd87ce18fd1560d34b0ecae920312cba6ba83.tar.gz
samba-300cd87ce18fd1560d34b0ecae920312cba6ba83.tar.bz2
samba-300cd87ce18fd1560d34b0ecae920312cba6ba83.zip
Re-run make idl.
Guenther (This used to be commit f67632f9b244800007bfaef9cc2ab932fda78b3c)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_ntsvcs.c')
-rw-r--r--source3/librpc/gen_ndr/cli_ntsvcs.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/cli_ntsvcs.c b/source3/librpc/gen_ndr/cli_ntsvcs.c
index 615cdb64c9..864caef1f3 100644
--- a/source3/librpc/gen_ndr/cli_ntsvcs.c
+++ b/source3/librpc/gen_ndr/cli_ntsvcs.c
@@ -566,12 +566,25 @@ NTSTATUS rpccli_PNP_GetDepth(struct rpc_pipe_client *cli,
NTSTATUS rpccli_PNP_GetDeviceRegProp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
+ const char *devicepath /* [in] [ref,charset(UTF16)] */,
+ uint32_t property /* [in] */,
+ uint32_t *unknown1 /* [in,out] [ref] */,
+ uint8_t *buffer /* [out] [ref,length_is(*buffer_size),size_is(*buffer_size)] */,
+ uint32_t *buffer_size /* [in,out] [ref] */,
+ uint32_t *needed /* [in,out] [ref] */,
+ uint32_t unknown3 /* [in] */,
WERROR *werror)
{
struct PNP_GetDeviceRegProp r;
NTSTATUS status;
/* In parameters */
+ r.in.devicepath = devicepath;
+ r.in.property = property;
+ r.in.unknown1 = unknown1;
+ r.in.buffer_size = buffer_size;
+ r.in.needed = needed;
+ r.in.unknown3 = unknown3;
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_GetDeviceRegProp, &r);
@@ -597,6 +610,10 @@ NTSTATUS rpccli_PNP_GetDeviceRegProp(struct rpc_pipe_client *cli,
}
/* Return variables */
+ *unknown1 = *r.out.unknown1;
+ memcpy(buffer, r.out.buffer, *r.in.buffer_size);
+ *buffer_size = *r.out.buffer_size;
+ *needed = *r.out.needed;
/* Return result */
if (werror) {