[ros-diffs] [hpoussin] 34751: Update IDL file with new MS Vista functions

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Thu Jul 24 21:50:10 CEST 2008


Author: hpoussin
Date: Thu Jul 24 14:50:09 2008
New Revision: 34751

URL: http://svn.reactos.org/svn/reactos?rev=34751&view=rev
Log:
Update IDL file with new MS Vista functions

Modified:
    trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
    trunk/reactos/include/reactos/idl/pnp.idl

Modified: trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/umpnpmgr/umpnpmgr.c?rev=34751&r1=34750&r2=34751&view=diff
==============================================================================
--- trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] Thu Jul 24 14:50:09 2008
@@ -160,7 +160,7 @@
 
 
 /* Function 0 */
-DWORD PNP_Function0(
+DWORD PNP_Disconnect(
     handle_t hBinding)
 {
     UNREFERENCED_PARAMETER(hBinding);
@@ -170,7 +170,7 @@
 
 
 /* Function 1 */
-DWORD PNP_Function1(
+DWORD PNP_Connect(
     handle_t hBinding)
 {
     UNREFERENCED_PARAMETER(hBinding);
@@ -1681,7 +1681,7 @@
 
 
 /* Function 55 */
-DWORD PNP_Function55(
+DWORD PNP_SetHwProf(
     handle_t hBinding)
 {
     UNIMPLEMENTED;
@@ -1690,7 +1690,7 @@
 
 
 /* Function 56 */
-DWORD PNP_Function56(
+DWORD PNP_QueryArbitratorFreeData(
     handle_t hBinding)
 {
     UNIMPLEMENTED;
@@ -1699,7 +1699,7 @@
 
 
 /* Function 57 */
-DWORD PNP_Function57(
+DWORD PNP_QueryArbitratorFreeSize(
     handle_t hBinding)
 {
     UNIMPLEMENTED;
@@ -1710,7 +1710,7 @@
 /* Function 58 */
 CONFIGRET
 PNP_RunDetection(
-    handle_t BindingHandle,
+    handle_t hBinding,
     DWORD ulFlags)
 {
     UNIMPLEMENTED;
@@ -1719,7 +1719,7 @@
 
 
 /* Function 59 */
-DWORD PNP_Function59(
+DWORD PNP_RegisterNotification(
     handle_t hBinding)
 {
     UNIMPLEMENTED;
@@ -1728,7 +1728,7 @@
 
 
 /* Function 60 */
-DWORD PNP_Function60(
+DWORD PNP_UnregisterNotification(
     handle_t hBinding)
 {
     UNIMPLEMENTED;
@@ -1831,6 +1831,69 @@
     PNP_PROP_SIZE PropertySize,
     BYTE *PropertyBuffer,
     DWORD Flags)
+{
+    UNIMPLEMENTED;
+    return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/* Function 68 */
+DWORD PNP_InstallDevInst(
+    handle_t hBinding)
+{
+    UNIMPLEMENTED;
+    return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/* Function 69 */
+DWORD PNP_ApplyPowerSettings(
+    handle_t hBinding)
+{
+    UNIMPLEMENTED;
+    return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/* Function 70 */
+DWORD PNP_DriverStoreAddDriverPackage(
+    handle_t hBinding)
+{
+    UNIMPLEMENTED;
+    return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/* Function 71 */
+DWORD PNP_DriverStoreDeleteDriverPackage(
+    handle_t hBinding)
+{
+    UNIMPLEMENTED;
+    return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/* Function 72 */
+DWORD PNP_RegisterServiceNotification(
+    handle_t hBinding)
+{
+    UNIMPLEMENTED;
+    return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/* Function 73 */
+DWORD PNP_SetActiveService(
+    handle_t hBinding)
+{
+    UNIMPLEMENTED;
+    return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/* Function 74 */
+DWORD PNP_DeleteServiceDevices(
+    handle_t hBinding)
 {
     UNIMPLEMENTED;
     return CR_CALL_NOT_IMPLEMENTED;

Modified: trunk/reactos/include/reactos/idl/pnp.idl
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/idl/pnp.idl?rev=34751&r1=34750&r2=34751&view=diff
==============================================================================
--- trunk/reactos/include/reactos/idl/pnp.idl [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/idl/pnp.idl [iso-8859-1] Thu Jul 24 14:50:09 2008
@@ -253,11 +253,11 @@
 interface pnp
 {
     /* Function 0 */
-    DWORD PNP_Function0(
+    DWORD PNP_Disconnect(
         [in] handle_t hBinding); /* FIXME */
 
     /* Function 1 */
-    DWORD PNP_Function1(
+    DWORD PNP_Connect(
         [in] handle_t hBinding); /* FIXME */
 
     /* Function 2 */
@@ -716,15 +716,15 @@
         [in] DWORD ulFlags);
 
     /* Function 55 */
-    DWORD PNP_Function55(
+    DWORD PNP_SetHwProf(
         [in] handle_t hBinding);
 
     /* Function 56 */
-    DWORD PNP_Function56(
+    DWORD PNP_QueryArbitratorFreeData(
         [in] handle_t hBinding);
 
     /* Function 57 */
-    DWORD PNP_Function57(
+    DWORD PNP_QueryArbitratorFreeSize(
         [in] handle_t hBinding);
 
     /* Function 58 */
@@ -733,12 +733,14 @@
         [in] DWORD ulFlags);
 
     /* Function 59 */
-    DWORD PNP_Function59(
+    DWORD PNP_RegisterNotification(
         [in] handle_t hBinding);
 
     /* Function 60 */
-    DWORD PNP_Function60(
+    DWORD PNP_UnregisterNotification(
         [in] handle_t hBinding);
+
+cpp_quote("#if _WIN32_WINNT >= 0x0501")
 
     /* Function 61 */
     DWORD PNP_GetCustomDevProp(
@@ -769,6 +771,8 @@
         [in] handle_t hBinding,
         [out] DWORD *pulSSDIFlags,
         [in] DWORD ulFlags);
+
+cpp_quote("#if _WIN32_WINNT >= 0x0600")
 
     /* Function 65 */
     DWORD PNP_GetObjectPropKeys(
@@ -805,4 +809,36 @@
         [in] PNP_PROP_SIZE PropertySize,
         [in, unique, size_is(PropertySize)] BYTE *PropertyBuffer,
         [in] DWORD Flags);
+
+    /* Function 68 */
+    DWORD PNP_InstallDevInst(
+        [in] handle_t hBinding); /* FIXME */
+
+    /* Function 69 */
+    DWORD PNP_ApplyPowerSettings(
+        [in] handle_t hBinding); /* FIXME */
+
+    /* Function 70 */
+    DWORD PNP_DriverStoreAddDriverPackage(
+        [in] handle_t hBinding); /* FIXME */
+
+    /* Function 71 */
+    DWORD PNP_DriverStoreDeleteDriverPackage(
+        [in] handle_t hBinding); /* FIXME */
+
+    /* Function 72 */
+    DWORD PNP_RegisterServiceNotification(
+        [in] handle_t hBinding); /* FIXME */
+
+    /* Function 73 */
+    DWORD PNP_SetActiveService(
+        [in] handle_t hBinding); /* FIXME */
+
+    /* Function 74 */
+    DWORD PNP_DeleteServiceDevices(
+        [in] handle_t hBinding); /* FIXME */
+
+cpp_quote("#endif /* WIN32_WINNT >= 0x0600 */")
+cpp_quote("#endif /* WIN32_WINNT >= 0x0501 */")
+
 }



More information about the Ros-diffs mailing list