summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-18 02:37:26 +0100
committerGünther Deschner <gd@samba.org>2008-03-26 12:17:16 +0100
commit82ab936f6a0282004c936da6d3721290a1e4f539 (patch)
treef9b6f780c78a0b57f74520eba22632e86476e4aa /source3
parentce8da6978e15a94cfb843cc7787b12c4fa38df31 (diff)
downloadsamba-82ab936f6a0282004c936da6d3721290a1e4f539.tar.gz
samba-82ab936f6a0282004c936da6d3721290a1e4f539.tar.bz2
samba-82ab936f6a0282004c936da6d3721290a1e4f539.zip
Fill in IDL for PNP_GetDeviceRegProp.
Guenther (This used to be commit b1b6e93aa1f1b6d80969b6e5dd8f723e21ae8ce8)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_ntsvcs.h2
-rw-r--r--source3/librpc/idl/ntsvcs.idl13
2 files changed, 11 insertions, 4 deletions
diff --git a/source3/include/rpc_ntsvcs.h b/source3/include/rpc_ntsvcs.h
index 71274cc380..0056d16eb9 100644
--- a/source3/include/rpc_ntsvcs.h
+++ b/source3/include/rpc_ntsvcs.h
@@ -49,8 +49,6 @@ typedef struct {
/**************************/
-#define DEV_REGPROP_DESC 1
-
typedef struct {
UNISTR2 devicepath;
uint32 property;
diff --git a/source3/librpc/idl/ntsvcs.idl b/source3/librpc/idl/ntsvcs.idl
index af0c7032da..bac2549c73 100644
--- a/source3/librpc/idl/ntsvcs.idl
+++ b/source3/librpc/idl/ntsvcs.idl
@@ -1,7 +1,6 @@
/*
plug and play services
*/
-
[
uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"),
version(1.0),
@@ -86,7 +85,17 @@ interface ntsvcs
/******************/
/* Function: 0x0d */
- WERROR PNP_GetDeviceRegProp();
+ const int DEV_REGPROP_DESC = 1;
+
+ WERROR PNP_GetDeviceRegProp(
+ [in,ref] [string,charset(UTF16)] uint16 *devicepath,
+ [in] uint32 property,
+ [in,out,ref] uint32 *unknown1,
+ [out,ref] [size_is(*buffer_size)] [length_is(*buffer_size)] uint8 *buffer,
+ [in,out,ref] uint32 *buffer_size,
+ [in,out,ref] uint32 *needed,
+ [in] uint32 unknown3
+ );
/******************/
/* Function: 0x0e */