Fix PNP_QueryArbitratorFreeData() and PNP_QueryArbitratorFreeSize() prototypes.
[reactos.git] / reactos / include / reactos / idl / pnp.idl
index 44fd06a..b776e6d 100644 (file)
@@ -16,6 +16,13 @@ const unsigned long PNP_MAX_BUFFER_SIZE = 16000000;
 
 cpp_quote("#ifndef _CFGMGR32_H_")
 typedef unsigned long RESOURCEID;
+
+typedef struct _HWPROFILEINFO {
+    DWORD HWPI_ulHWProfile;
+    WCHAR HWPI_szFriendlyName[80];
+    DWORD HWPI_dwFlags;
+} HWPROFILEINFO;
+
 cpp_quote("#endif")
 typedef unsigned long DEVPROPTYPE;
 typedef [range(0, PNP_MAX_PROP_SIZE)] unsigned long PNP_PROP_SIZE;
@@ -242,14 +249,8 @@ typedef struct _DEVPROPKEY {
     DWORD pid;
 } DEVPROPKEY;
 
-typedef struct _HWPROFILEINFO {
-    DWORD HWPI_ulHWProfile;
-    WCHAR HWPI_szFriendlyName[80];
-    DWORD HWPI_dwFlags;
-} HWPROFILEINFO;
-
 [
-  uuid (809F4e40-A03D-11CE-8F69-08003E30051B),
+  uuid (8D9F4E40-A03D-11CE-8F69-08003E30051B),
   version(1.0),
   pointer_default(unique)
   #ifndef __midl
@@ -730,11 +731,20 @@ interface pnp
 
     /* Function 56 */
     DWORD PNP_QueryArbitratorFreeData(
-        [in] handle_t hBinding);
+        [in] handle_t hBinding,
+        [out,size_is(DataLen)] BYTE *pData,
+        [in] DWORD DataLen,
+        [in, string, ref] LPWSTR pDeviceID,
+        [in] RESOURCEID ResourceID,
+        [in] DWORD ulFlags);
 
     /* Function 57 */
     DWORD PNP_QueryArbitratorFreeSize(
-        [in] handle_t hBinding);
+        [in] handle_t hBinding,
+        [out] DWORD *pulSize,
+        [in, string, ref] LPWSTR pDeviceID,
+        [in] RESOURCEID ResourceID,
+        [in] DWORD ulFlags);
 
     /* Function 58 */
     DWORD PNP_RunDetection(