Vault 7: Projects

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

Translated Message Input
Source
Set/Clear State Bit Description
GFX_GOL_METER_ACTION_SET System Set
GFX_GOL_METER_DRAW_STATE
Meter will be redrawn to update the
needle position and value displayed.
The new value is given in the
pMessage parameter 2 (param2).
While parameter 1 (param1) of the
message holds the ID of the object.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
translatedMsg The action of the object based on the message.
pObject The pointer to the object whose state will be modified.
pMessage The pointer to the original message.
Function
void GFX_GOL_MeterActionSet(
GFX_GOL_TRANSLATED_ACTION translatedMsg,
void *pObject,
GFX_GOL_MESSAGE *pMessage)
1.6.2.1.7.9 GFX_GOL_MeterCreate Function
This function creates a GFX_GOL_METER object with the parameters given. It automatically attaches the new object into a
global linked list of objects and returns the address of the object.
File
gfx_gol_meter.h
Syntax
GFX_GOL_METER * GFX_GOL_MeterCreate(uint16_t ID, uint16_t left, uint16_t top, uint16_t
right, uint16_t bottom, uint16_t state, GFX_GOL_METER_DRAW_TYPE type, int16_t value,
int16_t minValue, int16_t maxValue, GFX_RESOURCE_HDR * pTitleFont, GFX_RESOURCE_HDR *
pValueFont, GFX_XCHAR * pText, GFX_GOL_OBJ_SCHEME * pScheme);
Returns
Pointer to the newly created object.
Description
This function creates a GFX_GOL_METER object with the parameters given. It automatically attaches the new object into a
global linked list of objects and returns the address of the object.
This function returns the pointer to the newly created object. If the object is not successfully created, it returns NULL.
The behavior of GFX_GOL_MeterCreate() will be undefined if one of the following is true:
left >= right
top >= bottom
type is not one of the defined types
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
224

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh