/ * XMS.H code Writing: Wang Jiabao Last Update Date: 2000.04.01
Uses: Operation XMS Memory Requirements: System.com provides hiMem.sys * /
char * xms_2_basemem_buffer; / * divide the screen XMS_BLOCK_NUM block * / struct xms_move {long byte_count; source region handle long source_offset / * * /;; offset source / * / * number of bytes per transfer unsigned source_handle * / * / Unsigned destination_handle; / * Destination area handle * / long destination_offset; / * destination area 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 *); / * If the XMS_INTERFACE call failed to get an error code * / int xms_movedata (Struct XMS_Move * m) in its OUT.?.