]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/PlatDriOverLib.h
1. Fixed bugs in DxeNetLib to meet consistence with network module DriverBinding...
[mirror_edk2.git] / MdeModulePkg / Include / Library / PlatDriOverLib.h
index 8e6ab174d70fa5b1cd03fa37062ccd1cf2ef28c6..e6a6faf101ccecf03c5d033c1439b6615bdd0fc3 100644 (file)
@@ -24,6 +24,7 @@ Abstract:
 #include <PiDxe.h>
 #include <Protocol/PlatformDriverOverride.h>
 #include <Protocol/DevicePath.h>
+#include <Protocol/DriverBinding.h>
 #include <Library/BaseLib.h>
 
 #include <VariableFormat.h>
@@ -252,4 +253,19 @@ DeleteDriverImage (
   IN     LIST_ENTRY                                     *MappingDataBase
   );
 
+/**\r
+  Get the first Binding protocol which has the specific image handle\r
+\r
+  @param  Image          Image handle\r
+\r
+  @return Pointer into the Binding Protocol interface\r
+\r
+**/\r
+EFI_DRIVER_BINDING_PROTOCOL *\r
+EFIAPI\r
+GetBindingProtocolFromImageHandle (\r
+  IN  EFI_HANDLE   ImageHandle,\r
+  OUT EFI_HANDLE   *BindingHandle\r
+  );
+
 #endif