FLOATOBJ_GetFloat function (winddi.h)

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

Syntax

LONG FLOATOBJ_GetFloat(
  [in] PFLOATOBJ unnamedParam1
);

Parameters

[in] unnamedParam1

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.

Remarks

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

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

FLOATOBJ