> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/modules/group__vfigui.md).

# Graphical User Interface

[Namespaces](#namespaces) | [Macros](#define-members) | [Enumerations](#enum-members)

|            |                                                                                        |
| ---------- | -------------------------------------------------------------------------------------- |
| Namespaces |                                                                                        |
|            | [vfigui](/s-adk-5.1-programmers-guide/readme/modules/group__vfigui/namespacevfigui.md) |

|         |                                                |
| ------- | ---------------------------------------------- |
| Macros  |                                                |
| #define | [DllSpec](#gad7c2e1cb200073ed64c64285a5f37231) |
| #define | [DllSpec](#gad7c2e1cb200073ed64c64285a5f37231) |

|              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Enumerations |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| enum         | <p><a href="#ga83f7c4e297519549c9a54137e2eab4fe">UIError</a> {<br>  <a href="#gga83f7c4e297519549c9a54137e2eab4fea0e9295b37bfaa07f3b8e2b2f666bcb08">UI\_ERR\_OK</a> = 0, <a href="#gga83f7c4e297519549c9a54137e2eab4fea6dc64819a8719e862f267b4c31adaa2b">UI\_ERR\_ABORT</a> = -1, <a href="#gga83f7c4e297519549c9a54137e2eab4fea15472ee6eda060f2cf3b851873c6d36d">UI\_ERR\_BACK</a> = -2, <a href="#gga83f7c4e297519549c9a54137e2eab4fea25c0f4789a50189db529c844fbc5395b">UI\_ERR\_TIMEOUT</a> = -3,<br>  <a href="#gga83f7c4e297519549c9a54137e2eab4feadbe8a9e9b76ccd414fe3298b7c0fb547">UI\_ERR\_PROPERTY</a> = -4, <a href="#gga83f7c4e297519549c9a54137e2eab4fea0feebab162cfb6cdcee4d17207ce129a">UI\_ERR\_WRONG\_PIN</a> = -5, <a href="#gga83f7c4e297519549c9a54137e2eab4fea4fb70ece1e94f28779bba6389188e2de">UI\_ERR\_PARAMETER</a> = -6, <a href="#gga83f7c4e297519549c9a54137e2eab4feab947423fdbe03bf4ee7d4132a7470271">UI\_ERR\_PERMISSION</a> = -7,<br>  <a href="#gga83f7c4e297519549c9a54137e2eab4feae72b16ac91ed2f069ed4e315c0a66879">UI\_ERR\_CANCELLED</a> = -8, <a href="#gga83f7c4e297519549c9a54137e2eab4feadbd688cec162b05d77aab8797757c186">UI\_ERR\_REGION</a> = -9, <a href="#gga83f7c4e297519549c9a54137e2eab4fea0a03c8c4c8aeebc5f13764f769f42f4c">UI\_ERR\_FAIL</a> = -10, <a href="#gga83f7c4e297519549c9a54137e2eab4fea781613b007357a1ac3bb993fe3b3762e">UI\_ERR\_UNSUPPORTED</a> = -11,<br>  <a href="#gga83f7c4e297519549c9a54137e2eab4fea2c2b0c364f6e000b6095f46251bce01d">UI\_ERR\_INVALID</a> = -12, <a href="#gga83f7c4e297519549c9a54137e2eab4fea4f30958efdaaa591b1c9a6fa002c8052">UI\_ERR\_WAIT\_TIMEOUT</a> = -13, <a href="#gga83f7c4e297519549c9a54137e2eab4fea2ee7809161321af15ef84d5655faeb38">UI\_ERR\_CONNECTION\_LOST</a> = -14, <a href="#gga83f7c4e297519549c9a54137e2eab4fea96cc0295432f6a49261ad54fe52480ee">UI\_ERR\_PROTOCOL</a> = -15,<br>  <a href="#gga83f7c4e297519549c9a54137e2eab4fea3a64249431f7850af3d70beb6003e656">UI\_ERR\_SCRIPT</a> = -16, <a href="#gga83f7c4e297519549c9a54137e2eab4feab1e3d97746123a542bab13edcfdc9b6a">UI\_ERR\_FILE\_READ</a> = -17, <a href="#gga83f7c4e297519549c9a54137e2eab4fea8114356c722648f4ee88fd9478c790b7">UI\_ERR\_RESTRICTED</a> = -18, <a href="#gga83f7c4e297519549c9a54137e2eab4feab37b7cd2ae744a5e47a8ef15c1b0a738">UI\_ERR\_MODIFIED</a> = -19,<br>  <a href="#gga83f7c4e297519549c9a54137e2eab4fea53bd48814f477e41d8ef8698e1416502">UI\_ERR\_ACTION</a> = -20, <a href="#gga83f7c4e297519549c9a54137e2eab4fea0f0b76a16470d668ca5249cce7984e28">UI\_ERR\_DISPLAY</a> = -21, <a href="#gga83f7c4e297519549c9a54137e2eab4fea8f9428454f7865ce15b6fdc8e0ac46b3">UI\_ERR\_PIN\_ENTRY\_DENIED</a> = -22<br>}</p> |

### DetailedDescription <a href="#detailed-description" id="detailed-description"></a>

### MacroDefinition Documentation <a href="#macro-definition-documentation" id="macro-definition-documentation"></a>

### DllSpec\[1/2] <a href="#gad7c2e1cb200073ed64c64285a5f37231" id="gad7c2e1cb200073ed64c64285a5f37231"></a>

\#define DllSpec

### DllSpec\[2/2] <a href="#gad7c2e1cb200073ed64c64285a5f37231" id="gad7c2e1cb200073ed64c64285a5f37231"></a>

\#define DllSpec

### EnumerationType Documentation <a href="#enumeration-type-documentation" id="enumeration-type-documentation"></a>

### UIError <a href="#ga83f7c4e297519549c9a54137e2eab4fe" id="ga83f7c4e297519549c9a54137e2eab4fe"></a>

enum \[UIError]\(#ga83f7c4e297519549c9a54137e2eab4fe)

Verifone GUI namespace error codes returned by the functions

|                             |                                                                                                                                                                                                                       |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Enumerator                  |                                                                                                                                                                                                                       |
| UI\_ERR\_OK                 | no error                                                                                                                                                                                                              |
| UI\_ERR\_ABORT              | abort by user                                                                                                                                                                                                         |
| UI\_ERR\_BACK               | user selected back button                                                                                                                                                                                             |
| UI\_ERR\_TIMEOUT            | dialog timeout                                                                                                                                                                                                        |
| UI\_ERR\_PROPERTY           | the property does not exist                                                                                                                                                                                           |
| UI\_ERR\_WRONG\_PIN         | wrong PIN was entered                                                                                                                                                                                                 |
| UI\_ERR\_PARAMETER          | parameter error                                                                                                                                                                                                       |
| UI\_ERR\_PERMISSION         | insufficient permissions                                                                                                                                                                                              |
| UI\_ERR\_CANCELLED          | the dialog has been cancelled by callback or by displaying another dialog                                                                                                                                             |
| UI\_ERR\_REGION             | the region is not known                                                                                                                                                                                               |
| UI\_ERR\_FAIL               | generic error                                                                                                                                                                                                         |
| UI\_ERR\_UNSUPPORTED        | the function requested is not supported on the current platform/device/...                                                                                                                                            |
| UI\_ERR\_INVALID            | an invalid transaction ID was provided                                                                                                                                                                                |
| UI\_ERR\_WAIT\_TIMEOUT      | timeout while waiting for the result of an async function                                                                                                                                                             |
| UI\_ERR\_CONNECTION\_LOST   | cannot connect or lost connection to server                                                                                                                                                                           |
| UI\_ERR\_PROTOCOL           | data received violated the protocol                                                                                                                                                                                   |
| UI\_ERR\_SCRIPT             | error occurred during script processing, check [uiScriptError()](/s-adk-5.1-programmers-guide/readme/modules/group__vfigui/namespacevfigui.md#a6f12172a8274bd06e3f1bca6a9c4d9de) for more information about the error |
| UI\_ERR\_FILE\_READ         | the file was not found or could not be read                                                                                                                                                                           |
| UI\_ERR\_RESTRICTED         | the dialog was not shown due to security restrictions, e.g. using more than 3 buttons                                                                                                                                 |
| UI\_ERR\_MODIFIED           | the old layout does not match                                                                                                                                                                                         |
| UI\_ERR\_ACTION             | invalid action provided                                                                                                                                                                                               |
| UI\_ERR\_DISPLAY            | invalid display                                                                                                                                                                                                       |
| UI\_ERR\_PIN\_ENTRY\_DENIED | requesting too many PIN sessions in a short period of time.                                                                                                                                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/modules/group__vfigui.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
