亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
91在线观看下载| 亚洲v精品v日韩v欧美v专区| 国产成人免费视频网站高清观看视频| 4438x亚洲最大成人网| 亚洲成av人影院在线观看网| 欧美日韩高清影院| 美女视频一区二区三区| 精品成人在线观看| 国产成人一级电影| 综合中文字幕亚洲| 欧美日韩一区二区三区在线看| 视频一区二区欧美| 久久嫩草精品久久久久| www.色综合.com| 亚洲第一狼人社区| 久久亚洲综合色一区二区三区| 成人小视频免费观看| 亚洲色图视频免费播放| 欧美一区在线视频| 粉嫩欧美一区二区三区高清影视 | 亚洲国产成人自拍| 欧美中文字幕一区二区三区亚洲| 午夜一区二区三区在线观看| 欧美一级生活片| 成人一区二区三区| 亚洲 欧美综合在线网络| 26uuu久久天堂性欧美| 9i在线看片成人免费| 日韩高清不卡在线| 国产精品视频九色porn| 欧美日韩精品高清| 久久精品国产精品亚洲综合| 亚洲婷婷在线视频| 51精品秘密在线观看| 99久久综合精品| 亚洲一区电影777| 久久一夜天堂av一区二区三区 | 欧美性猛交xxxxxx富婆| 国产一区999| 亚洲超碰97人人做人人爱| 久久精品亚洲精品国产欧美kt∨| 99这里都是精品| 九九精品视频在线看| 亚洲精品欧美激情| 国产日韩欧美不卡| 欧美一级欧美一级在线播放| 91色porny蝌蚪| 国产一区福利在线| 日日欢夜夜爽一区| 中文字幕在线一区二区三区| 制服丝袜亚洲精品中文字幕| 欧美日韩亚洲综合在线 | 国内精品视频一区二区三区八戒| 一区二区三区中文字幕电影| 国产亚洲精品资源在线26u| 欧美精品一二三区| 色综合天天狠狠| 国产一区二区精品久久| 日韩国产欧美在线观看| 亚洲精品福利视频网站| 国产网红主播福利一区二区| 69堂国产成人免费视频| 欧美在线观看禁18| 91色|porny| 不卡高清视频专区| 成人丝袜视频网| 东方欧美亚洲色图在线| 国产自产视频一区二区三区| 日本伊人午夜精品| 午夜精品福利久久久| 亚洲另类色综合网站| 亚洲美女在线国产| 亚洲欧洲无码一区二区三区| 日本一区二区动态图| 国产人妖乱国产精品人妖| 日韩美女在线视频| 日韩欧美一级在线播放| 日韩女同互慰一区二区| 欧美一区二区三区成人| 欧美一卡在线观看| 日韩欧美三级在线| 精品国产亚洲在线| 久久蜜臀精品av| 久久久电影一区二区三区| 久久先锋资源网| 国产精品午夜在线观看| 国产精品免费视频网站| 国产精品卡一卡二| 亚洲精品国产品国语在线app| 综合色中文字幕| 亚洲欧美韩国综合色| 亚洲一区在线观看视频| 亚洲va中文字幕| 久久成人免费电影| 国内精品第一页| 国产**成人网毛片九色| av中文字幕亚洲| 欧美在线免费观看亚洲| 欧美蜜桃一区二区三区| 欧美成人激情免费网| 久久久久久久久伊人| 中文字幕在线视频一区| 日本一区二区三区dvd视频在线| 久久婷婷综合激情| 自拍偷自拍亚洲精品播放| 一区二区三区 在线观看视频 | 一区二区三区四区在线免费观看| 亚洲欧美电影一区二区| 亚洲国产精品一区二区久久| 免费视频最近日韩| 国产精选一区二区三区| 91亚洲精品一区二区乱码| 亚洲国产经典视频| 亚洲综合视频在线观看| 另类的小说在线视频另类成人小视频在线| 精品一区免费av| 91一区二区在线| 日韩欧美色综合网站| 中文字幕一区二区三区不卡 | 26uuu欧美日本| 一区二区三区中文在线| 国内一区二区在线| 欧美日韩成人综合在线一区二区| 久久久久99精品国产片| 五月天一区二区三区| 成人动漫视频在线| 日韩一区二区三区免费观看| 亚洲欧洲另类国产综合| 麻豆freexxxx性91精品| 色av一区二区| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲一区二区三区在线看| 国产精品18久久久久久vr| 欧美三级视频在线观看 | 亚洲素人一区二区| 麻豆91小视频| 91黄色在线观看| 久久午夜羞羞影院免费观看| 亚洲成人一区二区| 成人高清视频免费观看| 久久先锋影音av| 久久精品国产精品亚洲综合| 欧美三级视频在线播放| 18成人在线观看| 高清在线不卡av| 欧美zozozo| 日韩—二三区免费观看av| 国产成人超碰人人澡人人澡| 精品剧情v国产在线观看在线| 婷婷久久综合九色综合伊人色| 91视频观看视频| 中文字幕 久热精品 视频在线| 狠狠色丁香久久婷婷综| 欧美一级xxx| 日本不卡视频在线| 91麻豆精品国产91久久久久久 | 国产91在线观看| 亚洲精品在线三区| 免费精品视频在线| 4438成人网| 免费久久99精品国产| 欧美一区二区三区四区五区 | 久久毛片高清国产| 精品在线播放午夜| 日韩欧美中文字幕精品| 奇米综合一区二区三区精品视频| 欧美日韩国产首页| 日韩精品亚洲一区二区三区免费| 欧美日韩亚洲高清一区二区| 亚洲不卡一区二区三区| 欧美精品一二三四| 美女网站视频久久| 精品国产人成亚洲区| 国产又黄又大久久| 国产欧美精品一区二区色综合| 国产·精品毛片| 成人免费在线观看入口| 久久精品亚洲国产奇米99| 色88888久久久久久影院野外 | 91精品国产综合久久精品| 一区二区三区精品| 欧美日韩成人激情| 蜜臀av一级做a爰片久久| 精品成人一区二区| 国产河南妇女毛片精品久久久| 国产精品国产三级国产aⅴ原创 | 婷婷综合另类小说色区| 国产精品第13页| 91老司机福利 在线| 夜夜精品浪潮av一区二区三区| 欧美三级中文字幕| 九九久久精品视频| 中文字幕av一区 二区| 色综合婷婷久久| 丝袜美腿亚洲综合| 国产欧美视频一区二区| 在线视频中文字幕一区二区| 日韩影视精彩在线| 欧美高清在线一区| 欧美三级中文字幕|