其他语言

本类阅读TOP10

·基于Solaris 开发环境的整体构思
·使用AutoMake轻松生成Makefile
·BCB数据库图像保存技术
·GNU中的Makefile
·射频芯片nRF401天线设计的分析
·iframe 的自适应高度
·BCB之Socket通信
·软件企业如何实施CMM
·入门系列--OpenGL最简单的入门
·WIN95中日志钩子(JournalRecord Hook)的使用

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
EGL--XMS类头文件 XMS.H

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

/*
 XMS.H
 代码编写: 王家宝
 最后更新日期: 2000.04.01

 用途: 操作XMS内存
 要求: 系统提供HIMEM.SYS
*/


char *xms_2_basemem_buffer;/* divide the screen XMS_BLOCK_NUM block */
struct xms_move{
    long byte_count;  /* 每次传送多少个字节 */
    unsigned source_handle; /* 源区句柄 */
    long source_offset;  /* 源区偏移量 */
    unsigned destination_handle;/* 目的区句柄 */
    long destination_offset; /* 目的区偏移量 */
    };

int xms_init();
int end_xms();
int xms_malloc( unsigned memKB );
/*if error return 0,else return xms handle,memKB must calculate by KB*/
int xms_free(int xms_handle); /* if error return 0 */
void xms_interface(union REGS *,union REGS *);
/* 如xms_interface调用失败可在其out.?.??中得到错误代码 */
int xms_movedata( struct xms_move *m );




相关文章

相关软件