/* Retrieves Volume attributes. No polarity translations are done. */
EFI_STATUS EFIAPI FwVolBlockGetAttributes(IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, OUT EFI_FVB_ATTRIBUTES_2 *Attributes)
/* Retrieves Volume attributes. No polarity translations are done. */
EFI_STATUS EFIAPI FwVolBlockGetAttributes(IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, OUT EFI_FVB_ATTRIBUTES_2 *Attributes)
{
  EFI_FW_VOL_BLOCK_DEVICE  *FvbDevice;
  FvbDevice = FVB_DEVICE_FROM_THIS (This);
  *Attributes = FvbDevice->FvbAttributes & ~EFI_FVB2_WRITE_STATUS;
  return EFI_SUCCESS;
}