/* The destructor function closes the End of DXE event. */
EFI_STATUS EFIAPI DxeCapsuleLibDestructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
/* The destructor function closes the End of DXE event. */
EFI_STATUS EFIAPI DxeCapsuleLibDestructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
{
  EFI_STATUS  Status;
  Status = gBS->CloseEvent (mDxeCapsuleLibEndOfDxeEvent);
  ASSERT_EFI_ERROR (Status);
  return EFI_SUCCESS;
}