12#ifndef __FMP_DEVICE_LIB__
13#define __FMP_DEVICE_LIB__
135 IN OUT VOID **Context
209 OUT UINT64 *Supported,
244 OUT UINT32 *LowestSupportedVersion
276 OUT CHAR16 **VersionString
334 OUT UINT64 *HardwareInstance
403 OUT UINT32 *ImageUpdatable
445 OUT UINT32 *ImageUpdatable,
446 OUT UINT32 *LastAttemptStatus
506 IN CONST VOID *VendorCode OPTIONAL,
508 IN UINT32 CapsuleFwVersion,
509 OUT CHAR16 **AbortReason
580 IN CONST VOID *VendorCode OPTIONAL,
582 IN UINT32 CapsuleFwVersion,
583 OUT CHAR16 **AbortReason,
584 OUT UINT32 *LastAttemptStatus
EFI_STATUS(EFIAPI * EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS)(IN UINTN Completion)
EFI_STATUS EFIAPI FmpDeviceGetImage(OUT VOID *Image, IN OUT UINTN *ImageSize)
EFI_STATUS EFIAPI FmpDeviceSetImageWithStatus(IN CONST VOID *Image, IN UINTN ImageSize, IN CONST VOID *VendorCode OPTIONAL, IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL, IN UINT32 CapsuleFwVersion, OUT CHAR16 **AbortReason, OUT UINT32 *LastAttemptStatus)
EFI_STATUS EFIAPI FmpDeviceGetSize(OUT UINTN *Size)
EFI_STATUS EFIAPI FmpDeviceCheckImage(IN CONST VOID *Image, IN UINTN ImageSize, OUT UINT32 *ImageUpdatable)
EFI_STATUS EFIAPI FmpDeviceLock(VOID)
EFI_STATUS EFIAPI FmpDeviceGetVersion(OUT UINT32 *Version)
EFI_STATUS EFIAPI FmpDeviceCheckImageWithStatus(IN CONST VOID *Image, IN UINTN ImageSize, OUT UINT32 *ImageUpdatable, OUT UINT32 *LastAttemptStatus)
EFI_STATUS EFIAPI FmpDeviceGetAttributes(OUT UINT64 *Supported, OUT UINT64 *Setting)
EFI_STATUS EFIAPI RegisterFmpInstaller(IN FMP_DEVICE_LIB_REGISTER_FMP_INSTALLER FmpInstaller)
EFI_STATUS EFIAPI FmpDeviceSetImage(IN CONST VOID *Image, IN UINTN ImageSize, IN CONST VOID *VendorCode OPTIONAL, IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL, IN UINT32 CapsuleFwVersion, OUT CHAR16 **AbortReason)
EFI_STATUS(EFIAPI * FMP_DEVICE_LIB_REGISTER_FMP_UNINSTALLER)(IN EFI_HANDLE Handle)
EFI_STATUS EFIAPI FmpDeviceGetHardwareInstance(OUT UINT64 *HardwareInstance)
EFI_STATUS EFIAPI FmpDeviceSetContext(IN EFI_HANDLE Handle, IN OUT VOID **Context)
EFI_STATUS EFIAPI FmpDeviceGetLowestSupportedVersion(OUT UINT32 *LowestSupportedVersion)
EFI_STATUS EFIAPI FmpDeviceGetVersionString(OUT CHAR16 **VersionString)
EFI_STATUS EFIAPI FmpDeviceGetImageTypeIdGuidPtr(OUT EFI_GUID **Guid)
EFI_STATUS EFIAPI RegisterFmpUninstaller(IN FMP_DEVICE_LIB_REGISTER_FMP_UNINSTALLER FmpUninstaller)
EFI_STATUS(EFIAPI * FMP_DEVICE_LIB_REGISTER_FMP_INSTALLER)(IN EFI_HANDLE Handle)