Merge commit 'origin/v3-2-test' into v3-2-stable
[ira/wip.git] / source3 / librpc / idl / ntsvcs.idl
index 1c4850b4c322ba77dfa8cbe0123e7bb909334d1e..af0c7032da3a4ecb5b7db3af6419652888c295f8 100644 (file)
@@ -22,7 +22,9 @@ interface ntsvcs
        /******************/
        /* Function: 0x02 */
 
-       WERROR PNP_GetVersion();
+       WERROR PNP_GetVersion(
+               [out,ref] uint16 *version
+               );
 
        /******************/
        /* Function: 0x03 */
@@ -42,7 +44,10 @@ interface ntsvcs
        /******************/
        /* Function: 0x06 */
 
-       WERROR PNP_ValidateDeviceInstance();
+       WERROR PNP_ValidateDeviceInstance(
+               [in,ref] [string,charset(UTF16)] uint16 *devicepath,
+               [in] uint32 flags
+               );
 
        /******************/
        /* Function: 0x07 */
@@ -67,7 +72,11 @@ interface ntsvcs
        /******************/
        /* Function: 0x0b */
 
-       WERROR PNP_GetDeviceListSize();
+       WERROR PNP_GetDeviceListSize(
+               [in,unique] [string,charset(UTF16)] uint16 *devicename,
+               [out,ref] uint32 *size,
+               [in] uint32 flags
+               );
 
        /******************/
        /* Function: 0x0c */
@@ -212,12 +221,33 @@ interface ntsvcs
        /******************/
        /* Function: 0x28 */
 
-       WERROR PNP_HwProfFlags();
+       WERROR PNP_HwProfFlags(
+               [in] uint32 unknown1,
+               [in,ref] [string,charset(UTF16)] uint16 *devicepath,
+               [in] uint32 unknown2,
+               [in,out,ref] uint32 *unknown3,
+               [in,out,unique] uint16 *unknown4,
+               [in,unique] [string,charset(UTF16)] uint16 *unknown5,
+               [out,unique] [string,charset(UTF16)] uint16 **unknown5a,
+               [in] uint32 unknown6,
+               [in] uint32 unknown7
+               );
 
        /******************/
        /* Function: 0x29 */
 
-       WERROR PNP_GetHwProfInfo();
+       typedef struct {
+               uint32 unknown1;
+               uint16 unknown2[160];
+               uint32 unknown3;
+       } PNP_HwProfInfo;
+
+       WERROR PNP_GetHwProfInfo(
+               [in] uint32 idx,
+               [in,out,ref] PNP_HwProfInfo *info,
+               [in] uint32 unknown1,
+               [in] uint32 unknown2
+               );
 
        /******************/
        /* Function: 0x2a */