]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commitdiff
Copy the correct version of unplug_interface.h from XENBUS
authorPaul Durrant <pdurrant@amazon.com>
Mon, 2 Oct 2023 08:49:45 +0000 (09:49 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 2 Oct 2023 08:53:22 +0000 (09:53 +0100)
The current header contains an incoorrect method name. The method is currently
unused, so no actual harm came of this error.

Fixes: 8d8f73311fe5 ("Remove CoInstaller from INF")
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
include/unplug_interface.h

index 9bad29079449b3a161b45a350d7274b42f1f3e5f..e99b406b4a3a1e4a6b78925ee864f680992a51fe 100644 (file)
@@ -85,16 +85,16 @@ typedef VOID
     IN  BOOLEAN                     Make
     );
 
-/*! \typedef XENBUS_UNPLUG_GETSTATE
+/*! \typedef XENBUS_UNPLUG_IS_REQUESTED
     \brief Has a type of emulated device been unplugged
 
     \param Interface The interface header
     \param Type The type of device
 
-    \return TRUE The type of device has been unplugged this boot
+    \return TRUE The type of device has been unplugged this boot.
 */
 typedef BOOLEAN
-(*XENBUS_UNPLUG_GETSTATE)(
+(*XENBUS_UNPLUG_IS_REQUESTED)(
     IN  PINTERFACE                  Interface,
     IN  XENBUS_UNPLUG_DEVICE_TYPE   Type
     );
@@ -119,11 +119,11 @@ struct _XENBUS_UNPLUG_INTERFACE_V1 {
     \ingroup interfaces
 */
 struct _XENBUS_UNPLUG_INTERFACE_V2 {
-    INTERFACE               Interface;
-    XENBUS_UNPLUG_ACQUIRE   UnplugAcquire;
-    XENBUS_UNPLUG_RELEASE   UnplugRelease;
-    XENBUS_UNPLUG_REQUEST   UnplugRequest;
-    XENBUS_UNPLUG_GETSTATE  UnplugGetState;
+    INTERFACE                   Interface;
+    XENBUS_UNPLUG_ACQUIRE       UnplugAcquire;
+    XENBUS_UNPLUG_RELEASE       UnplugRelease;
+    XENBUS_UNPLUG_REQUEST       UnplugRequest;
+    XENBUS_UNPLUG_IS_REQUESTED  UnplugIsRequested;
 };
 
 typedef struct _XENBUS_UNPLUG_INTERFACE_V2 XENBUS_UNPLUG_INTERFACE, *PXENBUS_UNPLUG_INTERFACE;