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

Go to the source code of this file.

Functions

HEFI_EDITOR_LINEHMoveLine (IN INTN Count)
 
HEFI_EDITOR_LINEHMoveCurrentLine (IN INTN Count)
 
EFI_STATUS HFreeLines (IN LIST_ENTRY *ListHead, IN HEFI_EDITOR_LINE *Lines)
 
INT32 HGetTextX (IN INT32 GuidX)
 
INT32 HGetTextY (IN INT32 GuidY)
 

Detailed Description

Definitions for various line and string routines

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

Definition in file Misc.h.

Function Documentation

◆ HFreeLines()

EFI_STATUS HFreeLines ( IN LIST_ENTRY ListHead,
IN HEFI_EDITOR_LINE Lines 
)

Free all the lines in HBufferImage. Fields affected: Lines CurrentLine NumLines ListHead

Parameters
[in]ListHeadThe list head.
[in]LinesThe lines.
Return values
EFI_SUCCESSThe operation was successful.

Definition at line 185 of file Misc.c.

◆ HGetTextX()

INT32 HGetTextX ( IN INT32  GuidX)

Get the X information for the mouse.

Parameters
[in]GuidXThe change.
Returns
the new information.

Definition at line 220 of file Misc.c.

◆ HGetTextY()

INT32 HGetTextY ( IN INT32  GuidY)

Get the Y information for the mouse.

Parameters
[in]GuidYThe change.
Returns
the new information.

Definition at line 241 of file Misc.c.

◆ HMoveCurrentLine()

HEFI_EDITOR_LINE * HMoveCurrentLine ( IN INTN  Count)

Advance/Retreat lines and set CurrentLine in BufferImage to it.

Parameters
[in]CountThe line number to advance/retreat. >0 : advance <0: retreat
Return values
NULLAn error occurred.
Returns
A pointer to the line after move.

Definition at line 144 of file Misc.c.

◆ HMoveLine()

HEFI_EDITOR_LINE * HMoveLine ( IN INTN  Count)

Advance/Retreat lines.

Parameters
[in]CountThe line number to advance/retreat. >0 : advance <0: retreat
Return values
NULLAn error occurred.
Returns
A pointer to the line after move.

Definition at line 111 of file Misc.c.