Efi_decompress_protocol.getinfo(), Getinfo(), Func – Intel Extensible Firmware Interface User Manual
Page 757

Protocols
— Compression Algorithm Specification
Version 1.10
12/01/02
17-17
EFI_DECOMPRESS_PROTOCOL.GetInfo()
Summary
Given a compressed source buffer, this function retrieves the size of the uncompressed buffer and
the size of the scratch buffer required to decompress the compressed source buffer.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_DECOMPRESS_GET_INFO) (
IN EFI_DECOMPRESS_PROTOCOL
*This,
IN VOID
*Source,
IN UINT32
SourceSize,
OUT UINT32
*DestinationSize,
OUT UINT32
*ScratchSize
);
Parameters
This
A pointer to the
instance.
Type
EFI_DECOMPRESS_PROTOCOL
is defined in
Section 17.5.
Source
The source buffer containing the compressed data.
SourceSize
The size, in bytes, of the source buffer.
DestinationSize
A pointer to the size, in bytes, of the uncompressed buffer that
will be generated when the compressed buffer specified by
Source
and
SourceSize
is decompressed.
ScratchSize
A pointer to the size, in bytes, of the scratch buffer that is
required to decompress the compressed buffer specified by
Source
and
SourceSize.