# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 297
- 298
- 299
- 300
- 301
…
- 373
- 374

Preconditions
None.
Example
None.
Function
GFX_STATUS GFX_GOL_ObjectByIDDelete(uint16_t id)
1.6.2.3.3 GFX_GOL_ObjectCanBeFocused Function
Checks if the object can be focused.
File
gfx_gol.h
Syntax
GFX_STATUS GFX_GOL_ObjectCanBeFocused(GFX_GOL_OBJ_HEADER * pObject);
Returns
GFX_STATUS_SUCCESS - when the object can be focused GFX_STATUS_FAILURE - when the object cannot be focused
or do not support the focus feature.
Description
This function checks if the object can be focused or not. If the object can be focused, it returns GFX_STATUS_SUCCESS. If
it cannot be focused, it returns GFX_STATUS_FAILURE. Selected objects have the focus feature. Refer to the object
documentation for details.
Objects that do not support focus feature will ignore any focus settings.
If the object is disabled it cannot be set to focused state.
Preconditions
None.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_STATUS GFX_GOL_ObjectCanBeFocused(GFX_GOL_OBJ_HEADER *pObject)
1.6.2.3.4 GFX_GOL_ObjectDelete Function
This function removes an object from the currently active list.
File
gfx_gol.h
Syntax
GFX_STATUS GFX_GOL_ObjectDelete(GFX_GOL_OBJ_HEADER * pObject);
Returns
GFX_STATUS_SUCCESS - is returned if the removal was successful. GFX_STATUS_FAILURE - is returned if the removal
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
299

- 1
- 2
…
- 297
- 298
- 299
- 300
- 301
…
- 373
- 374