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

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

?? minigui.h

?? 有了操作系統、TCP/IP協議棧、文件系統
?? H
?? 第 1 頁 / 共 5 頁
字號:
/** * \file minigui.h * \author Wei Yongming <ymwei@minigui.org> * \date 2002/01/06 *  * This file includes global and miscellaneous interfaces of MiniGUI. * \verbatim    Copyright (C) 2002-2005 Feynman Software.    Copyright (C) 1998-2002 Wei Yongming.    This file is part of MiniGUI, a compact cross-platform Graphics     User Interface (GUI) support system for real-time embedded systems.    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    If you are using MiniGUI for developing commercial, proprietary, or other    software not covered by the GPL terms, you must have a commercial license    for MiniGUI. Please see http://www.minigui.com/product/index.html for     how to obtain this. If you are interested in the commercial MiniGUI     licensing, please write to sales@minigui.com.  \endverbatim *//* * $Id: minigui.h,v 1.107 2005/02/15 05:00:08 weiym Exp $ *  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,  *                     and ThreadX version 1.6.x *             Copyright (C) 2002-2005 Feynman Software. *             Copyright (C) 1998-2002 Wei Yongming. */#ifndef _MGUI_MINIGUI_H  #define _MGUI_MINIGUI_H#include <stdio.h>#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */    /**     * \addtogroup global_vars Global variables     * @{     */    /**     * \defgroup rect_vars Global Rectangles     * @{     *//** * \var RECT g_rcScr * \brief Contains the rectangle of the whole screen. */extern RECT g_rcScr;         /* The RECT of screen. */#if defined(_LITE_VERSION) && !defined(_STAND_ALONE)/** * \var RECT g_rcDesktop * \brief Contains the rectangle of desktop of the application. * * \note Only available for MiniGUI-Lite as an actual global variable. * And \a g_rcDesktop is defined as an alias (macro) of \a g_rcScr for MiniGUI-Threads. * * \sa g_rcScr */extern RECT g_rcDesktop;     /* The RECT of desktop. */#else#define g_rcDesktop     g_rcScr#endif    /** @} end of rect_vars */    /**     * \defgroup lite_vars MiniGUI-Lite specific variables     * @{     */#if defined(_LITE_VERSION) && !defined(_STAND_ALONE)#include <sys/types.h>/** * \var BOOL mgIsServer * \brief Indicates whether the process is the server or a client on MiniGUI-Lite. * * \note Only defined for MiniGUI-Lite. */extern BOOL mgIsServer;      /* Is the server or a client. *//** * \var void* mgSharedRes * \brief Contains the pointer to the shared resource of MiniGUI-Lite. * * \note Not defined for MiniGUI-Threads, and the shared resource is * read-only for all clients. * * \sa mgSizeRes */extern void* mgSharedRes;    /* The pointer to shared resource. *//** * \var void* mgSizeRes * \brief Contains the length of shared resource of MiniGUI-Lite. * * \note Only defined for MiniGUI-Lite.  * * \sa mgSharedRes */extern size_t mgSizeRes;     /* The size of shared resource. */#define LEN_LAYER_NAME      14#define LEN_CLIENT_NAME     14#define INV_LAYER_HANDLE    0/* variables only available for the server */struct MG_Layer;/** Client information. */typedef struct MG_Client{    /** The name of the client. */    char    name [LEN_CLIENT_NAME + 1];    /** PID of the client process. */    pid_t   pid;    /** UID of the client process. */    uid_t   uid;    /** The file descriptor of the socket connected to the client. */    int     fd;    /** The desktop rectangle of the client. */    RECT    rc;    /** The last active tick count of the client. */    DWORD   last_live_time;    /** The additional data of the client. */    DWORD   dwAddData;    /** The pointer to the next client in the same layer. */    struct  MG_Client* next;    /** The pointer to the previous client in the same layer. */    struct  MG_Client* prev;    /** The pointer to the layer on which the client lays. */    struct  MG_Layer* layer;    struct GlobalRes* global_res;} MG_Client;struct _CLIPRGN;/** Layer information. */typedef struct MG_Layer{    /** The name of the layer. */    char    name [LEN_LAYER_NAME + 1];    /** The pointer to the list of clients which lay on the layer. */    MG_Client* cli_head;    /** The pointer to the active client on the layer. */    MG_Client* cli_active;    /** The additional data of the layer. */    DWORD   dwAddData;    /** The pointer to the next layer. */    struct MG_Layer* next;    /** The pointer to the previous layer. */    struct MG_Layer* prev;    /** The pointer to the region contains the spare rectangles of the layer. */    struct _CLIPRGN* spare_rects;} MG_Layer;/** * \var int mgClientSize * \brief The current size of the array \a mgClients. * * \sa mgClients */extern int mgClientSize;/** * \var MG_Client* mgClients * \brief The pointer to the array contains all clients' information. * * You can access the elements in \a mgClients as a normal array. If the  * field \a fd of one element is not less than zero, then the element * will be a vaild client. * * \sa MG_Client */extern MG_Client* mgClients;/** * \var MG_Layer* mgTopmostLayer * \brief The pointer to the topmost layer. * * \sa MG_Layer */extern MG_Layer* mgTopmostLayer;/** * \var MG_Layer* mgLayers * \brief The pointer to the list of layers. * * \sa MG_Layer */extern MG_Layer* mgLayers;#endif /* _LITE_VERSION && !_STAND_ALONE */    /** @} end of lite_vars */    /** @} end of global_vars *///#ifndef _LITE_VERSIONMG_EXPORT BOOL GUIAPI InitGUI (int, const char **);MG_EXPORT void GUIAPI TerminateGUI (int rcByGUI);MG_EXPORT void GUIAPI MiniGUIPanic (int exitcode);//#endif    /**     * \addtogroup fns Functions     * @{     */    /**     * \addtogroup global_fns Global/general functions     * @{     */    /**     * \defgroup lite_fns MiniGUI-Lite specific functions     * @{     */#ifdef _LITE_VERSION    /**     * \defgroup lite_listenfd_fns Listening a file descriptor     *     * Register/Unregister a listen fd to MiniGUI.     *     * When you need to listen a file descriptor, you can use \a select(2)     * system call. In MiniGUI, you can also register it to MiniGUI to      * be a listened fd, and when there is a read/write/except event on      * the registered fd , MiniGUI will sent a notification message to      * the registered window.     *     * Example:     *     * \include listenfd.c     *     * @{     */#define MAX_NR_LISTEN_FD   5/**  * \fn BOOL GUIAPI RegisterListenFD (int fd, int type, HWND hwnd, void* context) * \brief Registers a listened file descriptor to MiniGUI-Lite. * This function registers the file desciptor \a fd to MiniGUI-Lite for listening. * * When there is a read/write/except event on this \a fd, MiniGUI * will post a MSG_FDEVENT message with wParam being equal to * MAKELONG (fd, type), and the lParam being set to \a context * to the target window. * * \param fd The file descriptor to be listened. * \param type The type of the event to be listened, can be POLLIN, POLLOUT, or POLLERR. * \param hwnd The handle to the window will receive MSG_FDEVENT message. * \param context The value will be passed to the window as lParam of MSG_FDEVENT message. * \return TRUE if all OK, and FALSE on error. * * \note Only available on MiniGUI-Lite. * * \sa UnregisterListenFD, system_msgs */MG_EXPORT BOOL GUIAPI RegisterListenFD (int fd, int type, HWND hwnd, void* context);/**  * \fn BOOL GUIAPI UnregisterListenFD (int fd) * \brief Unregisters a being listened file descriptor. * * This function unregisters the being listened file descriptor \a fd. * * \param fd The file descriptor to be unregistered, should be a being  *        listened file descriptor. * \return TRUE if all OK, and FALSE on error. * * \note Only available on MiniGUI-Lite. * * \sa RegisterListenFD */MG_EXPORT BOOL GUIAPI UnregisterListenFD (int fd);    /** @} end of lite_listenfd_fns */#ifdef _STAND_ALONE#define SetDesktopRect(lx, ty, rx, by) {}#else    /**     * \defgroup lite_layer_fns Layer operations     *     * A client in MiniGUI-Lite can create a new layer or join an existed layer      * in order to get the visible desktop rectangle on the screen of it.     *     * Example:     *     * \include client_startup.c     *     * @{     *//**  * \fn GHANDLE GUIAPI JoinLayer (const char* layer_name, const char* client_name, int lx, int ty, int rx, int by) * \brief Joins to a layer. * * This function should be called by clients before calling any other MiniGUI * functions. You can call \a GetLayerInfo to get the layer information. * If the layer to be joined does not exist, the server, i.e. \a mginit, will * try to create a new one. If you passed a NULL pointer or a null string for  * \a layer_name, a new layer will be created as well. * * For the server of MiniGUI-Lite, this function will ignore the arguments of * \a layer_name and \a client_name. The rectangle defines a region in the  * screen, which is exclusively used by the server, no client can output * to this exclusive retangle. * * The server usually calls SetDesktopRect macro, which is defined as * the following: * * \code * * #define SetDesktopRect(lx, ty, rx, by) JoinLayer ("", "", lx, ty, rx, by) * * \endcode *  * Note that the server can define the exclusive retangle out of the actual * screen range. *  * \param layer_name The name of the layer. * \param client_name The name of the client. * \param lx lx,ty,rx,by: The expected desktop rect of the client. * \param ty lx,ty,rx,by: The expected desktop rect of the client. * \param rx lx,ty,rx,by: The expected desktop rect of the client. * \param by lx,ty,rx,by: The expected desktop rect of the client. * \return The handle to the layer on success, INV_LAYER_HANDLE on error. * * \sa GetLayerInfo, GetDesktopRect, ServerStartup */MG_EXPORT GHANDLE GUIAPI JoinLayer (const char* layer_name, const char* client_name,                 int lx, int ty, int rx, int by);#define SetDesktopRect(lx, ty, rx, by) \        JoinLayer ("", "", lx, ty, rx, by)/**  * \fn void GUIAPI GetDesktopRect (int* lx, int* ty, int* rx, int* by) * \brief Gets the desktop rectangle. * * After joined to a layer, client can call this function to get the * actual desktop rect of itself.  * * \param lx lx,ty,rx,by: The desktop rect will be returned through these pointers. * \param ty lx,ty,rx,by: The desktop rect will be returned through these pointers. * \param rx lx,ty,rx,by: The desktop rect will be returned through these pointers. * \param by lx,ty,rx,by: The desktop rect will be returned through these pointers. * * \sa JoinLayer */MG_EXPORT void GUIAPI GetDesktopRect (int* lx, int* ty, int* rx, int* by);#define NAME_SELF_LAYER     ""/**  * \fn GHANDLE GUIAPI GetLayerInfo (const char* layer_name, RECT* max_rect, int* nr_clients, BOOL* is_topmost, int* cli_active) * \brief Gets information of a layer. * * You can get the information of a layer through this function.  * The information will be returned through the pointer arguments  * if the specific pointer is not NULL. * * \param layer_name The name of the layer. * \param max_rect The max desktop rect can be obtained will be returned through this pointer.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av午夜精品一区二区三区| 日韩美女视频19| 久久国产夜色精品鲁鲁99| 欧美日韩一区二区不卡| 午夜精品久久一牛影视| 91精品国产色综合久久不卡电影 | 国产精品欧美极品| caoporn国产精品| 亚洲同性gay激情无套| 91高清视频免费看| 香蕉加勒比综合久久| 日韩欧美国产不卡| 国产福利视频一区二区三区| 综合分类小说区另类春色亚洲小说欧美| caoporn国产精品| 亚洲成人免费观看| 欧美大片国产精品| 99久久精品国产麻豆演员表| 亚洲电影在线免费观看| 精品理论电影在线观看| 成年人国产精品| 亚洲国产一区二区三区| 日韩无一区二区| 成人免费高清在线| 日韩av中文在线观看| 久久看人人爽人人| 在线免费观看成人短视频| 美女诱惑一区二区| 中文字幕一区三区| 6080午夜不卡| 91视频观看免费| 免费一级片91| 亚洲欧美日韩国产综合在线| 精品欧美一区二区三区精品久久| 国产白丝网站精品污在线入口| 一区二区在线观看不卡| 久久人人爽爽爽人久久久| 在线精品视频免费观看| 国产一区91精品张津瑜| 亚洲电影欧美电影有声小说| 久久婷婷成人综合色| 色婷婷精品久久二区二区蜜臂av | 久久国产精品无码网站| 中文字幕成人网| 欧美日韩一区二区三区在线看| 久久99精品国产麻豆不卡| 亚洲国产成人一区二区三区| 成人久久久精品乱码一区二区三区| 国产精品第13页| 欧美精品日日鲁夜夜添| 国产成人精品亚洲777人妖| 亚洲大片精品永久免费| 国产日韩欧美a| 欧美日韩一区二区在线视频| 国产成人无遮挡在线视频| 亚洲成人黄色影院| 中文成人综合网| 欧美性生活一区| 成人在线一区二区三区| 日本特黄久久久高潮| 亚洲私人黄色宅男| 日韩欧美国产系列| 一本大道av伊人久久综合| 美女网站视频久久| 亚洲高清久久久| 国产精品久久精品日日| 日韩精品一区国产麻豆| 91电影在线观看| 国产电影精品久久禁18| 青娱乐精品视频| 亚洲综合免费观看高清完整版| 国产日韩综合av| 日韩一级黄色大片| 欧美喷水一区二区| 成人av在线资源网| 加勒比av一区二区| 欧美aaaaa成人免费观看视频| 亚洲一级二级三级| 一区二区三区中文字幕精品精品| 国产欧美视频一区二区三区| 欧美videos大乳护士334| 欧美精品一二三四| 欧美美女bb生活片| 欧美天堂一区二区三区| 91视频国产资源| 91视频一区二区| 91丨porny丨户外露出| 激情图区综合网| 日韩av在线播放中文字幕| 亚洲最大的成人av| 亚洲综合色区另类av| 亚洲欧美视频在线观看| 亚洲男同性恋视频| 亚洲精选免费视频| 亚洲一区二区在线观看视频| 亚洲人xxxx| 亚洲最大色网站| 亚洲r级在线视频| 日韩在线一二三区| 日韩福利电影在线观看| 老司机免费视频一区二区三区| 亚洲欧美日韩国产一区二区三区| 国产精品美女久久福利网站| 国产精品区一区二区三| 亚洲视频中文字幕| 亚洲欧美激情视频在线观看一区二区三区| 中文字幕一区二区三区四区| 国产精品福利一区二区三区| 一区二区三区中文字幕精品精品 | 91成人免费电影| 欧美色倩网站大全免费| 制服丝袜日韩国产| 337p日本欧洲亚洲大胆精品 | 欧美日韩亚洲丝袜制服| 欧美一区二区三区人| 3d动漫精品啪啪一区二区竹菊| 精品日韩99亚洲| 国产精品日产欧美久久久久| 亚洲自拍偷拍综合| 麻豆91精品91久久久的内涵| 国产九九视频一区二区三区| av在线这里只有精品| 欧美日韩一区二区欧美激情| 久久亚洲精华国产精华液| 日韩一区中文字幕| 肉丝袜脚交视频一区二区| 国产一二精品视频| 欧美中文字幕亚洲一区二区va在线| 欧美日韩国产小视频| 欧美精品一区男女天堂| 国产欧美日韩一区二区三区在线观看| 欧美韩国日本综合| 亚欧色一区w666天堂| 首页亚洲欧美制服丝腿| 成人毛片在线观看| 欧美电影在线免费观看| 中文字幕乱码亚洲精品一区| 亚洲免费视频中文字幕| 亚洲国产精品久久久久婷婷884| 美女久久久精品| 99精品热视频| 日韩区在线观看| 亚洲精品欧美综合四区| 麻豆一区二区99久久久久| 欧美专区亚洲专区| 国产精品三级视频| 另类欧美日韩国产在线| 色综合色综合色综合色综合色综合| 精品人伦一区二区色婷婷| 亚洲精品成a人| 国产精品夜夜爽| 日本福利一区二区| 久久女同性恋中文字幕| 午夜精品123| 一本在线高清不卡dvd| 精品乱码亚洲一区二区不卡| 午夜视频在线观看一区| 99视频有精品| 久久久亚洲精品石原莉奈| 日韩av一区二| 91小视频在线| 亚洲欧美日韩在线| 成人18视频在线播放| 久久婷婷色综合| 美女免费视频一区| 91精品婷婷国产综合久久性色| 亚洲免费观看高清| av在线不卡网| 国产精品乱码人人做人人爱 | 精品国产乱码久久久久久闺蜜| 亚洲第四色夜色| 成人免费观看男女羞羞视频| 日韩精品一区二区三区老鸭窝 | 亚洲欧美另类久久久精品| 久久成人久久鬼色| 欧美色男人天堂| 亚洲最快最全在线视频| 94-欧美-setu| 国产精品女主播av| 成人av在线电影| 国产精品午夜在线| 成人免费毛片app| 国产精品久线在线观看| av不卡一区二区三区| 日韩美女精品在线| 欧美日韩一二三区| 亚洲成人午夜影院| 欧美日韩久久一区| 中文字幕一区日韩精品欧美| 91福利国产精品| 亚洲国产成人av| 3d成人h动漫网站入口| 日韩高清在线电影| 精品日韩99亚洲| 国产九色sp调教91| 国产女人水真多18毛片18精品视频 | 亚洲一区二区视频在线观看| 91免费在线视频观看| 亚洲一区二区三区在线播放| 欧美日韩美少妇|