summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_ntsvcs.c
diff options
context:
space:
mode:
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) {