亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? minigui.h

?? 該程序是觸摸屏控制電機轉動試驗,在armlinux下
?? H
?? 第 1 頁 / 共 5 頁
字號:
 * This function returns the request handler of the specified request identifier \a req_id. * * \param req_id The request identifier. * \return The handler on success, NULL on error. * * \note Only can be used by the server. * * \sa RegisterRequestHandler */REQ_HANDLER GUIAPI GetRequestHandler (int req_id);    /** @} end of lite_request_fns */    /**     * \defgroup lite_socket_fns General socket operations     *     * MiniGUI-Lite uses UNIX domain socket to build the communication     * between the server and the clients.     *     * You can also use the underlay interfaces which MiniGUI uses to create     * your own UNIX domain socket.     *     * Example:     *     * \include socket.c     *     * @{     *//** * \fn int serv_listen (const char* name) * \brief Creates a listen socket. * * This function is used by the server to create a listening socket.  * Any MiniGUI-Lite application can call this function to create a  * listening socket. The server, i.e. \a mginit, of MiniGUI-Lite uses  * this function to create its listening socket, and named the socket  * to '/var/tmp/minigui'. * * \param name The path name of the listening socket. * \return The file discriptor of the listening socket created, -1 on error. * * \note As a convention, you should located the socket in '/var/tmp/' directory. */int serv_listen (const char* name);/** * \fn int serv_accept (int listenfd, pid_t *pidptr, uid_t *uidptr) * \brief Waits for a client connection to arrive, and accept it. * * This function is used by the server to wait a connection and accept it. * * After creating a listening socket by calling \a serv_listen, you can call this * function to create a connection with a client. We also obtain the client's PID  * and UID from the pathname that it must bind before calling us. * * \param listenfd The fd of listen socket. * \param pidptr The client PID will be saved to this buffer when this function returns. * \param uidptr The client UID will be saved to this buffer when this function returns. * \return The new connected fd if all OK, < 0 on error. * * \sa serv_listen, cli_conn */int serv_accept (int listenfd, pid_t *pidptr, uid_t *uidptr);/** * \fn int cli_conn (const char* name, char project) * \brief Used by clients to connect to a server. * * This function is used by clients to connect to a server. * * The created socket will be located at the directory '/var/tmp', * and with name of '/var/tmp/xxxxx-c', where 'xxxxx' is the pid of client. * and 'c' is a character to distinguish different projects. * MiniGUI itself uses 'a' as the project character to create socket between * 'mginit' and clients. * * \param name The name of the well-known listen socket (created by server). * \param project A character to distinguish different projects (Do \em NOT use 'a'). * \return The new connected fd if all OK, < 0 on error. * * \sa serv_listen, serv_accept */int cli_conn (const char* name, char project);#define SOCKERR_IO          -1#define SOCKERR_CLOSED      -2#define SOCKERR_INVARG      -3#define SOCKERR_TIMEOUT     -4#define SOCKERR_OK          0/** * \fn int sock_write_t (int fd, const void* buff, int count, unsigned int timeout)  * \brief Writes data to socket. * * This function writes the data block pointed to by \a buff  * which is \a count bytes long to the socket \a fd. * * \param fd The file descriptor of the socket. * \param buff The buffer contains the data. * \param count The length in bytes of the buffer. * \param timeout An upper bound on the amount of time elapsed before  *        \a sock_write_t returns. When it is zero, \a sock_write_t can  *        block indefinitely. The timeout value is in tick count, and  *        tick count of MiniGUI is in unit of 10 milliseconds. * \return SOCKERR_OK if all OK, < 0 on error. * * \retval SOCKERR_OK       Read data successfully. * \retval SOCKERR_IO       There are some I/O errors occurred. * \retval SOCKERR_CLOSED   The socket has been closed by the peer. * \retval SOCKERR_INVARG   You passed invalid arguments. * \retval SOCKERR_TIMEOUT  Timeout. * * \note The \a timeout only goes into effect when this function called  *       by the server of MiniGUI-Lite, i.e. \a mginit.  * * \sa sock_read_t */int sock_write_t (int fd, const void* buff, int count, unsigned int timeout);/** * \fn int sock_read_t (int fd, void* buff, int count, unsigned int timeout) * \brief Reads data from socket. * * This function reads data which is \a count bytes long to the buffer \a buff * from the socket \a fd. * * \param fd The file descriptor of the socket. * \param buff The buffer used to save the data. * \param count The length in bytes of the buffer. * \param timeout An upper bound on the amount of time elapsed before  *        \a sock_read_t returns. When it is zero, \a sock_read_t can  *        block indefinitely. The timeout value is in the tick count of MiniGUI, *        and tick count of MiniGUI is in unit of 10 milliseconds. * \return SOCKERR_OK if all OK, < 0 on error. * * \retval SOCKERR_OK       Read data successfully. * \retval SOCKERR_IO       There are some I/O errors occurred. * \retval SOCKERR_CLOSED   The socket has been closed by the peer. * \retval SOCKERR_INVARG   You passed invalid arguments. * \retval SOCKERR_TIMEOUT  Timeout. * * \note The \a timeout only goes into effect when this function called  *       by the server of MiniGUI-Lite, i.e. \a mginit.  * * \sa sock_write_t */int sock_read_t (int fd, void* buff, int count, unsigned int timeout);/** * \def sock_write(fd, buff, count) * \brief The blocking version of \a sock_write_t function. * * \sa sock_write_t */#define sock_write(fd, buff, count) sock_write_t(fd, buff, count, 0)/** * \def sock_read(fd, buff, count) * \brief The blocking version of \a sock_read_t function. * * \sa sock_read_t */#define sock_read(fd, buff, count) sock_read_t(fd, buff, count, 0)    /** @} end of lite_socket_fns */    /** @} end of lite_fns */#endif /* !_STAND_ALONE */#endif /* LITE_VERSION */    /**     * \defgroup init_fns Initialization and termination functions     *     * Normally, the only entry of any MiniGUI application is \a MiniGUIMain.     * The application will terminate when you call \a exit(3) or just return from     * \a MiniGUIMain.     *     * Example 1:     *     * \include miniguimain.c     *     * Example 2:     *     * \include hello_world.c     *     * @{     *//** * \fn BOOL GUIAPI ReinitDesktopEx (BOOL init_sys_text) * \brief Re-initializes the desktop. * * When you changed the charset or the background picture of the desktop, * you should call this function to re-initialize the local system text * (when \a init_sys_text is TRUE), the background picture, and the desktop * menu. * * \param init_sys_text Indicates whether to initialize the local system text. * * \return TRUE on success, otherwise FALSE. * * \sa ReinitDesktop */BOOL GUIAPI ReinitDesktopEx (BOOL init_sys_text);/** * \def ReinitDesktop() * \brief Re-initializes the desktop including the local system text. * * \return TRUE on success, otherwise FALSE. * * \note This function defined as a macro calling \a ReinitDesktopEx with * \a init_sys_text set to TRUE. * * \sa ReinitDesktopEx */#define ReinitDesktop()    ReinitDesktopEx (TRUE)/* * We remove the SuspendGUI and ResumeGUI functions.  * Don't use these two functios any more. * void GUIAPI SuspendGUI (void); * BOOL GUIAPI ResumeGUI (void);  *//** * \fn void GUIAPI ExitGUISafely (int exitcode) * \brief Exits your MiniGUI application safely. * * Calling this function will terminate your MiniGUI application. This * function will restore console attributes and call \a exit() function and  * pass \a exitcode to it. * * \param exitcode The exit status will be passed to exit(3) function. * \return This function does not return. * * \sa exit(3) */void GUIAPI ExitGUISafely (int exitcode);/** * \fn int MiniGUIMain (int args, const char* arg[]) * \brief The main entry of all MiniGUI applications. * * This function should be defined by your application. MiniGUI defines \a main() * function in libminigui library for your application, and call \a MiniGUIMain()  * in this \a main() function. The \a main() defined by MiniGUI is responsible of  * initializing and terminating MiniGUI. * * \param args The number of arguments passed to \a main() by operating system. * \param arg The arguments passed to \a main() by operating system. * \return The exit status will be retured to the parent process. * */int MiniGUIMain (int args, const char* arg[]);#ifndef _LITE_VERSION/* * NOTE: The following two functions is only valid for MiniGUI-Threads * since version 1.0.01. */BOOL GUIAPI PreInitGUI (int args, const char* arg[], int* retp);int GUIAPI PostTerminateGUI (int args, const char* arg[], int rcByGUI); #endif /* LITE_VERSION */#define IDM_DTI_FIRST   (300)#ifndef _LITE_VERSION/* * NOTE: The following two functions is only valid for MiniGUI-Threads * since version 1.0.01. */void GUIAPI CustomizeDesktopMenu (HMENU hDesktopMenu, int iPos);int GUIAPI CustomDesktopCommand (int id);#endif    /** @} end of init_fns */    /**     * \defgroup about_dlg About MiniGUI dialog     * @{     */#ifdef _MISC_ABOUTDLG#ifndef _LITE_VERSION  void GUIAPI OpenAboutDialog (void);#else/** * \fn HWND GUIAPI OpenAboutDialog (HWND hHosting) * \brief Opens or actives the 'About MiniGUI' dialog. * * Calling this function will create a main window displaying  * copyright and license information of MiniGUI. When the about dialog  * is displaying, calling this function again will bring the dialog to be  * the topmost main window, not create a new one. * * \param hHosting The hosting main window of the about dialog. * \return The handle to the about dialog box. * * \note This function is available for MiniGUI-Lite and when _MISC_ABOUTDLG defined. * For MiniGUI-Threads, you should call 'void GUIAPI OpenAboutDialog (void)' function * instead. */  HWND GUIAPI OpenAboutDialog (HWND hHosting);#endif /* _LITE_VERSION */#endif /* _MISC_ABOUTDLG */    /** @} end of about_dlg */    /**     * \defgroup etc_fns Configuration file operations     *     * The configuration file used by MiniGUI have a similiar format as M$ Windows INI file,     * i.e. the file consists of sections, and the section consists of key-value pairs, like this:     *     * \code     * [system]     * # GAL engine     * gal_engine=fbcon     *     * # IAL engine     * ial_engine=console     *     * mdev=/dev/mouse     * mtype=PS2     *      * [fbcon]     * defaultmode=1024x768-16bpp     *      * [qvfb]     * defaultmode=640x480-16bpp     * display=0     * \endcode     *     * Assume that the configuration file named \a my.cfg, if you want get the value of \a mdev     * in \a system section, you can call \a GetValueFromEtcFile in the following way:     *     * \code     * char buffer [51];     *     * GetValueFromEtcFile ("my.cfg", "system", "mdev", buffer, 51);     * \endcode     *     * Example:     *     * \include cfgfile.c     *     * @{     */#define ETC_MAXLINE             1024#define ETC_FILENOTFOUND        -1#define ETC_SECTIONNOTFOUND     -2#define ETC_KEYNOTFOUND         -3#define ETC_TMPFILEFAILED       -4#define ETC_FILEIOFAILED        -5#define ETC_INTCONV             -6#define ETC_OK                  0#ifndef _INCORE_RES/** * \var char* ETCFILEPATH * \brief The path name of MiniGUI configuration file. * * By default, the configuration file of MiniGUI must be installed in /etc, * /usr/local/etc or your home directory. When you install it in your * home directory, the name should be ".MiniGUI.cfg". * * MiniGUI will try to use \a ~/.MiniGUI.cfg, then \a /usr/local/etc/MiniGUI.cfg,  * and \a /etc/MiniGUI.cfg last. * * If MiniGUI can not find any \a MiniGUI.cfg file, or find a bad formated configure * file, the initialzation of MiniGUI will be canceled. */extern char ETCFILEPATH [];#endif /* _INCORE_RES *//** * \fn int GUIAPI GetValueFromEtcFile (const char* pEtcFile, const char* pSection, const char* pKey, char* pValue, int iLen) * \brief Gets value from a configuration file. * * This function gets the value of the key \a pKey in the section \a pSection  * of the configuration file \a pEtcFile, and saves the value to the buffer * pointed to by \a pValue.  * * \param pEtcFile The path name of the configuration file. * \param pSection The section name in which the value located. * \param pKey The key name of the value. * \param pValue The value will be saved in this buffer. * \param iLen The length in bytes of the buffer. * \return ETC_OK on success, < 0 on error. * * \retval ETC_OK               Gets value successfullly. * \retval ETC_FILENOTFOUND     Can not find the specified configuration file. * \retval ETC_SECTIONNOTFOUND  Can not find the specified section in the configuration file. * \retval ETC_KEYNOTFOUND      Can not find the specified key in the section. * \retval ETC_FILEIOFAILED     File I/O operation error occurred. * * \note MiniGUI use \a strncpy to copy actual value to \a pValue. Thus, if the length of  * the actual value is larger than \a iLen, the result copied to \a pValue  * will \em NOT be null-terminated. * * \sa GetIntValueFromEtcFile, SetValueToEtcFile, strncpy(3) */int GUIAPI GetValueFromEtcFile (const char* pEtcFile, const char* pSection,

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品一区二区国语对白| 蜜桃久久av一区| 免费观看在线色综合| 成人黄色a**站在线观看| 欧美日韩在线三区| 欧美一区二区三区喷汁尤物| 国产精品―色哟哟| 开心九九激情九九欧美日韩精美视频电影| 国产成人在线免费| 日韩一区二区三免费高清| 亚洲人成在线观看一区二区| 国产成a人亚洲精| 欧美刺激午夜性久久久久久久| 亚洲狠狠爱一区二区三区| 不卡的av在线| 国产精品天干天干在线综合| 国产精品一区二区在线看| 欧美一区2区视频在线观看| 亚洲网友自拍偷拍| 色偷偷成人一区二区三区91| 成人免费在线视频| 成人免费毛片嘿嘿连载视频| 久久精品视频免费| 国产一区中文字幕| 26uuu国产电影一区二区| 日韩成人精品在线| 欧美综合在线视频| 亚洲精品国产视频| 色婷婷综合久久久久中文一区二区 | 欧美日韩一区二区在线观看| 亚洲人妖av一区二区| 成人动漫视频在线| 国产精品嫩草99a| av在线播放一区二区三区| 国产欧美日韩在线| 顶级嫩模精品视频在线看| 久久九九国产精品| 成人自拍视频在线观看| 欧美国产成人在线| av电影在线不卡| 亚洲精品欧美二区三区中文字幕| 成人av资源站| 亚洲精品国产精华液| 欧美日韩情趣电影| 午夜久久福利影院| 精品国产伦一区二区三区免费| 波多野结衣中文一区| 国产一区二区毛片| 久久色中文字幕| 国产麻豆视频精品| 国产日韩一级二级三级| 粉嫩绯色av一区二区在线观看| 欧美激情在线一区二区三区| 国产v日产∨综合v精品视频| 国产精品久久久久久久久动漫| 91啪亚洲精品| 午夜久久久久久| 久久综合久久综合亚洲| 成人h动漫精品一区二| 亚洲欧美在线高清| 欧美日韩dvd在线观看| 麻豆成人久久精品二区三区小说| 日韩欧美123| 国产一区二区三区四区五区入口 | 国产精品无圣光一区二区| 国产精品色眯眯| 韩国在线一区二区| 中文字幕va一区二区三区| 欧洲国产伦久久久久久久| 天天操天天干天天综合网| 国产三级欧美三级| 欧美日韩视频一区二区| 国产乱色国产精品免费视频| 亚洲免费在线视频一区 二区| 欧美丰满嫩嫩电影| 不卡的看片网站| 蜜桃av一区二区| 亚洲人成在线播放网站岛国 | 亚洲成人中文在线| 国产色一区二区| 欧美狂野另类xxxxoooo| 成人国产精品视频| 久久不见久久见免费视频7| 一区二区三区电影在线播| 久久久久久久网| 欧美精品在线一区二区三区| www.欧美色图| 日本v片在线高清不卡在线观看| 99re成人在线| 亚洲欧美成aⅴ人在线观看| 欧美日韩成人综合在线一区二区 | 亚洲国产精品传媒在线观看| 成人免费高清在线观看| 视频一区二区中文字幕| 国产精品网站在线播放| 国产欧美日韩精品在线| 成人激情黄色小说| 国产精品视频免费看| 91精品国产福利| 在线观看亚洲a| 91蜜桃网址入口| 成人精品鲁一区一区二区| 韩国v欧美v亚洲v日本v| 蜜臀久久久99精品久久久久久| 亚洲一区二区在线播放相泽| 亚洲欧美欧美一区二区三区| 国产精品女同互慰在线看| 国产欧美一区二区在线| 久久久久久亚洲综合| www国产精品av| 久久久久99精品国产片| 久久久蜜桃精品| 久久精品一区八戒影视| 国产亚洲成aⅴ人片在线观看| 久久只精品国产| 国产婷婷精品av在线| 国产女人水真多18毛片18精品视频| 久久久久久久久久电影| 国产日韩视频一区二区三区| 国产清纯美女被跳蛋高潮一区二区久久w| 欧美一级理论性理论a| 日韩欧美国产精品| xfplay精品久久| 国产精品美女久久久久久久| 国产精品不卡在线观看| 亚洲综合清纯丝袜自拍| 视频一区二区欧美| 精品无码三级在线观看视频| 国产精品一区二区视频| www.久久精品| 欧美中文字幕久久| 91麻豆精品国产91久久久久久久久| 91精品国产美女浴室洗澡无遮挡| 91精品国产综合久久久久久| 精品国产乱码久久久久久夜甘婷婷 | 国产精品麻豆一区二区| 亚洲欧美偷拍三级| 亚洲成av人片一区二区三区| 蜜臀a∨国产成人精品| 国产一区二区三区四| 99精品在线观看视频| 精品视频一区二区三区免费| 精品久久久久久久久久久久久久久 | 亚洲高清视频在线| 麻豆视频观看网址久久| 国产成人在线视频网站| 在线观看av一区| 精品999久久久| 日韩理论片中文av| 狂野欧美性猛交blacked| 波多野洁衣一区| 欧美一区二区在线免费观看| 国产午夜精品久久久久久久| 亚洲精品高清在线观看| 精品一区免费av| 欧洲中文字幕精品| 久久久久久久综合色一本| 亚洲综合一区二区| 国产一区二区福利| 欧美三级韩国三级日本一级| 国产亚洲女人久久久久毛片| 日韩激情视频网站| 波多野结衣91| 久久影院午夜论| 亚洲国产wwwccc36天堂| 国产99久久久精品| 欧美一级黄色录像| 亚洲一区二区三区四区在线免费观看 | 欧美一区二区在线播放| 日韩久久一区二区| 国产99久久久国产精品免费看 | 99re视频精品| 久久夜色精品一区| 日韩黄色小视频| 一本大道久久a久久综合婷婷| 精品福利视频一区二区三区| 亚洲妇熟xx妇色黄| 色乱码一区二区三区88| 中文字幕精品一区二区精品绿巨人| 蜜臀久久久久久久| 欧美另类z0zxhd电影| 欧美国产综合一区二区| 激情综合网最新| 日韩一级免费观看| 香蕉久久一区二区不卡无毒影院| 99久久精品99国产精品| 精品国产一区二区国模嫣然| 丝瓜av网站精品一区二区| 91视频com| 国产精品高清亚洲| av一区二区不卡| 国产精品美女www爽爽爽| 亚洲与欧洲av电影| 欧美在线观看视频在线| 一区二区三区欧美| 在线精品观看国产| 亚洲制服丝袜在线| 欧美人与性动xxxx| 天堂成人国产精品一区| 4438x亚洲最大成人网|