# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 159
- 160
- 161
- 162
- 163
…
- 373
- 374

Returns
Pointer to the image resource.
Description
This function gets the image used when in the released state.
Preconditions
Object must exist in memory.
Example
None.
Parameters
Parameters Description
pObject pointer to the object.
Function
GFX_RESOURCE_HDR *GFX_GOL_ButtonReleaseStateImageGet(
GFX_GOL_BUTTON *pObject)
1.6.2.1.1.4 GFX_GOL_ButtonReleaseStateImageSet Macro
This function sets the image to be used when in the released state.
File
gfx_gol_button.h
Syntax
#define GFX_GOL_ButtonReleaseStateImageSet(pObject, pImage) \
(((GFX_GOL_BUTTON *)pObject)->pReleaseImage = pImage)
Returns
None.
Description
This function sets the image to be used when in the released state.
Preconditions
Object must exist in memory.
Example
// assume ImageIcon is a valid GFX_RESOURCE_HDR
GFX_RESOURCE_HDR *pMyIcon = &ImageIcon;
GFX_GOL_BUTTON *pButton;
GFX_GOL_ButtonReleaseStateImageSet(pButton , pMyIcon);
Parameters
Parameters Description
pObject pointer to the object.
pImage pointer to the image resource.
Function
void GFX_GOL_ButtonReleaseStateImageSet(
GFX_GOL_BUTTON *pObject,
GFX_RESOURCE_HDR *pImage)
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
161

- 1
- 2
…
- 159
- 160
- 161
- 162
- 163
…
- 373
- 374