buffer is returned in DestinationSize, the size of the scratch buffer is \r
returned in ScratchSize, and EFI_SUCCESS is returned.\r
\r
- The GetInfo() function does not have scratch buffer available to perform \r
+ The GetInfo() function does not have a scratch buffer available to perform \r
a thorough checking of the validity of the source data. It just retrieves\r
the 'Original Size' field from the beginning bytes of the source data and\r
output it as DestinationSize. And ScratchSize is specific to the decompression\r
implementation.\r
\r
- @param This The protocol instance pointer\r
+ @param This A pointer to the EFI_DECOMPRESS_PROTOCOL instance.\r
@param Source The source buffer containing the compressed data.\r
@param SourceSize The size, in bytes, of source buffer.\r
@param DestinationSize A pointer to the size, in bytes, of the uncompressed buffer\r
If the compressed source data specified by Source and SourceSize is not in \r
a valid compressed data format, then EFI_INVALID_PARAMETER is returned.\r
\r
- @param This The protocol instance pointer\r
+ @param This A pointer to the EFI_DECOMPRESS_PROTOCOL instance.\r
@param Source The source buffer containing the compressed data.\r
@param SourceSize The size of source data.\r
@param Destination On output, the destination buffer that contains\r
IN UINT32 ScratchSize\r
);\r
\r
-/**\r
- @par Protocol Description:\r
- Provides a decompression service.\r
-\r
- @param GetInfo\r
- Given the compressed source buffer, this function retrieves the\r
- size of the uncompressed destination buffer and the size of the\r
- scratch buffer required to perform the decompression. It is the\r
- caller's responsibility to allocate the destination buffer and the\r
- scratch buffer prior to calling EFI_DECOMPRESS_PROTOCOL.Decompress().\r
-\r
- @param Decompresss\r
- Decompresses a compressed source buffer into an uncompressed\r
- destination buffer. It is the caller's responsibility to allocate the\r
- destination buffer and a scratch buffer prior to making this call.\r
-**/ \r
+///\r
+/// Provides a decompression service.\r
+///\r
struct _EFI_DECOMPRESS_PROTOCOL {\r
EFI_DECOMPRESS_GET_INFO GetInfo;\r
EFI_DECOMPRESS_DECOMPRESS Decompress;\r