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

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

?? minigui.h

?? 2410開發板上的ucos開發實例
?? H
?? 第 1 頁 / 共 5 頁
字號:
 * \sa JoinLayer */GHANDLE GUIAPI GetLayerInfo (const char* layer_name, RECT* max_rect,                 int* nr_clients, BOOL* is_topmost, int* cli_active);/**  * \fn BOOL GUIAPI BringLayer2Topmost (GHANDLE handle) * \brief Brings a layer to be the topmost one. * * This function brings the specified layer \a handle to be the topmost layer. * * \param handle The handle to the layer. * \return TRUE on success, otherwise FALSE. * * \sa SetActiveClient */BOOL GUIAPI BringLayer2Topmost (GHANDLE handle);/**  * \fn BOOL GUIAPI SetActiveClient (int active) * \brief Sets a client as the ative one. * * This function sets the specified client \a active to be the active one. * It also bring the layer in which the client lays to be the topmost as well. * * \param active The identifier of the client. * \return TRUE on success, otherwise FALSE. * * \sa BringLayer2Topmost */BOOL GUIAPI SetActiveClient (int active);    /** @} end of lite_layer_fns */    /**     * \defgroup lite_server_fns Server-only operations     *     * MiniGUI provides some server-only functions for you to create a     * customized server for MiniGUI-Lite, i.e. \a mginit.     *     * Example:     *     * \include server_startup.c     *     * @{     */#define LCO_NEW_CLIENT      1#define LCO_DEL_CLIENT      2/** * \var typedef void (* ON_NEW_DEL_CLIENT) (int op, int cli) * \brief Client event callback. * * \sa OnNewDelClient, OnChangeLayer */typedef void (* ON_NEW_DEL_CLIENT) (int op, int cli);#define LCO_NEW_LAYER       1#define LCO_DEL_LAYER       2#define LCO_JOIN_CLIENT     3#define LCO_REMOVE_CLIENT   4#define LCO_TOPMOST_CHANGED 5#define LCO_ACTIVE_CHANGED  6/** * \var typedef void (* ON_CHANGE_LAYER) (int op, MG_Layer* layer, MG_Client* client) * \brief Layer event callback. * * \sa OnNewDelClient, OnChangeLayer */typedef void (* ON_CHANGE_LAYER) (int op, MG_Layer* layer, MG_Client* client);/** * \var ON_NEW_DEL_CLIENT OnNewDelClient * \brief Sets to a function to handle a comming in/going away connection of client. * * When a client is connecting to or disconnecting from the server, MiniGUI * will call this function to tell you the event and the client identifier.  * The event could be one of the following: * *  - LCO_NEW_CLIENT\n *    A new client is connecting to the server. *  - LCO_DEL_CLIENT\n *    A new client is disconnecting from the server. * * The event will be passed through the argument of \a op, and the client * identifier will be passed through the argument of \a cli. * You can get the information of the client by accessing \a mgClients with \a cli. * * \note Only available for the server of MiniGUI-Lite. *  * \sa ON_NEW_DEL_CLIENT, mgClients */extern ON_NEW_DEL_CLIENT OnNewDelClient;/** * \var ON_CHANGE_LAYER OnChangeLayer * \brief Sets to a function to handle events of layers. * * When a layer is changing, MiniGUI will call this function to tell  * you the event and the layer or the client which leads to the event. * The event could be one of the following: * *  - LCO_NEW_LAYER\n *    A new layer is creating. *  - LCO_DEL_LAYER\n *    A new layer is deleting. *  - LCO_JOIN_CLIENT\n *    A client is joining to the layer. *  - LCO_REMOVE_CLIENT\n *    A client is removing from the layer. *  - LCO_TOPMOST_CHANGED\n *    The topmost layer changed, the layer will be the topmost one. *  - LCO_ACTIVE_CHANGED\n *    The active client changed, the client will be the active one. * * The event will be passed through the argument of \a op, and the pointers to the relevant * layer and client will be passed through the argument of \a layer and \a client respectively. * * \note Only available for the server of MiniGUI-Lite. *  * \sa ON_NEW_DEL_CLIENT, mgClients */extern ON_CHANGE_LAYER OnChangeLayer;/**  * \fn BOOL GUIAPI ServerStartup (void) * \brief Initializes the server of MiniGUI-Lite. * * This function initializes the server, i.e. \a mginit. It creates * the shared resource, the listening socket, and other internal objects. * Your costomized \a mginit program should call this function before calling * any other function. * * \return TRUE on success, otherwise FALSE. * * \note Server-only function, i.e. \em only can be called by \a mginit. */BOOL GUIAPI ServerStartup (void);/**  * \fn BOOL SetClientScreen (int lx, int ty, int rx, int by) * \brief Sets the screen rectangle can be used by clients. * * This function sets the screen rectangle can be used by clients. * All clients' drawing will be clipped out of the rectangle. * * The rectangle set by this function should be a subrectangle of * the server's exclusive rectangle defined by \a SetDesktopRect. * * \param lx lx,ty,rx,by: Specifies the screen rectangle. * \param ty lx,ty,rx,by: Specifies the screen rectangle. * \param rx lx,ty,rx,by: Specifies the screen rectangle. * \param by lx,ty,rx,by: Specifies the screen rectangle. * \return TRUE on success, otherwise FALSE. * * \note Server-only function, i.e. \em ONLY can be called by \a mginit. * * \note This function do nothing in MiniGUI V 1.5.x. * * \sa JoinLayer */static inline BOOL SetClientScreen (int lx, int ty, int rx, int by){    return TRUE;}/**  * \fn BOOL GUIAPI OnlyMeCanDraw (void) * \brief Tells clients do not draw anything on screen. * * If the server want to output something out of its exclusive rectangle, * it can call this function to disable the clients' any drawing output. * When the server done, it can call \a ClientCanDrawNowEx function * to tell clients in the topmost layer to repaint themselves. * * Note that the clients is still running after the server calling  * this function. *  * \return TRUE on success, otherwise FALSE. * * \note Server-only function. * * \sa ClientCanDrawNowEx, ClientCanDrawNow */BOOL GUIAPI OnlyMeCanDraw (void);/**  * \fn BOOL GUIAPI ClientCanDrawNowEx (BOOL bRepaint, const RECT* invrc) * \brief Tells clients that they can output to screen now. * * \param bRepaint Whether to repaint the clients in the topmost layer. * \param invrc The invalid screen rect. It can be NULL,  *        indicates the whole desktop of clients should be repainted. * \return TRUE on success, otherwise FALSE. * * \note Server-only function. * * \sa OnlyMeCanDraw, ClientCanDrawNow */BOOL GUIAPI ClientCanDrawNowEx (BOOL bRepaint, const RECT* invrc);/**  * \def ClientCanDrawNow() * \brief Tells clients that they can output to screen now, and  *        notify clients to repaint the whole desktop. * * \return TRUE on success, otherwise FALSE. * * \note Server-only function, and defined as a macro  *       calling \a ClientCanDrawNowEx with \a bRepaint is TRUE and \a invrc is NULL. * * \sa ClientCanDrawNowEx */#define ClientCanDrawNow()    ClientCanDrawNowEx (TRUE, NULL)/** * \fn void GUIAPI UpdateTopmostLayer (const RECT* dirty_rc) * \brief Tells the clients in the topmost layer to update their windows. * * \param dirty_rc The dirty rectangle in screen coordinate system. * * \note Server-only function. * * \sa OnlyMeCanDraw, ClientCanDrawNowEx */void GUIAPI UpdateTopmostLayer (const RECT* dirty_rc);/**  * \fn BOOL GUIAPI SetTopMostClient (int cli) * \brief Sets topmost layer by a client identifier. * * This function sets the topmost layer by the specified client identifier \a cli. * It will bring the layer contains the client to be the topmost one. * * \param cli The identifier of the client. * \return TRUE on success, otherwise FALSE. * * \note Server-only function. * * \sa SetTopMostLayer, BringLayer2Topmost */BOOL GUIAPI SetTopMostClient (int cli);/**  * \fn BOOL GUIAPI SetTopMostLayer (MG_Layer* layer) * \brief Sets topmost layer. * * This functions sets the specified layer \a layer to be the topmost layer. * * \param layer The pointer to the layer. * \return TRUE on success, otherwise FALSE. * * \note Server-only function. * * \sa SetTopMostClient, BringLayer2Topmost */BOOL GUIAPI SetTopMostLayer (MG_Layer* layer);/**  * \fn int GUIAPI GetClientByPID (int pid) * \brief Returns the client identifier from PID of a client. * * This function gets the identifier of the sepcified client from the PID of it. * * \param pid The process ID of the client. * \return The client identifier on success, less than 0 on error. * * \note Server-only function. */int GUIAPI GetClientByPID (int pid);    /** @} end of lite_server_fns */    /**     * \defgroup lite_request_fns Simple request/reply interfaces     *      * You can register a customized request handler to extend your server, i.e.      * \a mginit, of MiniGUI-Lite.     *     * A request consists of an identifier and the data associated with the request.     * The identifier is used by MiniGUI to determine which handler should be called     * when a request arrives. When MiniGUI finds one handler, it will call the handler     * and pass the socket fd connected to the client, the data associated with the request,     * and the length of the data. Eventually, the handler will sent the reply to     * the client.     *     * After register a customized request handler in your server, you can call      * \a cli_request function in the client to send a request to      * the server and wait for the reply. On the other hand, the request handler in the server     * will receive the request and call \a send_reply to send the reply to the client.     * In this way, you can create a simple IPC (inter-process conmmunication)      * mechanism between clients and the server.     *     * Example:     *     * \include request.c     *     * @{     *//** * \def MAX_SYS_REQID * \brief Maximal system reserved request identifier. * * \sa RegisterRequestHandler */#define MAX_SYS_REQID           0x0011/** * \def MAX_REQID * \brief Maximal request identifier. * * \sa RegisterRequestHandler */#define MAX_REQID               0x0018/** A request will be sent to the server of MiniGUI-Lite. */typedef struct _REQUEST {    /** The identifier of the type of the request. */    int id;    /** The data will be sent to the server. */    const void* data;    /** The length of the data. */    size_t len_data;} REQUEST;typedef REQUEST* PREQUEST;/**  * \fn cli_request (PREQUEST request, void* result, int len_rslt) * \brief Sends a request to the server and wait reply. * * If \a result is NULL or \a len_rslt is zero, the function will return  * immediately after sent the data to the server. * * \param request The pointer to REQUEST, which contains the data of the request. * \param result The buffer receives the reply. * \param len_rslt The lenght of the buffer. * \return Zero on success, no-zero on error. * * \note Only used by clients to send a request to the server of MiniGUI-Lite. * * \sa send_reply */int cli_request (PREQUEST request, void* result, int len_rslt);/**  * \fn int get_sock_fd2srv (void) * \brief Gets the file descriptor of the socket connected to the server. * * This function returns the file descriptor of the socket connected to the server, * i.e. \a mginit. * * \return The file descriptor of the socket connected to the server. * * \note Only used by clients, no meaning for the server. */int get_sock_fd2srv (void);/**  * \fn send_reply (int clifd, const void* reply, int len) * \brief Sends the reply to the client. * * This function sends a replay pointed to by \a reply which is  * \a len bytes long to the client. * * \note Only used by the server to send the reply to the client. * This function typically called in your customized request handler. * * \param clifd The fd connected to the client. * \param reply The buffer contains the reply data. * \param len The length of the reply data in bytes. * \return Zero on success, no-zero on error. * * \sa cli_request, RegisterRequestHandler */int send_reply (int clifd, const void* reply, int len);/** * \var typedef int (* REQ_HANDLER)(int cli, int clifd, void* buff, size_t len) * \brief Request handler. * * \sa RegisterRequestHandler */typedef int (* REQ_HANDLER) (int cli, int clifd, void* buff, size_t len);/**  * \fn BOOL GUIAPI RegisterRequestHandler (int req_id, REQ_HANDLER your_handler) * \brief Registers a customize request handler. * * This function registers a request handler to the server, i.e. \a mginit. * * \param req_id The identifier of the customized request. * \param your_handler The handler of the request. Being NULL to unregister the request handler. * \return TRUE on success, FALSE on error. * * \note Only used by the server to register a request handler. *       And the identifier should be larger than \a MAX_SYS_REQID and  *       less than or equal to \a MAX_REQID. * * \sa cli_request, send_reply, MAX_SYS_REQID, MAX_REQID */BOOL GUIAPI RegisterRequestHandler (int req_id, REQ_HANDLER your_handler);/**  * \fn EQ_HANDLER GUIAPI GetRequestHandler (int req_id) * \brief Gets the request handler by request identifier. *

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久精品国产99久久精品芒果| 国产成人精品影视| 在线观看亚洲一区| 亚洲一区二区三区自拍| 欧美在线短视频| 天天综合网 天天综合色| 91精品婷婷国产综合久久| 丝袜亚洲另类欧美| 欧美成人精品3d动漫h| 国产乱码精品一区二区三区忘忧草| 国产亚洲人成网站| 91小宝寻花一区二区三区| 亚洲欧洲日产国码二区| 在线免费精品视频| 免费在线观看一区二区三区| 精品精品国产高清一毛片一天堂| 国产成人精品亚洲日本在线桃色| 日韩一区在线免费观看| 欧美日本不卡视频| 国产成人精品一区二区三区网站观看| 日韩美女视频一区| 3d成人h动漫网站入口| 国产乱色国产精品免费视频| 中文字幕中文在线不卡住| 欧美日韩一区二区在线视频| 激情久久久久久久久久久久久久久久| 国产日韩精品久久久| 欧美三级日韩三级| 国产精品中文字幕一区二区三区| 亚洲欧美视频在线观看视频| 欧美一卡二卡在线观看| 成人蜜臀av电影| 免费成人在线网站| 亚洲少妇30p| 欧美电影精品一区二区| 色悠悠亚洲一区二区| 蜜臀av一区二区三区| 亚洲色欲色欲www在线观看| 欧美xxx久久| 日本精品裸体写真集在线观看| 精品在线观看视频| 亚洲午夜一二三区视频| 亚洲国产精品av| 日韩欧美亚洲国产精品字幕久久久 | 国产精品一区二区男女羞羞无遮挡| 亚洲欧洲在线观看av| 精品国产电影一区二区| 91行情网站电视在线观看高清版| 国产伦精一区二区三区| 视频一区视频二区中文字幕| 自拍偷拍欧美激情| 亚洲国产精品激情在线观看| 欧美一卡在线观看| 欧美日韩一级视频| 日本二三区不卡| 成人av电影观看| 国产精品自拍av| 麻豆精品在线看| 视频在线观看国产精品| 亚洲国产成人tv| 成人免费在线观看入口| 欧美国产乱子伦| 久久久久久免费网| 日韩欧美一区二区视频| 欧美高清hd18日本| 欧美久久久久中文字幕| 色94色欧美sute亚洲线路二| 国产91精品露脸国语对白| 久久99最新地址| 麻豆视频观看网址久久| 男人的天堂久久精品| 青椒成人免费视频| 久久精品久久精品| 蜜桃一区二区三区在线| 青娱乐精品视频| 麻豆精品一区二区三区| 麻豆精品一区二区三区| 久久丁香综合五月国产三级网站| 美女在线观看视频一区二区| 蜜臀a∨国产成人精品| 蜜桃精品视频在线观看| 久久国产精品免费| 极品尤物av久久免费看| 国产在线视视频有精品| 国产黄色精品视频| eeuss影院一区二区三区| 成人高清伦理免费影院在线观看| 成人av午夜影院| av在线综合网| 色婷婷亚洲综合| 欧美日韩国产综合一区二区| 欧美日韩在线播放三区| 日韩一区二区三区观看| 精品精品国产高清a毛片牛牛| 久久久久久日产精品| 国产精品嫩草久久久久| 亚洲免费观看视频| 亚洲福中文字幕伊人影院| 日本不卡一二三| 国产成人精品一区二区三区四区 | 亚洲综合成人在线视频| 亚洲男帅同性gay1069| 又紧又大又爽精品一区二区| 午夜精品久久久久| 精品一区二区三区不卡| 成人黄色一级视频| 色婷婷av一区二区三区软件| 911精品产国品一二三产区| 亚洲精品在线免费观看视频| 国产精品久久一卡二卡| 亚洲国产一区视频| 国产九色精品成人porny| 播五月开心婷婷综合| 欧美日韩国产首页| 久久综合九色综合97婷婷女人 | 精品久久久久久久久久久久包黑料| 欧美精品一区二区三区视频| 一区视频在线播放| 青青草精品视频| 99久久婷婷国产综合精品| 3atv一区二区三区| 亚洲欧美日韩中文字幕一区二区三区 | 亚洲成a人片在线不卡一二三区 | 免费看黄色91| 91美女片黄在线| 91精品国产一区二区三区香蕉| 日本一区二区综合亚洲| 一区二区三区影院| 国产激情一区二区三区桃花岛亚洲| 日本精品免费观看高清观看| 久久毛片高清国产| 香蕉影视欧美成人| 99久久777色| wwwwww.欧美系列| 首页综合国产亚洲丝袜| 99re视频精品| 国产午夜亚洲精品理论片色戒| 丝袜亚洲精品中文字幕一区| 91小视频在线观看| 国产色婷婷亚洲99精品小说| 免费在线观看成人| 欧美日韩精品一区二区天天拍小说| 国产精品久久国产精麻豆99网站| 美女视频网站久久| 精品视频999| 一区二区三区视频在线看| 国产成人午夜电影网| 欧美成人精品福利| 热久久久久久久| 欧美日韩黄色影视| 夜夜嗨av一区二区三区四季av | 777色狠狠一区二区三区| 亚洲素人一区二区| av在线这里只有精品| 国产日韩欧美精品电影三级在线| 欧美视频一二三区| 奇米精品一区二区三区四区| 在线亚洲一区二区| 国产精品国产三级国产普通话蜜臀| 国产美女精品人人做人人爽| 制服丝袜激情欧洲亚洲| 亚洲国产精品久久艾草纯爱| 在线免费亚洲电影| 亚洲精品成a人| 欧美在线免费视屏| 亚洲一区二区三区四区在线| 日本乱人伦一区| 亚洲精品视频在线观看免费| 91丨九色丨尤物| 亚洲人成精品久久久久久| 99国产欧美久久久精品| 亚洲欧洲日韩综合一区二区| 91蝌蚪porny九色| 一区二区三区自拍| 91国在线观看| 日韩影视精彩在线| 91精品国产全国免费观看| 蜜桃久久av一区| 久久久噜噜噜久噜久久综合| 国产成人在线视频播放| 亚洲色图欧美偷拍| 亚洲综合小说图片| 欧美日韩午夜在线视频| 免费在线观看一区| 久久伊99综合婷婷久久伊| 成人午夜激情影院| 亚洲美女偷拍久久| 911精品国产一区二区在线| 老司机精品视频在线| 久久久久国产精品厨房| 成人av在线电影| 亚洲图片欧美视频| 2021久久国产精品不只是精品| 成人动漫一区二区| 亚洲国产va精品久久久不卡综合| 7777精品伊人久久久大香线蕉最新版| 久久av老司机精品网站导航| 国产精品蜜臀av| 欧美日韩黄视频| 粉嫩一区二区三区在线看|