VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h@ 58464

最後變更 在這個檔案從58464是 48674,由 vboxsync 提交於 12 年 前

EFI: Export newly imported tinaocore UEFI sources to OSE.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.3 KB
 
1/** @file
2 Header file for compression routine.
3
4 Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#ifndef _EFI_SHELL_COMPRESS_H_
16#define _EFI_SHELL_COMPRESS_H_
17
18/**
19 The compression routine.
20
21 @param[in] SrcBuffer The buffer containing the source data.
22 @param[in] SrcSize Number of bytes in SrcBuffer.
23 @param[in] DstBuffer The buffer to put the compressed image in.
24 @param[in, out] DstSize On input the size (in bytes) of DstBuffer, on
25 return the number of bytes placed in DstBuffer.
26
27 @retval EFI_SUCCESS The compression was sucessful.
28 @retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required.
29**/
30EFI_STATUS
31EFIAPI
32Compress (
33 IN VOID *SrcBuffer,
34 IN UINT64 SrcSize,
35 IN VOID *DstBuffer,
36 IN OUT UINT64 *DstSize
37 );
38
39#endif
40
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette