MiniGUI API Reference (MiniGUI-Threads)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros

Macros

#define ERR_OK   0
 Return value error ok. More...
 
#define ERR_QUEUE_FULL   -1
 Return value queue is full error. More...
 
#define ERR_INVALID_HANDLE   -2
 Return value invalid handle error. More...
 
#define ERR_INV_HWND   ERR_INVALID_HANDLE
 Return value invalid window handle error. More...
 
#define ERR_INVALID_HMENU   ERR_INVALID_HANDLE
 Invalid menu handle. More...
 
#define ERR_MSG_CANCELED   -3
 The message handling was canceled. More...
 
#define ERR_INVALID_POS   -5
 Invalid postion. More...
 
#define ERR_INVALID_ID   -6
 Invalid identifier. More...
 
#define ERR_RES_ALLOCATION   -7
 Failed to allocate memory. More...
 
#define ERR_CTRLCLASS_INVNAME   -8
 Return value invalid name of control class error. More...
 
#define ERR_CTRLCLASS_INVLEN   -9
 Return value control class invalid length. More...
 
#define ERR_CTRLCLASS_MEM   -10
 Return value control class memory error. More...
 
#define ERR_CTRLCLASS_INUSE   -11
 Return value inuse control class error. More...
 
#define ERR_ALREADY_EXIST   -12
 Return value already exit error. More...
 
#define ERR_NO_MATCH   -13
 Return no match error. More...
 
#define ERR_BAD_OWNER   -14
 Return bad owner error. More...
 
#define ERR_IME_TOOMUCHIMEWND   -15
 Return value too much IME window error. More...
 
#define ERR_IME_NOSUCHIMEWND   -16
 Return value no such IME wondow error. More...
 
#define ERR_IME_NOIMEWND   -17
 Return value no IME wondow error. More...
 
#define ERR_CONFIG_FILE   -18
 Return value configure file error. More...
 
#define ERR_FILE_IO   -19
 Return value file I/O error. More...
 
#define ERR_GFX_ENGINE   -20
 Return value GFX engine error. More...
 
#define ERR_INPUT_ENGINE   -21
 Return value input engine error. More...
 
#define ERR_NO_ENGINE   -22
 Return value no engine error. More...
 
#define ERR_INVALID_ARGS   -23
 Return value invalid arguments. More...
 

Detailed Description

Macro Definition Documentation

◆ ERR_ALREADY_EXIST

#define ERR_ALREADY_EXIST   -12

Return value already exit error.

Definition at line 1881 of file common.h.

◆ ERR_BAD_OWNER

#define ERR_BAD_OWNER   -14

Return bad owner error.

Definition at line 1893 of file common.h.

◆ ERR_CONFIG_FILE

#define ERR_CONFIG_FILE   -18

Return value configure file error.

Definition at line 1917 of file common.h.

◆ ERR_CTRLCLASS_INUSE

#define ERR_CTRLCLASS_INUSE   -11

Return value inuse control class error.

Definition at line 1875 of file common.h.

◆ ERR_CTRLCLASS_INVLEN

#define ERR_CTRLCLASS_INVLEN   -9

Return value control class invalid length.

Definition at line 1863 of file common.h.

◆ ERR_CTRLCLASS_INVNAME

#define ERR_CTRLCLASS_INVNAME   -8

Return value invalid name of control class error.

Definition at line 1857 of file common.h.

◆ ERR_CTRLCLASS_MEM

#define ERR_CTRLCLASS_MEM   -10

Return value control class memory error.

Definition at line 1869 of file common.h.

◆ ERR_FILE_IO

#define ERR_FILE_IO   -19

Return value file I/O error.

Definition at line 1923 of file common.h.

◆ ERR_GFX_ENGINE

#define ERR_GFX_ENGINE   -20

Return value GFX engine error.

Definition at line 1929 of file common.h.

◆ ERR_IME_NOIMEWND

#define ERR_IME_NOIMEWND   -17

Return value no IME wondow error.

Definition at line 1911 of file common.h.

◆ ERR_IME_NOSUCHIMEWND

#define ERR_IME_NOSUCHIMEWND   -16

Return value no such IME wondow error.

Definition at line 1905 of file common.h.

◆ ERR_IME_TOOMUCHIMEWND

#define ERR_IME_TOOMUCHIMEWND   -15

Return value too much IME window error.

Definition at line 1899 of file common.h.

◆ ERR_INPUT_ENGINE

#define ERR_INPUT_ENGINE   -21

Return value input engine error.

Definition at line 1935 of file common.h.

◆ ERR_INV_HWND

#define ERR_INV_HWND   ERR_INVALID_HANDLE

Return value invalid window handle error.

Definition at line 1821 of file common.h.

◆ ERR_INVALID_ARGS

#define ERR_INVALID_ARGS   -23

Return value invalid arguments.

Definition at line 1947 of file common.h.

◆ ERR_INVALID_HANDLE

#define ERR_INVALID_HANDLE   -2

Return value invalid handle error.

Definition at line 1815 of file common.h.

◆ ERR_INVALID_HMENU

#define ERR_INVALID_HMENU   ERR_INVALID_HANDLE

Invalid menu handle.

Definition at line 1827 of file common.h.

◆ ERR_INVALID_ID

#define ERR_INVALID_ID   -6

Invalid identifier.

Definition at line 1845 of file common.h.

◆ ERR_INVALID_POS

#define ERR_INVALID_POS   -5

Invalid postion.

Definition at line 1839 of file common.h.

◆ ERR_MSG_CANCELED

#define ERR_MSG_CANCELED   -3

The message handling was canceled.

Definition at line 1833 of file common.h.

◆ ERR_NO_ENGINE

#define ERR_NO_ENGINE   -22

Return value no engine error.

Definition at line 1941 of file common.h.

◆ ERR_NO_MATCH

#define ERR_NO_MATCH   -13

Return no match error.

Definition at line 1887 of file common.h.

◆ ERR_OK

#define ERR_OK   0

Return value error ok.

Definition at line 1803 of file common.h.

◆ ERR_QUEUE_FULL

#define ERR_QUEUE_FULL   -1

Return value queue is full error.

Definition at line 1809 of file common.h.

◆ ERR_RES_ALLOCATION

#define ERR_RES_ALLOCATION   -7

Failed to allocate memory.

Definition at line 1851 of file common.h.