当前位置: 代码迷 >> C语言 >> [求助]关于c中操作系统接口库函数
  详细解决方案

[求助]关于c中操作系统接口库函数

热度:144   发布时间:2005-07-15 09:34:00.0
[求助]关于c中操作系统接口库函数

1-------void SetCurShape(mscurstype mask)/*自定义的鼠标的图形装载*/ { union REGS r; struct SREGS s; r.x.ax=9; r.x.bx=mask.hor; r.x.cx=mask.ver; r.x.dx=FP_OFF(&mask); s.es=FP_SEG(&mask); int86x(0x33,&r,&r,&s); } 这个函数内r.x.ax=9;调用的是什么功能呀? 2---------/* 显示鼠标 */ void ShowMouse(void) { union REGS ireg; ireg.x.ax=1; int86(0x33,&ireg,&ireg); } ireg.x.ax=1是调用显示鼠标的功能吗? 3---------- /* 设置鼠标坐标 */ void SetMousexy(int x,int y) { union REGS ireg; ireg.x.ax=4; ireg.x.cx=x; ireg.x.dx=y; int86(0x33,&ireg,&ireg); }

当ireg.x.ax=5,6,9,时又是调用什么功能呢?

搜索更多相关的解决方案: 操作系统  接口  函数  

----------------解决方案--------------------------------------------------------
有一本书叫《dos中断大全》.............
----------------解决方案--------------------------------------------------------
太恐怖了,居然是全英文版的,看样子要过一两年再说了
----------------解决方案--------------------------------------------------------
  相关解决方案