Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. ;/*
  2. ; * Microsoft Confidential
  3. ; * Copyright (C) Microsoft Corporation 1988 - 1991
  4. ; * All Rights Reserved.
  5. ; */
  6. /*
  7. * XMS Driver C Interface Routine Definitions
  8. *
  9. */
  10. unsigned XMM_Installed(void);
  11. long XMM_Version(void);
  12. long XMM_RequestHMA(unsigned);
  13. long XMM_ReleaseHMA(void);
  14. long XMM_GlobalEnableA20(void);
  15. long XMM_GlobalDisableA20(void);
  16. long XMM_EnableA20(void);
  17. long XMM_DisableA20(void);
  18. long XMM_QueryA20(void);
  19. long XMM_QueryLargestFree(void);
  20. long XMM_QueryTotalFree(void);
  21. long XMM_AllocateExtended(unsigned);
  22. long XMM_FreeExtended(unsigned);
  23. long XMM_MoveExtended(struct XMM_Move *);
  24. long XMM_LockExtended(unsigned);
  25. long XMM_UnLockExtended(unsigned);
  26. long XMM_GetHandleLength(unsigned);
  27. long XMM_GetHandleInfo(unsigned);
  28. long XMM_ReallocateExtended(unsigned, unsigned);
  29. long XMM_RequestUMB(unsigned);
  30. long XMM_ReleaseUMB(unsigned);
  31. struct XMM_Move {
  32. unsigned long Length;
  33. unsigned short SourceHandle;
  34. unsigned long SourceOffset;
  35. unsigned short DestHandle;
  36. unsigned long DestOffset;
  37. };
  38. #define XMSERROR(x) (char)((x)>>24)
  39.