From: Paul Durrant Date: Mon, 2 Oct 2023 08:49:45 +0000 (+0100) Subject: Copy the correct version of unplug_interface.h from XENBUS X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3aa369c813b6f35562aa6902f793eb613c10824b;p=pvdrivers%2Fwin%2Fxenvbd.git Copy the correct version of unplug_interface.h from XENBUS 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 --- diff --git a/include/unplug_interface.h b/include/unplug_interface.h index 9bad290..e99b406 100644 --- a/include/unplug_interface.h +++ b/include/unplug_interface.h @@ -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;