home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
sndbords
/
proaudio
/
pcmtlsrc
/
pcmtlsrc.arj
/
LOADPCM.ARJ
/
XMS.H
< prev
Wrap
C/C++ Source or Header
|
1992-09-10
|
1KB
|
45 lines
/*$Author: BCRANE $*/
/*$Date: 29 Jul 1992 16:58:22 $*/
/*$Header: W:/sccs/sdkapp/xms.h_v 1.0 29 Jul 1992 16:58:22 BCRANE $*/
/*$Log: W:/sccs/sdkapp/xms.h_v $
*
* Rev 1.0 29 Jul 1992 16:58:22 BCRANE
* Initial revision.
*/
/*$Logfile: W:/sccs/sdkapp/xms.h_v $*/
/*$Modtimes$*/
/*$Revision: 1.0 $*/
/*$Workfile: xms.h $*/
/* memory move structure */
struct xmsmoves
{
unsigned long size; /* number of bytes to move */
unsigned int srchandle; /* XMS handle of source of move */
union
{
unsigned char far *ptr; /* if handle is NULL, seg:off */
unsigned long off; /* if handle is !NULL, offset into block */
} src;
unsigned int trghandle; /* XMS handle of target of move */
union
{
unsigned char far *ptr; /* if handle is NULL, seg:off of normal mem */
unsigned long off; /* if handle is !NULL, offset into block */
} trg;
};
/* prototypes */
int initxms();
unsigned long getxmsversion();
int havehma();
int getxmserror(char *buf);
unsigned long getxmsmemstat();
unsigned int allocxms(unsigned int kbsize);
unsigned int reallocxms(unsigned int xmshandle, unsigned int kbsize);
unsigned long getembstatus(unsigned int xmshandle);
unsigned long getxmsfreehandles(unsigned int xmshandle);
xmsmovemem(struct xmsmoves far *emm);
freexms(unsigned int xmshandle);