EGL--XMS类头文件 XMS.H

王朝other·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

/*

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 );

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航