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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? minigui.h

?? 2410開發(fā)板上的ucos開發(fā)實例
?? 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,

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一二三区不卡| 欧美精品一级二级| 欧美色男人天堂| 欧美人xxxx| 欧美精品一区二| 国产精品免费aⅴ片在线观看| 亚洲精选视频在线| 日韩高清不卡在线| 国产成人久久精品77777最新版本| 91丝袜高跟美女视频| 欧美色视频一区| 国产夜色精品一区二区av| 一区二区视频在线看| 美女视频一区在线观看| 粉嫩嫩av羞羞动漫久久久| 欧美日韩国产一区二区三区地区| 精品乱人伦小说| 亚洲精品久久久久久国产精华液| 日韩av中文字幕一区二区 | 欧美影院午夜播放| 精品奇米国产一区二区三区| 中文字幕欧美一区| 卡一卡二国产精品| 色94色欧美sute亚洲线路一久| 日韩一级高清毛片| 亚洲女与黑人做爰| 精品一区二区三区日韩| 日本久久精品电影| 久久久99久久| 日韩av一区二区在线影视| 91在线视频免费91| 久久青草国产手机看片福利盒子| 亚洲午夜一区二区| 成人av网址在线| 欧美变态tickle挠乳网站| 亚洲欧美激情视频在线观看一区二区三区 | 亚洲免费看黄网站| 国产精品亚洲第一区在线暖暖韩国 | 欧美va亚洲va在线观看蝴蝶网| 日韩一区欧美一区| 久久成人久久爱| 欧美日韩一区精品| 亚洲欧洲精品成人久久奇米网| 久久黄色级2电影| 欧美日韩精品一区视频| 亚洲欧美激情在线| 波多野结衣亚洲| 欧美成人vps| 爽好多水快深点欧美视频| 一本在线高清不卡dvd| 久久综合九色综合97婷婷 | 欧美一级一级性生活免费录像| 国产精品国产三级国产普通话99 | 久久精品人人爽人人爽| 久久99久久99| 6080午夜不卡| 亚洲成在线观看| 色综合视频在线观看| 亚洲国产精品传媒在线观看| 黄色日韩网站视频| 日韩欧美高清dvd碟片| 日本视频一区二区| 欧美一区国产二区| 五月婷婷综合激情| 欧美日韩国产一级片| 亚洲一级在线观看| 欧美日韩一区二区三区在线看 | 欧美日韩免费高清一区色橹橹| 亚洲天堂a在线| 91猫先生在线| 亚洲欧美一区二区三区久本道91 | 亚洲精品日日夜夜| 91天堂素人约啪| 一区二区三区免费看视频| 色伊人久久综合中文字幕| 亚洲欧美日韩国产中文在线| 99久久99久久精品免费看蜜桃| 中文字幕一区二区三区蜜月 | 亚洲一二三区在线观看| 欧美亚洲高清一区| 亚洲va欧美va国产va天堂影院| 欧美色网一区二区| 婷婷激情综合网| 欧美一区二区三级| 激情综合色综合久久综合| 久久天堂av综合合色蜜桃网| 国产精品自拍av| 国产视频911| 99视频在线精品| 一区二区三区在线观看国产| 欧美在线你懂的| 丝袜美腿亚洲综合| 欧美xfplay| 国产suv精品一区二区6| 亚洲蜜臀av乱码久久精品蜜桃| 精品婷婷伊人一区三区三| 日韩电影一区二区三区四区| 欧美videossexotv100| 国产盗摄一区二区三区| 中文字幕亚洲一区二区va在线| 91免费版在线看| 亚洲午夜久久久久久久久电影网| 91精品国产综合久久久久久久| 久久精品国产一区二区三区免费看| 久久久久久免费毛片精品| 粉嫩13p一区二区三区| 亚洲精品免费看| 欧美一区二区人人喊爽| 国产高清久久久| 尤物在线观看一区| 日韩视频国产视频| 成人美女视频在线观看| 亚洲h在线观看| 久久中文娱乐网| 91欧美一区二区| 免费看日韩a级影片| 国产精品免费看片| 欧美一区二区在线看| 岛国精品在线播放| 五月婷婷久久丁香| 国产午夜亚洲精品理论片色戒 | 亚洲福利视频一区| 精品国产三级电影在线观看| 一本在线高清不卡dvd| 精品一区二区免费视频| 亚洲少妇30p| 日韩一卡二卡三卡四卡| 不卡av在线网| 久热成人在线视频| 亚洲少妇中出一区| 久久综合色一综合色88| 欧美综合亚洲图片综合区| 加勒比av一区二区| 亚洲自拍欧美精品| 国产亚洲欧美一区在线观看| 欧美色图片你懂的| 成人一区二区三区视频在线观看| 日韩精品视频网| 亚洲三级免费电影| 精品国产成人系列| 欧美三电影在线| 成人国产精品免费| 青青草国产精品亚洲专区无| 亚洲欧美日韩综合aⅴ视频| 精品国产污污免费网站入口| 欧美无乱码久久久免费午夜一区 | 亚洲欧洲美洲综合色网| 欧美成人在线直播| 欧美日韩国产一区二区三区地区| a级高清视频欧美日韩| 精品中文字幕一区二区| 亚洲成av人片| 亚洲视频在线观看三级| 欧美极品美女视频| 精品三级av在线| 欧美老肥妇做.爰bbww视频| 99久久伊人久久99| 国产福利精品一区| 国产一区二区三区久久久| 热久久久久久久| 亚洲成人黄色影院| 一区二区三区在线影院| 综合色中文字幕| 中文字幕国产精品一区二区| 久久久久久久综合狠狠综合| 精品免费日韩av| 日韩欧美在线网站| 欧美精品在欧美一区二区少妇| 在线视频一区二区三区| 99久精品国产| 成人av先锋影音| 成人激情av网| 粉嫩高潮美女一区二区三区| 国产麻豆成人精品| 国产盗摄一区二区| 国产白丝网站精品污在线入口| 国产乱码精品1区2区3区| 国产美女视频91| 狠狠色丁香婷综合久久| 久久不见久久见免费视频1| 久久电影网电视剧免费观看| 裸体健美xxxx欧美裸体表演| 日日夜夜免费精品视频| 首页综合国产亚洲丝袜| 日本欧美一区二区三区乱码| 日本不卡免费在线视频| 蜜桃av一区二区| 久久国产精品99久久久久久老狼| 麻豆精品新av中文字幕| 久久免费视频色| 欧美日韩午夜在线| 蜜臀av性久久久久蜜臀av麻豆| 亚洲美女免费视频| 成人小视频免费在线观看| 亚洲成人av资源| 亚洲成人www| 奇米在线7777在线精品| 一区二区三区四区不卡视频| 亚洲乱码中文字幕| 喷白浆一区二区|