Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
GFX_GOL_TRANSLATED_ACTION translatedMsg,
void *pObject,
GFX_GOL_MESSAGE *pMessage)
1.6.2.1.4.6 GFX_GOL_EditBoxCharAdd Function
This function adds a character at the end of the text used by the object.
File
gfx_gol_edit_box.h
Syntax
GFX_STATUS GFX_GOL_EditBoxCharAdd(GFX_GOL_EDITBOX * pObject, GFX_XCHAR ch);
Returns
The status of the addition.
• GFX_STATUS_SUCCESS - when the addition was successful.
• GFX_STATUS_FAILURE - when the addition was not successful.
Description
This function adds a character at the end of the text used by the object. When the object contains the maximum number of
characters any addition call to this function will not affect the text in the object.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject Pointer to the object.
ch The character to be added.
Function
GFX_STATUS GFX_GOL_EditBoxCharAdd(
GFX_GOL_EDITBOX *pObject,
GFX_XCHAR ch)
1.6.2.1.4.7 GFX_GOL_EditBoxCharRemove Function
This function removes a character at the end of the text used by the object.
File
gfx_gol_edit_box.h
Syntax
GFX_STATUS GFX_GOL_EditBoxCharRemove(GFX_GOL_EDITBOX * pObject);
Returns
The status of the addition.
• GFX_STATUS_SUCCESS - when the removal was successful.
• GFX_STATUS_FAILURE - when the removal has no effect and the buffer is empty.
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
190
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf