Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Returns
The pointer to the text buffer used to display text.
Description
This function returns the buffer used to display text.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_XCHAR *GFX_GOL_TextEntryBufferGet(
GFX_GOL_TEXTENTRY *pObject)
1.6.2.1.13.5 GFX_GOL_TextEntryBufferSet Function
This function sets the buffer used to display text.
File
gfx_gol_text_entry.h
Syntax
void GFX_GOL_TextEntryBufferSet(GFX_GOL_TEXTENTRY * pObject, GFX_XCHAR * pText, uint16_t
MaxSize);
Returns
None.
Description
This function sets the buffer used to display text. If the buffer is initialized with a string, the string must be a null terminated
string. If the string length is greater than MaxSize, string will be truncated to MaxSize. pText must point to a valid memory
location with size equal to MaxSize. The total number of characters that will be displayed on the object will be MaxSize - 1
since the last character will be the string terminator character.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
pText pointer to the new text buffer to be displayed.
maxSize maximum length of the new buffer to be used.
Function
void GFX_GOL_TextEntryBufferSet(
GFX_GOL_TEXTENTRY *pObject,
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
278

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh