TianoCore EDK2 master
Loading...
Searching...
No Matches
Clipboard.c File Reference
#include "HexEditor.h"

Go to the source code of this file.

Data Structures

struct  HEFI_EDITOR_CLIPBOARD
 

Functions

EFI_STATUS HClipBoardInit (VOID)
 
EFI_STATUS HClipBoardCleanup (VOID)
 
EFI_STATUS HClipBoardSet (IN UINT8 *Buffer, IN UINTN Size)
 
UINTN HClipBoardGet (OUT UINT8 **Buffer)
 

Variables

HEFI_EDITOR_CLIPBOARD HClipBoard
 
HEFI_EDITOR_CLIPBOARD HClipBoardConst
 

Detailed Description

Functions to deal with Clip Board

Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Clipboard.c.

Function Documentation

◆ HClipBoardCleanup()

EFI_STATUS HClipBoardCleanup ( VOID  )

Initialization function for HDiskImage.

Parameters
[in]EFI_SUCCESSThe operation was successful.
[in]EFI_LOAD_ERRORA load error occurred.

Definition at line 52 of file Clipboard.c.

◆ HClipBoardGet()

UINTN HClipBoardGet ( OUT UINT8 **  Buffer)

Get a buffer from the clipboard.

Parameters
[out]BufferThe pointer to the buffer to add to the clipboard.
Returns
the size of the buffer.

Definition at line 95 of file Clipboard.c.

◆ HClipBoardInit()

EFI_STATUS HClipBoardInit ( VOID  )

Initialization function for HDiskImage.

Parameters
[in]EFI_SUCCESSThe operation was successful.
[in]EFI_LOAD_ERRORA load error occurred.

Definition at line 33 of file Clipboard.c.

◆ HClipBoardSet()

EFI_STATUS HClipBoardSet ( IN UINT8 *  Buffer,
IN UINTN  Size 
)

Set a buffer into the clipboard.

Parameters
[in]BufferThe buffer to add to the clipboard.
[in]SizeThe size of Buffer in bytes.
Return values
EFI_SUCCESSThe operation was successful.

Definition at line 70 of file Clipboard.c.

Variable Documentation

◆ HClipBoard

Definition at line 16 of file Clipboard.c.

◆ HClipBoardConst

HEFI_EDITOR_CLIPBOARD HClipBoardConst
Initial value:
= {
0
}
#define NULL
Definition: Base.h:319

Definition at line 21 of file Clipboard.c.