# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 282
- 283
- 284
- 285
- 286
…
- 373
- 374

Example
None.
Parameters
Parameters Description
pObject pointer to the object.
index index or position of key that is being tested.
Function
bool GFX_GOL_TextEntryKeyIsPressed(
GFX_GOL_TEXTENTRY *pObject,
uint16_t index)
1.6.2.1.13.12 GFX_GOL_TextEntryKeyListCreate Function
This function will create the list of key members that holds the information on each key.
File
gfx_gol_text_entry.h
Syntax
GFX_GOL_TEXTENTRY_KEYMEMBER * GFX_GOL_TextEntryKeyListCreate(GFX_GOL_TEXTENTRY * pObject,
GFX_XCHAR * pText[]);
Returns
Returns the pointer to the newly created key member list. A NULL is returned if the list is not created succesfully.
Description
This function will create the list of key members that holds the information on each key. The number of keys is determined by
the equation (keycount = verticalKeys*horizontalKeys). The object creates the information holder for each key automatically
and assigns each entry in the *pText[] array with the first entry automatically assigned to the key with an index of 1.
The number of entries to *pText[] must be at least equal to keycount. The last key is assigned with an index of keycount-1.
No checking is performed on the length of *pText[] entries to match (verticalKeys*horizontalKeys).
The function behavior is undefined if the pText[] array is less than the keycount value.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
pText pointer to the text defined by the application.
Function
GFX_GOL_TEXTENTRY_KEYMEMBER *GFX_GOL_TextEntryKeyListCreate(
GFX_GOL_TEXTENTRY *pObject,
GFX_XCHAR *pText[])
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
284

- 1
- 2
…
- 282
- 283
- 284
- 285
- 286
…
- 373
- 374