2025-04-27 07:49:33 -04:00

43 lines
1.1 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1988 - 1991
; * All Rights Reserved.
; */
/*
* XMS Driver C Interface Routine Definitions
*
*/
unsigned XMM_Installed(void);
long XMM_Version(void);
long XMM_RequestHMA(unsigned);
long XMM_ReleaseHMA(void);
long XMM_GlobalEnableA20(void);
long XMM_GlobalDisableA20(void);
long XMM_EnableA20(void);
long XMM_DisableA20(void);
long XMM_QueryA20(void);
long XMM_QueryLargestFree(void);
long XMM_QueryTotalFree(void);
long XMM_AllocateExtended(unsigned);
long XMM_FreeExtended(unsigned);
long XMM_MoveExtended(struct XMM_Move *);
long XMM_LockExtended(unsigned);
long XMM_UnLockExtended(unsigned);
long XMM_GetHandleLength(unsigned);
long XMM_GetHandleInfo(unsigned);
long XMM_ReallocateExtended(unsigned, unsigned);
long XMM_RequestUMB(unsigned);
long XMM_ReleaseUMB(unsigned);
struct XMM_Move {
unsigned long Length;
unsigned short SourceHandle;
unsigned long SourceOffset;
unsigned short DestHandle;
unsigned long DestOffset;
};
#define XMSERROR(x) (char)((x)>>24)