__Win87EmInfo

3.1

  int __Win87EmInfo(pWIS, cbWin87EmInfoStruct)    
  Win87EmInfoStruct far *pWIS; /* buffer to receive information */
  int cbWin87EmInfoStruct; /* size of buffer, in bytes */

The __Win87EmInfo function retrieves information about the floating-point emulator, such as whether a floating-point coprocessor is present and the code and data segment addresses of the emulator.

Parameters

pWIS

Points to the Win87EmInfoStruct structure that is to receive the floating-point emulator information. The Win87EmInfoStruct structure has the following form:

typedef  struct _Win87EmInfoStruct {
    unsigned Version;
    unsigned SizeSaveArea;
    unsigned WinDataSeg;
    unsigned WinCodeSeg;
    unsigned Have80x87;
    unsigned Unused;
} Win87EmInfoStruct;

For more information about this structure, see Section 13.4, “Structures.”

cbWin87EmInfoStruct

Specifies the size, in bytes, of the structure that is to receive the information.

Return Value

This function returns zero if no errors occur. Otherwise, it returns a nonzero value.