]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c
Add function headers in UefiDriverModuleLib
[mirror_edk2.git] / MdePkg / Library / UefiDriverModelLib / UefiDriverModelLib.c
index 9b96f28fb1ccf019200856ba42494f7c2a71fd32..17d20b79a25f1cf2a3fb79bce1ec8d75102c05ad 100644 (file)
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
-  Module Name:  EfiDriverModelLib.c\r
+  Module Name:  UefiDriverModelLib.c\r
 \r
 **/\r
 \r
 \r
 \r
 /**\r
+  The constructor function installs the standard EFI Driver Model Protocols.\r
+\r
+  @param[in] ImageHandle The firmware allocated handle for the EFI image.  \r
+  @param[in] SystemTable A pointer to the EFI System Table.\r
+  \r
+  @retval EFI_SUCCESS The constructor always return EFI_SUCCESS.\r
+\r
 **/\r
 EFI_STATUS\r
 UefiDriverModelLibConstructor (\r
@@ -221,6 +228,13 @@ UefiDriverModelLibConstructor (
 }\r
 \r
 /**\r
+  The destructor function uninstalls the standard EFI Driver Model Protocols.\r
+\r
+  @param[in] ImageHandle The firmware allocated handle for the EFI image.  \r
+  @param[in] SystemTable A pointer to the EFI System Table.\r
+  \r
+  @retval EFI_SUCCESS The constructor always return EFI_SUCCESS.\r
+\r
 **/\r
 EFI_STATUS\r
 UefiDriverModelLibDestructor (\r