FLOATOBJ_GetFloat

LONG FLOATOBJ_GetFloat(

    PFLOATOBJ  pf
  );

FLOATOBJ_GetFloat calculates and returns the FLOAT-equivalent value of the specified FLOATOBJ.

Parameters

pf

Pointer to the FLOATOBJ to be converted to a FLOAT.

Return Value

FLOATOBJ_GetFloat returns the FLOAT-equivalent value of pf. The return value is of type LONG, and needs to be typecast to a FLOAT by the driver.

Comments

The FLOATOBJ_Xxx services allow graphics drivers to emulate floating point arithmetic. Windows NT does not support kernel-mode floating point operations on some systems.

See Also

FLOATOBJ