]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / Clipboard.h
CommitLineData
632820d1 1/** @file\r
ba0014b9 2 Defines DiskImage - the view of the file that is visible at any point,\r
632820d1 3 as well as the event handlers for editing the file\r
ba0014b9
LG
4\r
5 Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved. <BR>\r
56ba3746 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
632820d1 7\r
8**/\r
9\r
10#ifndef _LIB_CLIP_BOARD_H_\r
11#define _LIB_CLIP_BOARD_H_\r
12\r
13#include "HexEditor.h"\r
14\r
a1d4bfcc 15/**\r
16 Initialization function for HDiskImage\r
17\r
18 @param[in] EFI_SUCCESS The operation was successful.\r
a048af3c 19 @param[in] EFI_LOAD_ERROR A load error occurred.\r
a1d4bfcc 20**/\r
632820d1 21EFI_STATUS\r
22HClipBoardInit (\r
23 VOID\r
24 );\r
a1d4bfcc 25\r
26/**\r
27 Initialization function for HDiskImage.\r
28\r
29 @param[in] EFI_SUCCESS The operation was successful.\r
a048af3c 30 @param[in] EFI_LOAD_ERROR A load error occurred.\r
a1d4bfcc 31**/\r
632820d1 32EFI_STATUS\r
33HClipBoardCleanup (\r
34 VOID\r
35 );\r
36\r
a1d4bfcc 37/**\r
38 Set a buffer into the clipboard.\r
39\r
40 @param[in] Buffer The buffer to add to the clipboard.\r
41 @param[in] Size The size of Buffer in bytes.\r
42\r
43 @retval EFI_SUCCESS The operation was successful.\r
44**/\r
632820d1 45EFI_STATUS\r
46HClipBoardSet (\r
47d20b54
MK
47 IN UINT8 *Buffer,\r
48 IN UINTN Size\r
632820d1 49 );\r
a1d4bfcc 50\r
51/**\r
52 Get a buffer from the clipboard.\r
53\r
54 @param[out] Buffer The pointer to the buffer to add to the clipboard.\r
55\r
56 @return the size of the buffer.\r
57**/\r
632820d1 58UINTN\r
59HClipBoardGet (\r
a1d4bfcc 60 OUT UINT8 **Buffer\r
632820d1 61 );\r
62\r
63#endif\r