Fix PNP_QueryArbitratorFreeData() and PNP_QueryArbitratorFreeSize() prototypes.
authorEric Kohl <eric.kohl@reactos.org>
Sun, 6 Mar 2011 14:15:41 +0000 (14:15 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 6 Mar 2011 14:15:41 +0000 (14:15 +0000)
svn path=/trunk/; revision=50984

reactos/base/services/umpnpmgr/umpnpmgr.c
reactos/include/reactos/idl/pnp.idl

index dc4463c..64d8b45 100644 (file)
@@ -1855,7 +1855,12 @@ DWORD PNP_SetHwProf(
 
 /* Function 56 */
 DWORD PNP_QueryArbitratorFreeData(
-    handle_t hBinding)
+    handle_t hBinding,
+    BYTE *pData,
+    DWORD DataLen,
+    LPWSTR pDeviceID,
+    RESOURCEID ResourceID,
+    DWORD ulFlags)
 {
     UNIMPLEMENTED;
     return CR_CALL_NOT_IMPLEMENTED;
@@ -1864,7 +1869,11 @@ DWORD PNP_QueryArbitratorFreeData(
 
 /* Function 57 */
 DWORD PNP_QueryArbitratorFreeSize(
-    handle_t hBinding)
+    handle_t hBinding,
+    DWORD *pulSize,
+    LPWSTR pDeviceID,
+    RESOURCEID ResourceID,
+    DWORD ulFlags)
 {
     UNIMPLEMENTED;
     return CR_CALL_NOT_IMPLEMENTED;
index daef2a2..b776e6d 100644 (file)
@@ -731,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(