FLOATOBJ_SubLong function (winddi.h)

The FLOATOBJ_SubLong function subtracts the value of type LONG from the FLOATOBJ, and returns with the result in the first parameter.

Syntax

void FLOATOBJ_SubLong(
  [in, out] PFLOATOBJ unnamedParam1,
  [in]      LONG      unnamedParam2
);

Parameters

[in, out] unnamedParam1

Pointer to the FLOATOBJ operand. When the function returns, pf will be reset to the value (pf - l).

[in] unnamedParam2

Specifies the LONG operand. This value is converted to a FLOATOBJ for the subtraction.

Return value

None

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