home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_03_05 / 3n05055b < prev    next >
Text File  |  1992-03-10  |  1KB  |  32 lines

  1. Listing 4
  2.  
  3. /*****************************************************/
  4. /* fpumsg.h                                          */
  5. /* -- Interface to fpumsg module.                    */
  6. /*****************************************************/
  7.  
  8. /*****************************************************/
  9. /* Types.                                            */
  10. /*****************************************************/
  11. /* Callback. */
  12. /* -- First word is 6 exception bits. */
  13. /* -- Second word is CS of offending instruction. */
  14. /* -- Third word is IP of offending instruction. */
  15. typedef void (FAR * LPFN_NOTIFY)(WORD, WORD, WORD);
  16.  
  17.  
  18. /*****************************************************/
  19. /* Prototypes.                                       */
  20. /*****************************************************/
  21. /* The guy that does all the work. */
  22. BOOL    FPeekMessageLpfn(LPMSG, HWND, WORD, WORD, WORD,
  23.                          LPFN_NOTIFY);
  24.  
  25. /* Kludge since MSC 6.0 can't compile: */
  26. /*     WORD rgw[7]; */
  27. /*     _asm fstenv rgw; */
  28. /* without generating an internal compiler error. */
  29. VOID    Notify(WORD, LPFN_NOTIFY);
  30.  
  31.  
  32.