15#define XMS_ADDRESS 0x110000
16#define XMS_BLOCK_SIZE 1024
17#define XMS_BLOCKS ((MAX_ADDRESS - XMS_ADDRESS) / XMS_BLOCK_SIZE)
18#define XMS_MAX_HANDLES 16
20#define XMS_STATUS_SUCCESS 0x00
21#define XMS_STATUS_NOT_IMPLEMENTED 0x80
22#define XMS_STATUS_A20_ERROR 0x82
23#define XMS_STATUS_HMA_DOES_NOT_EXIST 0x90
24#define XMS_STATUS_HMA_IN_USE 0x91
25#define XMS_STATUS_HMA_MIN_SIZE 0x92
26#define XMS_STATUS_HMA_NOT_ALLOCATED 0x93
27#define XMS_STATUS_A20_STILL_ENABLED 0x94
28#define XMS_STATUS_OUT_OF_MEMORY 0xA0
29#define XMS_STATUS_OUT_OF_HANDLES 0xA1
30#define XMS_STATUS_INVALID_HANDLE 0xA2
31#define XMS_STATUS_BAD_SRC_HANDLE 0xA3
32#define XMS_STATUS_BAD_DEST_HANDLE 0xA4
33#define XMS_STATUS_BAD_SRC_OFFSET 0xA5
34#define XMS_STATUS_BAD_DEST_OFFSET 0xA6
35#define XMS_STATUS_NOT_LOCKED 0xAA
36#define XMS_STATUS_LOCKED 0xAB
37#define XMS_STATUS_LOCK_OVERFLOW 0xAC
38#define XMS_STATUS_CANNOT_LOCK 0xAD
39#define XMS_STATUS_SMALLER_UMB 0xB0
40#define XMS_STATUS_OUT_OF_UMBS 0xB1
41#define XMS_STATUS_INVALID_UMB 0xB2
struct _XMS_HANDLE * PXMS_HANDLE
struct _XMS_COPY_DATA * PXMS_COPY_DATA
BOOLEAN XmsGetDriverEntry(PDWORD Pointer)
struct _XMS_COPY_DATA XMS_COPY_DATA
struct _XMS_HANDLE XMS_HANDLE