FLOATOBJ_GetFloat function

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

Syntax


LONG FLOATOBJ_GetFloat(
  _In_ PFLOATOBJ pf
);

Parameters

pf [in]

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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

FLOATOBJ

 

 

Send comments about this topic to Microsoft

Show: