diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index b6750e4f8a..354cf3192c 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -1151,12 +1151,13 @@ EfiLibInstallDriverBindingComponentName2 ( Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols. Initializes a driver by installing the Driver Binding Protocol together with the optional - Component Name, optional Component Name 2, optional Driver Configuration, optional Driver - Configuration 2, optional Driver Diagnostic, and optional Driver Diagnostic 2 Protocols - onto the driver's DriverBindingHandle. DriverBindingHandle is typically the same as the - driver's ImageHandle, but it can be different if the driver produces multiple Driver Binding Protocols. + Component Name, optional Component Name 2, optional Driver Configuration, optional Driver Configuration 2, + optional Driver Diagnostic, and optional Driver Diagnostic 2 Protocols onto the driver's DriverBindingHandle. + DriverBindingHandle is typically the same as the driver's ImageHandle, but it can be different if the driver + produces multiple Driver Binding Protocols. If DriverBinding is NULL, then ASSERT(). - If the installation fails, then ASSERT(). + If the installation fails, then ASSERT(). + @param ImageHandle The image handle of the driver. @param SystemTable The EFI System Table that was passed to the driver's entry point. diff --git a/MdePkg/Library/UefiLib/UefiDriverModel.c b/MdePkg/Library/UefiLib/UefiDriverModel.c index 28037b6058..c765317d6d 100644 --- a/MdePkg/Library/UefiLib/UefiDriverModel.c +++ b/MdePkg/Library/UefiLib/UefiDriverModel.c @@ -295,12 +295,13 @@ EfiLibInstallDriverBindingComponentName2 ( Configuration, Driver Configuration 2, Driver Diagnostics, and Driver Diagnostics 2 Protocols. Initializes a driver by installing the Driver Binding Protocol together with the optional - Component Name, optional Component Name 2, optional Driver Configuration, optional Driver - Configuration 2, optional Driver Diagnostic, and optional Driver Diagnostic 2 Protocols - onto the driver's DriverBindingHandle. DriverBindingHandle is typically the same as the - driver's ImageHandle, but it can be different if the driver produces multiple Driver Binding Protocols. + Component Name, optional Component Name 2, optional Driver Configuration, optional Driver Configuration 2, + optional Driver Diagnostic, and optional Driver Diagnostic 2 Protocols onto the driver's DriverBindingHandle. + DriverBindingHandle is typically the same as the driver's ImageHandle, but it can be different if the driver + produces multiple Driver Binding Protocols. If DriverBinding is NULL, then ASSERT(). - If the installation fails, then ASSERT(). + If the installation fails, then ASSERT(). + @param ImageHandle The image handle of the driver. @param SystemTable The EFI System Table that was passed to the driver's entry point.