/* The GetAttributes() function retrieves the attributes and current settings of the block. Status Codes Returned */
EFI_STATUS EFIAPI FvbProtocolGetAttributes(IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This, OUT EFI_FVB_ATTRIBUTES_2 *Attributes)
/* The GetAttributes() function retrieves the attributes and current settings of the block. Status Codes Returned */
EFI_STATUS EFIAPI FvbProtocolGetAttributes(IN CONST EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL *This, OUT EFI_FVB_ATTRIBUTES_2 *Attributes)
{
  *Attributes =
    (EFI_FVB_ATTRIBUTES_2)(
                           EFI_FVB2_READ_ENABLED_CAP |
                           EFI_FVB2_READ_STATUS |
                           EFI_FVB2_WRITE_ENABLED_CAP |
                           EFI_FVB2_WRITE_STATUS |
                           EFI_FVB2_ERASE_POLARITY
                           );
  return EFI_SUCCESS;
}