FLOATOBJ_Sub function (winddi.h)

The FLOATOBJ_Sub function subtracts the second FLOATOBJ from the first, and returns with the result in the first parameter.

Syntax

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

Parameters

[in, out] unnamedParam1

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

[in] unnamedParam2

Pointer to the second FLOATOBJ operand.

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