Source code of Windows XP (NT5)
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.

40 lines
1.0 KiB

  1. /***
  2. *win87em.h - definitions/declarations for win87em.exe exports.
  3. *
  4. * Copyright (c) 1989-1989, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This file defines the structures, values, macros, and functions
  8. * exported from win87em.exe
  9. *
  10. *Revision History:
  11. *
  12. * 06-26-89 WAJ Initial version.
  13. *
  14. ****/
  15. typedef struct _Win87EmInfoStruct {
  16. unsigned Version;
  17. unsigned SizeSaveArea;
  18. unsigned WinDataSeg;
  19. unsigned WinCodeSeg;
  20. unsigned Have80x87;
  21. unsigned Unused;
  22. } Win87EmInfoStruct;
  23. #define SIZE_80X87_AREA 94
  24. /*
  25. * The Win87EmSaveArea loks like this:
  26. *
  27. * typedef struct _Win87EmSaveArea {
  28. * unsigned char Save80x87Area[SIZE_80X87_AREA];
  29. * unsigned char SaveEmArea[];
  30. * } Win87EmSaveArea;
  31. */
  32. int far pascal __Win87EmInfo( Win87EmInfoStruct far * pWIS, int cbWin87EmInfoStruct );
  33. int far pascal __Win87EmSave( void far * pWin87EmSaveArea, int cbWin87EmSaveArea );
  34. int far pascal __Win87EmRestore( void far * pWin87EmSaveArea, int cbWin87EmSaveArea );