请输入您要查询的百科知识:

 

词条 Windows结构
释义

系统虚拟机器VM: 是系统的环境名,在这种环境下,系统将支持所有的Windows应用程l序和Windows子系统组件。如图形设备接口(GDI)等。32位Windows应用程序:是一种新Windows应用程序,是Microsoft Win32应用程序编程接口API的一个子集。

外壳:是一种32位的Windows应用程序,它为系统l提供必须的用户界面。

16位Windows应用程序:是在Windows 3.x上使用的应用程序。

Windows内核:支持Windows应用程序所要求的低级服务,如动态内存分配。

lGDI:是Windows图形功能的核心。

l User:是Windows管理程序。

MS-DOS虚拟机器:支持在Windows下的MS-DOS应用l程序。

在linux下,WINDOW结构定义在curses.h头文件中,可能是在/usr/include或/usr/include/stdlib.h目录下,

typedef struct _win_st WINDOW;

struct _win_st

{

NCURSES_SIZE_T _cury, _curx; /* current cursor position */

/* window location and size */

NCURSES_SIZE_T _maxy, _maxx; /* maximums of x and y, NOT window size */

NCURSES_SIZE_T _begy, _begx; /* screen coords of upper-left-hand corner */

short _flags;                /* window state flags */

/* attribute tracking */

attr_t _attrs;                /* current attribute for non-space character */

chtype _bkgd;                /* current background char/attribute pair */

/* option values set by user */

bool        _notimeout;        /* no time out on function-key entry? */

bool        _clear;                /* consider all data in the window invalid? */

bool        _leaveok;        /* OK to not reset cursor on exit? */

bool        _scroll;        /* OK to scroll this window? */

bool        _idlok;                /* OK to use insert/delete line? */

bool        _idcok;                /* OK to use insert/delete char? */

bool        _immed;                /* window in immed mode? (not yet used) */

bool        _sync;                /* window in sync mode? */

bool        _use_keypad;        /* process function keys into KEY_ symbols? */

int        _delay;                /* 0 = nodelay, <0 = blocking, >0 = delay */

struct ldat *_line;        /* the actual line data */

/* global screen state */

NCURSES_SIZE_T _regtop;        /* top line of scrolling region */

NCURSES_SIZE_T _regbottom; /* bottom line of scrolling region */

/* these are used only if this is a sub-window */

int        _parx;                /* x coordinate of this window in parent */

int        _pary;                /* y coordinate of this window in parent */

WINDOW        *_parent;        /* pointer to parent if a sub-window */

/* these are used only if this is a pad */

struct pdat

{

NCURSES_SIZE_T _pad_y, _pad_x;

NCURSES_SIZE_T _pad_top, _pad_left;

NCURSES_SIZE_T _pad_bottom, _pad_right;

} _pad;

NCURSES_SIZE_T _yoffset; /* real begy is _begy + _yoffset */

#ifdef _XOPEN_SOURCE_EXTENDED

cchar_t _bkgrnd;        /* current background char/attribute pair */

#if 0

int        _color;                /* current color-pair for non-space character */

#endif

#endif

};

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/2/4 7:49:12