]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fill in IDL for PNP_GetDeviceRegProp.
authorGünther Deschner <gd@samba.org>
Mon, 18 Feb 2008 01:37:26 +0000 (02:37 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 26 Mar 2008 11:17:16 +0000 (12:17 +0100)
Guenther

source/include/rpc_ntsvcs.h
source/librpc/idl/ntsvcs.idl

index 71274cc380ebf70b3517e5631b7814d6376a3c69..0056d16eb9639a3718f1ecb6a326c593835cb078 100644 (file)
@@ -49,8 +49,6 @@ typedef struct {
 
 /**************************/
 
-#define DEV_REGPROP_DESC       1
-
 typedef struct {
        UNISTR2 devicepath;
        uint32 property;
index af0c7032da3a4ecb5b7db3af6419652888c295f8..bac2549c737ca50bd410912990aa406b16d3a49e 100644 (file)
@@ -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 */